Remove incorrect register mov in floorf/nearbyint on x86_64
[glibc.git] / ChangeLog
blobf33a11a757fd0f6f3dabfdcc1a3e50ac43d2b3b0
1 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
4         unnecessary movq.
5         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
6         Likewise.
8 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
10         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13         and tgamma.
14         * math/auto-libm-test-out: Regenerated.
15         * sysdeps/i386/fpu/libm-test-ulps: Update.
16         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18         [BZ #16520]
19         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
20         (__tanh): Force underflow exception for arguments with small
21         absolute value.
22         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
23         (__tanhf): Force underflow exception for arguments with small
24         absolute value.
25         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26         (__tanhl): Force underflow exception for arguments with small
27         absolute value.
28         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
29         (__tanhl): Force underflow exception for arguments with small
30         absolute value.
31         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32         (__tanhl): Force underflow exception for arguments with small
33         absolute value.
34         * math/auto-libm-test-in: Add more tests of tanh.
35         * math/auto-libm-test-out: Regenerated.
36         * sysdeps/i386/fpu/libm-test-ulps: Update.
38 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
40         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
41         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
43 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
45         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
46         <cpuid.h>.
48 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
50         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
51         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
53 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
55         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
56         Remove $(objpfx)init-arch.o.
57         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
58         init-arch.
59         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
60         (INIT_ARCH_EXT): Defined as empty.
61         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
62         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
63         __init_cpu_features call.  Replace HAS_XXX with
64         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
65         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
66         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
67         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
68         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
69         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
70         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
71         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
72         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
73         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
74         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
75         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
76         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
77         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
78         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
79         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
80         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
81         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
82         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
83         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
84         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
85         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
86         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
87         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
88         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
89         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
90         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
91         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
92         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
93         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
94         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
95         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
96         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
97         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
98         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
99         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
101 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
103         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
104         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
105         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
106         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
107         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
108         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
109         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
110         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
111         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
112         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
113         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
114         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
115         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
116         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
117         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
118         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
119         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
120         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
121         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
122         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
123         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
124         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
125         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
126         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
127         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
128         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
129         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
130         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
131         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
132         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
133         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
134         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
135         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
136         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
137         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
138         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
139         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
140         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
141         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
142         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
143         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
144         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
145         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
147 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
149         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
150         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
151         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
152         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
153         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
154         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
155         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
156         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
157         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
158         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
159         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
160         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
161         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
162         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
163         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
164         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
165         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
166         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
167         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
168         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
170         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
171         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
172         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
173         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
174         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
175         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
176         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
177         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
178         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
179         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
180         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
181         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
182         * sysdeps/x86_64/multiarch/memset.S: Likewise.
183         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
184         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
185         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
186         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
187         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
188         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
189         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
190         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
191         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
193 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
195         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
196         (dl_platform_init): Call init_cpu_features.
197         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
198         * sysdeps/i386/i686/cacheinfo.c
199         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
200         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
201         * sysdeps/i386/i686/multiarch/Versions: Removed.
202         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
203         Removed.
204         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
205         * sysdeps/unix/sysv/linux/x86/Makefile
206         (libpthread-sysdep_routines): Remove init-arch.
207         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
208         <sysdeps/x86_64/dl-procinfo.c> instead of
209         sysdeps/generic/dl-procinfo.c>.
210         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
211         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
212         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
213         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
214         [$(subdir) == elf] (tests-static): Add
215         tst-get-cpu-features-static.
216         * sysdeps/x86/Versions: New file.
217         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
218         * sysdeps/x86/cpu-features.c: Likewise.
219         * sysdeps/x86/cpu-features.h: Likewise.
220         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
221         * sysdeps/x86/libc-start.c: Likewise.
222         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
223         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
224         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
225         * sysdeps/x86_64/dl-procinfo.c: Likewise.
226         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
227         Assume USE_MULTIARCH is defined and don't check it.
228         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
229         (is_amd): Likewise.
230         (max_cpuid): Likewise.
231         (intel_check_word): Likewise.
232         (__cache_sysconf): Don't call __init_cpu_features.
233         (__x86_preferred_memory_instruction): Removed.
234         (init_cacheinfo): Don't call __init_cpu_features. Replace
235         __cpu_features with GLRO(dl_x86_cpu_features).
236         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
237         (dl_platform_init): Call init_cpu_features.
238         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
239         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
240         * sysdeps/x86_64/multiarch/Versions: Removed.
241         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
242         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
243         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
244         Removed.
245         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
247 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
249         [BZ #18820]
250         * libio/Makefile (test-fmemopen-mem): New test.
251         * libio/test-fmemopen.c (do_bz18820): New test.
252         * libio/fmemopen.c (__fmemopen): Fix memory leak.
253         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
255 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
257         [BZ #16734]
258         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
259         (FREE_BUF): Delete.
260         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
261         * libio/genops.c (_IO_setb): Use malloc and free directly.
262         (_IO_default_doallocate, _IO_default_finish): Likewise.
263         ( _IO_unbuffer_all): Likewise.
264         ( libc_freeres_fn): Likewise.
265         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
266         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
267         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
268         (_IO_wdefault_doallocate): Likewise.
270 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
272         [BZ #18086]
273         * sysdeps/posix/nice.c (nice): Restore old errno.
274         * posix/tst-nice.c (do_test): Add test for BZ #18086.
276 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
278         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
280 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
282         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
283         __bcopy and add a weak_alias to bcopy.
284         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
285         for static build.
287         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
288         cleanup macro usage.
289         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
290         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
291         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
292         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
293         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
294         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
295         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
296         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
297         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
298         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
299         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
300         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
301         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
302         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
303         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
304         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
305         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
306         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
307         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
309         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
310         libc_hidden_def.
311         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
313         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
314         (sysdep_routines): Add strstr-ppc64.
315         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
317 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
319         [BZ #18778]
320         * elf/Makefile (tests): Add Add tst-nodelete2.
321         (modules-names): Add tst-nodelete2mod.
322         (tst-nodelete2mod.so-no-z-defs): New.
323         ($(objpfx)tst-nodelete2): Likewise.
324         ($(objpfx)tst-nodelete2.out): Likewise.
325         (LDFLAGS-tst-nodelete2): Likewise.
326         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
327         out of loop through all loaded libraries.
328         * elf/tst-nodelete2.c: New file.
329         * elf/tst-nodelete2mod.c: Likewise.
331 2015-08-11  Andreas Schwab  <schwab@suse.de>
333         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
334         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
335         (__openat64_nocancel): Likewise.
337 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
339         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
340         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
341         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
342         * math/auto-libm-test-out: Regenerated.
343         * sysdeps/i386/fpu/libm-test-ulps: Update.
344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
346 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
348         [BZ #18790]
349         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
350         threshold for returning +/- 1.
351         * math/auto-libm-test-in: Add more tests of tanh.
352         * math/auto-libm-test-out: Regenerated.
353         * sysdeps/i386/fpu/libm-test-ulps: Update.
355 2015-08-10  Andreas Schwab  <schwab@suse.de>
357         [BZ #18781]
358         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
359         MORE_OFLAGS to oflag.
360         * io/test-lfs.c (do_test): Test openat64.
362 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
364         [BZ #18789]
365         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
366         smaller threshold for returning the argument.
367         * math/auto-libm-test-in: Add more tests of sinh.
368         * math/auto-libm-test-out: Regenerated.
369         * sysdeps/i386/fpu/libm-test-ulps: Update.
371 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
373         [BZ #18674]
374         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
375         break.
377 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
379         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
380         (generated): Don't add $(addprefix z.,$(tzfiles)).
382 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
384         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
385         * scripts/sysd-rules.awk: Likewise.
387 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
389         * iconvdata/tst-tables.sh: Change echo -n to printf.
390         * nss/db-Makefile: Likewise.
391         * posix/tst-getconf.sh: Likewise.
392         * stdio-common/tst-unbputc.sh: Likewise.
394 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
396         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
397         MADV_*_PAGES defines behind this feature check.
399 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
401         [BZ #18480]
402         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
403         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
404         Define.
405         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
406         LOAD_REGS_5, LOAD_REGS_6): Update.
407         (INTERNAL_SYSCALL): Update using new LOAD defines.
408         (INTERNAL_SYSCALL_NCS): Likewise.
409         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
411 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
413         [BZ #16734]
414         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
416 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
418         [BZ #17905]
419         * catgets/Makefile (tst-catgets-mem): New test.
420         * catgets/catgets.c (catopen): Don't use unbounded alloca.
421         * catgets/open_catalog.c (__open_catalog): Likewise.
422         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
424 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
426         [BZ #18787]
427         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
428         clobber registers.
429         (atomic_compare_and_exchange_val_acq): Use register asms to assign
430         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
431         Cast return to __typeof (oldval).
433 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
435         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
436         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
437         and delete sys/syscall.h include.
439 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
441         [BZ #16517]
442         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
443         (tan): Force underflow exception for arguments with small absolute
444         value.
445         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
446         (__kernel_tanf): Force underflow exception for arguments with
447         small absolute value.
448         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
449         (__kernel_tanl): Force underflow exception for arguments with
450         small absolute value.
451         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
452         (__kernel_tanl): Force underflow exception for arguments with
453         small absolute value.
454         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
455         (__kernel_tanl): Force underflow exception for arguments with
456         small absolute value.
457         * math/auto-libm-test-in: Add more tests of tan.
458         * math/auto-libm-test-out: Regenerated.
460 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
462         Fix sysdeps/i386/fpu/s_scalbn.S build
464         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
466 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
468         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
470 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
472         Fix gcrt0.o compilation
474         When static-start-installed-name is different from
475         start-installed-name, we must not use the shared objects.
477         * csu/Makefile
478         (extra-objs): Add gmon-start.o when building shared library and
479         $(static-start-installed-name) is different from
480         $(start-installed-name).
481         $(objpfx)g$(static-start-installed-name): When building shared
482         library and $(static-start-installed-name) is different from
483         $(static-start-installed-name), revert to non-shared rule,
484         i.e. using $(objpfx)% and gmon-start.o.
486 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
488         [BZ #16519]
489         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
490         (__ieee754_sinh): Force underflow exception for arguments with
491         small absolute value.
492         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
493         (__ieee754_sinhf): Force underflow exception for arguments with
494         small absolute value.
495         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
496         (__ieee754_sinhl): Force underflow exception for arguments with
497         small absolute value.
498         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
499         (__ieee754_sinhl): Force underflow exception for arguments with
500         small absolute value.
501         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
502         (__ieee754_sinhl): Force underflow exception for arguments with
503         small absolute value.
504         * math/auto-libm-test-in: Add more tests of sinh.
505         * math/auto-libm-test-out: Regenerated.
506         * sysdeps/i386/fpu/libm-test-ulps: Update.
508 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
510         * libio/oldfileops.c: Include unistd.h.
512 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
514         * stdlib/isomac.c: Include ctype.h.
516 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
518         * dirent/tst-seekdir.c (main): Converted to ...
519         (do_test): ... this.
520         (TEST_FUNCTION): New macro.
521         Include test-skeleton.c.
522         * elf/tst-dlmodcount.c (main): Converted to ...
523         (do_test): ... this.
524         (TEST_FUNCTION): New macro.
525         Include test-skeleton.c.
526         * elf/tst-order-main.c (main): Converted to ...
527         (do_test): ... this.
528         (TEST_FUNCTION): New macro.
529         Include test-skeleton.c.
530         * elf/tst-pie2.c (main): Converted to ...
531         (do_test): ... this.
532         (TEST_FUNCTION): New macro.
533         Include test-skeleton.c.
534         * inet/tst-ether_aton.c (main): Converted to ...
535         (do_test): ... this.
536         (TEST_FUNCTION): New macro.
537         Include test-skeleton.c.
538         * misc/tst-mntent.c (main): Converted to ...
539         (do_test): ... this.
540         (TEST_FUNCTION): New macro.
541         Include test-skeleton.c.
542         * misc/tst-tsearch.c (main): Converted to ...
543         (do_test): ... this.
544         (TEST_FUNCTION): New macro.
545         Include test-skeleton.c.
546         * posix/tst-regexloc.c (main): Converted to ...
547         (do_test): ... this.
548         (TEST_FUNCTION): New macro.
549         Include test-skeleton.c.
550         * resolv/tst-aton.c (main): Converted to ...
551         (do_test): ... this.
552         (TEST_FUNCTION): New macro.
553         Include test-skeleton.c.
554         * stdio-common/test-fwrite.c (main): Converted to ...
555         (do_test): ... this.
556         (TEST_FUNCTION): New macro.
557         Include test-skeleton.c.
558         * stdio-common/tst-ferror.c (main): Converted to ...
559         (do_test): ... this.
560         (TEST_FUNCTION): New macro.
561         Include test-skeleton.c.
562         * stdio-common/tst-printf.c (main): Converted to ...
563         (do_test): ... this.
564         (TEST_FUNCTION): New macro.
565         Include test-skeleton.c.
566         * stdio-common/tst-printfsz.c (main): Converted to ...
567         (do_test): ... this.
568         (TEST_FUNCTION): New macro.
569         Include test-skeleton.c.
570         * stdlib/tst-strtod.c (main): Converted to ...
571         (do_test): ... this.
572         (TEST_FUNCTION): New macro.
573         Include test-skeleton.c.
574         * string/tst-strlen.c (main): Converted to ...
575         (do_test): ... this.
576         (TEST_FUNCTION): New macro.
577         Include test-skeleton.c.
578         * string/tst-svc.c (main): Converted to ...
579         (do_test): ... this.
580         (TEST_FUNCTION): New macro.
581         Include test-skeleton.c.
582         * time/tst-strptime.c (main): Converted to ...
583         (do_test): ... this.
584         (TEST_FUNCTION): New macro.
585         Include test-skeleton.c.
586         * timezone/tst-timezone.c (main): Converted to ...
587         (do_test): ... this.
588         (TEST_FUNCTION): New macro.
589         Include test-skeleton.c.
591 2015-08-05  Zack Weinberg  <zackw@panix.com>
593         * misc/regexp.h: Update comments.
595 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
597         [BZ #18635]
598         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
599         before return label.
601 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
603         [BZ #18661]
604         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
605         when calling __errno_location.
606         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
607         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
609 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
611         [BZ #18661]
612         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
613         (__lll_timedwait_tid): Align stack to 16 bytes when calling
614         __gettimeofday.
616 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
618         [BZ #18661]
619         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
620         (__start_context): Don't use pop to restore %rdi so that stack
621         is aligned to 16 bytes when calling __setcontext.
623 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
625         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
626         only for libc.
627         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
629 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
631         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
632         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
633         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
635 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
637         * string/memccpy.c (memccpy):
638         Improve performance by using memchr/memcpy/__mempcpy.
640 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
642         * string/strncpy.c (strncpy):
643         Improve performance by using __strnlen/memcpy.
645 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
647         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
648         Optimize to avoid an unnecessary FPCR read.
650 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
652         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
653         Optimize to reduce FPCR/FPSR accesses.
655 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
657         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
658         dead->data[category] != NULL.
660 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
662         [BZ #18647]
663         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
664         and |x| close to 1, use absolute value of x when computing log.
665         * math/auto-libm-test-in: Add more tests of pow.
666         * math/auto-libm-test-out: Regenerated.
668 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
670         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
671         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
672         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
674 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
676         [BZ #18525]
677         * locales/km_KH: Remove timezone definition.
678         * locales/lo_LA: Likewise.
679         * locales/my_MM: Likewise.
680         * locales/nan_TW@latin: Likewise.
681         * locales/th_TH: Likewise.
682         * locales/uk_UA: Likewise.
684 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
686         [BZ #18265]
687         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
688         (wcsncat): Likewise.
689         (wcscmp): Likewise.
690         (wcsncmp): Likewise.
692 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
694         * test-skeleton.c (usage): New function.
695         (main): Call usage when opt is '?'.
697 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
699         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
700         before first use.
702 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
704         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
705         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
706         in there too.
708 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
710         * version.h (RELEASE): Set to "development".
711         (VERSION): Set to "2.22.90"
713         * version.h (RELEASE): Set to "stable".
714         (VERSION): Set to "2.22"
715         * include/features.h (__GLIBC_MINOR__): Set to 22.
717 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
719         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
720         Restructure macro to avoid "value computed is not used" warning.
721         (atomic_compare_and_exchange_val_acq): Likewise.
723 2015-08-04  Andreas Schwab  <schwab@suse.de>
725         [BZ #18635]
726         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
727         ret.
728         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
730 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
732         * po/pl.po: Updated translation.
733         * po/uk.po: Likewise.
734         * po/fi.po: Likewise.
735         * po/ko.po: Likewise.
736         * po/ru.po: Likewise.
737         * po/vi.po: Likewise.
739 2015-07-31  Zack Weinberg  <zackw@panix.com>
741         [BZ #18681]
742         * regexp.h: Add unconditional #warning stating that this header
743         will be removed soon.  Revise banner comment to match.
744         (compile): Consistently use ERROR instead of RETURN to report
745         errors (partial fix for bz#18681).
746         * regexp.c: Don't include regexp.h. Remove some unnecessary
747         declarations.
749 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
751         * po/libc.pot: Regenerated.
753 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
755         [BZ #18740]
756         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
757         float-vlen4-arch-ext-cflags): Removed.
758         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
759         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
761 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
763         [BZ #14113]
764         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
765         aligned to __aligned__.
766         (pthread_cond_t, pthread_rwlock_t): Likewise.
768 2015-07-30  Torvald Riegel  <triegel@redhat.com>
770         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
772 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
774         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
775         (struct sigaction): Change sa_flags from a long to an int, and add
776         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
778 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
780         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
781         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
782         sysdeps/generic/sysdep.h include.
783         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
784         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
785         sysdeps/hppa/sysdep.h.
786         (ENTRY, PSEUDO): Undefine before defining.
788 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
790         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
791         from scratch to use INTERNAL_SYSCALL.
793 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
795         [BZ #18078]
796         * scripts/check-localplt.awk: Support alternate relocations.
797         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
798         sections.
799         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
800         malloc entries with + REL R_386_GLOB_DAT.
801         * sysdeps/x86_64/localplt.data: New file.
803 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
805         [BZ #18731]
806         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
807         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
808         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
810 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
812         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
814 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
816         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
817         directly in terms of __sync_fetch_and_add and delete (int) cast.
819 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
821         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
822         the -D_ASM_IA64_CURRENT_H flag.
824 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
826         [BZ #18641]
827         * pwd/pwd.h (putpwent): Delete __nonnull markings.
829 2015-07-27  Andreas Schwab  <schwab@suse.de>
831         * conform/conformtest.pl (checknamespace): Filter out string
832         literals while tokenizing.
834 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
836         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
837         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
838         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
840 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
842         * nptl/tst-join7mod.c: Add #include <string.h>.
844 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
846         * sysdeps/nios2/libm-test-ulps: Update.
848 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
850         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
851         Fix order of arguments to the rt_sigprocmask syscall.
852         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
853         Likewise.
855 2015-07-24  Roland McGrath  <roland@hack.frob.com>
857         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
859 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
861         [BZ #18457]
862         * nptl/Makefile (tests): New test case tst-join7.
863         (modules-names): New test case module tst-join7mod.
864         * nptl/tst-join7.c: New file.
865         * nptl/tst-join7mod.c: New file.
866         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
867         all translation units in libc.so, libpthread.so and rtld.
869 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
873 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
875         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
876         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
877         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
878         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
879         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
880         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
881         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
882         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
883         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
884         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
885         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
886         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
887         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
888         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
889         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
890         implementation.
892 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
894         [BZ #17711]
895         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
896         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
897         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
898         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
899         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
900         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
902 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
904         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
905         instead of just saying load lock in the comments.
907 2015-07-23  Roland McGrath  <roland@hack.frob.com>
909         * sysdeps/unix/Subdirs: Moved ...
910         * sysdeps/posix/Subdirs: ... here.
911         * login/pty.h (struct termios, struct winsize): Add forward decls.
912         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
913         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
914         * sysdeps/arm/nacl/libc.abilist: Updated.
915         * sysdeps/nacl/libutil.abilist: New file.
917         * bits/signum.h: Update comments to mention 1003.1-2013 too.
918         (SIGWINCH): New macro.
920         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
921         * sysdeps/arm/nacl/libc.abilist: Add it.
923 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
925         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
927 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
929         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
930         Swap __glibc_reserved0 and sa_flags order.
932 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
934         [BZ #18657]
935         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
936         are pending TLS destructor calls.
937         * include/link.h (struct link_map): Add concurrency note for
938         L_TLS_DTOR_COUNT.
939         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
940         Don't touch the link map flag.  Atomically increment
941         l_tls_dtor_count.
942         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
943         Avoid taking the load lock and don't touch the link map flag.
944         * stdlib/tst-tls-atexit-nodelete.c: New test case.
945         * stdlib/Makefile (tests): Use it.
946         * stdlib/tst-tls-atexit.c (do_test): dlopen
947         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
948         to allow tst-tls-atexit-nodelete test case to use it.
950 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
952         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
953         to bits/types.h.
954         (msgqnum_t): New typedef.
955         (msglen_t): Likewise.
956         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
957         and msg_qbytes type to msglen_t.
959 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
961         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
962         pad0 to __glibc_reserved0.
963         (struct stat64): Likewise.
965 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
967         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
968         Change sa_flags from a long to an int and add __glibc_reserved0 before
969         it for padding.
971 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
973         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
974         anonymous by deleting "siginfo" name.
976 2015-07-21  Roland McGrath  <roland@hack.frob.com>
978         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
979         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
980         rather than __nacl_irt_filename.
981         * sysdeps/nacl/xstat.c (__xstat): Likewise.
983         * NEWS: New item for arm-nacl port.
984         * sysdeps/arm/nacl/libc.abilist: New file.
985         * sysdeps/nacl/ld.abilist: New file.
986         * sysdeps/nacl/libBrokenLocale.abilist: New file.
987         * sysdeps/nacl/libanl.abilist: New file.
988         * sysdeps/nacl/libcrypt.abilist: New file.
989         * sysdeps/nacl/libdl.abilist: New file.
990         * sysdeps/nacl/libm.abilist: New file.
991         * sysdeps/nacl/libpthread.abilist: New file.
992         * sysdeps/nacl/libresolv.abilist: New file.
993         * sysdeps/nacl/librt.abilist: New file.
995 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
997         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
998         __startcontext to initialize the new context.
999         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1000         up CFI directive to forbid further backtracing.
1002 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1004         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1005         reference.
1006         * charmaps/ANSI_X3.4-1968: Likewise.
1007         * charmaps/BS_4730: Likewise.
1008         * charmaps/BS_VIEWDATA: Likewise.
1009         * charmaps/CP1250: Likewise.
1010         * charmaps/CP1251: Likewise.
1011         * charmaps/CP1252: Likewise.
1012         * charmaps/CP1253: Likewise.
1013         * charmaps/CP1254: Likewise.
1014         * charmaps/CP1255: Likewise.
1015         * charmaps/CP1256: Likewise.
1016         * charmaps/CSN_369103: Likewise.
1017         * charmaps/EBCDIC-DK-NO: Likewise.
1018         * charmaps/GB_1988-80: Likewise.
1019         * charmaps/GREEK-CCITT: Likewise.
1020         * charmaps/GREEK7: Likewise.
1021         * charmaps/INIS-8: Likewise.
1022         * charmaps/ISIRI-3342: Likewise.
1023         * charmaps/ISO_2033-1983: Likewise.
1024         * charmaps/ISO_5427-EXT: Likewise.
1025         * locales/POSIX: Likewise.
1026         * locales/ar_SA: Likewise.
1027         * locales/be_BY: Likewise.
1028         * locales/be_BY@latin: Likewise.
1029         * locales/ca_ES: Likewise.
1030         * locales/cs_CZ: Likewise.
1031         * locales/da_DK: Likewise.
1032         * locales/de_BE: Likewise.
1033         * locales/de_CH: Likewise.
1034         * locales/de_LU: Likewise.
1035         * locales/en_AU: Likewise.
1036         * locales/en_BW: Likewise.
1037         * locales/en_CA: Likewise.
1038         * locales/en_DK: Likewise.
1039         * locales/en_GB: Likewise.
1040         * locales/en_IE: Likewise.
1041         * locales/en_NZ: Likewise.
1042         * locales/en_ZA: Likewise.
1043         * locales/en_ZW: Likewise.
1044         * locales/es_AR: Likewise.
1045         * locales/es_BO: Likewise.
1046         * locales/es_CL: Likewise.
1047         * locales/es_CO: Likewise.
1048         * locales/es_DO: Likewise.
1049         * locales/es_EC: Likewise.
1050         * locales/es_ES: Likewise.
1051         * locales/es_HN: Likewise.
1052         * locales/es_MX: Likewise.
1053         * locales/es_PA: Likewise.
1054         * locales/es_PE: Likewise.
1055         * locales/es_PY: Likewise.
1056         * locales/es_SV: Likewise.
1057         * locales/es_US: Likewise.
1058         * locales/es_UY: Likewise.
1059         * locales/es_VE: Likewise.
1060         * locales/et_EE: Likewise.
1061         * locales/fa_IR: Likewise.
1062         * locales/fo_FO: Likewise.
1063         * locales/fr_CA: Likewise.
1064         * locales/fr_CH: Likewise.
1065         * locales/gv_GB: Likewise.
1066         * locales/he_IL: Likewise.
1067         * locales/hr_HR: Likewise.
1068         * locales/id_ID: Likewise.
1069         * locales/is_IS: Likewise.
1070         * locales/it_CH: Likewise.
1071         * locales/iw_IL: Likewise.
1072         * locales/kl_GL: Likewise.
1073         * locales/ko_KR: Likewise.
1074         * locales/kw_GB: Likewise.
1075         * locales/lg_UG: Likewise.
1076         * locales/lt_LT: Likewise.
1077         * locales/lv_LV: Likewise.
1078         * locales/mi_NZ: Likewise.
1079         * locales/nhn_MX: Likewise.
1080         * locales/nl_BE: Likewise.
1081         * locales/pl_PL: Likewise.
1082         * locales/sk_SK: Likewise.
1083         * locales/sl_SI: Likewise.
1084         * locales/sv_FI: Likewise.
1085         * locales/tl_PH: Likewise.
1086         * locales/tr_TR: Likewise.
1087         * locales/vi_VN: Likewise.
1089 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1091         [BZ #17475]
1092         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1093         of tu_IN and bh_IN.
1095 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1097         [BZ #18694]
1098         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1099         bits/wordsize.h.
1100         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1102 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1104         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1105         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1106         (spawn_thread): New function.
1107         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1108         (do_test): ... here.  Use IS_LOADED to test for its
1109         availability.
1111 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1113         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1115 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1117         [BZ #18696]
1118         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1119         si_addr_bnd.
1120         (si_lower): New.
1121         (si_upper): Likewise.
1123 2015-07-16  David S. Miller  <davem@davemloft.net>
1125         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1127 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1129         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1130         buffer.
1131         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1132         fail output information.
1134 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1137         and strstr-ppc64..
1138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1139         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1140         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1141         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1142         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1144 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1146         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1147         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1148         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1149         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1151 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1153         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1154         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1155         rtld_hidden_proto.
1156         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1158 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1160         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1161         the test can fail.
1163         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1165         [BZ #18676]
1166         * elf/tst-nodelete-opened.c: New test case.
1167         * elf/tst-nodelete-opened-lib.c: New test case module.
1168         * elf/Makefile (tests, modules-names): Use them.
1169         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1170         early.
1172 2015-07-15  David S. Miller  <davem@davemloft.net>
1174         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1175         futex-intenal.h
1176         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1177         * sysdeps/sparc/sparc64/Makefile: Likewise.
1178         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1179         Remove space from macro define.
1180         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1182 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1184         [BZ #17475]
1185         * locale/iso-639.def: Update Bhili and Tulu language codes as
1186         per iso639-3.
1188 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1190         * elf/tst-leaks1.c (main): Converted to ...
1191         (do_test): ... this.
1192         (TEST_FUNCTION): New macro.
1193         Include test-skeleton.c.
1194         * localedata/tst-langinfo.c (main): Converted to ...
1195         (do_test): ... this.
1196         (TEST_FUNCTION): New macro.
1197         Include test-skeleton.c.
1198         * math/test-fpucw.c (main): Converted to ...
1199         (do_test): ... this.
1200         (TEST_FUNCTION): New macro.
1201         Include test-skeleton.c.
1202         * math/test-tgmath.c (main): Converted to ...
1203         (do_test): ... this.
1204         (TEST_FUNCTION): New macro.
1205         Include test-skeleton.c.
1206         * math/test-tgmath2.c (main): Converted to ...
1207         (do_test): ... this.
1208         (TEST_FUNCTION): New macro.
1209         Include test-skeleton.c.
1210         * setjmp/tst-setjmp.c (main): Converted to ...
1211         (do_test): ... this.
1212         (TEST_FUNCTION): New macro.
1213         Include test-skeleton.c.
1214         * stdio-common/tst-sscanf.c (main): Converted to ...
1215         (do_test): ... this.
1216         (TEST_FUNCTION): New macro.
1217         Include test-skeleton.c.
1218         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1219         (do_test): ... this.
1220         (TEST_FUNCTION): New macro.
1221         Include test-skeleton.c.
1223         * elf/tst-audit9.c (main): Converted to ...
1224         (do_test): ... this.
1225         (TEST_FUNCTION): New macro.
1226         Include test-skeleton.c.
1228 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1230         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1232 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1234         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1235         New variable.
1237 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1239         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1241 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1243         * sysdeps/generic/dl-fileid.h: New file.
1244         * sysdeps/posix/dl-fileid.h: New file.
1245         * sysdeps/nacl/dl-fileid.h: New file.
1246         * include/link.h: Include <dl-fileid.h>.
1247         (struct link_map): Replace l_dev and l_ino with l_file_id.
1248         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1249         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1250         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1252 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1254         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1256 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1258         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1259         Add iff $CXX is set.
1260         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1261         Likewise.
1262         (tst-nodelete-zmodiff): Likewise.
1263         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1265 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1267         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1269 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1271         * sysdeps/aarch64/fpu/math_private.h
1272         (define math_opt_barrier): Add AArch64 version.
1273         (math_force_eval): Likewise.
1275 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1277         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1279 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1281         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1282         %ld with %jd and cast to intmax_t.
1283         (do_test_length_zero): Likewise.
1285 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1287         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1289 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1291         * sysdeps/tile/libm-test-ulps: Regenerated.
1293         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1294         Comment out the whole function, not just its body.
1296 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1298         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1299         locks.
1301         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1303 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1305         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1306         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1308 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1310         * sysdeps/nptl/futex-internal.h: New file.
1311         * sysdeps/nacl/futex-internal.h: New file.
1312         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1313         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1314         error checking.
1315         (setxid_unmark_thread): Likewise.
1316         (__nptl_setxid): Likewise.
1317         (__wait_lookup_done): Likewise.
1318         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1319         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1320         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1321         * nptl/pthread_once.c (clear_once_control): Likewise.
1322         (__pthread_once_slow): Likewise.
1323         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1324         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1325         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1326         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1327         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1328         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1329         Likewise.
1330         (__pthread_rwlock_rdlock): Likewise.
1331         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1332         Likewise.
1333         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1334         Likewise.
1335         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1336         Likewise.
1337         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1338         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1339         Likewise.
1340         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1341         __ASSUME_PRIVATE_FUTEX check.
1342         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1343         Check that shared futexes are supported.
1344         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1345         wrappers with error checking.
1346         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1347         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1348         * nptl/pthread_barrierattr_setpshared.c
1349         (pthread_barrierattr_setpshared): Check that shared futexes are
1350         supported.
1351         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1352         Likewise.
1353         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1354         Likewise.
1355         * nptl/sem_init.c (futex_private_if_supported): Remove.
1356         (__new_sem_init): Adapt and check that shared futexes are supported.
1357         * nptl/sem_open.c (sem_open): Likewise.
1358         * nptl/sem_post.c (futex_wake): Remove.
1359         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1360         (do_futex_wait): Use futex wrappers with error checking.
1361         * nptl/sem_wait.c: Include lowlevellock.h.
1362         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1363         Use futex_supports_pshared.
1364         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1365         Use futex wrappers with error checking.
1366         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1367         Likewise.
1368         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1369         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1370         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1371         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1372         (futex_wake): Likewise.
1373         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1374         (do_futex_wait): Use futex wrappers with error checking.
1375         (__new_sem_wait_slow): Update EINTR handling.
1376         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1378 2015-07-09  Martin Sebor  <msebor@redhat.com>
1380         [BZ #18435]
1381         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1382         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1383         * nptl/Makefile (test-xfail-tst-once5): Define.
1385 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1387         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1388         * elf/dl-minimal.c: For readability, reorder some definitions and
1389         introduce more page breaks.  Include <stdio.h>.
1390         (__libc_fatal): New function.
1392         * include/unistd.h: Add rtld_hidden_proto for _exit.
1393         * posix/_exit.c: Add rtld_hidden_def.
1394         * sysdeps/mach/hurd/_exit.c: Likewise.
1395         * sysdeps/nacl/_exit.c: Likewise.
1396         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1397         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1399 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1401         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1402         bndmov encoding with zero displacement.
1404 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1405             H.J. Lu  <hongjiu.lu@intel.com>
1407         [BZ #18134]
1408         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1409         * sysdeps/i386/configure: Regenerated.
1410         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1411         (_dl_runtime_profile): Save and restore Intel MPX return bound
1412         registers when calling _dl_call_pltexit.  Add
1413         PRESERVE_BND_REGS_PREFIX before return.
1414         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1415         (LRV_BND1_OFFSET): Likewise.
1416         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1417         lrv_bnd1.
1418         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1419         typo in bndmov encoding.
1420         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1421         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1422         branch instructions to preserve bounds.
1424 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1427         [GLIBC_2.22]: Add fmemopen.
1429 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1431         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1432         returns an error, also try to use host port from __mach_host_self for
1433         the __vm_wire call.
1434         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1436 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1438         [BZ #18400]
1439         [BZ #18648]
1440         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1441         Fix pr_uid and pr_gid members.
1442         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1443         definition to elf_greg_t.
1445 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1447         [BZ #18383]
1448         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1449         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1450         * sysdeps/arm/configure: Regenerated.
1451         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1452         (test-xfail-tst-tlsalign-static): Variable removed.
1454         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1455         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1456         rather than explicit 'ln -s'.
1458         * resolv/rpc/netdb.h: New file.
1459         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1461 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1463         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1464         length buffers.
1465         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1466         test-skeleton.c.
1468         [BZ #6544]
1469         [BZ #11216]
1470         [BZ #12836]
1471         [BZ #13151]
1472         [BZ #13152]
1473         [BZ #14292]
1474         * include/stdio.h (fmemopen): Remove hidden prototype.
1475         (__fmemopen): Add new hidden prototype.
1476         * libio/Makefile: Add oldfmemopen object.
1477         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1478         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1479         compliance.
1480         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1481         symbol compatibility.
1482         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1483         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1484         fmemopen.
1485         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1486         on append and read mode.
1487         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1488         fmemopen.
1489         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1490         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1491         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1492         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1493         Likewise.
1494         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1495         [GLIBC_2.22]: Likewise.
1496         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1497         Likewise.
1498         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1499         Likewise.
1500         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1501         [GLIBC_2.22]: Likewise.
1502         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1503         [GLIBC_2.22]: Likewise.
1504         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1505         [GLIBC_2.22]: Likewise.
1506         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1507         [GLIBC_2.22]: Likewise.
1508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1509         [GLIBC_2.22]: Likewise.
1510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1511         [GLIBC_2.22]: Likewise.
1512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1513         [GLIBC_2.22]: Likewise.
1514         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1515         Likewise.
1516         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1517         Likewise.
1518         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1519         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1520         [GLIBC_2.22]: Likewise.
1521         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1522         [GLIBC_2.22]: Likewise.
1523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1524         [GLIBC_2.22]: Likewise.
1525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1526         [GLIBC_2.22]: Likewise.
1527         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1528         Likewise.
1529         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1530         Likewise.
1531         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1532         Likewise.
1533         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1534         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1536 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1538         [BZ #18643]
1539         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1540         IPV6_PATHMTU, and IPV6_DONTFRAG.
1542 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1544         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1545         and _IO_UNBUFFERED.
1546         * libio/oldfileops.c: Likewise.
1547         * libio/wfileops.c: Likewise.
1549 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1551         * nscd/selinux.c: Delete selinux/flask.h include.
1553 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1555         [BZ #18641]
1556         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1557         (putpwent): Likewise.
1558         (getpwnam): Likewise.
1559         (getpwent_r): Likewise.
1560         (getpwuid_r): Likewise.
1561         (getpwnam_r): Likewise.
1562         (fgetpwent_r): Likewise.
1564 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1566         [BZ #18557]
1567         * inet/rcmd.c (__validuser2_sa): Check user first to
1568         short-circuit host check.
1570 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1571             Mikhail Ilin  <m.ilin@samsung.com>
1573         [BZ #17833]
1574         * elf/Makefile (tests): Add tst-nodelete.
1575         (modules-names): Add tst-nodelete-uniquemod.
1576         (tst-nodelete-uniquemod.so-no-z-defs): New.
1577         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1578         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1579         ($(objpfx)tst-nodelete): Likewise.
1580         ($(objpfx)tst-nodelete.out): Likewise.
1581         (LDFLAGS-tst-nodelete): Likewise.
1582         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1583         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1584         implement forced object deletion.
1585         (_dl_close): Pass false to _dl_close_worker.
1586         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1587         * elf/tst-nodelete.cc: New file.
1588         * elf/tst-nodeletelib.cc: Likewise.
1589         * elf/tst-znodeletelib.cc: Likewise.
1590         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1592 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1594         [BZ #18508]
1595         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1596         Depend on $(libdl).
1597         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1598         is not called infinitely times.
1599         (backtrace_helper): New function.
1600         (trace_arg): New struct.
1601         (st1): Enlarge stack size.
1602         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1603         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1604         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1605         Likewise.
1607 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1609         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1611 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1613         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1614         Include sys/types.h instead of bits/types.h.
1615         Remove inclusion of bits/wordsize.h.
1617 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1619         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1620         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1621         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1622         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1623         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1624         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1626 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1628         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1629         link-defines.sym.
1630         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1631         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1632         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1633         and LR_SIZE.
1634         * sysdeps/i386/link-defines.sym: New file.
1636 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1638         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1639         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1640         ($(objpfx)tst-audit3): New rule.
1641         ($(objpfx)tst-audit3.out): Likewise.
1642         * sysdeps/i386/tst-audit3.c: New file.
1643         * sysdeps/i386/tst-audit3.h: Likewise.
1644         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1645         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1647 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1649         [BZ #18633]
1650         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1651         pointer in C code.
1652         (__strcat_c): Likewise.
1653         (__strcat_g): Likewise.
1655 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1657         [BZ #18592]
1658         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1660 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1662         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1663         New function.  (__ieee754_sqrtf): New function.
1664         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1665         New function.
1666         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1667         New function.
1669 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1671         * sysdeps/ieee754/support.c: Remove unused file.
1673 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1675         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1676         registers instead of d ones so the layout is kernel abi compatible.
1677         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1678         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1679         Likewise.
1681 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1683         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1685 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1687         [BZ #18619]
1688         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1689         and return argument in case of subnormal argument.
1691 2015-07-01  Martin Sebor  <msebor@redhat.com>
1693         [BZ #18435]
1694         * nptl/Makefile: Add tst-once5.cc.
1695         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1696         Remove macro redefinitions.
1697         * nptl/tst-once5.cc: New test.
1699 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1701         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1703         * sysdeps/arm/libm-test-ulps: Regenerated.
1705         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1706         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1708 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1710         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1711         lll_lock_wait_private and lll_futex_wake probes.
1713         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1714         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1715         Likewise.
1716         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1717         atomic_spin_nop.
1718         * sysdeps/x86_64/bits/atomic.h: Likewise.
1719         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1720         to atomic_spin_nop and move ...
1721         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1722         ... here and ...
1723         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1724         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1725         atomic_spin_nop instead of BUSY_WAIT_NOP.
1726         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1727         Likewise.
1728         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1729         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1730         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1731         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1732         instead of atomic_delay.
1734 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1736         [BZ #18613]
1737         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1738         X_ADJ not X when adjusting exponent.
1739         (__ieee754_gamma_r): Do intermediate computations in
1740         round-to-nearest then adjust overflowing and underflowing results
1741         as needed.
1742         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1743         of X_ADJ not X when adjusting exponent.
1744         (__ieee754_gammaf_r): Do intermediate computations in
1745         round-to-nearest then adjust overflowing and underflowing results
1746         as needed.
1747         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1748         log of X_ADJ not X when adjusting exponent.
1749         (__ieee754_gammal_r): Do intermediate computations in
1750         round-to-nearest then adjust overflowing and underflowing results
1751         as needed.  Use 1.0L not 1.0f as numerator of division.
1752         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1753         log of X_ADJ not X when adjusting exponent.
1754         (__ieee754_gammal_r): Do intermediate computations in
1755         round-to-nearest then adjust overflowing and underflowing results
1756         as needed.  Use 1.0L not 1.0f as numerator of division.
1757         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1758         of X_ADJ not X when adjusting exponent.
1759         (__ieee754_gammal_r): Do intermediate computations in
1760         round-to-nearest then adjust overflowing and underflowing results
1761         as needed.  Use 1.0L not 1.0f as numerator of division.
1762         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1763         to auto-libm-test-in.
1764         (tgamma_test): Use ALL_RM_TEST.
1765         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1766         tests of tgamma with spurious-overflow.
1767         * math/auto-libm-test-out: Regenerated.
1768         * math/gen-libm-have-vector-test.sh: Do not check for START.
1769         * sysdeps/i386/fpu/libm-test-ulps: Update.
1770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1772         [BZ #18612]
1773         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1774         arguments, just return 0.5 times the argument, with underflow
1775         forced as needed.
1776         * math/auto-libm-test-in: Add more tests of j1.
1777         * math/auto-libm-test-out: Regenerated.
1779         [BZ #16559]
1780         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1781         (__ieee754_j1): Force underflow exception for small results.
1782         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1783         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1784         (__ieee754_j1f): Force underflow exception for small results.
1785         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1786         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1787         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1788         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1789         (__ieee754_j1l): Force underflow exception for small results.
1790         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1791         * math/auto-libm-test-in: Add more tests of j1 and jn.
1792         * math/auto-libm-test-out: Regenerated.
1794         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1795         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1796         (PF_MPLS): Likewise.
1797         (AF_IB): Likewise.
1798         (AF_MPLS): Likewise.
1799         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1800         value and macro.
1801         (MS_RMT_MASK): Include MS_LAZYTIME.
1803 2015-06-26  Mel Gorman  <mgorman@suse.de>
1805         [BZ #18502]
1806         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1807         already minimal.
1809 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1811         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1812         (DT_MIPS_NUM): Update.
1813         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1814         DT_MIPS_RLD_MAP_REL.
1816 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1818         [BZ #16559]
1819         [BZ #18602]
1820         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1821         round-to-nearest internally then recompute results that
1822         underflowed to zero in the original rounding mode.
1823         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1824         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1825         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1826         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1827         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1828         * sysdeps/i386/fpu/libm-test-ulps: Update.
1829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1831 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1833         * NEWS: Fixed description of link with vector math library.
1835 2015-06-25  Andreas Schwab  <schwab@suse.de>
1837         [BZ #18549]
1838         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1839         * libio/test-fmemopen.c (do_test): Add test for it.
1841 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1843         [BZ #17841]
1844         * Makeconfig (no-pie-ldflag): New.
1845         (+link): Set to $(+link-pie) if default to PIE.
1846         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1847         * config.make.in (build-pie-default): New.
1848         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1849         is default.  AC_SUBST.
1850         * configure: Regenerated.
1851         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1853 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1855         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1856         to 'unsigned int'.
1858         * resolv/gai_misc.h (struct waitlist): Change type of field
1859         counterp to 'volatile unsigned int *'.
1860         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1861         FUTEXADDR and OLDVAL.
1862         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1863         Give local variable TOTAL type 'volatile unsigned int'.
1864         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1865         * resolv/gai_suspend.c (gai_suspend):
1866         Give local variable CNTR type 'unsigned int'.
1868         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1869         counterp to 'volatile unsigned int *'.
1870         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1871         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1872         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1873         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1874         Give local variable TOTAL type 'volatile unsigned int'.
1875         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1877 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1879         [BZ #18383]
1880         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1881         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1882         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1883         comment for i386/x86-64.
1884         (test-xfail-tst-tlsalign-extern-static): Removed.
1886 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1888         * math/test-double.h: New file.
1889         * math/test-float.h: Likewise.
1890         * math/test-ldouble.h: Likewise.
1891         * math/test-math-inline.h: Likewise.
1892         * math/test-math-no-inline.h: Likewise.
1893         * math/test-math-scalar.h: Likewise.
1894         * math/test-math-vector.h: Likewise.
1895         * math/test-vec-loop.h: Remove file.  Contents moved into
1896         test-math-vector.h.
1897         * math/libm-test.inc (MATHCONST): Do not document macro.
1898         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1899         and test-math-scalar.h.
1900         (FUNC): Remove macro.
1901         (FUNC_TEST): Likewise.
1902         (FLOAT): Likewise.
1903         (MATHCONST): Likewise.
1904         (PRINTF_EXPR): Likewise.
1905         (PRINTF_XEXPR): Likewise.
1906         (PRINTF_NEXPR): Likewise.
1907         (TEST_DOUBLE): Likewise.
1908         (TEST_MATHVEC): Likewise.
1909         (__NO_MATH_INLINES): Likewise.
1910         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1911         and test-math-scalar.h.
1912         (FUNC): Remove macro.
1913         (FUNC_TEST): Likewise.
1914         (FLOAT): Likewise.
1915         (MATHCONST): Likewise.
1916         (PRINTF_EXPR): Likewise.
1917         (PRINTF_XEXPR): Likewise.
1918         (PRINTF_NEXPR): Likewise.
1919         (TEST_FLOAT): Likewise.
1920         (TEST_MATHVEC): Likewise.
1921         (__NO_MATH_INLINES): Likewise.
1922         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1923         and test-math-scalar.h.
1924         (FUNC): Remove macro.
1925         (FUNC_TEST): Likewise.
1926         (FLOAT): Likewise.
1927         (MATHCONST): Likewise.
1928         (PRINTF_EXPR): Likewise.
1929         (PRINTF_XEXPR): Likewise.
1930         (PRINTF_NEXPR): Likewise.
1931         (TEST_DOUBLE): Likewise.
1932         (TEST_MATHVEC): Likewise.
1933         (TEST_INLINE): Likewise.
1934         (__NO_MATH_INLINES): Likewise.
1935         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1936         test-math-scalar.h.
1937         (FUNC): Remove macro.
1938         (FUNC_TEST): Likewise.
1939         (FLOAT): Likewise.
1940         (MATHCONST): Likewise.
1941         (PRINTF_EXPR): Likewise.
1942         (PRINTF_XEXPR): Likewise.
1943         (PRINTF_NEXPR): Likewise.
1944         (TEST_FLOAT): Likewise.
1945         (TEST_MATHVEC): Likewise.
1946         (TEST_INLINE): Likewise.
1947         (__NO_MATH_INLINES): Likewise.
1948         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1949         and test-math-scalar.h.
1950         (FUNC): Remove macro.
1951         (FUNC_TEST): Likewise.
1952         (FLOAT): Likewise.
1953         (MATHCONST): Likewise.
1954         (PRINTF_EXPR): Likewise.
1955         (PRINTF_XEXPR): Likewise.
1956         (PRINTF_NEXPR): Likewise.
1957         (TEST_LDOUBLE): Likewise.
1958         (TEST_MATHVEC): Likewise.
1959         (TEST_INLINE): Likewise.
1960         (__NO_MATH_INLINES): Likewise.
1961         * math/test-ldouble.c: Include test-ldouble.h,
1962         test-math-no-inline.h and test-math-scalar.h.
1963         (FUNC): Remove macro.
1964         (FUNC_TEST): Likewise.
1965         (FLOAT): Likewise.
1966         (MATHCONST): Likewise.
1967         (PRINTF_EXPR): Likewise.
1968         (PRINTF_XEXPR): Likewise.
1969         (PRINTF_NEXPR): Likewise.
1970         (TEST_LDOUBLE): Likewise.
1971         (TEST_MATHVEC): Likewise.
1972         (__NO_MATH_INLINES): Likewise.
1973         * math/test-double-vlen2.h: Include test-double.h,
1974         test-math-no-inline.h and test-math-vector.h.
1975         (FLOAT): Remove macro.
1976         (FUNC): Likewise.
1977         (MATHCONST): Likewise.
1978         (PRINTF_EXPR): Likewise.
1979         (PRINTF_XEXPR): Likewise.
1980         (PRINTF_NEXPR): Likewise.
1981         (TEST_DOUBLE): Likewise.
1982         (TEST_MATHVEC): Likewise.
1983         (__NO_MATH_INLINES): Likewise.
1984         (CNCT): Likewise.
1985         (CONCAT): Likewise.
1986         (WRAPPER_NAME): Likewise.
1987         (WRAPPER_DECL): Likewise.
1988         (WRAPPER_DECL_ff): Likewise.
1989         (WRAPPER_DECL_fFF): Likewise.
1990         (VECTOR_WRAPPER): Likewise.
1991         (VECTOR_WRAPPER_ff): Likewise.
1992         (VECTOR_WRAPPER_fFF): Likewise.
1993         (VEC_LEN): New macro.
1994         * math/test-double-vlen4.h: Include test-double.h,
1995         test-math-no-inline.h and test-math-vector.h.
1996         (FLOAT): Remove macro.
1997         (FUNC): Likewise.
1998         (MATHCONST): Likewise.
1999         (PRINTF_EXPR): Likewise.
2000         (PRINTF_XEXPR): Likewise.
2001         (PRINTF_NEXPR): Likewise.
2002         (TEST_DOUBLE): Likewise.
2003         (TEST_MATHVEC): Likewise.
2004         (__NO_MATH_INLINES): Likewise.
2005         (CNCT): Likewise.
2006         (CONCAT): Likewise.
2007         (WRAPPER_NAME): Likewise.
2008         (WRAPPER_DECL): Likewise.
2009         (WRAPPER_DECL_ff): Likewise.
2010         (WRAPPER_DECL_fFF): Likewise.
2011         (VECTOR_WRAPPER): Likewise.
2012         (VECTOR_WRAPPER_ff): Likewise.
2013         (VECTOR_WRAPPER_fFF): Likewise.
2014         (VEC_LEN): New macro.
2015         * math/test-double-vlen8.h: Include test-double.h,
2016         test-math-no-inline.h and test-math-vector.h.
2017         (FLOAT): Remove macro.
2018         (FUNC): Likewise.
2019         (MATHCONST): Likewise.
2020         (PRINTF_EXPR): Likewise.
2021         (PRINTF_XEXPR): Likewise.
2022         (PRINTF_NEXPR): Likewise.
2023         (TEST_DOUBLE): Likewise.
2024         (TEST_MATHVEC): Likewise.
2025         (__NO_MATH_INLINES): Likewise.
2026         (CNCT): Likewise.
2027         (CONCAT): Likewise.
2028         (WRAPPER_NAME): Likewise.
2029         (WRAPPER_DECL): Likewise.
2030         (WRAPPER_DECL_ff): Likewise.
2031         (WRAPPER_DECL_fFF): Likewise.
2032         (VECTOR_WRAPPER): Likewise.
2033         (VECTOR_WRAPPER_ff): Likewise.
2034         (VECTOR_WRAPPER_fFF): Likewise.
2035         (VEC_LEN): New macro.
2036         * math/test-float-vlen4.h: Include test-float.h,
2037         test-math-no-inline.h and test-math-vector.h.
2038         (FLOAT): Remove macro.
2039         (FUNC): Likewise.
2040         (MATHCONST): Likewise.
2041         (PRINTF_EXPR): Likewise.
2042         (PRINTF_XEXPR): Likewise.
2043         (PRINTF_NEXPR): Likewise.
2044         (TEST_FLOAT): Likewise.
2045         (TEST_MATHVEC): Likewise.
2046         (__NO_MATH_INLINES): Likewise.
2047         (CNCT): Likewise.
2048         (CONCAT): Likewise.
2049         (WRAPPER_NAME): Likewise.
2050         (WRAPPER_DECL): Likewise.
2051         (WRAPPER_DECL_ff): Likewise.
2052         (WRAPPER_DECL_fFF): Likewise.
2053         (VECTOR_WRAPPER): Likewise.
2054         (VECTOR_WRAPPER_ff): Likewise.
2055         (VECTOR_WRAPPER_fFF): Likewise.
2056         (VEC_LEN): New macro.
2057         * math/test-float-vlen8.h: Include test-float.h,
2058         test-math-no-inline.h and test-math-vector.h.
2059         (FLOAT): Remove macro.
2060         (FUNC): Likewise.
2061         (MATHCONST): Likewise.
2062         (PRINTF_EXPR): Likewise.
2063         (PRINTF_XEXPR): Likewise.
2064         (PRINTF_NEXPR): Likewise.
2065         (TEST_FLOAT): Likewise.
2066         (TEST_MATHVEC): Likewise.
2067         (__NO_MATH_INLINES): Likewise.
2068         (CNCT): Likewise.
2069         (CONCAT): Likewise.
2070         (WRAPPER_NAME): Likewise.
2071         (WRAPPER_DECL): Likewise.
2072         (WRAPPER_DECL_ff): Likewise.
2073         (WRAPPER_DECL_fFF): Likewise.
2074         (VECTOR_WRAPPER): Likewise.
2075         (VECTOR_WRAPPER_ff): Likewise.
2076         (VECTOR_WRAPPER_fFF): Likewise.
2077         (VEC_LEN): New macro.
2078         * math/test-float-vlen16.h: Include test-float.h,
2079         test-math-no-inline.h and test-math-vector.h.
2080         (FLOAT): Remove macro.
2081         (FUNC): Likewise.
2082         (MATHCONST): Likewise.
2083         (PRINTF_EXPR): Likewise.
2084         (PRINTF_XEXPR): Likewise.
2085         (PRINTF_NEXPR): Likewise.
2086         (TEST_FLOAT): Likewise.
2087         (TEST_MATHVEC): Likewise.
2088         (__NO_MATH_INLINES): Likewise.
2089         (CNCT): Likewise.
2090         (CONCAT): Likewise.
2091         (WRAPPER_NAME): Likewise.
2092         (WRAPPER_DECL): Likewise.
2093         (WRAPPER_DECL_ff): Likewise.
2094         (WRAPPER_DECL_fFF): Likewise.
2095         (VECTOR_WRAPPER): Likewise.
2096         (VECTOR_WRAPPER_ff): Likewise.
2097         (VECTOR_WRAPPER_fFF): Likewise.
2098         (VEC_LEN): New macro.
2099         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2100         test-vec-loop.h.
2101         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2102         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2103         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2104         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2105         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2106         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2107         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2109 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2111         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2112         (__getlogin_r): ... this.
2114 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2116         [BZ #18594]
2117         * math/s_ccosh.c (__ccosh): Compare with least normal value
2118         instead of comparing class with FP_SUBNORMAL.
2119         * math/s_ccoshf.c (__ccoshf): Likewise.
2120         * math/s_ccoshl.c (__ccoshl): Likewise.
2121         * math/s_cexp.c (__cexp): Likewise.
2122         * math/s_cexpf.c (__cexpf): Likewise.
2123         * math/s_cexpl.c (__cexpl): Likewise.
2124         * math/s_csin.c (__csin): Likewise.
2125         * math/s_csinf.c (__csinf): Likewise.
2126         * math/s_csinh.c (__csinh): Likewise.
2127         * math/s_csinhf.c (__csinhf): Likewise.
2128         * math/s_csinhl.c (__csinhl): Likewise.
2129         * math/s_csinl.c (__csinl): Likewise.
2130         * math/s_ctan.c (__ctan): Likewise.
2131         * math/s_ctanf.c (__ctanf): Likewise.
2132         * math/s_ctanh.c (__ctanh): Likewise.
2133         * math/s_ctanhf.c (__ctanhf): Likewise.
2134         * math/s_ctanhl.c (__ctanhl): Likewise.
2135         * math/s_ctanl.c (__ctanl): Likewise.
2136         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2137         csin, csinh, ctan and ctanh.
2138         * math/auto-libm-test-out: Regenerated.
2139         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2140         * sysdeps/i386/fpu/libm-test-ulps: Update.
2141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2143 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2145         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2146         return value is wrong, print the expected value too.
2148 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2150         [BZ #18585]
2151         * elf/readlib.c (is_gdb_python_file): New.
2152         (process_file): Don't issue errors on filenames with -gdb.py
2153         suffix.
2155 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2157         * math/auto-libm-test-in: Add more tests of csin and csinh.
2158         * math/auto-libm-test-out: Regenerated.
2159         * math/libm-test.inc (csin_test_data): Remove tests moved to
2160         auto-libm-test-in.
2161         (csinh_test_data): Likewise.
2163         [BZ #18593]
2164         * math/s_csin.c (__csin): Negate before rather than after possibly
2165         overflowing multiplication.
2166         * math/s_csinf.c (__csinf): Likewise.
2167         * math/s_csinh.c (__csinh): Likewise.
2168         * math/s_csinhf.c (__csinhf): Likewise.
2169         * math/s_csinhl.c (__csinhl): Likewise.
2170         * math/s_csinl.c (__csinl): Likewise.
2171         * math/auto-libm-test-in: Add some tests of csin and csinh.
2172         * math/auto-libm-test-out: Regenerated.
2173         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2174         (csinh_test_data): Likewise.
2175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2177         [BZ #18586]
2178         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2179         underflow exception for small results.
2181 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2183         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2184         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2185         variable and included header.
2186         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2187         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2188         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2189         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2190         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2191         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2192         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2193         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2194         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2195         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2196         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2197         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2198         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2199         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2200         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2201         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2203 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2205         [BZ #16526]
2206         [BZ #16538]
2207         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2208         (__sin): Force underflow exception for arguments with small
2209         absolute value.
2210         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2211         (__kernel_sinf): Force underflow exception for arguments with
2212         small absolute value.
2213         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2214         (__kernel_sincosl): Force underflow exception for arguments with
2215         small absolute value.
2216         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2217         (__kernel_sinl): Force underflow exception for arguments with
2218         small absolute value.
2219         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2220         (__kernel_sincosl): Force underflow exception for arguments with
2221         small absolute value.
2222         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2223         (__kernel_sinl): Force underflow exception for arguments with
2224         small absolute value.
2225         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2226         (__kernel_sinl): Force underflow exception for arguments with
2227         small absolute value.
2228         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2229         (__kernel_sinf): Force underflow exception for arguments with
2230         small absolute value.
2231         * math/auto-libm-test-in: Add more tests of sin and sincos.
2232         * math/auto-libm-test-out: Regenerated.
2234         [BZ #18245]
2235         [BZ #18583]
2236         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2237         (__kernel_standard_l): Use feholdexcept and fesetenv around
2238         conversion to double instead of special-casing overflow and
2239         underflow.
2240         * math/libm-test.inc (fmod_test_data): Add more tests.
2241         (remainder_test_data): Likewise.
2242         (sqrt_test_data): Likewise.
2244 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2246         [BZ #17403]
2247         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2248         atomic_read_barrier, atomic_write_barrier): Define.
2249         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2250         atomic_read_barrier, atomic_write_barrier): Define.
2252 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2254         * math/Makefile [$(PERL) != no]
2255         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2256         dependency on libm-test.stmp below the inclusion of Rules.
2258 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2260         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2261         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2262         and included header.
2263         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2264         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2265         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2266         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2267         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2268         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2269         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2270         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2271         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2272         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2273         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2274         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2275         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2276         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2277         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2278         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2279         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2280         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2281         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2283 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2285         [BZ #18371]
2286         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2287         intermediate but not final result might underflow.
2288         * math/s_csqrtf.c (__csqrtf): Likewise.
2289         * math/s_csqrtl.c (__csqrtl): Likewise.
2290         * math/auto-libm-test-in: Add more tests of csqrt.
2291         * math/auto-libm-test-out: Regenerated.
2292         * sysdeps/i386/fpu/libm-test-ulps: Update.
2294         [BZ #18219]
2295         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2296         threshold on absolute value of exponent for which scaling is used.
2297         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2298         * math/auto-libm-test-in: Add more tests of exp2.
2299         * math/auto-libm-test-out: Regenerated.
2301 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2303         [BZ #17977]
2304         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2305         when initializing interface list, based on the bug analysis
2306         and the patch proposed by Eric Newton.
2307         * resolv/tst-res_hconf_reorder.c: New test.
2308         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2309         tst-res_hconf_reorder.
2310         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2311         and $(shared-thread-library).
2312         (tst-res_hconf_reorder-ENV): New variable.
2314         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2315         in comment.
2317 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2319         [BZ #16353]
2320         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2321         (__expm1): Force underflow exception for arguments with small
2322         absolute value.
2323         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2324         (__expm1f): Force underflow exception for arguments with small
2325         absolute value.
2326         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2327         (__expm1): Force underflow exception for arguments with small
2328         absolute value.
2329         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2330         (__expm1f): Force underflow exception for arguments with small
2331         absolute value.
2332         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2333         Check for small arguments before calling __expm1.
2334         * math/auto-libm-test-in: Do not mark underflow exceptions as
2335         possibly missing for bug 16353.
2336         * math/auto-libm-test-out: Regenerated.
2338 2015-06-22  Andreas Schwab  <schwab@suse.de>
2340         [BZ #18513]
2341         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2342         PTR queries.
2344 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2346         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2348         * string/strcoll_l.c: Remove unused struct element idxnow.
2350 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2352         [BZ #18569]
2353         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2354         underflow and return argument in case of subnormal argument.
2355         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2356         Likewise.
2357         * math/auto-libm-test-in: Add more tests of expm1.
2358         * math/auto-libm-test-out: Regenerated.
2360         [BZ #16361]
2361         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2362         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2363         tiny results.
2364         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2365         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2366         tiny results.
2367         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2368         mark underflow exceptions as possibly missing for bug 16361.
2369         * math/auto-libm-test-out: Regenerated.
2371 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2373         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2374         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2375         Remove variable.
2376         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2377         (test-xfail-XOPEN2K8/utmpx.h/conform).
2379         * conform/conformtest.pl ($xerrors): New variable.
2380         (note_error): New function.
2381         (compiletest): New argument $xfail.  Use not_error.
2382         (runtest): Likewise.
2383         (top level): Handle xfail- lines.  Update calls to compiletest and
2384         runtest.  Handle xfail- and optional- in headers listed with
2385         allow-header.
2386         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2387         (O_EXEC): Likewise.
2388         (O_SEARCH): Likewise.
2389         * conform/data/stropts.h-data (ioctl): Likewise.
2390         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2391         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2392         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2393         (msghdr.msg_controllen): Likewise.
2394         (cmsghdr.cmsg_len): Likewise.
2395         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2396         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2397         variable.
2398         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2399         (test-xfail-XPG4/stropts.h/conform): Likewise.
2400         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2401         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2402         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2403         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2404         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2405         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2406         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2407         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2408         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2409         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2410         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2411         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2412         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2413         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2414         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2415         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2416         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2417         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2418         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2420 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2422         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2423         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2424         definitions for proper unfolding of __MATHDECL_VEC.
2426 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2428         * benchtests/bench-strcoll.c:
2429         Include string.h.
2430         (main): Remove unused variable res.
2432 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2434         * timezone/Makefile (%/UTC %/Universal):
2435         Generate test-result files for UTC and Universal.
2437 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2439         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2441 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2443         [BZ #16350]
2444         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2445         for arguments with small absolute value.
2446         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2447         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2448         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2449         (__asinh): Force underflow exception for arguments with small
2450         absolute value.
2451         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2452         (__asinhf): Force underflow exception for arguments with small
2453         absolute value.
2454         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2455         (__asinhl): Force underflow exception for arguments with small
2456         absolute value.
2457         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2458         (__asinhl): Force underflow exception for arguments with small
2459         absolute value.
2460         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2461         (__asinhl): Force underflow exception for arguments with small
2462         absolute value.
2463         * math/auto-libm-test-in: Do not mark underflow exceptions as
2464         possibly missing for bug 16350.
2465         * math/auto-libm-test-out: Regenerated.
2467         * include/bits/ipc.h: Remove file.
2468         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2469         variable.
2470         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2471         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2472         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2473         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2474         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2475         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2476         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2477         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2478         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2480         * math/auto-libm-test-in: Remove spurious underflow allowance for
2481         tests of cexp.
2482         * math/auto-libm-test-out: Regenerated.
2484         [BZ #18558]
2485         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2486         unconditional definition.
2487         (MCAST_BLOCK_SOURCE): Likewise.
2488         (MCAST_UNBLOCK_SOURCE): Likewise.
2489         (MCAST_LEAVE_GROUP): Likewise.
2490         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2491         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2492         (MCAST_MSFILTER): Likewise.
2493         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2494         Remove variable.
2495         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2496         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2497         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2498         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2499         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2501 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2503         * NEWS: Mention addition of x86_64 vector sincosf.
2504         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2505         * math/test-float-vlen4.h: Likewise.
2506         * math/test-float-vlen8.h: Likewise.
2507         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2508         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2509         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2510         * sysdeps/x86_64/fpu/Versions: New versions added.
2511         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2512         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2513         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2514         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2515         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2516         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2518         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2519         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2520         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2521         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2522         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2523         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2524         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2525         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2526         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2527         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2528         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2529         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2530         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2531         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2532         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2533         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2534         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2536         * NEWS: Mention addition of x86_64 vector sincos.
2537         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2538         * math/math.h (__MATHDECL_VEC): New macro.
2539         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2540         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2541         declaration under condition.
2542         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2543         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2544         TEST_VEC_LOOP change.
2545         * math/test-double-vlen4.h: Likewise.
2546         * math/test-double-vlen8.h: Likewise.
2547         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2548         * math/test-float-vlen4.h: Likewise.
2549         * math/test-float-vlen8.h: Likewise.
2550         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2551         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2552         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2553         * sysdeps/x86_64/fpu/Versions: New versions added.
2554         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2555         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2556         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2557         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2558         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2559         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2560         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2561         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2562         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2563         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2564         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2565         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2566         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2567         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2568         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2569         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2570         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2571         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2572         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2573         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2574         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2575         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2576         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2577         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2579         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2580         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2581         redirections for powf.
2582         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2583         * sysdeps/x86_64/fpu/Versions: New versions added.
2584         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2585         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2586         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2587         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2588         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2589         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2590         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2591         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2592         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2593         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2594         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2595         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2596         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2597         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2598         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2599         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2600         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2601         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2602         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2603         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2604         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2605         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2606         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2607         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2608         * math/test-float-vlen16.h: Fixed 2 argument macro.
2609         * math/test-float-vlen4.h: Likewise.
2610         * math/test-float-vlen8.h: Likewise.
2611         * NEWS: Mention addition of x86_64 vector powf.
2613 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2615         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2616         and redefine.
2617         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2618         and redefine.
2619         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2620         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2621         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2623         [BZ #18553]
2624         * resource/getpriority.c (getpriority): Rename to __getpriority
2625         and define as weak alias of __getpriority.
2626         * resource/setpriority.c (setpriority): Rename to __setpriority
2627         and define as weak alias of __setpriority.
2628         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2629         __getpriority and define as weak alias of __getpriority.
2630         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2631         __setpriority and define as weak alias of __setpriority.
2632         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2633         strong name.
2634         (setpriority): Use __setpriority as strong name.
2635         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2636         __getpriority and define as weak alias of __getpriority.
2637         * include/sys/resource.h (__getpriority): Declare.  Use
2638         libc_hidden_proto.
2639         (__setpriority): Likewise.
2640         (getpriority): Don't use libc_hidden_proto.
2641         (setpriority): Likewise.
2642         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2643         getpriority.  Call __setpriority instead of setpriority.
2644         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2645         Remove variable.
2647         [BZ #18547]
2648         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2649         as weak alias of __getttynam.  Use prototype function definition.
2650         Call __setttyent, __getttyent and __endttyent instead of
2651         setttyent, getttyent and endttyent.
2652         (getttyent): Rename to __getttyent and define as weak alias of
2653         __getttyent.  Call __setttyent instead of setttyent.  Call
2654         __fgets_unlocked instead of fgets_unlocked.
2655         (setttyent): Rename to __setttyent and define as weak alias of
2656         __setttyent.
2657         (endttyent): Rename to __endttyent and define as weak alias of
2658         __endttyent.
2659         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2660         (__setttyent): Likewise.
2661         (__endttyent): Likewise.
2662         (getttyent): Don't use libc_hidden_proto.
2663         (setttyent): Likewise.
2664         (endttyent): Likewise.
2665         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2666         __endttyent instead of setttyent, getttyent and endttyent.
2667         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2668         Remove variable.
2670         [BZ #18546]
2671         * socket/recv.c (__recv): Use libc_hidden_def.
2672         * socket/socket.c (__socket): Likewise.
2673         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2674         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2675         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2676         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2677         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2678         libc_hidden_def.
2679         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2680         libc_hidden_weak.
2681         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2682         Use libc_hidden_proto.
2683         (__recv): Likewise.
2684         * socket/Versions (libc): Export __recv and __socket at version
2685         GLIBC_PRIVATE.
2686         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2687         instead of recv.
2688         (init_mq_netlink): Call __socket instead of socket.
2689         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2690         Remove variable.
2692         [BZ #18545]
2693         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2694         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2695         hidden_weak.
2696         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2697         define as alias of __mq_timedsend.  Use hidden_weak.
2698         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2699         __mq_timedsend as strong name.
2700         (mq_timedreceive): Use __mq_timedreceive as strong name.
2701         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2702         (__mq_timedreceive): Likewise.
2703         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2704         __mq_timedreceive instead of mq_timedreceive.
2705         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2706         instead of mq_timedsend.
2707         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2708         Remove variable.
2710         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2711         hidden_def and hidden_weak instead of libc_hidden_def and
2712         libc_hidden_weak.
2713         (top level): Refer to hidden_def in comment.
2714         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2715         macro.  Use it instead of libc_hidden_def.
2716         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2717         specify __GI_* name explicitly.
2718         (mq_timedreceive): Likewise.
2719         (mq_setattr): Likewise.
2721         [BZ #18544]
2722         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2723         __pthread_barrier_init and define as weak alias of
2724         __pthread_barrier_init.
2725         * sysdeps/sparc/nptl/pthread_barrier_init.c
2726         (pthread_barrier_init): Likewise.
2727         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2728         __pthread_barrier_wait and define as weak alias of
2729         __pthread_barrier_wait.
2730         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2731         (pthread_barrier_wait): Likewise.
2732         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2733         (pthread_barrier_wait): Likewise.
2734         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2735         (pthread_barrier_wait): Likewise.
2736         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2737         (pthread_barrier_wait): Likewise.
2738         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2739         __pthread_barrier_wait at version GLIBC_PRIVATE.
2740         * include/pthread.h (__pthread_barrier_init): Declare.
2741         (__pthread_barrier_wait): Likewise.
2742         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2743         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2744         (helper_thread): Likewise.
2745         (init_mq_netlink): Call __pthread_barrier_init instead of
2746         pthread_barrier_init.
2748         [BZ #18542]
2749         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2750         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2751         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2752         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2753         vswscanf.
2754         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2755         Remove variable.
2757         [BZ #18540]
2758         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2759         strong alias of _IO_fflush.  Use libc_hidden_def.
2760         * libio/iofflush_u.c (fflush_unlocked): Rename to
2761         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2762         Use libc_hidden_weak.
2763         * include/stdio.h (__fflush_unlocked): Declare.  Use
2764         libc_hidden_proto.
2765         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2766         fflush_unlocked.
2767         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2768         Remove variable.
2770         [BZ #18539]
2771         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2772         define as weak alias of __addseverity.
2773         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2774         Remove variable.
2775         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2776         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2777         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2779         [BZ #18536]
2780         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2781         (__tfind): Likewise.
2782         (__tdelete): Likewise.
2783         (__twalk): Likewise.
2784         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2785         __twalk to GLIBC_PRIVATE.
2786         * include/search.h (__tsearch): Use libc_hidden_proto.
2787         (__tfind): Likewise.
2788         (__tdelete): Likewise.
2789         (__twalk): Likewise.
2790         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2791         Call __tdelete instead of tdelete.
2792         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2793         tfind.  Call __tsearch instead of tsearch.
2794         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2795         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2796         Remove variable.
2797         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2799         [BZ #18534]
2800         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2801         (dprintf): Define as a weak alias of __dprintf, not a strong
2802         alias.
2803         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2804         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2805         dprintf.
2806         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2807         Remove variable.
2808         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2809         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2811         [BZ #18533]
2812         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2813         not a strong alias.
2814         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2815         Remove variable.
2817         [BZ #18532]
2818         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2819         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2820         (in6addr_loopback): Rename to __in6addr_loopback and define as
2821         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2822         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2823         libc_hidden_proto.
2824         (__in6addr_any): Likewise.
2825         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2826         in6addr_any.
2827         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2828         variable.
2829         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2831 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2833         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2834         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2835         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2836         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2837         redirections for pow.
2838         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2839         * sysdeps/x86_64/fpu/Versions: New versions added.
2840         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2841         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2842         build of SSE, AVX2 and AVX512 IFUNC versions.
2843         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2844         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2845         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2846         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2847         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2848         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2849         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2850         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2851         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2852         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2853         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2854         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2855         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2856         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2857         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2858         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2859         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2860         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2861         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2862         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2863         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2864         * NEWS: Mention addition of x86_64 vector pow.
2866         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2867         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2868         redirections for expf.
2869         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2870         * sysdeps/x86_64/fpu/Versions: New versions added.
2871         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2872         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2873         build of SSE, AVX2 and AVX512 IFUNC versions.
2874         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2875         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2876         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2877         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2878         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2879         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2880         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2881         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2882         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2883         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2884         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2885         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2886         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2887         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2888         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2889         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2890         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2891         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2892         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2893         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2894         * NEWS: Mention addition of x86_64 vector expf.
2896         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2897         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2898         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2899         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2900         redirections for exp.
2901         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2902         * sysdeps/x86_64/fpu/Versions: New versions added.
2903         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2904         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2905         build of SSE, AVX2 and AVX512 IFUNC versions.
2906         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2907         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2908         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2909         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2910         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2911         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2912         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2913         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2914         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2915         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2916         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2917         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2918         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2919         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2920         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2921         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2922         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2923         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2924         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2925         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2926         * NEWS: Mention addition of x86_64 vector exp.
2928         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2929         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2930         redirections for logf.
2931         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2932         * sysdeps/x86_64/fpu/Versions: New versions added.
2933         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2934         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2935         build of SSE, AVX2 and AVX512 IFUNC versions.
2936         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2937         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2938         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2939         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2940         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2941         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2942         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2943         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2944         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2945         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2946         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2947         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2948         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2949         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2950         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2951         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2952         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2953         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2954         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2955         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2956         * NEWS: Mention addition of x86_64 vector logf.
2958         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2959         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2960         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2961         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2962         redirections for log.
2963         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2964         * sysdeps/x86_64/fpu/Versions: New versions added.
2965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2966         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2967         build of SSE, AVX2 and AVX512 IFUNC versions.
2968         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2969         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2970         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2971         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2972         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2973         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2974         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2975         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2976         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2977         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2978         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2979         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2980         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2981         test.
2982         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2983         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2984         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2985         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2986         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2987         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2988         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2989         * NEWS: Mention addition of x86_64 vector log.
2991 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2993         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2994         cfi_adjust_cfa_offset argument.
2995         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2996         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2998         [BZ #18034]
2999         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3000         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3001         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3002         ordering using ldar.
3003         (_dl_tlsdesc_dynamic): Likewise.
3004         (_dl_tlsdesc_return_lazy): Likewise.
3005         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3006         relaxed atomics instead of volatile and synchronize with release store.
3007         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3008         volatile.
3009         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3011 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3013         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3014         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3015         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3016         * sysdeps/x86_64/fpu/Versions: New versions added.
3017         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3018         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3019         build of SSE, AVX2 and AVX512 IFUNC versions.
3020         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3021         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3022         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3023         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3024         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3025         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3026         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3027         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3028         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3029         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3030         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3031         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3032         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3033         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3034         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3035         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3036         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3037         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3038         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3039         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3040         * NEWS: Mention addition of x86_64 vector sinf.
3042 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3044         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3045         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3046         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3047         Remove variable.
3048         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3049         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3051 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3053         [BZ #18530]
3054         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3055         strong alias of _IO_fputs.  Use libc_hidden_def.
3056         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3057         and define as weak alias of __fputs_unlocked.  Use
3058         libc_hidden_weak.
3059         * include/stdio.h (__fputs_unlocked): Declare.  Use
3060         libc_hidden_proto.
3061         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3062         fputs_unlocked.
3064         [BZ #18529]
3065         * resolv/netdb.h [__USE_POSIX]: Change condition to
3066         [__USE_XOPEN2K].
3067         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3068         not expect.
3069         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3070         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3071         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3072         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3073         [XPG4 || UNIX98] (AI_ALL): Likewise.
3074         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3075         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3076         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3077         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3078         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3079         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3080         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3081         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3082         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3083         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3084         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3085         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3086         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3087         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3088         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3089         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3090         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3091         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3092         [XPG4 || UNIX98] (gai_strerror): Likewise.
3093         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3094         [XPG4 || UNIX98] (getnameinfo): Likewise.
3096         [BZ #18528]
3097         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3098         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3099         __USE_XOPEN2K8].
3100         (getgrent): Likewise.
3101         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3102         expect.
3103         [XPG3 || POSIX2008] (endgrent): Likewise.
3104         [XPG3] (setgrent): Likewise.
3105         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3106         variable.
3107         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3109         [BZ #18527]
3110         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3111         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3112         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3113         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3114         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3115         * include/unistd.h (__getlogin_r): Declare.  Use
3116         libc_hidden_proto.
3117         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3118         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3119         variable.
3120         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3121         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3122         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3124 2015-06-12  Martin Sebor  <msebor@redhat.com>
3126         [BZ #18512]
3127         * Makerules (check-install-supported): New target.
3128         (install): Add check-install-supported as a dependency.
3129         * manual/install.texi (Installing the C Library): Document
3130         that overriding prefix and exec_prefix is not supported.
3131         Mention DESTDIR.
3132         * INSTALL: Regenerate from the above.
3134 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3136         [BZ #18519]
3137         * posix/Versions (libc): Export __libc_pread at version
3138         GLIBC_PRIVATE.
3139         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3140         instead of pread.
3141         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3142         variable.
3144         [BZ #18522]
3145         * misc/efgcvt_r.c
3146         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3147         (cvt_symbol): Use weak_alias instead of strong_alias.
3148         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3149         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3150         Remove variable.
3151         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3152         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3154         [BZ #18520]
3155         * inet/herrno.c (h_errno): Rename to __h_errno.
3156         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3157         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3158         to __h_errno instead of h_errno.
3159         * nptl/herrno.c (h_errno): Rename to __h_errno.
3160         (__h_errno_location): Refer to __h_errno not h_errno.
3161         * resolv/Versions (h_errno): Rename to __h_errno.
3162         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3163         Remove variable.
3164         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3166 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3168         * configure.ac: More strict check for AVX512 assembler support.
3169         * configure: Regenerated.
3171         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3172         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3173         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3174         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3175         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3176         * sysdeps/x86_64/fpu/Versions: New versions added.
3177         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3178         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3179         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3180         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3181         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3182         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3183         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3184         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3185         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3186         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3187         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3188         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3189         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3190         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3191         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3192         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3193         test.
3194         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3195         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3196         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3197         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3198         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3199         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3200         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3201         * NEWS: Mention addition of x86_64 vector sin.
3203 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3205         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3206         comment.
3208 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3210         [BZ #18479]
3211         * nptl/pt-interp.c: New file.
3212         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3213         Add pt-interp.
3214         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3215         $(common-objpfx)runtime-linker.h.
3217 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3219         * Makeconfig (+interp): Remove unused variable.
3220         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3221         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3222         $(elf-objpfx)runtime-linker.h.
3223         ($(elf-objpfx)runtime-linker.h): Rename to
3224         $(common-objpfx)runtime-linker.h and move ...
3225         * Makerules [$(build-shared) = yes]: ... here.
3226         * elf/interp.c: Include <runtime-linker.h> instead of
3227         <elf/runtime-linker.h>.
3229 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3231         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3232         (__gettimeofday_syscall): Remove vsyscall fallback.
3233         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3234         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3235         Add syscall fallback function.
3236         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3237         if vDSO is not present.
3238         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3239         fallback function.
3240         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3241         present.
3242         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3243         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3245 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3247         [BZ #18497]
3248         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3249         of wcscmp.
3250         (wcscmp): Define as weak alias of WCSCMP.
3251         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3252         wcscoll.
3253         (USE_HIDDEN_DEF): Define.
3254         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3255         __wcscoll.  Don't use libc_hidden_weak.
3256         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3257         wcscmp.
3258         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3259         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3260         __GI_wcscmp.
3261         (weak_alias): Undefine and redefine.
3262         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3263         __wcscmp and define as weak alias of __wcscmp.
3264         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3265         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3266         (__wcscoll): Likewise.
3267         (wcscmp): Don't use libc_hidden_proto.
3268         (wcscoll): Likewise.
3269         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3270         wcscoll.
3271         * posix/regexec.c (check_node_accept_bytes): Likewise.
3272         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3273         variable.
3274         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3275         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3277         [BZ #18507]
3278         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3279         __fstatvfs and define as weak alias of __fstatvfs.  Use
3280         libc_hidden_weak.
3281         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3282         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3283         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3284         Define as alias of __fstatvfs, not fstatvfs.
3285         (fstatvfs64): Likewise.
3286         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3287         Define as alias of __statvfs, not statvfs.
3288         (statvfs64): Likewise.
3289         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3290         Remove variable.
3292 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3295         (HAVE_GETCPU_VSYSCALL): Define.
3296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3297         (HAVE_GETCPU_VSYSCALL): Likewise.
3298         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3299         * sysdeps/unix/sysv/linux/sched_getcpu.c
3300         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3301         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3302         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3303         prototype.
3304         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3305         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3306         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3307         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3308         Define.
3309         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3310         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3311         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3312         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3314 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3316         * sysdeps/x86_64/fpu/Makefile: New file.
3317         * sysdeps/x86_64/fpu/Versions: New file.
3318         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3319         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3320         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3321         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3322         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3323         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3324         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3325         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3326         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3327         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3328         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3329         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3330         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3331         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3332         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3333         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3334         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3335         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3336         * sysdeps/x86_64/configure: Regenerated.
3337         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3338         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3339         * manual/install.texi (Configuring and compiling): Document
3340         --disable-mathvec.
3341         * INSTALL: Regenerated.
3342         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3344         * math/Makefile: Added rules for vector tests.
3345         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3346         declaration under condition.
3347         * math/test-double-vlen2.h: New file.
3348         * math/test-double-vlen4.h: New file.
3349         * math/test-double-vlen8.h: New file.
3350         * math/test-vec-loop.h: Added initialization macro.
3351         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3352         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3353         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3354         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3355         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3356         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3357         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3358         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3359         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3360         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3361         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3363         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3364         * sysdeps/x86_64/fpu/Versions: New versions added.
3365         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3366         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3367         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3368         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3369         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3371         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3372         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3373         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3374         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3375         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3376         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3377         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3378         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3379         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3380         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3381         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3382         * NEWS: Mention addition of x86_64 vector cosf.
3384         * math/Makefile: Added CFLAGS for new tests.
3385         * math/test-float-vlen16.h: New file.
3386         * math/test-float-vlen4.h: New file.
3387         * math/test-float-vlen8.h: New file.
3388         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3389         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3390         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3391         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3392         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3393         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3394         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3395         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3396         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3397         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3398         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3400 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3402         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3403         * locale/programs/ld-ctype.c: Likewise.
3405 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3407         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3408         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3409         bit_ZMM16_31_state): New macro.
3410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3411         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3413 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3415         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3417 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3419         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3421 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3423         [BZ #18498]
3424         * libio/memstream.c (open_memstream): Rename to __open_memstream
3425         and define as weak alias of __open_memstream.
3426         * include/stdio.h (__open_memstream): Declare.  Use
3427         libc_hidden_proto.
3428         (open_memstream): Don't use libc_hidden_proto.
3429         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3430         open_memstream.
3431         * posix/getopt.c (_getopt_internal_r): Likewise.
3432         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3433         variable.
3434         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3435         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3436         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3438         [BZ #18496]
3439         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3440         instead of wcrtomb.
3442         [BZ #18483]
3443         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3444         [__USE_XOPEN2K8].  Remove redundant #endif.
3445         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3446         Remove redundant #if.
3447         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3448         Remove variable.
3449         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3450         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3452         [BZ #18495]
3453         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3454         (__iswlower): Likewise.
3455         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3456         (__iswlower): Likewise.
3457         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3458         instead of towlower.
3459         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3460         instead of iswlower.  Call __towupper instead of towupper.
3461         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3462         instead of iswalnum.
3464 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3466         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3467         errors to stderr.
3469 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3471         [BZ #15661]
3472         [BZ #17322]
3473         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3474         Check for overflow properly.  Check for O_APPEND.  Ignore large
3475         file system block sizes.  Add comments about problems.
3476         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3477         * manual/filesys.texi (Storage Allocation): New node.
3479 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3481         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3482         cancellable syscalls.
3483         (SYS_ify): Add guard to no redefine it.
3484         (INLINE_SYSCALL): Likewise.
3485         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3486         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3487         SYSCALL_CANCEL instead.
3488         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3489         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3490         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3491         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3492         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3493         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3494         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3495         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3496         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3497         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3498         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3499         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3500         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3501         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3502         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3503         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3504         Likewise.
3505         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3506         (__libc_pread64): Likewise.
3507         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3508         (__libc_preadv): Likewise.
3509         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3510         (__libc_readv64): Likewise.
3511         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3512         (__libc_pwrite): Likewise.
3513         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3514         (__libc_pwrite64): Likewise.
3515         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3516         (__libc_pwritev): Likewise.
3517         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3518         (__libc_pwritev64): Likewise.
3519         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3520         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3521         (sync_file_range): Likewise.
3522         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3523         Likewise.
3524         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3525         Likewise.
3526         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3527         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3528         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3529         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3530         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3531         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3532         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3533         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3535         Likewise.
3536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3537         (__libc_read64): Likewise.
3538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3539         Likewise.
3540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3541         Likewise.
3542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3543         Likewise.
3544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3545         Likewise.
3546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3547         (__libc_pread64): Likewise.
3548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3549         Likewise.
3550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3551         (__libc_pwrite64): Likewise.
3552         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3553         (sync_file_range): Likewise.
3554         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3555         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3556         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3557         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3558         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3559         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3560         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3561         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3562         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3563         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3564         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3565         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3566         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3567         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3568         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3569         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3570         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3571         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3572         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3573         Likewise.
3574         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3575         Likewise.
3576         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3577         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3578         Likewise.
3579         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3580         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3581         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3582         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3583         Likewise.
3584         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3585         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3586         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3587         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3588         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3590 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3592         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3593         Include dl-vdso.
3594         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3595         Use VDSO routines for gettimeofday, clock_gettime if
3596         available.
3597         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3598         Declare VDSO symbols.
3599         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3600         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3601         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3602         * sysdeps/unix/sysv/linux/arm/Versions: Add
3603         __vdso_clock_gettime.
3605 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3607         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3608         be an inline implementation regardless of library is built within.
3609         (open_not_cancel_2): Likewise.
3610         (__read_nocancel): Likewise.
3611         (__write_nocancel): Likewise.
3612         (openat_not_cancel): Likewise.
3613         (openat_not_cancel_3): Likewise.
3614         (openat64_not_cancel): Likewise.
3615         (openat64_not_cancel_3): Likewise.
3616         (__close_nocancel): Likewise.
3617         (pause_not_cancel): Likewise.
3618         (nanosleep_not_cancel): Likewise.
3619         (sigsuspend_not_cancel): Likewise.
3621 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3623         [BZ #14958]
3624         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3625         wake-up.
3626         (__pthread_rwlock_rdlock_slow): Likewise.
3627         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3628         Likewise.
3629         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3630         Likewise.
3631         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3632         * nptl/tst-rwlock16.c: New file.
3633         * nptl/Makefile (tests): Add new test.
3635 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3637         [BZ #18324]
3638         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3639         missing wake-up of readers.
3640         * nptl/tst-rwlock15.c: New file.
3641         * nptl/Makefile (tests): Add new test.
3643 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3645         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3646         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3647         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3648         and __nacl_supply_interface_rtld.
3649         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3650         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3651         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3652         Add __nacl_supply_interface_rtld.
3653         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3655 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3657         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3658         isfinite.
3659         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3660         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3662 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3664         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3665         __signbit* with standard C99 macros.
3666         * math/e_exp10l.c: Likewise.
3667         * math/e_exp2l.c: Likewise.
3668         * math/e_scalb.c: Likewise.
3669         * math/e_scalbf.c: Likewise.
3670         * math/e_scalbl.c: Likewise.
3671         * math/s_ldexp.c: Likewise.
3672         * math/s_ldexpf.c: Likewise.
3673         * math/s_ldexpl.c: Likewise.
3674         * math/w_atan2.c: Likewise.
3675         * math/w_atan2f.c: Likewise.
3676         * math/w_atan2l.c: Likewise.
3677         * math/w_cosh.c: Likewise.
3678         * math/w_coshf.c: Likewise.
3679         * math/w_coshl.c: Likewise.
3680         * math/w_exp10.c: Likewise.
3681         * math/w_exp10f.c: Likewise.
3682         * math/w_exp10l.c: Likewise.
3683         * math/w_exp2.c: Likewise.
3684         * math/w_exp2f.c: Likewise.
3685         * math/w_exp2l.c: Likewise.
3686         * math/w_fmod.c: Likewise.
3687         * math/w_fmodf.c: Likewise.
3688         * math/w_fmodl.c: Likewise.
3689         * math/w_hypot.c: Likewise.
3690         * math/w_hypotf.c: Likewise.
3691         * math/w_hypotl.c: Likewise.
3692         * math/w_jnl.c: Likewise.
3693         * math/w_lgamma.c: Likewise.
3694         * math/w_lgamma_r.c: Likewise.
3695         * math/w_lgammaf.c: Likewise.
3696         * math/w_lgammaf_r.c: Likewise.
3697         * math/w_lgammal.c: Likewise.
3698         * math/w_lgammal_r.c: Likewise.
3699         * math/w_pow.c: Likewise.
3700         * math/w_powf.c: Likewise.
3701         * math/w_powl.c: Likewise.
3702         * math/w_remainder.c: Likewise.
3703         * math/w_remainderf.c: Likewise.
3704         * math/w_remainderl.c: Likewise.
3705         * math/w_scalb.c: Likewise.
3706         * math/w_scalbf.c: Likewise.
3707         * math/w_scalbl.c: Likewise.
3708         * math/w_scalbln.c: Likewise.
3709         * math/w_scalblnf.c: Likewise.
3710         * math/w_scalblnl.c: Likewise.
3711         * math/w_sinh.c: Likewise.
3712         * math/w_sinhf.c: Likewise.
3713         * math/w_sinhl.c: Likewise.
3714         * math/w_tgamma.c: Likewise.
3715         * math/w_tgammaf.c: Likewise.
3716         * math/w_tgammal.c: Likewise.
3717         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3718         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3719         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3720         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3721         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3722         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3723         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3724         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3725         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3726         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3727         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3728         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3729         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3730         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3731         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3732         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3733         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3734         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3735         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3736         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3737         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3738         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3739         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3740         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3741         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3742         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3743         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3744         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3745         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3746         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3747         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3748         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3749         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3750         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3751         * stdio-common/printf_fp.c: Likewise.
3752         * stdio-common/printf_fphex.c: Likewise.
3753         * stdio-common/printf_size.c: Likewise.
3755 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3757         [BZ #18470]
3758         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3759         strnlen.
3760         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3761         Remove variable.
3762         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3763         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3764         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3765         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3766         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3767         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3768         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3769         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3770         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3771         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3773         [BZ #18468]
3774         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3775         weak alias of __wmemchr.  Use libc_hidden_weak.
3776         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3777         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3778         instead of wmemchr.
3780 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3782         [BZ #18383]
3783         * elf/tst-tlsalign-extern.c: New file.
3784         * elf/tst-tlsalign-extern-static.c: New file.
3785         * elf/tst-tlsalign-vars.c: New file.
3786         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3787         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3788         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3789         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3790         (test-xfail-tst-tlsalign-extern-static): New variable.
3792 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3794         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3795         Use variable name _sc_err instead of err.
3796         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3797         instead of ret.
3798         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3799         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3800         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3801         (INLINE_SYSCALL): Likewise.
3803         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3804         * include/string.h (__strnlen): Use libc_hidden_proto.
3805         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3806         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3807         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3808         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3809         (libc_hidden_def): Undefine and redefine.
3810         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3811         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3812         __GI_strnlen.
3813         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3814         libc_hidden_def.
3815         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3817         [BZ #18469]
3818         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3819         weak alias of __towlower.  Use libc_hidden_weak.
3820         (towupper): Rename to __towupper and define as weak alias of
3821         __towupper.  Use libc_hidden_weak.
3822         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3823         (__towupper): Likewise.
3824         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3825         __towlower instead of towlower.
3827 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3829         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3830         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3832 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3834         * sysdeps/aarch64/libm-test-ulps: Update.
3836 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3838         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3839         Define.
3840         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3841         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3842         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3843         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3844         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3845         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3846         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3848 2015-06-01  Martin Sebor  <msebor@redhat.com>
3850         [BZ #18116]
3851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3852         (__setcontext): Use extended four-operand version of mtsf whenever
3853         possible.
3854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3855         (__novec_swapcontext): Likewise.
3857 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3859         * benchtests/scripts/compare_bench.py: New file.
3860         * benchtests/scripts/import_bench.py (mean): New function.
3861         (split_list): Likewise.
3862         (do_for_all_timings): Likewise.
3863         (compress_timings): Likewise.
3865         * benchtests/scripts/import_bench.py: New file.
3866         * benchtests/scripts/validate_benchout.py: Import import_bench
3867         instead of jsonschema.
3868         (validate_bench): Remove function.
3869         (main): Use import_bench.
3871 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3873         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3874         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3876 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3880 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3882         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3883         set THREAD_SELF->tid to a magic value and futex-wake it.
3884         Pass its address to the thread_exit system call.
3885         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3886         bit is clear.
3887         * sysdeps/nacl/lowlevellock.h: New file.
3888         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3890         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3891         Add TIMEOUT to current time, don't subtract it.
3893 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3895         [BZ #2981]
3896         [BZ #18422]
3897         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3898         ($(objpfx)tst-audit2.out): Also depend on
3899         $(objpfx)tst-auditmod9b.so.
3900         * elf/tst-audit2.c: Include <dlfcn.h>.
3901         (calloc_called): New.
3902         (calloc): Allow to be called more than once.
3903         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3905 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3907         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3908         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3910 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3912         * stdlib/monetary.h: Fix comment.
3914 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3916         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3917         Avoid using variables in #defines that might cause shadowing.
3918         (INTERNAL_VSYSCALL_CALL): Likewise.
3920 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3922         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3924         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3925         * nptl/lll_timedlock_wait.c: ... to this new file.
3926         * nptl/Makefile (libpthread-routines): Add it.
3927         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3928         * nptl/lll_timedwait_tid.c: ... to this new file.
3929         * nptl/Makefile (libpthread-routines): Add it.
3930         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3931         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3932         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3933         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3934         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3935         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3936         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3937         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3938         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3939         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3941 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3943         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3944         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3945         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3946         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3947         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3949         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3950         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3951         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3952         * sysdeps/unix/sysv/linux/tile/sysdep.h
3953         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3954         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3955         using vDSO syscall macro.
3957 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3959         [BZ #17293]
3960         * uk_UA: Fix sorting order for Ukrainian locale
3962 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3964         * stdlib/monetary.h: Fix comment.
3966 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3968         [BZ #18234]
3969         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3970         st_mtim and st_ctim members.
3971         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3972         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3973         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3974         (struct stat64): Likewise.
3975         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3976         (struct stat64): Likewise.
3977         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3978         (struct stat64): Likewise.
3980 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3982         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3983         Define and include sysdep-vdso.h.
3984         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3985         Likewise.
3986         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3987         Likewise.
3988         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3989         Define with VDSO_SYMBOL and use PTR_MANGLE.
3990         (__vdso_clock_gettime): Likewise.
3991         (__vdso_clock_getres): Likewise.
3992         (_libc_vdso_platform_setup): Likewise.
3993         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3994         Likewise.
3995         (_libc_vdso_platform_setup): Likewise.
3996         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3997         Likewise.
3998         (__vdso_clock_gettime): Likewise.
3999         (__vdso_clock_getres): Likewise.
4000         (__vdso_get_tbfreq): Likewise.
4001         (__vdso_getcpu): Likewise.
4002         (__vdso_time): Likewise.
4003         (__vdso_sigtramp_rt64): Likewise.
4004         (__vdso_signtramp32): Likewise.
4005         (__vdso_sigtramp_rt32): Likewise.
4006         (_libc_vdso_platform_setup): Likewise.
4007         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4008         Likewise.
4009         (__vdso_clock_gettime): Likewise.
4010         (__vdso_clock_getres): Likewise.
4011         (_libc_vdso_platform_setup): Likewise.
4012         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4013         Likewise.
4014         (__vdso_clock_gettime): Likewise.
4015         (_libc_vdso_platform_setup): Likewise.
4016         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4017         Likewise.
4018         (__vdso_getcpu): Likewise.
4019         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4020         Use VDSO_SYMBOL macro to define.
4021         (__vdso_clock_gettime): Likewise.
4022         (__vdso_clock_getres): Likewise.
4023         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4024         Likewise.
4025         (__vdso_clock_gettime): Likewise.
4026         (__vdso_clock_getres): Likewise.
4027         (__vdso_get_tbfreq): Likewise.
4028         (__vdso_getcpu): Likewise.
4029         (__vdso_time): Likewise.
4030         (__vdso_sigtramp_rt64): Likewise.
4031         (__vdso_signtramp32): Likewise.
4032         (__vdso_sigtramp_rt32): Likewise.
4033         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4034         Likewise.
4035         (__vdso_clock_gettime): Likewise.
4036         (__vdso_clock_getres): Likewise.
4037         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4038         Likewise.
4039         (__vdso_clock_gettime): Likewise.
4040         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4041         Likewise.
4042         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4043         macro.
4044         (INTERNAL_VSYSCALL): Likewise.
4045         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4046         Remove macro.
4047         (INTERNAL_VSYSCALL): Likewise.
4048         (INTERNAL_VSYSCALL_NCS): Likewise.
4049         (INTERNAL_VSYSCALL_CALL): New macro.
4050         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4051         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4052         Likewise.
4053         (INTERNAL_VSYSCALL): Likewise.
4054         (INTERNAL_VSYSCALL_NCS): Likewise.
4055         (INTERNAL_VSYSCALL_CALL): New macro.
4056         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4058         (INLINE_VSYSCALL): Remove macro.
4059         (INTERNAL_VSYSCALL): Remove macro.
4060         (INTERNAL_VSYSCALL_NCS): Remove macro.
4061         (INTERNAL_VSYSCALL_CALL): New macro.
4062         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4063         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4064         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4065         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4066         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4068         (INLINE_VSYSCALL): Remove macro.
4069         (INTERNAL_VSYSCALL): Likewise.
4070         (INTERNAL_VSYSCALL_NCS): Likewise.
4071         (INTERNAL_VSYSCALL_CALL): New macro.
4072         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4073         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4074         PTR_DEMANGLE on vDSO pointer.
4075         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4076         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4077         macro.
4078         (INTERNAL_SYSCALL): Likewise.
4079         (INTERNAL_VSYSCALL_NCS): Remove macro.
4080         (INTERNAL_VSYSCALL_CALL): New macro.
4081         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4082         Remove macro.
4083         (INTERNAL_VSYSCALL): Likewise.
4084         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4085         sysdep-vdso.h instead of libc-vdso.h.
4086         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4087         definition.
4088         (INLINE_VSYSCALL): Likewise.
4089         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4090         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4091         definition.
4092         (INLINE_VSYSCALL): Likewise.
4093         (INTERNAL_VSYSCALL): Likewise.
4094         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4095         * sysdeps/unix/sysv/linux/timespec_get.c
4096         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4097         (timespec_get): Use ANSI prototype.
4098         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4099         and definition for Linux.
4101 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4103         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4104         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4106 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4108         [BZ #2981]
4109         [BZ #18410]
4110         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4111         for missing DT_PLTRELSZ.
4113 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4115         Remove obsolete aliases that broke 'locale -a'
4116         [BZ #18412]
4117         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4118         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4119         breaking some applications that use 'locale -a' output.
4120         Change the encoding of this file from Latin-1 to ASCII to avoid
4121         other potential problems with people grepping this file.
4123 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4125         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4126         -fasynchronous-unwind-tables.
4127         (CFLAGS-sendto.c): Likewise.
4128         (CFLAGS-sendmsg.c): Likewise.
4129         (CFLAGS-connect.c): Likewise.
4130         (CFLAGS-recvmsg.c): Likewise.
4131         (CFLAGS-recvfrom.c): Likewise.
4132         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4133         (SOCKETCALL): New macro: non-cancellable socketcall.
4134         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4135         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4136         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4137         * sysdeps/unix/sysv/linux/accept.c: New file.
4138         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4139         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4140         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4141         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4142         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4143         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4144         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4145         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4146         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4147         * sysdeps/unix/sysv/linux/send.c: Likewise.
4148         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4149         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4150         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4151         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4152         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4153         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4154         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4155         prototype.
4156         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4157         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4158         instead of __internal_xxx function.
4159         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4160         prototype.
4161         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4162         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4163         instead of __internal_xxx function.
4164         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4165         prototype.
4166         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4167         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4168         instead of __internal_xxx function.
4169         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4170         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4171         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4172         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4173         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4174         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4175         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4176         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4177         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4178         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4179         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4180         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4181         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4182         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4183         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4184         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4185         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4186         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4187         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4188         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4191         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4192         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4193         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4194         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4195         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4196         * sysdeps/unix/sysv/linux/send.S: Likewise.
4197         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4198         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4199         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4200         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4201         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4202         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4203         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4204         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4205         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4206         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4207         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4208         socketcall is implemented in GLIBC.
4210 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4212         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4213         (__fma): Ignore uninitialized warnings around packing.
4214         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4215         (__fmaf): Ignore uninitialized warnings around packing.
4216         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4217         (__fmal): Ignore uninitialized warnings around packing.
4219         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4220         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4221         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4222         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4224         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4225         switch statement into default case.
4226         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4228         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4229         a conditional in forcing "inexact".
4230         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4231         Likewise.
4233 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4235         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4236         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4237         for each INTERNAL_SYSCALL use.
4239 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4241         [BZ #438]
4242         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4243         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4244         variable.
4246         [BZ #18444]
4247         * string/basename.c (basename): Rename to __basename and define as
4248         weak alias of __basename.  Use libc_hidden_weak.
4249         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4250         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4251         __basename instead of basename.
4252         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4253         Remove variable.
4254         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4256 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4258         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4259         (_IO_JUMPS_FILE_plus): New.
4260         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4261         _IO_CAST_FIELD_ACCESS.
4262         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4263         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4264         * libio/freopen.c (freopen): Likewise.
4265         * libio/freopen64.c (freopen64): Likewise.
4266         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4267         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4268         * libio/iofwide.c (_IO_fwide): Likewise.
4269         * libio/memstream.c (open_memstream): Likewise.
4270         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4271         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4272         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4274 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4276         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4277         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4278         NADJ.
4279         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4280         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4281         NADJ.
4282         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4283         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4284         NADJ.
4286         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4287         (p == 4) case.
4289         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4290         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4291         Remove variable.
4292         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4293         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4294         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4296 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4298         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4299         Adjust jump table label generation macros.
4301 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4303         * stdio-common/vfprintf.c (vfprintf): Move local variables
4304         args_malloced, specs, specs_malloced, and the code after
4305         do_positional to the printf_positional function.
4306         (printf_positional): New function.
4308 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4310         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4311         function.
4312         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4313         STEP4_TABLE, process_arg): Move macro definitions
4314         out of the vfprintf function.  (Cosmetic change only.)
4316 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4318         * benchtests/Makefile (stdio-common-bench): Define.
4319         (benchset): Add stdio-common-bench.
4320         * sprintf-inputs: New file.
4321         * sprintf-source.c: New file.
4323 2015-05-21  Andreas Schwab  <schwab@suse.de>
4325         [BZ #13028]
4326         [BZ #17053]
4327         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4328         of struct __res_state.
4329         * resolv/res_send.c (__libc_res_nsend): Likewise.
4330         (get_nsaddr): New function.
4331         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4332         statp directly.
4334 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4336         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4337         -D_POSIX_C_SOURCE=199506L.
4339         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4341         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4342         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4343         Do not mention otherwise.
4344         [POSIX] (_XOPEN_VERSION): Do not expect.
4345         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4346         [POSIX] (_POSIX2_C_BIND): Likewise.
4347         [POSIX] (_POSIX2_VERSION): Likewise.
4348         [POSIX] (_XOPEN_XPG2): Likewise.
4349         [POSIX] (_XOPEN_XPG3): Likewise.
4350         [POSIX] (_XOPEN_XPG4): Likewise.
4351         [POSIX] (_XOPEN_UNIX): Likewise.
4352         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4353         [POSIX] (_POSIX_BARRIERS): Likewise.
4354         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4355         [POSIX] (_POSIX_CPUTIME): Likewise.
4356         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4357         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4358         [POSIX] (_POSIX_SHELL): Likewise.
4359         [POSIX] (_POSIX_SPAWN): Likewise.
4360         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4361         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4362         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4363         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4364         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4365         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4366         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4367         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4368         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4369         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4370         [POSIX] (_POSIX2_PBS): Likewise.
4371         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4372         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4373         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4374         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4375         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4376         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4377         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4378         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4379         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4380         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4381         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4382         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4383         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4384         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4385         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4386         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4387         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4388         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4389         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4390         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4391         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4392         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4393         [POSIX] (_SC_2_C_BIND): Likewise.
4394         [POSIX] (_SC_2_C_VERSION): Likewise.
4395         [POSIX] (_SC_2_PBS): Likewise.
4396         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4397         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4398         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4399         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4400         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4401         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4402         [POSIX] (_SC_BARRIERS): Likewise.
4403         [POSIX] (_SC_BASE): Likewise.
4404         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4405         [POSIX] (_SC_DEVICE_IO): Likewise.
4406         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4407         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4408         [POSIX] (_SC_FD_MGMT): Likewise.
4409         [POSIX] (_SC_FIFO): Likewise.
4410         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4411         [POSIX] (_SC_FILE_LOCKING): Likewise.
4412         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4413         [POSIX] (_SC_IOV_MAX): Likewise.
4414         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4415         [POSIX] (_SC_NETWORKING): Likewise.
4416         [POSIX] (_SC_PAGE_SIZE): Likewise.
4417         [POSIX] (_SC_PASS_MAX): Likewise.
4418         [POSIX] (_SC_PIPE): Likewise.
4419         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4420         [POSIX] (_SC_REGEXP): Likewise.
4421         [POSIX] (_SC_SHELL): Likewise.
4422         [POSIX] (_SC_SIGNALS): Likewise.
4423         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4424         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4425         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4426         [POSIX] (_SC_USER_GROUPS): Likewise.
4427         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4428         [POSIX] (_SC_STREAMS): Likewise.
4429         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4430         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4431         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4432         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4433         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4434         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4435         [POSIX] (_PC_FILESIZEBITS): Likewise.
4436         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4437         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4438         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4439         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4440         [POSIX] (uid_t): Likewise.
4441         [POSIX] (gid_t): Likewise.
4442         [POSIX] (off_t): Likewise.
4443         [POSIX] (pid_t): Likewise.
4444         [POSIX] (cuserid): Allow.
4445         (_SC_2_CHAR_TERM): Require constant.
4446         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4447         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4448         variable.
4450 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4452         * sysdeps/nacl/pthread-pids.h: New file.
4453         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4454         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4456         * nptl/pthread-pids.h: New file.
4457         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4458         * nptl/nptl-init.c: Include <pthread-pids.h>.
4459         (__pthread_initialize_minimal_internal):
4460         Call __pthread_initialize_pids instead of set_tid_address syscall.
4462         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4463         * sysdeps/posix/usleep.c: ... here.
4465 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4467         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4468         call_pselect6 object.
4469         [$(subdir) = io]: Remove call_sync_file_range object.
4470         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4471         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4472         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4473         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4475 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4477         * math/s_cproj.c: Add include "math_private.h".
4478         * math/s_cprojf.c: Likewise.
4479         * math/s_cprojl.c: Likewise.
4481 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4483         [BZ #18244]
4484         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4485         high mantissa bit when testing whether P is a NaN.
4486         * math/libm-test.inc (remainder_test_data): Add more tests.
4487         (remquo_test_data): Likewise.
4489         [BZ #18049]
4490         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4491         below -32, return the argument, with underflow if subnormal.
4492         * math/auto-libm-test-in: Add more tests of atanh.
4493         * math/auto-libm-test-out: Regenerated.
4495 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4497         [BZ #18434]
4498         * nptl/tst-sem15.c: New file.
4499         * nptl/Makefile (tests): Add it.
4500         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4501         s/<</>>/ to fix typo in EOVERFLOW check.
4502         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4504 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4506         * manual/strings.texi (envz_remove): Fix typo in safety
4507         annotations.
4509 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4510             Steve Ellcey  <sellcey@imgtec.com>
4512         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4513         in order to avoid strict alias warnings.
4514         (iruserok_af): Ditto for ra.
4516 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4518         [BZ #17581]
4519         * malloc/hooks.c
4520         (magicbyte): Convert to a function and avoid returning 0x01.
4521         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4522         (mem2chunk_check): Fix unsigned comparisons to zero.
4523         Hoist defs of sz and magic.
4525 2015-05-19  Richard Henderson  <rth@redhat.com>
4527         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4529         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4531 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4533         [BZ #16159]
4534         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4535         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4536         (reused_arena): Find a non-corrupt arena.
4537         (heap_trim): Pass arena to unlink.
4538         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4539         malloc_printerr.
4540         (top_check): Likewise.
4541         (free_check): Likewise.
4542         (realloc_check): Likewise.
4543         * malloc/malloc.c (malloc_printerr): Add arena argument.
4544         (unlink): Likewise.
4545         (munmap_chunk): Adjust.
4546         (ARENA_CORRUPTION_BIT): New macro.
4547         (arena_is_corrupt): Likewise.
4548         (set_arena_corrupt): Likewise.
4549         (sysmalloc): Use mmap if there are no usable arenas.
4550         (_int_malloc): Likewise.
4551         (__libc_malloc): Don't fail if arena_get returns NULL.
4552         (_mid_memalign): Likewise.
4553         (__libc_calloc): Likewise.
4554         (__libc_realloc): Adjust for additional argument to
4555         malloc_printerr.
4556         (_int_free): Likewise.
4557         (malloc_consolidate): Likewise.
4558         (_int_realloc): Likewise.
4559         (_int_memalign): Don't touch corrupt arenas.
4560         * malloc/tst-malloc-backtrace.c: New test case.
4562         * Makefile (summarize-tests): Fix return value on success.
4564         * manual/string.texi (Envz Functions): Add envz_remove.
4566 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4568         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4569         (invalid_name): New function, broken out of ...
4570         (__opendirat): ... here.  Call it.
4571         (need_isdir_precheck): New function, broken out of ...
4572         (__opendirat): ... here.  Call it.
4573         Use __fxstatat64, not __xstatat64.
4574         (opendir_oflags): New function, broken out of ...
4575         (__opendirat): ... here.  Call it.
4576         (opendir_tail): New function, broken out of ...
4577         (__opendirat): ... here.  Call it.
4578         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4579         opendir_tail, rather than punting to __opendirat.
4580         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4582 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4584         * .gitignore: Ignore generated *.pyc.
4586 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4588         * include/stdio.h: Define __need_wint_t.
4589         * test-skeleton.c: Avoid `for' loop initial declaration.
4590         * nptl/tst-initializers1.c: Use test-skeleton.c.
4592 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4594         [BZ #18418]
4595         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4597 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4599         [BZ #16352]
4600         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4601         (__ieee754_atanh): Force underflow exception for results with
4602         small absolute value.
4603         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4604         (__ieee754_atanhf): Force underflow exception for results with
4605         small absolute value.
4606         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4607         (__ieee754_atanh): Force underflow exception for results with
4608         small absolute value.
4609         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4610         (__ieee754_atanhf): Force underflow exception for results with
4611         small absolute value.
4612         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4613         (__ieee754_atanhl): Force underflow exception for results with
4614         small absolute value.
4615         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4616         (__ieee754_atanhl): Force underflow exception for results with
4617         small absolute value.
4618         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4619         (__ieee754_atanhl): Force underflow exception for results with
4620         small absolute value.
4621         * math/auto-libm-test-in: Do not allow missing underflow
4622         exceptions from atanh.
4623         * math/auto-libm-test-out: Regenerated.
4625         [BZ #18221]
4626         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4627         2**-28 as threshold for returning x or +/- 1/x.
4628         * math/auto-libm-test-in: Add more tests of tan.
4629         * math/auto-libm-test-out: Regenerated.
4631         [BZ #18220]
4632         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4633         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4634         * math/auto-libm-test-in: Add another test of lgamma.
4635         * math/auto-libm-test-out: Regenerated.
4637 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4639         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4640         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4641         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4642         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4643         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4644         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4645         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4646         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4647         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4648         (log1): Use fabs.  (my_log2): Use fabs.
4649         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4650         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4651         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4652         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4653         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4654         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4655         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4656         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4657         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4658         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4659         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4661 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4663         [BZ #18217]
4664         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4665         as threshold for returning 1 - x.
4666         * math/auto-libm-test-in: Add more tests of erfc.
4667         * math/auto-libm-test-out: Regenerated.
4669 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4671         [BZ #18196]
4672         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4673         threshold for large arguments.
4674         * math/auto-libm-test-in: Add another test of atan.
4675         * math/auto-libm-test-out: Regenerated.
4677         [BZ #16339]
4678         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4679         (__log1p): Force underflow exception for results with small
4680         absolute value.
4681         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4682         (__log1pf): Force underflow exception for results with small
4683         absolute value.
4684         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4685         (__log1p): Force underflow exception for results with small
4686         absolute value.
4687         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4688         (__log1pf): Force underflow exception for results with small
4689         absolute value.
4690         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4691         (__log1pl): Force underflow exception for results with small
4692         absolute value.
4693         * math/auto-libm-test-in: Do not allow missing underflow
4694         exceptions from log1p.
4695         * math/auto-libm-test-out: Regenerated.
4697 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4698             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4700         [BZ #16704]
4701         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4703 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4705         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4706         (libmvec): New variable.
4707         * configure.ac: Added option for mathvec build.
4708         * configure: Regenerated.
4709         * mathvec/Depend: New file.
4710         * mathvec/Makefile: New file.
4711         * shlib-versions: Added libmvec.
4712         * math/Makefile: Added rule for libm.so installation.
4714         * bits/math-vector.h: New file.
4715         * bits/libm-simd-decl-stubs.h: New header.
4716         * math/Makefile (headers): Added new header
4717         libm-simd-decl-stubs.h.
4718         * math/math.h (__MATHCALL_VEC): New macro.
4720         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4721         for conditions in testing functions.
4722         * math/Makefile: Added call of libm-have-vector-test.sh.
4723         * math/libm-test.inc (HAVE_VECTOR): New macros.
4725         * math/libm-test.inc: START refactored.
4726         * math/test-double.c (TEST_MATHVEC): Add define.
4727         * math/test-float.c: Likewise.
4728         * math/test-idouble.c: Likewise.
4729         * math/test-ifloat.c: Likewise.
4730         * math/test-ildoubl.c: Likewise.
4731         * math/test-ldouble.c: Likewise.
4732         * sysdeps/generic/math-tests-arch.h
4733         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4734         architecture check.
4736         * math/test-double.c (FUNC_TEST): New macro.
4737         * math/test-float.c: Likewise.
4738         * math/test-idouble.c: Likewise.
4739         * math/test-ifloat.c: Likewise.
4740         * math/test-ildoubl.c: Likewise.
4741         * math/test-ldouble.c: Likewise.
4742         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4744 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4746         * sysdeps/nacl/fdopendir.c: New file.
4748         * dirent/scandir-tail.c: New file.
4749         * dirent/scandir64-tail.c: New file.
4750         * dirent/Makefile (routines): Add them.
4751         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4752         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4753         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4754         [!SCANDIR] (SCANDIR_TAIL): New macro.
4755         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4756         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4757         (SCANDIRAT): Macro removed.
4758         (SCANDIR_TAIL): New macro.
4759         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4760         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4761         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4762         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4763         (READDIR): Macro removed.
4764         (SCANDIR_TAIL): New macro.
4765         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4766         (SCANDIR_TAIL): New macro.
4768         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4769         * dirent/scandir-cancel.c: ... to this new file.
4770         * dirent/Makefile (routines): Add it.
4771         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4772         * sysdeps/unix/sysv/linux/i386/scandir64.c
4773         (SKIP_SCANDIR_CANCEL): Macro removed.
4774         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4776         * dirent/tst-scandir.c: New file.
4777         * dirent/tst-scandir64.c: New file.
4778         * dirent/Makefile (tests): Add them.
4780 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4782         [BZ #18409]
4783         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4785 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4787         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4788         list.
4790 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4792         * benchtests/bench-strcoll.c: New benchmark.
4793         * benchtests/Makefile: Generate locales and run benchmark.
4794         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4795         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4796         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4797         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4798         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4799         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4800         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4801         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4802         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4803         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4804         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4805         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4806         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4807         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4808         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4809         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4810         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4811         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4812         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4813         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4814         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4815         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4816         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4817         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4819 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4821         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4822         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4824 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4826         * posix/uname-values.h: New file.
4827         * posix/uname.c: Include that instead of <config-name.h>.
4828         * sysdeps/nacl/uname-values.h: New file.
4829         * sysdeps/arm/nacl/uname-values.h: New file.
4831 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4833         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4834         splitting into fields.
4836 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4838         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4839         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4840         * locale/localeinfo.h: Add enum collation_encoding_type.
4841         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4842         * programs/ld-collate.c (collate_output): Add encoding type info.
4843         * string/strcoll_l.c (STRDIFF): New function.
4844         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4845         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4847 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4849         [BZ #18397]
4850         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4851         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4852         <fpu_control.h> instead of <math/fpu_control.c>.
4853         * sysdeps/mips/mips32/fpu/Makefile: New file.
4855 2015-05-11  Andreas Schwab  <schwab@suse.de>
4857         [BZ #18007]
4858         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4859         nss_endgrent.
4860         (_nss_compat_endgrent): Call nss_endgrent.
4861         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4862         nss_endpwent.
4863         (_nss_compat_endpwent): Call nss_endpwent.
4864         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4865         needent, call nss_setspent only if non-zero.
4866         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4867         (internal_endspent): Don't call nss_endspent.
4868         (_nss_compat_endspent): Call nss_endspent.
4869         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4870         Remove.  All uses removed.
4871         (internal_setent): Remove parameter stayopen, add parameter
4872         stream.  Use it instead of global variable.
4873         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4874         (internal_endent, internal_getent): Add parameter stream.  Use it
4875         instead of global variable.
4876         (CONCAT(_nss_files_end,ENTNAME))
4877         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4878         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4879         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4880         uses removed.
4881         (internal_setent, internal_endent): Add parameter stream.  Use it
4882         instead of global variable.
4883         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4884         stream.
4885         (get_next_alias): Add parameter stream.
4886         (_nss_files_getaliasent_r): Pass global stream.
4887         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4888         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4889         (_nss_files_gethostbyname4_r): Pass local stream to
4890         internal_setent, internal_getent and internal_endent.  Remove
4891         locking.
4893 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4895         * tst-strfmon1.c (tests): Update expected currency symbol.
4897 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4899         * sysdeps/nacl/gethostname.c: New file.
4901 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4903         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4904         and sinh.
4905         * math/auto-libm-test-out: Regenerated.
4906         * sysdeps/i386/fpu/libm-test-ulps: Update.
4907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4909 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4911         [BZ #18125]
4912         * stdlib/tst-setcontext3.c: New file.
4913         * stdlib/tst-setcontext3.sh: New file.
4914         * stdlib/Makefile (tests): Add tst-setcontext3.
4915         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4916         to verify test program created output file.
4917         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4918         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4919         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4920         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4922 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4924         [BZ #18383]
4925         * elf/tst-tlsalign.c: New file.
4926         * elf/tst-tlsalign-static.c: New file.
4927         * elf/tst-tlsalign-lib.c: New file.
4928         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4929         (tests-static): Add tst-tlsalign-static.
4930         (modules-names): Add tst-tlsalign-lib.
4931         (test-xfail-tst-tlsalign): New variable.
4932         (test-xfail-tst-tlsalign-static): New variable.
4934         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4935         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4937 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4939         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4940         csqrt, erfc, sin and sincos.
4941         * math/auto-libm-test-out: Regenerated.
4942         * sysdeps/i386/fpu/libm-test-ulps: Update.
4943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4945 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4947         * sysdeps/aarch64/libm-test-ulps: Update.
4949 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4951         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4952         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4953         * math/auto-libm-test-out: Regenerated.
4954         * sysdeps/i386/fpu/libm-test-ulps: Update.
4955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4957 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4959         [BZ #18265]
4960         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4961         (wcsncpy): Likewise.
4963 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4965         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4966         Assume __ASSUME_FALLOCATE is always true.
4967         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4968         (__posix_fallocate64_l64): Likweise.
4969         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4970         (posix_fallocate): Likewise.
4971         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4972         (__posix_fallocate64_l64): Likewise.
4973         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4974         [!__ASSUME_FALLOCATE]: Add comment.
4976 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4978         * sysdeps/unix/sysv/linux/i386/Makefile
4979         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4980         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4981         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4982         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4983         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4984         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4985         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4987 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4989         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4990         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4991         tgamma.
4992         * math/auto-libm-test-out: Regenerated.
4993         * sysdeps/i386/fpu/libm-test-ulps: Update.
4994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4996 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4998         * math/auto-libm-test-in: Add more tests of tgamma.
4999         * math/auto-libm-test-out: Regenerated.
5000         * sysdeps/i386/fpu/libm-test-ulps: Update.
5001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5003         * math/auto-libm-test-in: Add more tests of tanh.
5004         * math/auto-libm-test-out: Regenerated.
5005         * sysdeps/i386/fpu/libm-test-ulps: Update.
5006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5008         * math/auto-libm-test-in: Add more tests of tan.
5009         * math/auto-libm-test-out: Regenerated.
5010         * sysdeps/i386/fpu/libm-test-ulps: Update.
5011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5013         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5014         * math/auto-libm-test-out: Regenerated.
5015         * sysdeps/i386/fpu/libm-test-ulps: Update.
5016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5018         * math/auto-libm-test-in: Add another test of pow.
5019         * math/auto-libm-test-out: Regenerated.
5020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5022         * math/auto-libm-test-in: Add more tests of lgamma.
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 log, log10, log2 and
5028         log1p.
5029         * math/auto-libm-test-out: Regenerated.
5030         * sysdeps/i386/fpu/libm-test-ulps: Update.
5031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5033 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5035         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5036         Elf64_Chdr structs and ELFCOMPRESS constants.
5038 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5040         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5041         expm1.
5042         * math/auto-libm-test-out: Regenerated.
5043         * sysdeps/i386/fpu/libm-test-ulps: Update.
5044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5046         * math/auto-libm-test-in: Add more tests of erf and erfc.
5047         * math/auto-libm-test-out: Regenerated.
5048         * sysdeps/i386/fpu/libm-test-ulps: Update.
5049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5051 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5053         * config.h.in (HAVE_AARCH64_BE): Add.
5055 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5057         * math/auto-libm-test-in: Add more tests of csqrt.
5058         * math/auto-libm-test-out: Regenerated.
5059         * sysdeps/i386/fpu/libm-test-ulps: Update.
5060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5062         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5063         * math/auto-libm-test-out: Regenerated.
5064         * sysdeps/i386/fpu/libm-test-ulps: Update.
5065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5067         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5069 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5071         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5072         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5074         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5075         (euidaccess, eaccess): Define as weak aliases.
5077         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5078         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5079         but __suseconds_t is often 'long int' so some sources assume that
5080         type is being used (e.g. they use %ld to print tv_usec).
5082 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5084         [BZ #18007]
5085         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5086         (CVE-2014-8121)
5087         * nss/tst-nss-getpwent.c: New file.
5088         * nss/Makefile (tests): Add new test.
5090 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5092         [BZ #18346]
5093         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5094         exponents less than 48 as cases where high part of mantissa needs
5095         examining to determine whether argument is integral.
5096         * math/libm-test.inc (round_test_data): Add more tests.
5098 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5100         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5102 2015-04-27  David S. Miller  <davem@davemloft.net>
5104         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5105         __tls_get_addr.
5106         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5108 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5110         [BZ#18333]
5111         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5113 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5115         [BZ#18333]
5116         * time/tzset.c (parse_tzname): Return error on memory allocation
5117         failure.
5118         * test-skeleton.c (struct temp_name_list): Change type of name
5119         member to non-const.
5120         (add_temp_file): Create a copy of the file name.
5121         (delete_temp_files): Deallocate memory.
5122         (create_temp_file): Add comment.
5124 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5126         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5127         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5129 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5131         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5132         * sysdeps/arm/configure: Regenerated.
5134 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5136         [BZ #17715]
5137         * time/tzfile.c (__tzfile_read): Check for large values of
5138         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5139         * time/tzset.c (__tzstring_len): New function, based on the old
5140         __tzstring function.
5141         (__tzstring): Call __tzstring_len.
5142         (parse_tzname): New helper function extracted from
5143         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5144         the input string.
5145         (parse_offset): New helper function extracted from
5146         __tzset_parse_tz.  Replace switch with fallthrough with
5147         initialization before sscanf.
5148         (parse_rule): Likewise.
5149         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5150         new-style function definition.
5151         * timezone/Makefile (tests): Add tst-tzset.
5152         (tst-tzset.out): Dependencies on time zone files.
5153         (tst-tzset-ENV): Set TZDIR.
5154         (testdata/XT%): Copy crafted time zone files.
5155         * timezone/README: Mention crafted time zone files.
5156         * timezone/testdata/XT1, timezone/testdata/XT2,
5157         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5158         files.
5159         * timezone/tst-tzset.c: New test.
5161 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5163         * Makeconfig (+gccwarn): Remove -Winline.
5165 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5167         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5169 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5171         * NEWS: Mention sysconf() cache information support for s390.
5172         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5174 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5176         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5177         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5178         (__nearbyint): Likewise.
5179         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5180         (copysignl): Likewise.
5182 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5184         [BZ #18287]
5185         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5186         based on padding.  (CVE-2015-1781)
5188 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5190         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5191         libc-vdso.h.
5192         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5193         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5194         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5195         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5196         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5197         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5198         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5199         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5200         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5201         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5202         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5203         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5204         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5205         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5206         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5207         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5208         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5209         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5210         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5211         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5212         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5213         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5214         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5216 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5218         * stdlib/setenv.c (__add_to_environ):
5219         Dump core quickly if setenv (..., NULL, ...) is called.
5220         This time, do it the right way, and pacify GCC with a pragma.
5222 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5224         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5225         IMAP->l_prev cannot be null, and #if out the code for the contrary
5226         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5227         believe that NS (&_dl_ns[NSID]) could point outside the array.
5229         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5230         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5231         before using NSID as an index.
5233 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5235         [BZ #17825]
5236         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5237         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5238         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5240 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5242         Add preliminary port to Google Native Client on ARM.
5243         * abi-tags (.*-.*-nacl.*): New entry.
5244         * sysdeps/arm/nacl: New directory.
5245         * sysdeps/nacl: New directory.
5247 2015-04-16  David S. Miller  <davem@davemloft.net>
5249         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5250         lowlevellock-futex.h
5252 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5254         * sysdeps/tile/configure.ac: New file.
5255         * sysdeps/tile/configure: Regenerated.
5257 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5259         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5260         conditionals for weak_alias and libc_hidden_weak.
5261         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5262         libc_hidden_weak and weak_alias.
5263         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5264         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5265         and weak_alias for static one.
5267 2015-04-15  David S. Miller  <davem@davemloft.net>
5269         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5271 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5273         [BZ #18206]
5274         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5275           Use signed comparision instead of substraction to avoid
5276           overflow bug.
5277         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5278           Take the sign of ret.
5279         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5280           Do not expect precise return values. Only the sign matters.
5281         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5282         * wcsmbs/test-wcsncmp.c: New File.
5283         * string/test-strncmp.c: Add wcsncmp support.
5285 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5287         [BZ #6792]
5288         * math/w_log1p.c: New file.
5289         * math/w_log1pf.c: Likewise.
5290         * math/w_log1pl.c: Likewise.
5291         * math/Makefile (libm-calls): Add w_log1p.
5292         * math/s_log1pl.c (log1pl): Remove weak_alias.
5293         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5294         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5295         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5296         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5297         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5298         [NO_LONG_DOUBLE] (log1pl): Likewise.
5299         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5300         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5301         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5302         (log1p): Remove long_double_symbol.
5303         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5304         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5305         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5306         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5307         remove weak_alias for corresponding log1p function.
5308         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5309         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5310         * sysdeps/ia64/fpu/w_log1p.c: New file.
5311         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5312         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5313         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5315 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5317         [BZ #18247]
5318         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5319         decimal exponent by 1.
5320         * stdlib/tst-strtod-round-data: Add more tests.
5321         * stdlib/tst-strtod-round.c (tests): Regenerated.
5323 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5325         * math/auto-libm-test-in: Add more tests of clog and clog10.
5326         * math/auto-libm-test-out: Regenerated.
5327         * sysdeps/i386/fpu/libm-test-ulps: Update.
5328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5330 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5332         * Makeconfig (module-cppflags): Exclude all .v.i files.
5333         (skip-module-cppflags): Variable removed.
5335         * configure.ac (libc_config_ok): Initialize before reading
5336         preconfigure scripts, not after.
5337         * configure: Regenerated.
5339         * test-skeleton.c (TIMEOUT): Move #define to top level.
5340         (main): Grok environment variable TEST_DIRECT.  If set, print
5341         test expectation details into that file and then behave as if
5342         given --direct.
5344 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5346         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5347         warning on 32-bit.
5349 2015-04-08  David S. Miller  <davem@davemloft.net>
5351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5353 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5355         * math/auto-libm-test-in: Add more tests of atanh.
5356         * math/auto-libm-test-out: Regenerated.
5357         * sysdeps/i386/fpu/libm-test-ulps: Update.
5358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5360         * math/auto-libm-test-in: Add more tests of atan.
5361         * math/auto-libm-test-out: Regenerated.
5362         * sysdeps/i386/fpu/libm-test-ulps: Update.
5363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5365 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5367         * elf/pldd.c (main): Rewrite to use struct
5368         scratch_buffer instead of extend_alloca.
5369         * elf/pldd-xx.c (find_maps): Likewise.
5370         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5371         <alloca.h>.
5372         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5373         scratch_buffer instead of extend_alloca.
5374         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5375         grp/compat-initgroups.c.
5376         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5377         Rewrite to use struct scratch_buffer instead of extend_alloca.
5378         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5379         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5381 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5383         * math/auto-libm-test-in: Add more tests of cbrt.
5384         * math/auto-libm-test-out: Regenerated.
5385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5387         * math/auto-libm-test-in: Add more tests of cabs.
5388         * math/auto-libm-test-out: Regenerated.
5389         * sysdeps/i386/fpu/libm-test-ulps: Update.
5390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5392         [BZ #18210]
5393         [BZ #18211]
5394         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5395         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5396         computations.
5397         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5398         clog10.
5399         * math/auto-libm-test-out: Regenerated.
5400         * sysdeps/i386/fpu/libm-test-ulps: Update.
5401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5403         [BZ #18197]
5404         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5405         (atan): Set FE_TONEAREST mode for internal computations.
5406         * math/auto-libm-test-in: Add more tests of atan.
5407         * math/auto-libm-test-out: Regenerated.
5409 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5411         [BZ #17930]
5412         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5414 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5416         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5418 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5420         * include/scratch_buffer.h: New file.
5421         * malloc/scratch_buffer_grow.c: Likewise.
5422         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5423         * malloc/scratch_buffer_set_array_size.c: Likewise.
5424         * malloc/tst-scratch_buffer.c: Likewise.
5425         * malloc/Makefile (routines): Add scratch_buffer_grow.
5426         (tests): Add test case.
5427         * malloc/Versions (GLIBC_PRIVATE): Export
5428         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5429         __libc_scratch_buffer_set_array_size.
5431 2015-04-06  Richard Henderson  <rth@redhat.com>
5433         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5434         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5436         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5437         unsigned int before printing.
5439 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5441         [BZ #17596]
5442         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5443         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5445 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5447         * include/libc-internal.h (libc_max_align_t): Define.
5449 2015-04-02  Andreas Schwab  <schwab@suse.de>
5451         [BZ #16850]
5452         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5454 2015-04-02  Mel Gorman  <mgorman@suse.de>
5456         [BZ #17195]
5457         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5458         as well as the main arena.
5460 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5462         [BZ #18185]
5463         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5464         sharing L2 cache to 2 for Silvermont/Knights Landing.
5466 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5468         [BZ #17711]
5469         * config.make.in (have-protected-data): New.
5470         * configure.ac: Check linker support for protected data symbol.
5471         * configure: Regenerated.
5472         * elf/Makefile (modules-names): Add tst-protected1moda and
5473         tst-protected1modb if $(have-protected-data) is yes.
5474         (tests): Add tst-protected1a and tst-protected1b if
5475         $(have-protected-data) is yes.
5476         ($(objpfx)tst-protected1a): New.
5477         ($(objpfx)tst-protected1b): Likewise.
5478         (tst-protected1modb.so-no-z-defs): Likewise.
5479         * elf/tst-protected1a.c: New file.
5480         * elf/tst-protected1b.c: Likewise.
5481         * elf/tst-protected1mod.h: Likewise.
5482         * elf/tst-protected1moda.c: Likewise.
5483         * elf/tst-protected1modb.c: Likewise.
5485 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5487         [BZ #17711]
5488         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5489         indicates it is called from do_lookup_x on relocation against
5490         protected data, skip the data definion in the executable from
5491         copy reloc.
5492         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5493         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5494         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5495         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5496         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5497         otherwise to 0.
5498         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5499         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5500         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5501         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5502         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5503         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5505 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5507         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5508         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5510 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5512         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5513         THREAD_SETMEM_NC.
5514         * sysdeps/x86_64/nptl/tls.h: Ditto.
5516 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5518         * dlfcn/tststatic.c (main): Converted to ...
5519         (do_test): ... this.
5520         (TEST_FUNCTION): New macro.
5521         Include test-skeleton.c.
5523 2015-03-26  Alan Modra  <amodra@gmail.com>
5525         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5526         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5527         zero for undefined weak.
5528         (elf_machine_plt_conflict): Similarly.
5530 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5532         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5533         atanh.
5534         * math/auto-libm-test-out: Regenerated.
5535         * sysdeps/i386/fpu/libm-test-ulps: Update.
5536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5538         * math/auto-libm-test-in: Add another test of asin.
5539         * math/auto-libm-test-out: Regenerated.
5540         * sysdeps/i386/fpu/libm-test-ulps: Update.
5541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5543         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5544         Remove macro.
5545         (LLL_EBX_REG): Likewise.
5546         (LLL_ENTER_KERNEL): Likewise.
5548         * math/auto-libm-test-in: Add more tests of asin.
5549         * math/auto-libm-test-out: Regenerated.
5550         * sysdeps/i386/fpu/libm-test-ulps: Update.
5551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5553         [BZ #18138]
5554         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5555         libc_do_syscall_args): New structure.
5556         (INTERNAL_SYSCALL_MAIN_0): New macro.
5557         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5558         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5559         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5560         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5561         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5562         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5563         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5564         Replace conditional definitions by conditional definitions of ....
5565         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5566         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5567         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5568         (libpthread-sysdep_routines): Add libc-do-syscall.
5569         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5570         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5571         to __NR_futex not 240.
5573 2015-03-25  Alan Modra  <amodra@gmail.com>
5575         * NEWS: Advertise TLS optimization.
5576         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5577         (DT_PPC_NUM): Increment.
5578         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5579         (CHECK_STATIC_TLS): Use here.
5580         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5581         TLS descriptors.
5582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5583         * sysdeps/powerpc/dl-tls.c: New file.
5584         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5585         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5586         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5587         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5592 2015-03-25  Alan Modra  <amodra@gmail.com>
5594         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5595         for overlapping .opd entries" to "support...".
5596         * sysdeps/powerpc/powerpc64/configure: Regenerate
5598 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5600         * math/auto-libm-test-in: Add more tests of acos.
5601         * math/auto-libm-test-out: Regenerated.
5602         * sysdeps/i386/fpu/libm-test-ulps: Update.
5603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5605         * math/auto-libm-test-in: Add more tests of expm1.
5606         * math/auto-libm-test-out: Regenerated.
5607         * sysdeps/i386/fpu/libm-test-ulps: Update.
5608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5610 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5612         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5613         * math/auto-libm-test-out: Regenerated.
5614         * sysdeps/i386/fpu/libm-test-ulps: Update.
5615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5617         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5620         * math/auto-libm-test-in: Add more tests of log2.
5621         * math/auto-libm-test-out: Regenerated.
5622         * sysdeps/i386/fpu/libm-test-ulps: Update.
5623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5625 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5627         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5628         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5629         _IO_IS_APPENDING bit in READ_WRITE instead.
5631 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5633         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5634         (__determine_cpumask_size): Replace extend_alloca with a
5635         variable-length array.  Do not treat res == 0 as an error.
5637 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5639         [BZ #18100]
5640         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5641         and integer overflow.
5642         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5643         (main): Add integer overflow tests.
5644         * manual/pattern.texi (Calling Wordexp): Document additional use
5645         for WRDE_SYNTAX.
5647 2015-03-23  Alan Modra  <amodra@gmail.com>
5649         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5650         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5651         and false branch of conditional.
5652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5653         Likewise.
5655 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5657         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5658         libc-modules.h
5659         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5660         unused declaration of _hurd_intr_rpc_msg_in_trap.
5661         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5662         defined instead of whether it is non-zero.
5663         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5664         input constraint instead of both input and output constraint.  Use ecx
5665         clobber instead of %ecx.
5666         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5667         mutex_unlock): Use a statement expression instead of an expression list.
5668         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5669         type to vm_size_t instead of vm_address_t.
5670         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5671         defined instead of whether it is non-zero.
5672         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5673         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5674         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5675         comparisons with mapaddr.
5676         * nscd/nscd-client.h: Include <time.h>.
5677         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5678         9th parameter to __vm_region instead of int.
5679         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5680         * scripts/check-local-headers.sh (exclude): Add device/,
5681         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5682         cthreads.h.
5684 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5686         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5687         to account for alignment padding.
5688         * sysdeps/arm/memmove.S: Likewise.
5690 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5692         * sysdeps/unix/sysv/linux/generic/README: New file.
5694 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5696         [BZ #18138]
5697         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5698         (futex_abstimed_wait)
5699         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5700         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5701         of lll_futex_timed_wait.
5703 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5705         [BZ #17542]
5706         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5708 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5710         [BZ #17090]
5711         [BZ #17620]
5712         [BZ #17621]
5713         [BZ #17628]
5714         * NEWS: Update.
5715         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5716         entries with Static TLS too.  Skip entries past the end of the
5717         allocated DTV, from Alan Modra.
5718         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5719         Static TLS DTV entry set up from...
5720         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5721         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5722         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5723         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5724         for Static TLS.
5725         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5726         that the slot we find is associated with the given map before
5727         using its generation count.
5728         * nptl_db/db_info.c: Include ldsodefs.h.
5729         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5730         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5731         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5732         (link_map::l_tls_offset): New struct field.
5733         (dtv_t::counter): Likewise.
5734         (rtld_global): New struct.
5735         (_rtld_global): New rtld variable.
5736         (dl_tls_dtv_slotinfo_list): New rtld global field.
5737         (dtv_slotinfo_list): New struct.
5738         (dtv_slotinfo): Likewise.
5739         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5740         (td_lookup): Rename to...
5741         (td_mod_lookup): ... this.  Use new mod parameter instead of
5742         LIBPTHREAD_SO.
5743         * nptl_db/td_thr_tlsbase.c: Include link.h.
5744         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5745         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5746         addresses even if the DTV is out of date or missing them.
5747         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5748         index zero-length arrays.
5749         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5750         (td_lookup): Make it a macro implemented in terms of...
5751         (td_mod_lookup): ... this declaration.
5752         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5753         (DB_MAIN_VARIABLE): Likewise.
5755 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5757         [BZ #18134]
5758         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5760 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5762         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5764 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5766         [BZ #18128]
5767         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5768         (atomic_add, atomic_increment_and_test)
5769         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5771 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5773         * stdlib/setenv.c (__add_to_environ):
5774         Dump core quickly if setenv (..., NULL, ...) is called.
5776 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5778         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5779         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5780         all the necessary asm magic in one place.
5781         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5782         using those.
5784 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5786         [BZ #14906]
5787         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5788         traced file mtime. Use consistent log message.
5789         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5790         (register_traced_file): Call install_watches. Always set mtime.
5791         (invalidate_cache): Iterate over all trace files. Call install_watches.
5792         (inotify_check_files): Don't inline. Handle watching parent
5793         directories and configuration file movement in and out.
5794         (handle_inotify_events): New function.
5795         (main_loop_poll): Call handle_inotify_events.
5796         (main_loop_epoll): Likewise.
5797         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5798         (struct traced_file): Use array of inotify fds. Add parent directory,
5799         and basename.
5800         (struct database_dyn): Remove unused file_mtime.
5801         (init_traced_file): New inline function.
5802         (define_traced_file): New macro.
5803         * nss/nss_db/db-init.c: Use define_traced_file.
5804         (_nss_db_init): Use init_traced_file.
5805         * nss/nss_files/files-init.c: Use define_traced_file.
5806         (_nss_files_init): Use init_traced_file.
5808 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5810         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5811         [_LIBC]: Do not include <stdlib.h>.
5812         [!_LIBC] (abort): Remove declaration.
5813         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5814         _FP_STATIC_ASSERT instead of conditionally calling abort.
5815         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5816         (_FP_EXTEND_CNAN): Likewise.
5817         (FP_TRUNC): Likewise.
5818         (__FP_CLZ): Likewise.
5819         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5821 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5823         * manual/string.texi (XPG basename): Fix prototype.
5825 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5827         [BZ #18080]
5828         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5829         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5830         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5831         (__setcontext): Likewise.
5832         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5833         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5834         Call rt_sigprocmask syscall one time to set new signal mask
5835         and retrieve the current signal mask instead of two calls.
5836         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5837         (__swapcontext): Likewise.
5838         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5839         * stdlib/tst-setcontext2.c: New file.
5841 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5843         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5845 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5847         [BZ #18093]
5848         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5849         the wrong size.
5851 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5853         [BZ #18043]
5854         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5856 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5858         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5859         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5860         Remove define.
5861         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5862         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5863         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5864         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5865         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5866         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5867         define.
5868         * nptl_db/td_symbol_list.c (td_lookup): Remove
5869         HAVE_ASM_GLOBAL_DOT_NAME code.
5870         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5871         HAVE_ASM_GLOBAL_DOT_NAME check.
5872         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5873         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5874         (DOT_LABEL): Remove define.
5875         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5876         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5877         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5878         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5879         (__TLS_GET_ADDR): Likewise.
5880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5881         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5883 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5885         [BZ #18111]
5886         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5887         (_FPU_SETCW): Initialize cw from fpsr before storing.
5888         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5889         (fesetexceptflag): Rewrite using fpu_control.h.
5890         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5892 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5894         [BZ #18110]
5895         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5896         asms.
5897         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5899 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5901         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5902         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5903         abort.
5904         (_FP_FMA): Likewise.
5905         (_FP_DIV): Likewise.
5907 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5909         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5910         with 0 in that case.
5911         * Makefile (summarize-tests): New canned sequence, factored out of
5912         commands for targets tests and xtests.  Display summary lines that
5913         don't start with PASS: or XFAIL: rather than ones that do start with
5914         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5915         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5916         do start with ERROR: or FAIL:.
5917         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5918         (except for [$(build-shared) = yes]).
5919         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5920         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5921         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5922         * nptl/Makefile: Revert 2015-03-04 changes.
5923         [$(CXX) empty] (tests-unsupported): New variable.
5924         * debug/Makefile: Likewise.
5926         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5927         gnulib file.  Replace __attribute with __attribute__ throughout.
5929 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5931         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5933 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5935         [BZ #18104]
5936         * math/auto-libm-test-in: Add another test of pow.
5937         * math/auto-libm-test-out: Regenerated.
5939 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5941         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5942         $(config-cflags-nofma).
5944 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5946         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5947         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5948         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5949         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5950         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5951         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5952         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5953         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5954         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5955         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5956         Add comment on closing #endif.
5958 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5960         * posix/wordexp.c (CHAR_IN_SET): New macro.
5961         (parse_param): Use it.
5963 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5965         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5967 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5969         [BZ #18043]
5970         * posix/wordexp.c (parse_param): Fix buffer overflow.
5971         * posix/wordexp-test.c (test_case): Add test case.
5973 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5975         [BZ #18042]
5976         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5977         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5979 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5981         [BZ #18043]
5982         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5983         (do_bz18043): Delete.
5984         (at_page_end): New.
5985         (testit): Refactor to have words at the edge of unreadable page.
5987 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5989         [BZ #16734]
5990         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5991         Cleanup read-only streams as well.
5992         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5994 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5996         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5997         <bits/libc-lockP.h>
5999 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6001         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6002         on [__KERNEL__].
6003         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6004         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6005         * soft-fp/op-common.h (_FP_DECL): Likewise.
6007 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6009         * elf/ifuncdep2.c (global): Replace
6010         __attribute__((visibility("protected"))) with
6011         asm (".protected global").
6012         * elf/ifuncmod1.c (global): Likewise.
6013         * elf/ifuncmod5.c (global): Likewise.
6015 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6017         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6018         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6020 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6022         * manual/install.texi (Configuring and compiling):
6023         Document test-wrapper-env-only.
6024         * INSTALL: Regenerated.
6026 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6028         [BZ #18043]
6029         * posix/wordexp.c (parse_param): Fix buffer overflow.
6030         * posix/wordexp-test.c (do_bz18043): Add test case.
6032 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6034         * time/tst-strptime2.c (do_test): Ensure failing tests are
6035         reported correctly.
6036         * time/tst-strptime3.c (do_test): Likewise.
6038 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6040         Fix aio_error thread-safety.
6041         * sysdeps/pthread/aio_error.c: New file
6042         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6043         synchronization.
6045 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6047         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6048         (group_number, vfprintf): Use it.
6049         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6050         (JUMP, REF): Use it.
6051         (WORK_BUFFER_SIZE): New enum constant.
6052         (process_arg, vfprintf): Use it.
6054 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6056         * manual/errno.texi (Error Messages): Complete example function
6057         by adding missing #define.
6058         (program_invocation_name): Add statement indicating GNU
6059         extension and reference which header file declares the variable.
6060         (program_invocation_short_name): Likewise.
6062 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6064         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6065         compatibility note.
6067 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6069         * Makeconfig (test-wrapper-env-only): New variable.
6070         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6071         then use that with $(test-wrapper-env-only) rather than using
6072         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6074 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6076         [BZ #18082]
6077         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6078         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6079         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6080         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6081         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6082         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6083         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6084         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6085         Likewise.
6086         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6087         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6088         Likewise.
6089         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6090         Likewise.
6091         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6092         Likewise.
6093         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6094         Likewise.
6095         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6096         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6097         Likewise.
6098         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6099         Likewise.
6100         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6101         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6103 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6105         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6106         (ETH_ALEN): New macro.
6107         (struct ether_addr): Use it for length of ether_addr_octet.
6109         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6110         (setdb): Don't call __nss_configure_lookup for "rpc".
6111         (do_test): Don't call test_rpc.
6112         (output_rpcent, test_rpc): Functions moved ...
6113         * sunrpc/test-rpcent.c: ... to this new file.
6114         * sunrpc/Makefile (tests): Add it.
6116         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6117         __xpg_sigpause.
6118         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6119         * nptl/tst-signal6.c: Likewise.
6120         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6121         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6123         * configure.ac (libc_cv_cxx_link_ok): New check.
6124         Reset CXX to empty if it fails to link.
6125         * configure: Regenerated.
6126         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6127         bug-atexit3-lib only if $(CXX) is nonempty.
6128         * nptl/Makefile (tests): Likewise for tst-cancel24.
6129         (tests, tests-static): Likewise for tst-cancel24-static.
6130         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6131         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6132         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6133         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6135 2015-03-04  Andreas Schwab  <schwab@suse.de>
6137         [BZ #17631]
6138         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6139         for non-GCC compilers.
6140         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6141         Likewise.
6143 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6145         [BZ #17776]
6146         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6147         integer before bitwise and assembly operations.
6148         (feclearexcept): Likewise.
6149         * math/test-fenvinline.c: New file.
6150         * math/Makefile: Add test-fenvinline test.
6152 2015-03-03  Alan Modra  <amodra@gmail.com>
6154         [BZ #16512]
6155         * scripts/localplt.awk: Strip off symbol version.
6156         * NEWS: Mention bug fix.
6158 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6160         * sysdeps/pthread/timer_routines.c
6161         (timer_free_list, thread_free_list, thread_active_list): Make static.
6163 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6165         [BZ #17779]
6166         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6167         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6168         Undefine.
6169         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6170         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6171         Likewise.
6172         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6173         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6174         Likewise.
6176 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6178         [BZ #18036]
6179         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6180         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6182 2015-03-02  Andreas Schwab  <schwab@suse.de>
6184         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6185         variable name.
6187 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6189         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6190         Return error status.
6192 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6194         [BZ #15969]
6195         * locale/findlocale.c (_nl_find_locale): Introduce const
6196         version of loc_name and drop unsafe type casts.
6198 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6200         * dlfcn/tststatic2.c (main): Converted to ...
6201         (do_test): ... this.
6202         (TEST_FUNCTION): New macro.
6203         Include test-skeleton.c.
6205 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6207         [BZ #17711]
6208         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6209         (tests-pie): Add vismain.
6210         (CFLAGS-vismain.c): New.
6211         * elf/vismain.c: Add comments for PIE requirement.
6213 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6215         [BZ #18046]
6216         [BZ #18047]
6217         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6218         0x1p-56L as threshold for just returning the argument.
6219         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6220         0x1p-32L as threshold for just returning the argument.
6221         * math/auto-libm-test-in: Add more tests of atanh.
6222         * math/auto-libm-test-out: Regenerated.
6223         * sysdeps/i386/fpu/libm-test-ulps: Update.
6224         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6226 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6228         * string/bcopy.c (bcopy): Call memmove for performance.
6230 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6232         * string/bzero.c (__bzero): Call memset for performance.
6234 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6236         [BZ #18068]
6237         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6238         to 00100000.
6240 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6242         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6244 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6246         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6247         (__kernel_standard): Use CSTR macro when setting exc.name.
6248         * sysdeps/ieee754/Makefile [$(subdir) = math]
6249         (CFLAGS-k_standard.c): Remove variable.
6251         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6252         setting p and q from "else if" to "else".
6253         (qzero): Likewise.
6254         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6255         (qone): Likewise.
6256         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6257         (qzerof): Likewise.
6258         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6259         (qonef): Likewise.
6260         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6261         (qzero): Likewise.
6262         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6263         (qone): Likewise.
6265         [BZ #18038]
6266         [BZ #18039]
6267         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6268         return pi/2 for arguments below 0x1p-113L.
6269         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6270         return pi/2 for arguments below 0x1p-106L.
6271         * math/auto-libm-test-in: Add more tests of acos.
6272         * math/auto-libm-test-out: Regenerated.
6274         [BZ #16351]
6275         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6276         (MO): New macro.
6277         (__ieee754_asin): Force underflow exception for results with small
6278         absolute value.
6279         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6280         (MO): New macro.
6281         (__ieee754_asinf): Force underflow exception for results with
6282         small absolute value.
6283         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6284         (__ieee754_asin): Force underflow exception for results with small
6285         absolute value.
6286         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6287         (__ieee754_asinf): Force underflow exception for results with
6288         small absolute value.
6289         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6290         (__ieee754_asinl): Force underflow exception for results with
6291         small absolute value.
6292         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6293         (__ieee754_asinl): Force underflow exception for results with
6294         small absolute value.
6295         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6296         (__ieee754_asinl): Force underflow exception for results with
6297         small absolute value.
6298         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6299         Include <math.h>.
6300         * math/auto-libm-test-in: Do not mark underflow exceptions as
6301         possibly missing for bug 16351.
6302         * math/auto-libm-test-out: Regenerated.
6304         [BZ #18030]
6305         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6306         of power of 2 down when low part has opposite sign.
6307         * math/libm-test.inc (logb_test_data): Add more tests.
6309 2015-02-26  Andreas Schwab  <schwab@suse.de>
6311         [BZ #18032]
6312         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6313         over collating symbol inside a bracket expression.  Minor cleanup.
6314         * posix/tst-fnmatch3.c (do_test): Add test case.
6316 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6318         [BZ #18029]
6319         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6320         Adjust exponent of power of 2 down when low part has opposite
6321         sign.
6322         * math/libm-test.inc (ilogb_test_data): Add more tests.
6324 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6326         [BZ #15969]
6327         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6328         the previous change.
6330         [BZ #15969]
6331         * locale/findlocale.c (_nl_find_locale): Retry archive search
6332         after alias expansion.
6334 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6336         * iconv/tst-iconv3.c (main): Converted to ...
6337         (do_test): ... this.
6338         (TEST_FUNCTION): New macro.
6339         Include test-skeleton.c.
6341         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6342         (convert): Make function static.
6343         (test_unalign): Likewise.  Add const to argument pointee types.
6344         (main): Replace with static function do_test.
6345         Print "Succeeded." only if RET is zero.
6346         (TEST_FUNCTION): New macro.
6347         Include test-skeleton.c.
6349         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6350         returns a null pointer.
6352 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6354         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6355         to __memcpy_ppc only for static builds.
6357 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6359         [BZ #18020]
6360         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6361         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6362         * math/auto-libm-test-in: Add more tests of asinh.
6363         * math/auto-libm-test-out: Regenerated.
6364         * sysdeps/i386/fpu/libm-test-ulps: Update.
6365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6367 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6369         [BZ #15850]
6370         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6371         and ip6_mtuinfo definitions here.
6372         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6373         in this define too.  Update comment.
6375 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6377         * elf/sprof.c (load_shobj): Tweak error message to match others.
6379 2015-02-24  Kevin Easton  <kevin@guarana.org>
6381         [BZ #16145] (partial fix)
6382         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6383         to reduce lock contention.
6385 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6387         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6388         (struct timex): Update time comment.
6389         (ADJ_SETOFFSET): Define.
6391 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6393         [BZ #18019]
6394         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6395         2**56 not 2**28 as threshold for log (2x) formula.
6396         * math/auto-libm-test-in: Add more tests of acosh.
6397         * math/auto-libm-test-out: Regenerated.
6398         * sysdeps/i386/fpu/libm-test-ulps: Update.
6399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6401 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6403         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6404         parenthesis around the buf assignment.
6405         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6407 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6409         [BZ #16783]
6410         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6411         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6412         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6413         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6414         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6415         * math/libm-test.inc (scalb_test_data): Add more tests.
6417 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6419         [BZ #17916]
6420         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6421         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6423 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6425         [BZ #17523]
6426         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6427         * io/bits/fcntl2.h (open): Use it.
6428         (openat): Likewise.
6429         * io/open.c (__libc_open): Likewise.
6430         * io/open64.c (__libc_open64): Likewise.
6431         * io/open64_2.c (__open64_2): Likewise.
6432         * io/open_2.c (__open_2): Likewise.
6433         * io/openat.c (__openat): Likewise.
6434         * io/openat64.c (__openat64): Likewise.
6435         * io/openat64_2.c (__openat64_2): Likewise.
6436         * io/openat_2.c (__openat_2): Likewise.
6437         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6438         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6439         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6440         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6441         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6442         (__open_nocancel): Likewise.
6443         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6444         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6445         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6447 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6449         [BZ #14841]
6450         * resolv/gethnamaddr.c (getanswer): Skip logging if
6451         RES_USE_DNSSEC is set.
6452         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6454 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6456         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6458 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6460         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6461         201304L, for Unicode 7.
6463 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6465         [BZ #17836]
6466         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6467         shared library.  Add gmon-start.os otherwise.
6468         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6469         $(objpfx)gmon-start.os if builing shared library.
6470         ($(objpfx)g$(static-start-installed-name)): Likewise.
6472 2015-02-23  Andreas Schwab  <schwab@suse.de>
6474         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6476 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6478         [BZ #17269]
6479         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6480         (enlarge_userbuf): Likewise.
6482 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6484         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6485         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6486         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6487         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6489 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6491         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6492         expression inside statement expression.
6494 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6496         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6497         <sysdeps/nptl/lowlevellock.h> and remove macros and
6498         functions that are now defined there.
6499         (SYS_futex): Remove.
6500         (lll_compare_and_swap): Remove.
6501         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6503 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6505         [BZ #17999]
6506         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6507         instead of scandirat.
6508         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6509         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6510         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6511         __scandirat.
6512         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6513         (__scandirat): Declare.  Use libc_hidden_proto.
6514         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6515         Remove variable.
6516         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6518 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6520         [BZ #15319]
6521         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6522         (MO): New macro.
6523         (__ieee754_atan2): For results with small absolute value, force
6524         underflow exception and remove excess range and precision from
6525         return value.
6526         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6527         (MO): New macro.
6528         (__ieee754_atan2f): For results with small absolute value, force
6529         underflow exception and remove excess range and precision from
6530         return value.
6531         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6532         (MO): New macro.
6533         (__atan): For results with small absolute value, force underflow
6534         exception and remove excess range and precision from return value.
6535         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6536         (MO): New macro.
6537         (__atanf): For results with small absolute value, force underflow
6538         exception and remove excess range and precision from return value.
6539         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6540         <math.h>.
6541         (__ieee754_atan2): Force underflow exception for results with
6542         small absolute value.
6543         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6544         <math_private.h>.
6545         (atan): Force underflow exception for results with small absolute
6546         value.
6547         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6548         (__atanf): Force underflow exception for results with small
6549         absolute value.
6550         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6551         <math.h>.
6552         (__atanl): Force underflow exception for results with small
6553         absolute value.
6554         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6555         (__atanl): Force underflow exception for results with small
6556         absolute value.
6557         * sysdeps/x86/fpu/bits/mathinline.h
6558         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6559         (__ieee754_atan2): Only define inline for long double.
6560         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6561         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6562         * math/auto-libm-test-in: Do not mark underflow exceptions as
6563         possibly missing for bug 15319.  Add more tests of atan2.
6564         * math/auto-libm-test-out: Regenerated.
6565         * math/libm-test.inc (casin_test_data): Do not mark underflow
6566         exceptions as possibly missing for bug 15319.
6567         (casinh_test_data): Likewise.
6568         * sysdeps/i386/fpu/libm-test-ulps: Update.
6570 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6572         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6573         * sysdeps/mips/bits/endian.h: Fix comments.
6575 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6577         [BZ #17996]
6578         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6579         (hdestroy_r): Likewise.
6580         (hsearch_r): Likewise.
6581         (__hcreate_r): Declare and use libc_hidden_proto.
6582         (__hdestroy_r): Likewise.
6583         (__hsearch_r): Likewise.
6584         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6585         (hcreate): Call __hcreate_r instead of hcreate_r.
6586         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6587         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6588         as weak alias of __hcreate_r.
6589         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6590         __hdestroy_r.
6591         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6592         __hsearch_r.
6593         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6594         Remove variable.
6595         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6596         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6597         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6598         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6600 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6602         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6603         arena_lock into a single arena_get.
6605 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6607         * dl-reloc.c: Inlucde libc-internal.h.
6608         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6609         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6610         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6611         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6612         (grow_heap): Likewise.
6613         * malloc/malloc.c: Include libc-internal.h.
6614         (do_check_malloc): Call powerof2.
6615         (sysmalloc): Use pagesize. Call ALIGN_UP.
6616         (systrim): Use pagesize.
6617         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6618         (__libc_valloc): Use pagesize.
6619         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6621 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6623         [BZ #17991]
6624         * include/sys/resource.h (__getrlimit64): Declare.  Use
6625         libc_hidden_proto.
6626         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6627         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6628         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6629         getrlimit64.
6630         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6631         __getrlimit64.
6632         [!getrlimit64] (getrlimit64): Define as weak alias of
6633         __getrlimit64.  Use libc_hidden_weak.
6634         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6635         using __getrlimit64 not __new_getrlimit64.
6636         (__GI_getrlimit64): Likewise.
6637         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6638         Likewise.
6639         (__GI_getrlimit64): Likewise.
6640         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6642         (getrlimit): Add __getrlimit64 alias.
6643         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6644         Likewise.
6645         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6646         Remove variable.
6647         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6648         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6650 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6652         * libio/fileops.c: Add missing sys/mman.h
6653         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6655 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6657         * manual/math.texi (Errors in Math Functions): Clarify goals
6658         regarding inexact and underflow exceptions.
6660 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6662         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6663         * sysdeps/mips/memset.S: Ditto.
6665 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6667         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6669 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6671         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6672         (__v1longjmp): Remove versioned symbol.
6673         (__v1siglongjmp): Remove alias and versioned symbol.
6674         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6675         (__v2siglongjmp): Likewise.
6677 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6679         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6681 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6683         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6685 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6687         [BZ #17987]
6688         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6689         zero result does not depend on the sign resulting from
6690         subtraction.
6691         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6692         Likewise.
6693         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6694         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6695         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6696         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6697         * math/libm-test.inc (remquo_test_data): Add more tests.
6699 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6701         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6702         Problem reported by J William Piggott.
6704 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6706         [BZ #17978]
6707         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6708         products 4 * y and 2 * y where those would overflow.
6709         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6710         Likewise.
6711         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6712         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6713         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6714         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6715         * math/libm-test.inc (remquo_test_data): Add more tests.
6717         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6719         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6720         [defined _COMPILING_NEWLIB].
6721         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6722         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6724         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6725         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6727 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6729         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6730         acquired.
6732 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6734         [BZ #17792]
6735         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6736         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6737         HOST_STACK_END_ADDR): Likewise.
6739 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6741         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6742         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6743         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6745 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6747         * sysdeps/generic/c++-types.data: New file.
6748         * sysdeps/generic/ld.abilist: New file.
6749         * sysdeps/generic/libBrokenLocale.abilist: New file.
6750         * sysdeps/generic/libanl.abilist: New file.
6751         * sysdeps/generic/libc.abilist: New file.
6752         * sysdeps/generic/libcrypt.abilist: New file.
6753         * sysdeps/generic/libdl.abilist: New file.
6754         * sysdeps/generic/libm.abilist: New file.
6755         * sysdeps/generic/libpthread.abilist: New file.
6756         * sysdeps/generic/libresolv.abilist: New file.
6757         * sysdeps/generic/librt.abilist: New file.
6759 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6761         [BZ #17569]
6762         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6763         Compute absolute value of x as modified by fmod, not original
6764         value of x.
6765         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6766         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6767         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6768         RUN_TEST_ffI_f1_mod8.
6769         (remquo_test_data): Add more tests.
6771 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6773         * sysdeps/init_array/pt-crti.S: New file.
6775 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6777         [BZ #17967]
6778         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6779         __builtin_fmaf instead of relying on contraction of a * b + c.
6781 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6783         [BZ #17969]
6784         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6785         node.
6787 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6789         [BZ #17964]
6790         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6791         __builtin_fma instead of relying on contraction of a * b + c.
6793 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6795         * Makeconfig (ASFLAGS): Add -Werror=undef.
6796         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6797         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6798         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6800         * Makeconfig (after-link): New variable.
6801         (+link-pie, +link-pie-tests): Use it.
6802         (+link-static, +link-static-tests): Likewise.
6803         (+link, +link-tests): Likewise.
6804         * Makerules (build-module, build-module-asneeded): Likewise.
6805         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6806         Likewise.
6807         * elf/Makefile ($(objpfx)ld.so): Likewise.
6809 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6811         [BZ #17965]
6812         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6813         both struct timeval and struct timespec.
6815 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6817         [BZ #16560]
6818         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6819         and redefine.
6820         (__ieee754_exp2l): Do not multiply small fractional parts by
6821         M_LN2l.
6822         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6823         small argument.
6824         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6825         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6826         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6827         * math/auto-libm-test-in: Add more tests of exp2.
6828         * math/auto-libm-test-out: Regenerated.
6830 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6832         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6833         unaligned path.
6835 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6837         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6838         little endian.
6840 2015-02-12  Andreas Schwab  <schwab@suse.de>
6842         [BZ #15790]
6843         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6844         Filter out elision flags from value returned in kind.
6845         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6846         * nptl/tst-pthread-mutexattr.c: New file.
6848 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6850         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6851         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6852         into gnu-gnu, and update comment to refer to abi-tags.
6854 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6856         [BZ #15467]
6857         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6858         (__sincos): Set errno to EDOM for infinite argument.
6859         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6860         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6861         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6862         (__sincosl): Set errno to EDOM for infinite argument.
6863         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6864         (__sincosl): Set errno to EDOM for infinite argument.
6865         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6866         (__sincosl): Set errno to EDOM for infinite argument.
6867         * math/libm-test.inc (sincos_test_data): Test errno setting.
6869 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6871         * string/strxfrm_l.c: Remove #define STRCMP.
6872         * string/strcoll_l.c: Remove #define STRLEN.
6873         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6874         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6876 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6878         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6879         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6880         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6881         * sysdeps/mips/mips64/Makefile: ... here.
6882         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6883         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6884         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6885         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6886         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6887         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6888         * sysdeps/mips/mips64/n64/Implies: Likewise.
6890 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6892         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6893         <sys/time.h>, <string.h>, and <errno.h>.
6894         (dest_offset, dest_address, value, zero): Remove unused variables.
6895         (ldouble): Remove typedef.
6896         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6897         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6898         1).  Fix code style.
6899         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6900         (check): Function removed.
6901         (CHECK): New macro.
6902         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6903         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6904         Don't call set_sigaction_FP and remove_sigaction_FP here.
6905         (ldouble_test): Just use 'long double' as macro argument, no need for
6906         the 'ldouble' typedef.
6907         (do_test): Set up SIGFPE handler at start, using plain signal rather
6908         than sigaction.  Fix code style.
6910 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6912         [BZ #17949]
6913         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6914         jump label.
6916 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6918         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6919         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6921         * sysdeps/powerpc/configure.ac: Remove file.
6922         * sysdeps/powerpc/configure: Likewise.
6924         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6925         [sysdep_routines]: Remove wordcopy-power6 object.
6926         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6927         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6928         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6929         (__memmove_ppc32): Likewise.
6930         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6931         file.
6932         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6933         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6934         Remove preprocessor.
6936         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6937         [sysdep_routines]: Remove wide chars objects.
6938         [wcsmbs]: New rule for wide char objects.
6940         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6941         Remove wordcopy-power6 obejct.
6942         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6943         Use local call for wordcopy and memcpy symbols.
6944         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6945         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6946         implementation for loader.
6947         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6949         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6950         Remove wordcopy-power7 object.
6951         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6952         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6953         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6954         (_wordcopy_fwd_dest_aligned): Likewise.
6955         (_wordcopy_bwd_aligned): Likewise.
6956         (_wordcopy_bwd_dest_aligned): Likewise.
6958         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6959         Rewrite to call __memmove_ppc instead of include default
6960         implementation.
6962         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6963         Remove wide chars objects.
6964         [wcsmbs]: New rule for wide char objects.
6966 2015-02-09  Andreas Schwab  <schwab@suse.de>
6968         [BZ #17912]
6969         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6970         in terms of __O_DIRECTORY.
6972 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6974         * time/getdate.c: Include <stdbool.h>.
6975         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6976         call PTR_MANGLE.
6977         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6978         PTR_DEMANGLE.
6980 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6982         Add ersatz _Static_assert on older C hosts
6983         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6984         pre-C11 C platform that is not known to support _Static_assert.
6986 2015-02-07  Richard Braun  <rbraun@sceen.net>
6988         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6989         sigstate.
6990         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6992 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6994         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6995         priority against unexistent AIO_PRIO_DELTA_MAX.
6996         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6997         instead of int.
6998         * misc/fchflags.c (fchflags): Likewise.
6999         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7000         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7001         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7002         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7003         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7004         Declare macros.
7005         [__USE_MISC] (chflags, fchflags): Declare functions.
7006         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7007         EINVAL when nfds is greater than FD_SETSIZE.
7008         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7009         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7010         45.
7011         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7012         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7013         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7014         MACH_RCV_TIMED_OUT.
7015         * hurd/hurd/signal.h (_hurd_self_sigstate,
7016         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7017         Explicit casts from void *.
7018         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7019         * abi-tags: Rename gnu-gnu os into gnu.
7021         [BZ #4719]
7022         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7023         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7024         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7025         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7026         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7027         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7029         [BZ #17944]
7030         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7031         duplicates ADDR->sun_path with sockaddr LEN limitation.
7032         * sysdeps/mach/hurd/connect.c: Include <string.h>
7033         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7034         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7035         * sysdeps/mach/hurd/sendto.c: Likewise.
7036         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7037         implementing it by hand.
7039 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7041         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7042         Use sfi_breg on ldr.
7043         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7044         Likewise.
7046         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7047         it's defined.
7048         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7049         Test SIGSETXID only if it's defined.
7051         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7053         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7054         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7056         * nptl/tst-align2.c: Moved ...
7057         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7058         * nptl/Makefile (tests): Remove tst-align2.
7059         * sysdeps/unix/sysv/linux/Makefile
7060         [$(subdir) = nptl] (tests): Add tst-align-clone.
7061         * nptl/tst-getpid1.c: Moved ...
7062         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7063         * nptl/tst-getpid2.c: Moved ...
7064         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7065         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7066         * sysdeps/unix/sysv/linux/Makefile
7067         [$(subdir) = nptl] (tests): ... here.
7068         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7069         * sysdeps/unix/sysv/linux/Makefile
7070         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7072         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7073         Drop trailing \n from perror argument.  Use return rather than exit.
7075         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7076         on [SA_SIGINFO].
7077         * nptl/tst-cancel21.c (do_test): Likewise.
7078         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7079         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7080         [!SA_SIGINFO]: Make it a stub test.
7082         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7083         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7085         * posix/tst-getlogin.c: Move to ...
7086         * login/tst-getlogin.c: ... here.
7087         * posix/Makefile (tests): Move tst-getlogin to ...
7088         * login/Makefile (tests): ... here.
7090         * libio/tst-atime.c (do_test): Move local variables SV and E
7091         inside [ST_NOATIME] conditional.
7093         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7095         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7097         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7098         (wait_code): New function replaces macro.
7099         Call nanosleep rather than syscall.
7101         * nptl/pt-system.c: Rewritten.  Put everything under
7102         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7103         Use IFUNC to redirect when possible.
7105         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7106         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7107         Use IFUNC to redirect when possible.
7109         * nptl/pt-fork.c: Rewritten.  Put everything under
7110         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7111         Use IFUNC to redirect when possible.
7112         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7114         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7115         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7116         unconditionally nowadays.  This included the only reference to
7117         __vdso_clock_gettime that appears outside libc proper.
7118         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7119         Remove version set (containing only __vdso_clock_gettime).
7120         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7121         Add attribute_hidden.
7122         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7123         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7124         libc_hidden_data_def.
7125         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7126         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7128         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7129         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7130         setrpcent, and getrpcport to ...
7131         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7132         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7133         getrpcbynumber_r, and getrpcent_r to ...
7134         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7135         * inet/getrpcbyname.c: Moved ...
7136         * sunrpc/getrpcbyname.c: ... here.
7137         * inet/getrpcbyname_r.c: Moved ...
7138         * sunrpc/getrpcbyname_r.c: ... here.
7139         * inet/getrpcbynumber.c: Moved ...
7140         * sunrpc/getrpcbynumber.c: ... here.
7141         * inet/getrpcbynumber_r.c: Moved ...
7142         * sunrpc/getrpcbynumber_r.c: ... here.
7143         * inet/getrpcent.c: Moved ...
7144         * sunrpc/getrpcent.c: ... here.
7145         * inet/getrpcent_r.c: Moved ...
7146         * sunrpc/getrpcent_r.c: ... here.
7147         * inet/Makefile (routines): Move those to ...
7148         * sunrpc/Makefile (routines): ... here.
7149         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7150         the $(subdirs) list.
7151         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7152         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7153         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7154         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7156         * elf/Makefile (routines): Include $(all-dl-routines), not just
7157         $(dl-routines).
7158         (rtld-routines): Likewise.  Use = rather than :=.
7159         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7160         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7161         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7162         * sysdeps/arm/Makefile: Likewise.
7163         * sysdeps/i386/Makefile: Likewise.
7164         * sysdeps/x86_64/Makefile: Likewise.
7165         * sysdeps/hppa/Makefile [$(subdir) = elf]
7166         (sysdep_routines, sysdep-rtld-routines): Don't add
7167         $(sysdep-dl-routines) to these.
7168         * sysdeps/ia64/Makefile: Likewise.
7169         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7170         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7171         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7172         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7173         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7174         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7175         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7176         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7177         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7178         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7179         these; sysdep-dl-routines alone is enough.
7181 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7183         [BZ #17932]
7184         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7185         where multiplication results in zero and third argument is finite
7186         and nonzero.
7187         * math/auto-libm-test-in: Add more tests of fma.
7188         * math/auto-libm-test-out: Regenerated.
7190         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7191         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7192         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7193         (_FP_CMP_EQ): Likewise.
7194         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7196         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7197         extra argument CHECK_NAN.  Redefine as wrapper around
7198         _FP_EXTEND_CNAN.
7200 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7202         * version.h (RELEASE): Set to "stable".
7203         (VERSION): Set to "2.21"
7204         * include/features.h (__GLIBC_MINOR__): Set to 21.
7206         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7208 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7209             Paul Eggert  <eggert@cs.ucla.edu>
7211         [BZ #16618]
7212         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7213         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7214         size in bytes. Store needed elements in wpmax. Use needed size
7215         in bytes for extend_alloca.
7217 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7219         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7220         binutls 2.25, and texinfo 5.2.
7221         * INSTALL: Regenerate.
7222         * sysdeps/nios2/configure: Regenerate.
7223         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7224         * manual/contrib.texi: Update.
7225         * po/be.po: Update.
7226         * po/bg.po: Update.
7227         * po/ca.po: Update.
7228         * po/cs.po: Update.
7229         * po/da.po: Update.
7230         * po/de.po: Update.
7231         * po/el.po: Update.
7232         * po/eo.po: Update.
7233         * po/es.po: Update.
7234         * po/fi.po: Update.
7235         * po/fr.po: Update.
7236         * po/gl.po: Update.
7237         * po/hr.po: Update.
7238         * po/hu.po: Update.
7239         * po/ia.po: Update.
7240         * po/id.po: Update.
7241         * po/it.po: Update.
7242         * po/ja.po: Update.
7243         * po/ko.po: Update.
7244         * po/lt.po: Update.
7245         * po/nb.po: Update.
7246         * po/nl.po: Update.
7247         * po/pl.po: Update.
7248         * po/pt_BR.po: Update.
7249         * po/ru.po: Update.
7250         * po/rw.po: Update.
7251         * po/sk.po: Update.
7252         * po/sl.po: Update.
7253         * po/sv.po: Update.
7254         * po/tr.po: Update.
7255         * po/uk.po: Update.
7256         * po/vi.po: Update.
7257         * po/zh_CN.po: Update.
7258         * po/zh_TW.po: Update.
7260         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7261         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7262         * sysdeps/hppa/dl-irel.h: Remove #warning.
7263         * sysdeps/hppa/entry.h: Provide prototype for
7264         __canonicalize_funcptr_for_compare and cast argument.
7265         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7266         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7267         * sysdeps/hppa/sotruss-lib.c: New file.
7268         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7269         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7270         (atomic_compare_and_exchange_bool_acq): Likewise.
7271         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7272         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7274         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7275         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7276         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7278 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7280         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7281         called function in non-PIC case.
7283 2015-01-31  David S. Miller  <davem@davemloft.net>
7285         * sysdeps/sparc/sparc32/bits/atomic.h
7286         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7287         unlock not after it.
7288         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7289         volatile register usage warnings from the compiler.
7291         * sysdeps/sparc/nptl/sem_init.c: Delete.
7292         * sysdeps/sparc/nptl/sem_post.c: Delete.
7293         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7294         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7295         * sysdeps/sparc/sparc32/sem_init.c: New file.
7296         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7297         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7298         padding explicitly initialized.
7299         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7300         padding for in-semaphore spinlock.
7301         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7302         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7303         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7304         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7305         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7306         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7307         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7308         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7309         version.
7310         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7311         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7313 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7315         [BZ #17801]
7316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7317         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7318         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7319         New.
7320         (index_AVX_Fast_Unaligned_Load): Likewise.
7321         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7322         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7323         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7324         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7325         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7326         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7327         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7328         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7329         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7331 2015-01-29  Andreas Schwab  <schwab@suse.de>
7333         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7335 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7337         [BZ #17892]
7338         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7340 2015-01-28  Martin Sebor  <msebor@redhat.com>
7342         * math/README.libm-test: Clarify. Add "How to read the test output."
7344 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7346         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7347         Define to 0.
7349 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7351         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7352         (__HAVE_64B_ATOMICS): Define to 0.
7354 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7356         [BZ #17885]
7357         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7358         value to set as new flag.
7360         [BZ #16576]
7361         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7362         and use _ARCH_PPCSQ instead.
7363         (__ieee754_sqrt): Likewise.
7364         (__ieee754_sqrtf): Likewise.
7365         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7366         _ARCH_PPCSQ is defined.
7367         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7368         fsqrt instruction.
7369         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7370         _ARCH_PPCSQ is defined.
7371         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7372         fsqrts instruction.
7373         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7375 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7377         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7378         bug (GCC BZ #64739).
7380 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7382         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7383         Mark _retval as used.
7384         (lll_futex_wake_unlock): Likewise.
7385         (lll_futex_timed_wait_requeue_pi): Likewise.
7387         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7388         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7389         register variables.
7391         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7392         libm_hidden_def.
7394         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7395         (__bswap_64): Mark as __always_inline.
7397 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7399         [BZ #15378]
7400         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7401         when none of the search directories exist.
7403 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7405         [BZ #17869]
7406         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7407         power8 in .machine directive.
7409         [BZ #17868]
7410         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7411         set dependency from opd value.
7413 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7416         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7417         architecture.
7419 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7421         [BZ #17870]
7422         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7423         with uint64_t.
7424         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7425         (uint64_t) 1.
7426         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7427         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7428         Replace 1UL with (uint64_t) 1.
7429         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7430         int with uint64_t.
7432 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7434         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7435         (if_freenameindex): Likewise.
7437         * resource/getrlimit64.c: Add missing libc_hidden_def.
7439 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7441         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7442         __label__.
7443         (_FP_FMA): Likewise.
7444         (_FP_TO_INT_ROUND): Likewise.
7445         (_FP_FROM_INT): Likewise.
7447 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7449         [BZ #16418]
7450         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7451         Make code racy and cancel safe.
7453 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7455         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7456         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7457         attribution.
7459         * pwd/tst-getpw.c: Rewrite.
7461         [BZ #17702]
7462         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7463         (modules-names): Add moddummy1 and moddummy2.
7464         ($(objpfx)tst-rec-dlopen): Define.
7465         * dlfcn/moddummy1.c: New file.
7466         * dlfcn/moddummy2.c: New file.
7467         * dlfcn/tst-rec-dlopen.c: New file.
7468         * elf/dl-cache.c (_dl_load_cache_lookup):
7469         Return char*. Copy result with alloca/strcpy/strdup.
7470         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7471         returns char*. Free cached. If not saving realname
7472         free cached.
7473         * elf/dl-open.c (dl_open_worker): Do not assert that
7474         _r_debug->r_state is RT_CONSISTENT.
7475         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7476         returns char*.
7478 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7479             Carlos O'Donell  <carlos@redhat.com>
7481         [BZ #12674]
7482         * nptl/sem_waitcommon.c: New file.
7483         * nptl/sem_wait.c: Include sem_waitcommon.c.
7484         (__sem_wait_cleanup, do_futex_wait): Remove.
7485         (__new_sem_wait): Adapt.
7486         (__new_sem_trywait): New function.
7487         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7488         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7489         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7490         (sem_timedwait): Adapt.
7491         * nptl/sem_post.c (__new_sem_post): Adapt.
7492         (futex_wake): New function.
7493         (__old_sem_post): Add release MO fence.
7494         * nptl/sem_open.c (sem_open): Adapt.
7495         * nptl/sem_init.c (__new_sem_init): Adapt.
7496         (futex_private_if_supported): New function.
7497         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7498         (__old_sem_getvalue): Add using previous code.
7499         * sysdeps/nptl/internaltypes.h: Adapt.
7500         * nptl/tst-sem13.c (do_test): Adapt.
7501         * nptl/tst-sem11.c (main): Adapt.
7502         * nptl/sem_trywait.c: Remove.
7503         * nptl/DESIGN-sem.txt: Remove.
7504         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7505         (gen-as-const-headers): Remove structsem.sym.
7506         * nptl/structsem.sym: Remove.
7507         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7508         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7509         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7510         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7511         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7512         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7513         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7514         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7515         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7516         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7517         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7518         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7519         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7520         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7521         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7522         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7523         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7524         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7525         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7526         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7527         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7528         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7530 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7532         * INSTALL: Regenerated.
7534         * po/libc.pot: Regenerated.
7536 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7537             Sandra Loosemore  <sandra@codesourcery.com>
7538             Andrew Jenner  <andrew@codesourcery.com>
7539             Joseph Myers  <joseph@codesourcery.com>
7540             Nathan Sidwell  <nathan@codesourcery.com>
7542         * NEWS: Mention new Nios II port.
7543         * sysdeps/nios2/Implies: New file.
7544         * sysdeps/nios2/Makefile: New file.
7545         * sysdeps/nios2/Subdirs: New file.
7546         * sysdeps/nios2/Versions: New file.
7547         * sysdeps/nios2/__longjmp.S: New file.
7548         * sysdeps/nios2/abort-instr.h: New file.
7549         * sysdeps/nios2/backtrace.c: New file.
7550         * sysdeps/nios2/bits/endian.h: New file.
7551         * sysdeps/nios2/bits/fenv.h: New file.
7552         * sysdeps/nios2/bits/link.h: New file.
7553         * sysdeps/nios2/bits/setjmp.h: New file.
7554         * sysdeps/nios2/bsd-_setjmp.S: New file.
7555         * sysdeps/nios2/bsd-setjmp.S: New file.
7556         * sysdeps/nios2/configure: New generated file.
7557         * sysdeps/nios2/configure.ac: New file.
7558         * sysdeps/nios2/crti.S: New file.
7559         * sysdeps/nios2/crtn.S: New file.
7560         * sysdeps/nios2/dl-init.c: New file.
7561         * sysdeps/nios2/dl-machine.h: New file.
7562         * sysdeps/nios2/dl-sysdep.h: New file.
7563         * sysdeps/nios2/dl-tls.h: New file.
7564         * sysdeps/nios2/dl-trampoline.S: New file.
7565         * sysdeps/nios2/gccframe.h: New file.
7566         * sysdeps/nios2/gmp-mparam.h: New file.
7567         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7568         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7569         * sysdeps/nios2/ldsodefs.h: New file.
7570         * sysdeps/nios2/libc-tls.c: New file.
7571         * sysdeps/nios2/libm-test-ulps: New file.
7572         * sysdeps/nios2/machine-gmon.h: New file.
7573         * sysdeps/nios2/math-tests.h: New file.
7574         * sysdeps/nios2/math_private.h: New file.
7575         * sysdeps/nios2/memusage.h: New file.
7576         * sysdeps/nios2/nptl/Makefile: New file.
7577         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7578         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7579         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7580         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7581         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7582         * sysdeps/nios2/nptl/tls.h: New file.
7583         * sysdeps/nios2/preconfigure: New file.
7584         * sysdeps/nios2/s_fma.c: New file.
7585         * sysdeps/nios2/s_fmaf.c: New file.
7586         * sysdeps/nios2/setjmp.S: New file.
7587         * sysdeps/nios2/sfp-machine.h: New file.
7588         * sysdeps/nios2/sotruss-lib.c: New file.
7589         * sysdeps/nios2/stackguard-macros.h: New file.
7590         * sysdeps/nios2/stackinfo.h: New file.
7591         * sysdeps/nios2/start.S: New file.
7592         * sysdeps/nios2/sysdep.h: New file.
7593         * sysdeps/nios2/tls-macros.h: New file.
7594         * sysdeps/nios2/tst-audit.h: New file.
7595         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7596         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7597         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7598         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7599         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7600         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7601         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7602         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7603         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7604         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7605         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7606         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7607         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7608         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7609         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7610         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7611         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7612         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7613         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7614         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7615         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7616         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7617         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7618         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7619         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7620         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7621         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7622         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7623         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7624         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7625         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7626         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7627         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7628         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7629         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7630         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7631         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7632         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7633         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7634         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7635         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7636         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7637         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7638         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7640 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7642         [BZ #17844]
7643         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7644         (getutent): Use weak_alias in non SHARED case
7645         and default_symbol_version in SHARED case.
7646         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7647         (getutent_r, pututline): Likewise.
7648         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7649         (getutid): Likewise.
7650         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7651         (getutid_r): Likewise.
7652         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7653         (getutline): Likewise.
7654         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7655         (getutline_r): Likewise.
7656         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7657         (updwtmp): Likewise.
7659 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7661         [BZ #17848]
7662         * sysdeps/s390/s390-32/memcmp.S
7663         (memcmp_g5): Rename to __memcmp_g5.
7664         * sysdeps/s390/s390-32/memcpy.S
7665         (memcpy_g5): Rename to __memcpy_g5.
7666         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7667         (memcpy_mvcle) Rename to __memcpy_mvcle.
7668         * sysdeps/s390/s390-32/memset.S
7669         (memset_g5): Rename to __memset_g5.
7670         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7671         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7672         and use prefixed functions.
7673         * sysdeps/s390/s390-32/multiarch/memcmp.S
7674         (memcmp_z196): Rename to __memcmp_z196.
7675         (memcmp_z10): Rename to __memcmp_z10.
7676         (memcmp): Set alias to __memcmp_g5.
7677         (bcmp): Set alias to __memcmp_g5.
7678         * sysdeps/s390/s390-32/multiarch/memcpy.S
7679         (memcpy_z196): Rename to __memcpy_z196.
7680         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7681         (memcpy_z10): Rename to __memcpy_z10.
7682         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7683         (memcpy): Set alias to __memcpy_g5.
7684         * sysdeps/s390/s390-32/multiarch/memset.S
7685         (memset_z196): Rename to __memset_z196.
7686         Jump to __memset_mvcle instead of memset_mvcle.
7687         (memset_z10): Rename to __memset_z10.
7688         Jump to __memset_mvcle instead of memset_mvcle.
7689         (memset_mvcle) Rename to __memset_mvcle.
7690         (memset): Set alias to __memset_g5.
7691         * sysdeps/s390/s390-64/memcmp.S
7692         (memcmp_z900): Rename to __memcmp_z900.
7693         * sysdeps/s390/s390-64/memcpy.S
7694         (memcpy_z900): Rename to __memcpy_z900.
7695         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7696         (memcpy_mvcle) Rename to __memcpy_mvcle.
7697         * sysdeps/s390/s390-64/memset.S
7698         (memset_z900): Rename to __memset_z900.
7699         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7700         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7701         and use prefixed functions.
7702         * sysdeps/s390/s390-64/multiarch/memcmp.S
7703         (memcmp_z196): Rename to __memcmp_z196.
7704         (memcmp_z10): Rename to __memcmp_z10.
7705         (memcmp): Set alias to __memcmp_z900.
7706         (bcmp): Set alias to __memcmp_z900.
7707         * sysdeps/s390/s390-64/multiarch/memcpy.S
7708         (memcpy_z196): Rename to __memcpy_z196.
7709         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7710         (memcpy_z10): Rename to __memcpy_z10.
7711         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7712         (memcpy): Set alias to __memcpy_z900.
7713         * sysdeps/s390/s390-64/multiarch/memset.S
7714         (memset_z196): Rename to __memset_z196.
7715         Jump to __memset_mvcle instead of memset_mvcle.
7716         (memset_z10): Rename to __memset_z10.
7717         Jump to __memset_mvcle instead of memset_mvcle.
7718         (memset_mvcle) Rename to __memset_mvcle.
7719         (memset): Set alias to __memset_z900.
7721 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7723         [BZ #17748]
7724         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7725         __fesetenv instead of fesetenv.
7727 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7729         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7730         macro.
7732 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7734         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7735         regression on LE.
7737         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7738         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7739         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7740         strncmp-power8 object.
7741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7742         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7743         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7744         * NEWS: Update.
7746 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7747             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7749         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7750         trailing byte check.
7752 2015-01-13  David S. Miller  <davem@davemloft.net>
7754         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7756 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7758         * login/logout.c (logout): Use memset rather than bzero.
7759         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7760         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7761         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7762         (_gethtbyaddr): Likewise.
7763         * locale/programs/simple-hash.c (bcopy): Macro removed.
7765 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7767         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7768         Add strcmp-power8 object.
7769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7770         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7771         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7772         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7773         __strcmp_power8 implementation.
7774         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7775         * NEWS: Update.
7777         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7778         Add strncpy-power8 and stpncpy-power8 objects.
7779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7780         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7781         implementations.
7782         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7783         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7784         __stpncpy_power8 implementation.
7785         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7786         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7787         __strncpy_power8 implementation.
7788         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7789         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7790         * NEWS: Update.
7792         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7793         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7794         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7796         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7797         strncat-power8 object.
7798         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7799         __strcat_power8 implementation.
7800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7801         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7802         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7803         optimized strcat for power8.
7805         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7806         strcpy-power8 and stpcpy-power8 objects.
7807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7808         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7809         implementations.
7810         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7811         multiarch stpcpy implementation for POWER8.
7812         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7813         multiarch strcpy implementation for POWER8.
7814         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7815         __strcpy_power8 function.
7816         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7817         stpcpy for POWER8.
7818         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7819         strcpy for POWER8.
7820         * NEWS: Update.
7822 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7824         [BZ #16009]
7825         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7826         weights and rules. Use do_xfrm_cached if data fits in cache,
7827         do_xfrm otherwise.  Moved former main loop to...
7828         * (do_xfrm_cached): New function.
7829         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7830         find_idx, find_position and stack_push.
7831         * (find_idx): New function.
7832         * (find_position): Likewise.
7833         * localedata/sort-test.sh: Added test run for do_xfrm.
7834         * localedata/xfrm-test.c (main): Added command line option
7835         -nocache to run the test with strings that are too large for
7836         the STRXFRM cache.
7838 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7840         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7841         variable to lll_futex_wake call, not the value itself.
7843 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7845         [BZ #17803]
7846         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7847         twom64.  Adjust value to 0x1p-64L.
7848         (__scalblnl): Only return standard underflowing result for K <=
7849         -64 not K <= -63; adjust exponent for underflowing result by 64
7850         not 63.
7851         * math/libm-test.inc (scalbn_test_data): Add more tests.
7852         (scalbln_test_data): Likewise.
7854         [BZ #17834]
7855         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7856         0x1p63L.
7857         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7858         not HX.
7859         * math/libm-test.inc (scalbn_test_data): Add more tests.
7860         (scalbln_test_data): Likewise.
7862 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7863             Stefani Seibold  <stefani@seibold.net>
7865         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7866         (sysdep_routines): Add dl-vdso here, ...
7867         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7868         (sysdep_routines): ... not here.
7869         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7870         fallback when vDSO is not presented.
7871         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7872         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7873         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7874         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7875         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7876         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7877         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7878         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7879         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7880         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7881         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7882         fallback configurable symbol when vDSO is not available.
7883         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7884         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7885         be able to redefine fallback symbol when vDSO is not available.
7886         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7887         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7889 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7891         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7892         (TLS_INIT_TP): Add tm_capable initialization.
7893         (TLS_DEFINE_INIT_TP): Likewise.
7894         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7895         TCB.
7896         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7897         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7898         calculation.
7899         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7900         transactoion is lock elision is built and TCB tm_capable is set.
7901         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7903         (INTERNAL_SYSCALL_NCS): Likewise.
7904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7905         (INTERNAL_SYSCALL_NCS): Likewise.
7906         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7908         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7909         for powerpc.
7910         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7911         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7912         and remove it for 32 bits case.
7913         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7914         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7915         initialization.
7916         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7917         Disable lock elision with rdlocks if elision is not available.
7919         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7920         (sysdep_routines): Add lock elision objects.
7921         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7922         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7923         [pthread_mutex_t] (__elision): Add field.
7924         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7925         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7926         elision definitions for powerpc.
7927         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7928         implementation of lock elision for powerpc.
7929         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7930         implementation of timed lock elision for powerpc.
7931         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7932         implementation of trylock with lock elision for powerpc.
7933         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7934         implementaion of unlock for lock elision for powerpc.
7935         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7936         automatic enable lock elision for mutexes.
7937         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7938         transaction execution definitions for powerpc.
7939         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7940         definitions.
7941         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7942         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7943         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7944         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7945         * NEWS: Update.
7947 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7949         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7950         for #include of <shm-directory.h>.
7952 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7954         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7955         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7957 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7959         [BZ #17791]
7960         * NEWS: Mention bug fix.
7961         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7962         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7963         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7965 2015-01-09  Torvald Riegel <triegel@redhat.com>
7967         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7969 2015-01-09  Torvald Riegel <triegel@redhat.com>
7971         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7973 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7975         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7976         pointer and cast to uintptr_t.
7978 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7980         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7981         removed.
7982         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7984 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7986         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7987         of 0.
7989 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7991         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7992         <nptl/pthreadP.h> instead.
7993         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7995         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7996         already defined.
7997         [__SIGRTMIN] (init): Function removed.
7998         [__SIGRTMIN] (initialized): Variable removed.
7999         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8000         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8001         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8002         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8003         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8004         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8005         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8006         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8007         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8008         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8009         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8010         * sysdeps/nptl/allocrtsig.c: New file.
8011         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8012         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8013         * sysdeps/generic/testrtsig.h: File removed.
8015         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8016         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8018         * nptl/nptl-init.c (pthread_functions): Conditionalize
8019         .ptr__nptl_setxid initialization on [SIGSETXID].
8021         * sysdeps/nptl/sys/procfs.h: New file.
8022         * nptl_db/Makefile (headers): Add it.
8023         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8025         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8026         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8027         * nptl/pthread_attr_setaffinity.c: Include it.
8028         * nptl/pthread_setattr_default_np.c: Likewise.
8029         * nptl/check-cpuset.h: New file.
8031 2015-01-08  Richard Henderson  <rth@redhat.com>
8033         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8034         (CFLAGS-tst-execstack-prog.c): Likewise.
8035         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8037 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8038             Sandra Loosemore  <sandra@codesourcery.com>
8039             Andrew Jenner  <andrew@codesourcery.com>
8040             Joseph Myers  <joseph@codesourcery.com>
8041             Nathan Sidwell  <nathan@codesourcery.com>
8043         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8044         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8045         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8046         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8047         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8048         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8049         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8050         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8051         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8052         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8053         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8054         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8055         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8056         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8057         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8058         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8059         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8061 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8063         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8064         timespec struct member in syscall macro.
8065         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8066         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8067         first timeval struct member in syscall macro.
8068         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8070 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8072         [BZ #17748]
8073         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8074         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8075         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8076         __feupdateenv and define as weak alias of __feupdateenv.  Use
8077         libm_hidden_weak.
8078         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8079         libm_hidden_def.
8080         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8081         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8082         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8083         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8084         libm_hidden_def.
8085         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8086         __feupdateenv and define as weak alias of __feupdateenv.  Use
8087         libm_hidden_weak.
8088         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8089         libm_hidden_def.
8090         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8091         __feupdateenv and define as weak alias of __feupdateenv.  Use
8092         libm_hidden_weak.
8093         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8094         libm_hidden_def.
8095         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8096         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8097         (__feupdateenv): Likewise.
8098         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8099         __feupdateenv and define as weak alias of __feupdateenv.  Use
8100         libm_hidden_weak.
8101         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8102         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8103         libm_hidden_def.
8104         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8105         function.
8106         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8107         libm_hidden_def.
8108         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8109         __feupdateenv instead of feupdateenv.
8110         (default_libc_feupdateenv_test): Likewise.
8111         (libc_feresetround_ctx): Likewise.
8113 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8115         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8116         prototype.
8118 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8120         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8121         COLL_SYM in a couple of places to avoid uninitialized variable
8122         wanings on tilegx gcc 4.8.2.
8124 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8126         * sysdeps/aarch64/strcpy.S: New file.
8127         * sysdeps/aarch64/stpcpy.S: New file.
8128         * NEWS: Updated.
8130 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8132         * sysdeps/aarch64/strrchr.S: New file.
8133         * NEWS: Updated.
8135 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8137         [BZ #17658]
8138         * stdlib/setenv.c: Fix memory leak when setting large,
8139         duplicate string.
8141 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8143         [BZ #17273]
8144         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8145         and tabs from buffer before parsing fstab entry.
8146         * misc/tst-mntent.c (main): Add test for mount entry with
8147         trailing spaces and tabs.
8149 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8151         [BZ #17748]
8152         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8153         * math/fesetround.c (fesetround): Rename to __fesetround and
8154         define as weak alias of __fesetround.  Use libm_hidden_weak.
8155         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8156         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8157         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8158         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8159         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8160         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8161         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8162         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8163         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8164         __fesetround_inline.
8165         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8166         __fesetround_inline instead of __fesetround.
8167         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8168         __fesetround and define as weak alias of __fesetround.  Use
8169         libm_hidden_weak.  Call __fesetround_inline instead of
8170         __fesetround.
8171         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8172         __fesetround and define as weak alias of __fesetround.  Use
8173         libm_hidden_weak.
8174         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8175         Likewise.
8176         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8177         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8178         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8179         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8180         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8181         __fesetround and define as weak alias of __fesetround.  Use
8182         libm_hidden_weak.
8183         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8184         __fesetround instead of fesetround.
8185         (default_libc_feholdexcept_setround): Likewise.
8186         (libc_feholdsetround_ctx): Likewise.
8187         (libc_feholdsetround_noex_ctx): Likewise.
8189         [BZ #17748]
8190         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8191         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8192         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8193         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8194         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8195         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8196         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8197         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8198         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8199         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8200         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8201         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8202         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8203         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8204         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8205         libm_hidden_def.
8206         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8207         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8208         Likewise.
8209         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8210         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8211         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8212         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8213         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8214         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8215         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8216         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8217         __fesetenv instead of fesetenv.
8218         (libc_feresetround_noex_ctx): Likewise.
8219         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8220         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8221         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8222         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8223         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8224         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8225         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8226         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8227         (__feupdateenv): Likewise.
8228         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8229         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8230         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8231         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8233 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8235         [BZ #17806]
8236         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8237         addresses have been freed.
8239 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8241         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8242         and nservall.
8244 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8246         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8247         Clean up check_pf allocation pattern. addresses
8249 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8251         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8252         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8253         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8254         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8255         * nptl/pthread_join.c (pthread_join): Likewise.
8256         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8257         * sysdeps/posix/waitid.c (__waitid): Likewise.
8258         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8259         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8260         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8261         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8262         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8263         Likewise.
8264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8265         (__libc_pread64): Likewise.
8266         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8267         (__libc_pwrite): Likewise.
8268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8269         (__libc_pwrite64): Likewsie.
8270         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8271         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8272         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8273         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8274         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8275         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8276         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8278         Likewise.
8279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8280         (__libc_pread64): Likewise.
8281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8282         Likewise.
8283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8284         (__libc_pwrite64): Likewise.
8285         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8286         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8287         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8288         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8289         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8290         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8291         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8292         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8293         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8294         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8295         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8296         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8297         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8298         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8299         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8300         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8301         Likewise.
8303 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8305         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8306         (CFLAGS-test-double.c): Likewise.
8307         (CFLAGS-test-ldouble.c): Likewise.
8308         (CPPFLAGS-test-ifloat.c): Likewise.
8309         (CPPFLAGS-test-idouble.c): Likewise.
8310         (CPPFLAGS-test-ildoubl.c): Likewise.
8311         (CFLAGS-test-test-fenv.c): Remove variable.
8312         (CFLAGS-test-misc.c): Likewise.
8314 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8316         [BZ #17797]
8317         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8318         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8319         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8320         CLOCKS_PER_SEC == 1000000.
8321         * time/clocktest.c (main): Replace %ld with %jd and cast to
8322         intmax_t.
8324 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8326         * sysdeps/generic/unwind-resume.h: New file.
8327         * sysdeps/gnu/unwind-resume.c: Include it.
8328         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8329         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8330         argument list.
8331         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8332         global rather than static.
8333         (_Unwind_Resume): Update user.
8334         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8335         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8336         rather than static.  Add __attribute__ ((cold)).
8337         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8338         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8339         * sysdeps/arm/arm-unwind-resume.S: New file.
8340         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8341         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8342         * sysdeps/arm/Makefile [$(subdir) = csu]
8343         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8344         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8345         Add rt-arm-unwind-resume.
8346         [$(subdir) = nptl]
8347         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8348         Add pt-arm-unwind-resume.
8349         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8350         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8352 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8354         [BZ #17748]
8355         * include/fenv.h (__feholdexcept): Declare.  Use
8356         libm_hidden_proto.
8357         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8358         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8359         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8360         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8361         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8362         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8363         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8364         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8365         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8366         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8367         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8368         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8369         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8370         (feholdexcept): Likewise.
8371         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8372         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8373         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8374         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8375         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8376         __feholdexcept instead of feholdexcept.
8377         (default_libc_feholdexcept_setround): Likewise.
8379 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8381         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8382         to avoid using stl/str to align destination.
8384 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8386         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8388 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8390         [BZ #17796]
8391         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8392         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8393         Define as weak alias not strong alias.
8395 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8397         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8398         bltzal with addiupc.
8399         (RTLD_START): Ditto.
8401 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8403         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8404         for __vdso_* functions in declarations.
8405         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8406         definitions.
8407         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8408         INTERNAL_VSYSCALL): Use struct return types to check for error.
8410         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8411         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8412         function with cast from llround().
8413         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8414         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8415         Define.
8417 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8419         [BZ #17793]
8420         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8421         Define as weak alias not strong alias.
8423         [BZ #17635]
8424         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8425         ...
8426         * ctype/ctype-extn.c: ... here.
8427         (__isblank_l): Move to ...
8428         * ctype/ctype-c99_l.c: ... here.  New file.
8429         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8430         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8431         Remove variable.
8432         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8433         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8434         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8435         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8436         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8438         [BZ #17777]
8439         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8440         (posix_fadvise64): Define as weak alias not strong alias.
8441         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8442         (posix_fallocate64): Likewise.
8443         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8444         Remove variable.
8445         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8446         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8447         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8448         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8449         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8451 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8453         [BZ #16191]
8454         * NEWS: Mention bug fix.
8455         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8456         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8457         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8458         (HOST_STACK_END_ADDR): Likewise.
8460 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8462         [BZ #17748]
8463         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8464         * math/fegetround.c (fegetround): Rename to __fegetround and
8465         define as weak alias of __fegetround.  Use libm_hidden_weak.
8466         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8467         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8468         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8469         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8470         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8471         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8472         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8473         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8474         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8475         Undefine after rather than before function definition; use
8476         parentheses around function name in definition.
8477         (__fegetround): Also undefine macro after function definition.
8478         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8479         __fegetround and define as weak alias of __fegetround.  Use
8480         libm_hidden_weak.  Do not undefine as macro.
8481         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8482         Likewise.
8483         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8484         __fegetround and define as weak alias of __fegetround.  Use
8485         libm_hidden_weak.
8486         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8487         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8488         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8489         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8490         __fegetround and define as weak alias of __fegetround.  Use
8491         libm_hidden_weak.
8492         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8493         __fegetround instead of fegetround.
8495         [BZ #17782]
8496         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8497         Condition macro definition on [__USE_MISC].
8499         [BZ #17781]
8500         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8501         (struct sigaction): Change type of sa_flags field to int.
8503         [BZ #17780]
8504         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8505         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8506         __glibc_reserved0.
8508         * nptl/version.c (banner): Use single year in copyright notice.
8510         * NEWS: Update copyright dates.
8511         * catgets/gencat.c (print_version): Likewise.
8512         * csu/version.c (banner): Likewise.
8513         * debug/catchsegv.sh: Likewise.
8514         * debug/pcprofiledump.c (print_version): Likewise.
8515         * debug/xtrace.sh (do_version): Likewise.
8516         * elf/ldconfig.c (print_version): Likewise.
8517         * elf/ldd.bash.in: Likewise.
8518         * elf/pldd.c (print_version): Likewise.
8519         * elf/sotruss.sh: Likewise.
8520         * elf/sprof.c (print_version): Likewise.
8521         * iconv/iconv_prog.c (print_version): Likewise.
8522         * iconv/iconvconfig.c (print_version): Likewise.
8523         * locale/programs/locale.c (print_version): Likewise.
8524         * locale/programs/localedef.c (print_version): Likewise.
8525         * login/programs/pt_chown.c (print_version): Likewise.
8526         * malloc/memusage.sh (do_version): Likewise.
8527         * malloc/memusagestat.c (print_version): Likewise.
8528         * malloc/mtrace.pl: Likewise.
8529         * manual/libc.texinfo: Likewise.
8530         * nptl/version.c (banner): Likewise.
8531         * nscd/nscd.c (print_version): Likewise.
8532         * nss/getent.c (print_version): Likewise.
8533         * nss/makedb.c (print_version): Likewise.
8534         * posix/getconf.c (main): Likewise.
8535         * scripts/test-installation.pl: Likewise.
8536         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8538 2015-01-02  Will Newton  <will.newton@linaro.org>
8540         * sysdeps/arm/armv7/configure: Removed.
8541         * sysdeps/arm/armv7/configure.ac: Likewise.
8543 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8545         * All files with FSF copyright notices: Update copyright dates
8546         using scripts/update-copyrights.
8547         * intl/plural.c: Regenerated.
8548         * locale/programs/charmap-kw.h: Likewise.
8549         * locale/programs/locfile-kw.h: Likewise.
8551 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8553         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8555 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8557         [BZ #17748]
8558         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8559         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8560         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8561         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8562         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8563         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8564         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8565         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8566         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8567         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8568         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8569         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8570         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8571         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8572         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8573         libm_hidden_def.
8574         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8575         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8576         Likewise.
8577         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8578         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8579         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8580         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8581         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8582         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8583         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8584         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8585         __fegetenv instead of fegetenv.
8586         (libc_feholdsetround_noex_ctx): Likewise.
8588 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8590         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8591         (Elf_MIPS_ABIFlags_v0): New structure.
8592         (EF_MIPS_FP64): Define.
8593         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8594         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8595         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8596         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8597         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8598         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8599         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8600         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8601         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8602         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8603         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8604         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8605         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8606         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8607         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8608         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8609         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8610         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8611         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8612         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8613         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8614         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8615         field.
8616         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8617         EF_MIPS_FP64.
8618         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8619         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8620         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8621         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8622         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8623         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8624         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8625         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8626         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8627         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8628         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8629         record the current FP ABI extension.
8630         (mips-mode-switch): Define to show if kernel headers support mode
8631         switching.
8632         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8633         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8634         supported SYSV ABI version to 3.
8635         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8636         feature.
8638 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8639             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8641         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8642         path.
8643         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8645 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8647         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8648         __fegetround and redefine to call __fegetround.  Remove condition
8649         on [!__NO_MATH_INLINES].
8650         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8651         function.
8652         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8653         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8654         Remove macro.
8655         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8656         instead of <fenv_libc.h>.
8657         (__llrintl): Call fegetround instead of __fegetround.
8658         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8659         instead of <fenv_libc.h>.
8660         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8661         (__lrintl): Call fegetround instead of __fegetround.
8662         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8663         instead of <fenv_libc.h>.
8664         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8665         (__rintl): Call fegetround instead of __fegetround.
8667 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8669         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8670         arrays.
8672 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8674         [BZ #17775]
8675         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8676         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8677         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8679 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8681         * sysdeps/i386/tls-macros.h: Include <features.h>.
8682         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8683         (TLS_IE): Likewise.
8684         (TLS_LD): Likewise.
8685         (TLS_GD): Likewise.
8686         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8687         define for GCC >= 5.0.
8689 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8691         * math/test-fenv.c (test_single_exception, set_single_exc,
8692         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8693         feexcp_mask_test, feenable_test, fe_single_test): Add
8694         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8695         case where they are not used.
8696         * math/libm-test.inc: Likewise.
8697         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8698         unused in the absence of FP rounding/exception support.
8699         * stdio-common/tst-printf-round.c: Likewise.
8700         * stdlib/tst-strtod-round.c: Likewise.
8701         * stdlib/tst-strtod-underflow.c: Likewise.
8703 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8705         [BZ #17723]
8706         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8707         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8708         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8709         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8710         libm_hidden_weak.
8711         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8712         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8713         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8714         libm_hidden_def.
8715         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8716         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8717         libm_hidden_weak.
8718         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8719         Likewise.
8720         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8721         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8722         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8723         libm_hidden_weak.
8724         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8725         libm_hidden_def.
8726         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8727         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8728         (__feraiseexcept): Likewise.
8729         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8730         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8731         libm_hidden_weak.
8732         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8733         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8734         libm_hidden_def.
8735         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8736         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8737         Use libm_hidden_def.
8738         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8739         libm_hidden_def.
8740         (feraiseexcept): Define as weak not strong alias.  Use
8741         libm_hidden_weak.
8742         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8743         New inline function.  Factored out of ...
8744         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8745         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8746         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8747         feraiseexcept.
8748         * math/w_acos.c (__acos): Likewise.
8749         * math/w_asin.c (__asin): Likewise.
8750         * math/w_ilogb.c (__ilogb): Likewise.
8751         * math/w_j0.c (y0): Likewise.
8752         * math/w_j1.c (y1): Likewise.
8753         * math/w_jn.c (yn): Likewise.
8754         * math/w_log.c (__log): Likewise.
8755         * math/w_log10.c (__log10): Likewise.
8756         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8757         * sysdeps/aarch64/fpu/math_private.h
8758         (libc_feupdateenv_test_aarch64): Likewise.
8759         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8760         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8761         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8762         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8763         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8764         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8765         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8766         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8767         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8768         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8770 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8772         [BZ #17732]
8773         * io/test-utime.c (main): Replace %ld with %jd and cast to
8774         intmax_t.
8775         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8776         * nptl/tst-mutex5.c: Include <stdint.h>.
8777         (do_test): Replace %ld with %jd and cast to intmax_t.
8778         * posix/tst-regex.c (run_test): Likewise.
8779         (run_test_backwards): Likewise.
8780         * rt/tst-clock.c: Include <stdint.h>.
8781         (clock_test): Replace %ld with %jd and cast to intmax_t.
8782         * rt/tst-cpuclock1.c: Include <stdint.h>.
8783         (do_test): Replace %lu with %ju and cast to uintmax_t.
8784         * rt/tst-cpuclock2.c: Include <stdint.h>.
8785         (do_test): Replace %lu with %ju and cast to uintmax_t.
8786         * rt/tst-mqueue1.c: Include <stdint.h>.
8787         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8788         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8789         intmax_t.
8790         * rt/tst-mqueue4.c (do_test): Likewise.
8791         * rt/tst-timer4.c: Include <stdint.h>.
8792         (check_ts): Replace %ld with %jd and cast to intmax_t.
8793         (do_test): Likewise.
8794         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8795         and cast to intmax_t.
8796         * sysdeps/pthread/tst-timer.c (main): Likewise.
8797         * time/clocktest.c (main): Likewise.
8798         * time/tst-posixtz.c (do_test): Likewise.
8799         * timezone/tst-timezone.c (main): Likewise.
8801 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8802             H.J. Lu  <hongjiu.lu@intel.com>
8804         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8805         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8806         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8807         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8808         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8809         version if bit_Fast_Unaligned_Load is set.
8810         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8811         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8812         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8813         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8814         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8815         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8816         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8817         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8818         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8819         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8820         to 4.
8821         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8822         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8823         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8824         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8826 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8828         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8829         instead of #if to avoid a Wundef warning.
8830         * stdlib/tst-limits.c (do_test): Likewise.
8832         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8833         parallel other exception macros.
8834         (fegetenv): Convert from macro to extern inline so that it applies
8835         retroactively to inline functions already seen by the compiler.
8836         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8838         * posix/Makefile (before-compile): Use $(objpfx) for
8839         posix-conf-vars-def.h.
8841 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8843         * posix/getconf.c (main): Use size_t for type of I.
8844         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8845         NSPEC.
8847         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8848         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8849         * posix/posix-envs.def: Likewise.
8850         * sysdeps/posix/sysconf.c: Likewise.
8851         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8852         (specs): Remove array.
8853         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8854         array.
8856         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8857         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8858         (__sysconf): Use CONF_IS_* macros.
8860         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8861         ($(objpfx)posix-conf-vars-def.h): New target.
8862         * posix/posix-conf-vars.list: New file.
8863         * posix/posix-conf-vars.h: New file.
8864         * posix/confstr.c: Include posix-conf-vars.h.
8865         (confstr): Use CONF_IS_* macros.
8866         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8867         CONF_IS_* macros.
8868         * scripts/gen-posix-conf-vars.awk: New file.
8870 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8872         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8873         fegetround): Add no-op macros to avoid linknamespace issues.
8875         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8876         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8878         * sysdeps/unix/sysv/linux/tile/sysdep.h
8879         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8880         assembly-specific section to avoid a redefinition warning.
8882         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8883         long before casting to pointer to avoid a cast warning.
8885 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8887         * sysdeps/tile/tilegx/Implies: New file.
8889 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8891         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8893 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8895         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8897 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8899         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8900         not define.
8901         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8902         <kernel-features.h>.
8903         (__utimes) [__NR_utimes]: Make code unconditional.
8904         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8905         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8906         (__ASSUME_UTIMES): Do not undefine.
8907         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8908         (__ASSUME_UTIMES): Likewise.
8909         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8910         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8911         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8912         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8914 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8916         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8918 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8920         [BZ #17747]
8921         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8922         alias to weak alias for j0l, y0l.
8923         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8924         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8926         [BZ #17746]
8927         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8928         conversion.
8930 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8932         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8933         to zero if not already defined.
8935 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8937         [BZ #17724]
8938         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8939         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8940         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8941         (char *) casts added.
8942         * sysdeps/ieee754/k_standardf.c: New file.
8943         * sysdeps/ieee754/k_standardl.c: Likewise.
8944         * math/Makefile (libm-support): Remove k_standard.
8945         (libm-calls): Add k_standard.
8947 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8949         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8950         Optimize to avoid an unnecessary FPCR read.
8952 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8954         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8955         Optimize to reduce FPCR/FPSR accesses.
8957 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8959         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8960         Call libc_fetestexcept_aarch64.
8962 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8964         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8965         Call libc_fesetround_aarch64.
8967 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8969         [BZ #17733]
8970         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8971         (__bind): Do not define as weak alias.
8972         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8973         define.
8974         (__getsockname): Do not define as weak alias.
8976 2014-12-22  Will Newton  <will.newton@linaro.org>
8978         * manual/install.texi: Document that we require bison 2.7
8979         or above.
8980         * INSTALL: Regenerate.
8981         * configure.ac: Use AC_CHECK_PROG_VER instead of
8982         AC_PATH_PROG when checking for bison and check for
8983         version 2.7 or above.
8984         * configure: Regenerate.
8986 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8988         [BZ #17745]
8989         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8990         * sysdeps/tile/ffsll.c (ffsll): To here.
8992         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8994 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8996         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8997         if not defined.
8998         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8999         definition.
9000         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9001         hidden ___tls_get_addr.
9002         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9003         hidden __tls_get_addr.
9004         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9005         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9006         Likewise.
9008 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9010         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9011         _dl_init call.
9013 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9015         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9016         from "call _dl_init@PLT".
9017         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9019 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9021         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9022         guarantees.
9024 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9026         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9028 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9030         [BZ #17744]
9031         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9032         strnlen.
9034 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9036         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9037         of multu on MIPSr6.
9038         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9039         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9040         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9041         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9042         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9044 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9046         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9047         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9048         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9049         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9050         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9051         mips32r6/mips64r6.
9052         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9054 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9056         * string/strncat.c (STRNCAT): Simplify implementation.
9058 2014-12-19  David S. Miller  <davem@davemloft.net>
9060         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9061         access the quad as both a long double and as a series of 4 words.
9063         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9064         link_map->l_info array access.
9066 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9068         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9070         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9071         * math/atest-exp2.c (TIMEOUT): Likewise.
9072         * math/atest-sincos.c (TIMEOUT): Likewise.
9074 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9076         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9077         -Wno-error with -fno-builtin-lround.
9079 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9081         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9082         Contains futex constants and functions moved over from ...
9083         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9084         <lowlevellock-futex.h>.
9085         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9086         (lll_timedwait_tid): Add comments and parentheses around macro
9087         arguments.
9089 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9091         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9092         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9093         (__lll_private_flag): Remove.
9094         (lll_futex_wait): Likewise.
9095         (lll_futex_timed_wait): Likewise.
9096         (lll_futex_wake): Likewise.
9097         (lll_futex_requeue): Likewise.
9098         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9099         (__lll_timedwait_tid): Spell out argument names.
9100         (lll_timedwait_tid): Add comments and parentheses around macro
9101         arguments.
9102         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9103         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9105 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9107         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9108         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9109         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9110         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9111         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9112         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9113         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9114         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9115         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9116         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9117         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9118         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9119         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9120         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9121         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9122         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9123         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9124         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9125         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9127 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9129         * sysdeps/x86_64/x32/Makefile: New file.
9131 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9133         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9134         1L with (mp_limb_t) 1.
9136 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9138         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9139         * nptl/libc_pthread_init.c: ... here.
9140         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9141         * nptl/register-atfork.c: ... here.
9143         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9144         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9145         Use assert_perror to check its return value.
9146         (__gai_create_helper_thread): Likewise.
9148         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9150         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9152 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9154         [BZ #17725]
9155         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9156         __profil_counter.
9157         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9158         Likewise.
9159         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9160         Likewise.
9161         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9162         Likewise.
9163         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9164         (profil_counter): Likewise.
9165         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9166         (profil_counter): Likewise.
9167         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9168         Likewise.
9169         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9170         Likewise.
9171         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9172         (profil_counter): Likewise.
9173         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9174         Likewise.
9175         [!__profil_counter] (profil_counter): Define as weak alias of
9176         __profil_counter.
9177         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9178         (profil_counter): Rename to __profil_counter.
9179         [!__profil_counter] (profil_counter): Define as weak alias of
9180         __profil_counter.
9181         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9182         (profil_counter): Rename to __profil_counter.
9183         [!__profil_counter] (profil_counter): Define as weak alias of
9184         __profil_counter.
9185         * sysdeps/posix/profil.c: Update comment referring to
9186         profil_counter.
9187         (__profil): Use __profil_counter instead of profil_counter.
9188         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9189         __profil_counter.  Use __profil_counter_ushort and
9190         __profil_counter_uint in definitions.
9191         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9192         instead of profil_counter_uint and profil_counter_ushort.
9194         [BZ #17722]
9195         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9196         define as weak alias of __inet_makeaddr.
9197         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9198         as weak alias of __inet_addr.
9199         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9200         as weak alias of __inet_pton.  Use libc_hidden_weak.
9201         * include/arpa/inet.h (__inet_pton): Declare.  Use
9202         libc_hidden_proto.
9203         (inet_makeaddr): Don't use libc_hidden_proto.
9204         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9205         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9206         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9207         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9208         Remove variable.
9209         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9210         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9212 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9214         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9216 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9218         * stdio-common/bug-vfprintf-nargs.c (do_test):
9219         Cast value to intptr_t to avoid format warning
9220         for usage with PRIdPTR printing macro.
9222 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9224         * libio/tst-widetext.c (do_test):
9225         Use format type %td instead of %Zd for ptrdiff_t
9226         in order to avoid format warning.
9228 2014-12-17  Andreas Schwab  <schwab@suse.de>
9230         * nscd/mem.c (gc): Add size_t cast to match printf format.
9232 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9234         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9235         (init): Apply PTR_MANGLE to pointers before storing them.
9236         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9237         before using them.
9239 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9241         [BZ #17719]
9242         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9243         define as weak alias of __memrchr.
9244         (__memrchr): Do not define as strong alias of memrchr.
9245         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9246         Remove variable.
9247         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9248         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9249         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9251         [BZ #17717]
9252         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9253         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9254         (if_indextoname): Rename to __if_indextoname and define as weak
9255         alias of __if_indextoname.  Use libc_hidden_weak.
9256         (if_freenameindex): Rename to __if_freenameindex and define as
9257         weak alias of __if_freenameindex.
9258         (if_nameindex): Rename to __if_nameindex and define as weak alias
9259         of __if_nameindex.
9260         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9261         __if_nametoindex and define as weak alias of __if_nametoindex.
9262         Use libc_hidden_weak.
9263         (if_freenameindex): Rename to __if_freenameindex and define as
9264         weak alias of __if_freenameindex.
9265         (if_nameindex): Rename to __if_nameindex and define as weak alias
9266         of __if_nameindex.
9267         (if_indextoname): Rename to __if_indextoname and define as weak
9268         alias of __if_indextoname.  Use libc_hidden_weak.
9269         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9270         __if_nametoindex and define as weak alias of __if_nametoindex.
9271         Use libc_hidden_weak.
9272         (if_freenameindex): Rename to __if_freenameindex and define as
9273         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9274         (if_nameindex_netlink): Use __if_freenameindex instead of
9275         if_freenameindex.
9276         (if_nameindex): Rename to __if_nameindex and define as weak alias
9277         of __if_nameindex.  Use libc_hidden_weak.
9278         (if_indextoname): Rename to __if_indextoname and define as weak
9279         alias of __if_indextoname.  Use libc_hidden_weak.
9280         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9281         libc_hidden_proto.
9282         [!_ISOMAC] (__if_freenameindex): Likewise.
9283         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9284         if_nametoindex.
9285         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9286         variable.
9287         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9288         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9289         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9290         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9291         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9292         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9293         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9295         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9296         Remove variable.
9297         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9298         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9300 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9302         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9303         subscript above bounds'
9305         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9306         bounds.
9308 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9310         * libio/tst-fopenloc.c: Use test-skeleton.c.
9312         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9313         (entry): Rename to ITEM.
9314         (do_test, comp): Adjust.
9316         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9318 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9320         * string/tester.c: Include <libc-internal.h>.
9321         (test_memset): Ignore -Wmemset-transposed-args.
9323 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9325         * misc/tst-mntent2.c (do_test): Fix warning.
9327 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9329         * elf/tst-unique4lib.cc(a): Mark as used.
9331 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9333         [BZ #17630]
9334         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9335         names.
9337 2014-12-16  Allan McRae  <allan@archlinux.org>
9339         * stdio-common/Makefile (tests): Re-add bug26.
9341 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9343         [BZ #17657]
9344         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9345         static array.
9347 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9349         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9350         (__lll_lock_wait): Likewise.
9351         (__lll_timedlock_wait): Likewise.
9352         (__lll_timedwait_tid): Likewise.
9353         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9354         (__lll_robust_timedlock_wait): Likewise.
9355         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9356         (lll_cond_trylock): Likewise.
9357         (__lll_lock): Likewise.
9358         (__lll_robust_lock): Likewise.
9359         (__lll_cond_lock): Likewise.
9360         (lll_robust_cond_lock): Likewise.
9361         (__lll_timedlock): Likewise.
9362         (__lll_robust_timedlock): Likewise.
9363         (__lll_unlock): Likewise.
9364         (__lll_robust_unlock): Likewise.
9365         (lll_wait_tid): Likewise.
9366         (lll_timedwait_tid): Likewise.
9368 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9370         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9372 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9374         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9376 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9378         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9379         * stdio-common/tst-sprintf.c: Likewise.
9381 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9383         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9385 2014-12-15  Jeff Law  <law@redhat.com>
9387         [BZ #16617]
9388         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9389         on the heap.  (CVE-2012-3406)
9390         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9391         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9392         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9394 2014-12-15  Will Newton  <will.newton@linaro.org>
9396         * manual/install.texi: Bump required version of texinfo
9397         to 4.7 from 4.5.
9398         * INSTALL: Regenerated.
9399         * configure.ac: Check for makeinfo version 4.7 and above.
9400         * configure: Regenerated.
9402 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9404         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9405         PREFIX, string constant to insert between directory and name.
9406         * sysdeps/posix/shm_open.c: Update caller.
9407         * sysdeps/posix/shm_unlink.c: Likewise.
9408         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9409         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9410         (SEM_SHM_PREFIX): New macro.
9411         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9412         [$(have-thread-library) = no].
9413         * nptl/Makefile (libpthread-routines): Add shm-directory.
9414         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9415         * sysdeps/nptl/shm-directory.h: New file.
9416         * sysdeps/posix/shm-directory.c
9417         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9418         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9419         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9420         INTERNAL_SYSCALL.
9421         (__where_is_shmfs): Function removed.
9422         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9423         Variables removed.
9424         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9425         Use SHM_GET_NAME.
9426         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9428         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9429         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9430         unconditional for use inside libpthread.
9431         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9433 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9435         * nptl/pthread_getaffinity.c: New file.
9436         * nptl/pthread_setaffinity.c: New file.
9437         * nptl/pthread_getname.c: New file.
9438         * nptl/pthread_setname.c: New file.
9440         * nptl/pthread_create.c (START_THREAD_DEFN)
9441         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9443 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9444             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9446         * resolv/res_send.c (send_vc): Disable warning resplen may
9447         be used uninitialized.
9449 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9451         * nptl/tst-mutex6.c
9452         (ATTR_NULL): New define checks ATTR against NULL.
9453         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9454         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9456 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9458         [BZ #17581]
9459         * malloc/hooks.c
9460         (mem2mem_check): Revert my previous change.
9461         (malloc_check_get_size): Revert my previous change.
9462         (mem2chunk_check): Revert my previous change.
9464 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9466         * sysdeps/posix/shm-directory.c: New file.
9467         * sysdeps/posix/shm-directory.h: New file.
9468         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9469         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9470         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9471         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9472         Transmute EPERM to EACCES.
9473         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9474         from ...
9475         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9476         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9478 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9480         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9481         pointer and cast to uintptr_t.
9482         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9483         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9484         Add cast to avoid warning.
9485         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9487 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9489         * nptl/semaphore.h: Move to ...
9490         * sysdeps/pthread/semaphore.h: ... here.
9491         * Makefile (installed-headers): Change nptl/semaphore.h to
9492         sysdeps/pthread/semaphore.h.
9494 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9496         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9497         generated error format strings.
9499         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9500         -Wformat-extra-args warnings for scanf formats.
9501         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9502         test of zero-length format (duh).
9503         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9504         corner-case scanf format test.
9505         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9506         generated fprintf format string.
9507         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9508         corner-case sprintf format tests.
9509         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9510         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9511         -Wformat-extra-args warnings throughout.
9512         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9513         (CFLAGS-scanf4.c): Likewise.
9514         (CFLAGS-scanf7.c): Likewise.
9515         (CFLAGS-tst-sprintf.c): Likewise.
9516         (CFLAGS-tst-printf.c): Likewise.
9517         (CFLAGS-tst-printfsz.c): Likewise.
9519 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9521         * include/cpio.h: New file.
9522         * include/fmtmsg.h: Likewise.
9524         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9525         corresponding format argument to size_t.
9526         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9527         arguments.
9528         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9529         corresponding format argument to size_t.
9530         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9531         arguments.
9532         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9533         corresponding format argument to size_t.
9534         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9535         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9536         (CFLAGS-tst-mbswcs2.c): Likewise.
9537         (CFLAGS-tst-mbswcs3.c): Likewise.
9538         (CFLAGS-tst-mbswcs4.c): Likewise.
9539         (CFLAGS-tst-mbswcs5.c): Likewise.
9540         (CFLAGS-tst-trans.c): Likewise
9542 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9544         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9545         rather than assuming they won't contain any '%'s.
9547 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9549         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9550         inhibit_loop_to_libcall to avoid recursive calls.
9551         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9552         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9554 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9556         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9557         prototype.
9559 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9561         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9562         integer value instead of boolean.
9564 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9566         * malloc/malloc.c: Fix powerof2 check.
9568 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9570         * locale/programs/locfile.h (maybe_swap_uint32):
9571         Remove inline and add unused attribute.
9573 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9575         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9576         Truncating assembler expression to a .long expression.
9578 2014-12-11  Andreas Schwab  <schwab@suse.de>
9580         * elf/rtld.c (struct map_args): Constify str member.
9581         (do_preload): Constify fname argument.
9583 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9586         constants definition.
9588 2014-12-11  Andreas Schwab  <schwab@suse.de>
9590         [BZ #16657]
9591         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9592         FORCE_ELISION instead of DO_ELISION.
9593         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9594         Remove.
9595         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9596         Likewise.
9598         * iconvdata/gconv-modules: Remove duplicate entry.
9600 2014-12-11  Will Newton  <will.newton@linaro.org>
9602         Merge gettext 0.19.3 into intl/.
9604         This involves a number of cosmetic changes to comments
9605         and ANSI function definitions and prototypes throughout
9606         all the files. The gettext copyright header is used but
9607         with the date ranges taken from the glibc copy.
9609         * NEWS: Add gettext merge to 2.21.
9610         * intl/bindtextdom.c: Switch to gettext copyright.
9611         Use ANSI definitions and prototypes.
9612         Use gl_* locking primitives rather than __libc_* ones.
9613         Use __builtin_expect rather than __glibc_likely/unlikely.
9614         * intl/dcgettext.c: Switch to gettext copyright.
9615         Use ANSI definitions and prototypes.
9616         * intl/dcigettext.c: Switch to gettext copyright.
9617         Use ANSI definitions and prototypes.
9618         (INTDIV0_RAISES_SIGFPE): New define.
9619         Use gl_* locking primitives rather than __libc_* ones.
9620         Include eval-plural.h instead of plural-eval.c.
9621         Use __builtin_expect rather than __glibc_likely/unlikely.
9622         * intl/dcngettext.c: Switch to gettext copyright.
9623         Use ANSI definitions and prototypes.
9624         * intl/dgettext.c: Likewise.
9625         * intl/dngettext.c: Likewise.
9626         * intl/plural-eval.c: Renamed to...
9627         * intl/eval-plural.h: ...this.
9628         * intl/explodename.c: Switch to gettext copyright.
9629         Use ANSI definitions and prototypes.
9630         (_nl_explode_name): Use strchr instead of __rawmemchr.
9631         * intl/finddomain.c: Switch to gettext copyright.
9632         Use ANSI definitions and prototypes.
9633         Use gl_* locking primitives rather than __libc_* ones.
9634         (_nl_find_domain): Use malloc rather than alloca for
9635         allocation of temporary locale name.
9636         * intl/gettext.c: Switch to gettext copyright.
9637         Use ANSI definitions and prototypes.
9638         * intl/gettextP.h: Switch to gettext copyright.
9639         Use ANSI definitions and prototypes.
9640         Use gl_* locking primitives rather than __libc_* ones.
9641         * intl/gmo.h: Switch to gettext copyright.
9642         (struct sysdep_string): Move struct segment_pair outside of
9643         struct definition.
9644         * intl/hash-string.c: Use ANSI definitions and prototypes.
9645         * intl/hash-string.h: Switch to gettext copyright.
9646         Use ANSI definitions and prototypes.
9647         * intl/l10nflist.c: Switch to gettext copyright.
9648         Use ANSI definitions and prototypes.
9649         (_nl_normalize_codeset): Avoid integer overflow.
9650         * intl/loadinfo.h: Switch to gettext copyright.
9651         Use ANSI definitions and prototypes.
9652         (LIBINTL_DLL_EXPORTED): New define.
9653         (PATH_SEPARATOR): New define.
9654         * intl/loadmsgcat.c: Switch to gettext copyright.
9655         * intl/localealias.c: Switch to gettext copyright.
9656         Use ANSI definitions and prototypes.
9657         (_nl_expand_alias): Use PATH_SEPARATOR.
9658         * intl/ngettext.c: Switch to gettext copyright.
9659         Use ANSI definitions and prototypes.
9660         * intl/plural-exp.c: Likewise.
9661         * intl/plural-exp.h: Switch to gettext copyright.
9662         Use ANSI definitions and prototypes.
9663         (struct expression): Move definition of enum operator outside
9664         of struct definition.
9665         * intl/plural.c: Regenerate.
9666         * intl/plural.y: Switch to gettext copyright.
9667         Use ANSI definitions and prototypes.
9668         Port to bison 3.0.
9669         * intl/textdomain.c: Switch to gettext copyright.
9670         Use ANSI definitions and prototypes.
9671         Use gl_* locking primitives rather than __libc_* ones.
9673 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9675         * debug/warning-nop.c: Add used atrribute.
9677 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9679         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9681         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9682         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9683         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9685 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9686             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9688         [BZ #17634]
9689         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9690         Undefine after defining function.  Define as weak alias of
9691         __wcschr.  Use libc_hidden_weak.
9692         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9693         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9694         (libc_hidden_def): Also define __GI___wcschr alias.
9695         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9696         __wcschr and define as weak alias of __wcschr.
9697         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9698         __wcschr.
9699         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9700         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9701         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9702         libc_hidden_weak.  Do not use libc_hidden_def.
9703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9704         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9705         __GI___wcschr alias.
9706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9707         [IS_IN (libc)] (wcschr): Define as macro expanding to
9708         __redirect_wcschr.
9709         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9710         [IS_IN (libc)] (__wcschr_power6): Likewise.
9711         [IS_IN (libc)] (__wcschr_power7): Likewise.
9712         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9713         instead of wcschr.
9714         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9715         __libc_wcschr.
9716         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9717         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9718         __wcschr and define as weak alias of __wcschr.  Use
9719         libc_hidden_builtin_def.
9720         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9721         as weak alias of __wcschr.  Use libc_hidden_weak.
9722         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9723         wcschr.
9724         * time/era.c (_nl_init_era_entries): Likewise.
9725         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9726         variable.
9727         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9728         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9730 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9732         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9733         format for long int variable.
9735 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9737         [BZ #10672]
9738         * manual/search.texi: (Array Sort Function): Remove claim how to make
9739         qsort stable.
9741 2014-12-10  Andreas Schwab  <schwab@suse.de>
9743         [BZ #12847]
9744         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9745         user-controlled locks.
9747 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9749         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9750         register.
9752 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9754         * configure.ac (--disable-werror): New configure option.
9755         (enable_werror): New AC_SUBST.
9756         * configure: Regenerated.
9757         * config.make.in (enable-werror): New variable.
9758         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9759         -Wno-error=undef.
9760         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9761         * manual/install.texi (Configuring and compiling): Document
9762         --disable-werror.
9763         * INSTALL: Regenerated.
9764         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9765         (CFLAGS-tst-chk2.c): Likewise.
9766         (CFLAGS-tst-chk3.c): Likewise.
9767         (CFLAGS-tst-chk4.cc): Likewise.
9768         (CFLAGS-tst-chk5.cc): Likewise.
9769         (CFLAGS-tst-chk6.cc): Likewise.
9770         (CFLAGS-tst-lfschk1.c): Likewise.
9771         (CFLAGS-tst-lfschk2.c): Likewise.
9772         (CFLAGS-tst-lfschk3.c): Likewise.
9773         (CFLAGS-tst-lfschk4.cc): Likewise.
9774         (CFLAGS-tst-lfschk5.cc): Likewise.
9775         (CFLAGS-tst-lfschk6.cc): Likewise.
9777         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9778         (main): Disable -Wdeprecated-declarations around calls to
9779         register_printf_function.
9781         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9782         (do_test): Disable -Wdiv-by-zero around some calls to
9783         fwrite_unlocked and fread_unlocked.
9785         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9786         (DIAG_POP_NEEDS_COMMENT): Likewise.
9787         (_DIAG_STR1): Likewise.
9788         (_DIAG_STR): Likewise.
9789         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9790         * stdio-common/bug21.c: Include <libc-internal.h>.
9791         (do_test): Disable -Wformat around call to sscanf.
9792         * stdio-common/scanf14.c: Include <libc-internal.h>.
9793         (main): Disable -Wformat around some calls to scanf functions.
9795 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9797         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9799 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9801         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9802         stack variable alignment.
9804 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9806         [BZ #17682]
9807         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9808         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9809         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9810         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9811         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9812         __getrlimit instead of getrlimit.
9813         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9814         __gettimeofday instead of gettimeofday.
9815         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9816         Likewise.
9817         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9818         Likewise.
9819         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9820         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9821         Remove variable.
9822         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9823         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9825 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9827         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9828         for wide-character tests.
9830 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9832         * io/openat64.c: #include <libc-internal.h>
9833         (__openat64): Prototypify.  Use ignore_value on MODE.
9834         * io/openat.c: Likewise.
9835         * misc/reboot.c: #include <libc-internal.h>
9836         (reboot): Prototypify.  Use ignore_value on HOWTO.
9837         * misc/ptrace.c: #include <libc-internal.h>
9838         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9840 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9842         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9843         XPG4, UNIX98 and XOPEN2K.
9844         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9845         Remove variable.
9846         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9848 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9850         * libio/fileops.c: Use ISO C style for function definitions.
9851         * libio/iofopen.c: Likewise.
9852         * libio/wfileops.c: Likewise.
9854         [BZ #17653]
9855         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9856         offset on EOF.
9857         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9858         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9859         (fgets_func): Function pointer to fgets and fgetws.
9860         (do_ftell_test): Add test to verify ftell value after read
9861         EOF.
9862         (do_test): Set fgets_func.
9864         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9865         O_TRUNC flag for w and w+ modes.
9866         (do_rewind_test): Likewise.
9867         (do_ftell_test): Likewise.
9868         (do_write_test): Likewise.
9870         [BZ #17647]
9871         * libio/fileops.c (do_ftell): Seek only when there are
9872         unflushed writes.
9873         * libio/wfileops.c (do_ftell_wide): Likewise.
9874         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9875         test case.
9876         (do_one_test): Call it.
9878 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9880         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9881         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9882         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9883         Remove variable.
9884         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9885         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9886         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9888 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9890         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9891         Remove variable.
9892         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9894         [BZ #17668]
9895         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9896         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9897         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9898         __freeifaddrs.  Use libc_hidden_weak.
9899         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9900         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9901         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9902         __freeifaddrs.  Use libc_hidden_weak.
9903         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9904         __getifaddrs and define as weak alias of __getifaddrs.  Use
9905         libc_hidden_weak.
9906         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9907         __freeifaddrs.  Use libc_hidden_weak.
9908         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9909         Remove variable.
9910         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9911         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9913 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9915         [BZ #17601]
9916         * sysdeps/mips/start.S (__start): Use indirect jump to call
9917         __libc_start_main.
9919 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9921         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9923         * nptl/tst-mutex1.c: Include <stdbool.h>.
9924         [!ATTR] (ATTR_NULL): New macro.
9925         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9926         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9927         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9929         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9930         to char *.
9932         [BZ #17665]
9933         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9934         Change conditional to [__USE_MISC].
9936         [BZ #17664]
9937         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9938         fgets_unlocked.
9939         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9940         __fgets_unlocked.
9941         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9942         fgets_unlocked.
9943         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9944         Remove variable.
9945         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9946         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9947         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9948         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9949         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9950         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9951         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9952         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9953         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9955         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9957 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9959         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9960         Remove strpbrk objects.
9961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9962         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9963         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9964         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9965         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9966         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9968         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9969         Remove strcspn objects.
9970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9971         (__libc_ifunc_impl_list): Remove strcspn implementation.
9972         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9973         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9974         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9975         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9977         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9978         Remove strspn objetcs.
9979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9980         (__libc_ifunc_impl_list): Remove strspn implementation.
9981         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9982         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9983         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9984         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9986 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9988         [BZ #17581]
9989         * malloc/hooks.c
9990         (mem2mem_check): Add a terminator to the chain of checking blocks.
9991         (malloc_check_get_size): Use it here.
9992         (mem2chunk_check): Ditto.
9994 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9996         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9997         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9999 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10001         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10003         * nptl/nptl-init.c: Include libc-internal.h.
10004         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10006         * elf/ldconfig.c (search_dir): Expand comment.
10008 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10010         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10011         variable.
10012         (linknamespace-symlist-stdlibs-tests): Likewise.
10013         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10014         instead of $(objpfx)symlist-stdlibs.
10015         (linknamespace-libs-isoc): New variable.
10016         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10017         (linknamespace-libs-ISO): New variable.
10018         (linknamespace-libs-ISO99): Likewise.
10019         (linknamespace-libs-ISO11): Likewise.
10020         (linknamespace-libs-XPG3): Likewise.
10021         (linknamespace-libs-XPG4): Likewise.
10022         (linknamespace-libs-POSIX): Likewise.
10023         (linknamespace-libs-UNIX98): Likewise.
10024         (linknamespace-libs-XOPEN2K): Likewise.
10025         (linknamespace-libs-POSIX2008): Likewise.
10026         (linknamespace-libs-XOPEN2K8): Likewise.
10027         ($(objpfx)symlist-stdlibs): Replace by
10028         $(linknamespace-symlist-stdlibs-tests).  Use
10029         $(linknamespace-libs-$*) as set of libraries.
10030         ($(linknamespace-header-tests)): Update dependencies.  Use
10031         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10032         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10033         * conform/linknamespace.pl: Remove comment about considering
10034         definitions of symbols from irrelevant libraries.
10036 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10038         [BZ #13862]
10039         * elf/dl-tls.c: Include <atomic.h>.
10040         (oom): Remove #ifdef SHARED/#endif.
10041         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10042         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10043         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10044         big enough.
10045         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10046         * nptl/Makefile (tests): Add tst-stack4.
10047         (modules-names): Add tst-stack4mod.
10048         ($(objpfx)tst-stack4): New.
10049         (tst-stack4mod.sos): Likewise.
10050         ($(objpfx)tst-stack4.out): Likewise.
10051         ($(tst-stack4mod.sos)): Likewise.
10052         (clean): Likewise.
10053         * nptl/tst-stack4.c: New file.
10054         * nptl/tst-stack4mod.c: Likewise.
10056 2014-11-27  J. Brown  <jb999@gmx.de>
10058         * sysdeps/x86/bits/string.h: Add recent CPUs.
10060 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10062         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10063         sigblock.
10065         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10066         feof.
10068         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10069         variable.
10071 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10073         * nscd/connections.c: Include libc-internal.h because of macro
10074         usage ignore_value.
10076 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10078         * string/bits/string3.h (__warn_memset_zero_len): Don't
10079         declare for gcc newer than 5.0.
10080         (memset): Don't test for zero-length __LEN for gcc newer than
10081         5.0.
10083 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10085         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10086         size_t for %zu format.
10088         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10089         difference, not %ju.
10091 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10093         * include/libc-internal.h (ignore_value): New macro.
10094         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10095         with ignore_value.
10097         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10098         definition.
10100         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10101         pthread_cleanup_push to void *.
10103         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10104         Undefine.
10106         [BZ #16619]
10107         [BZ #16740]
10108         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10109         instead of 1L << 52.
10111         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10112         * libio/bug-rewind2.c (do_test): Likewise.
10114         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10115         * debug/test-strcpy_chk-ifunc.c: Likewise.
10116         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10117         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10118         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10119         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10120         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10121         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10122         * Rules [$(multi-arch) = no] (tests): Do not filter out
10123         $(tests-ifunc).
10124         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10125         * debug/Makefile (tests-ifunc): Remove variable.
10126         (tests): Do not add $(tests-ifunc).
10127         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10128         (tests): Do not add $(tests-ifunc).
10129         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10130         [TEST_IFUNC]: Remove conditionals.
10131         * string/test-string.h (TEST_IFUNC): Remove macro.
10132         [TEST_IFUNC]: Remove conditionals.
10134         * string/test-strchr.c [!WIDE] (L): New macro.
10135         [WIDE] (L): Likewise.
10136         (check1): Use CHAR instead of char.  Use L on string and character
10137         constants.
10139 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10141         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10142         tests.
10143         * sysdeps/powerpc/bits/atomic.h
10144         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10145         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10146         (atomic_exchange_and_add_acq): Likewise.
10147         (atomic_exchange_and_add_rel): Likewise.
10148         * sysdeps/powerpc/powerpc32/bits/atomic.h
10149         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10150         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10151         * sysdeps/powerpc/powerpc64/bits/atomic.h
10152         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10153         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10155 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10157         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10158         Change synchronization of __sched_fifo_min_prio and
10159         __sched_fifo_max_prio.
10160         * nptl/pthread_mutexattr_getprioceiling.c
10161         (pthread_mutexattr_getprioceiling): Likewise.
10162         * nptl/pthread_mutexattr_setprioceiling.c
10163         (pthread_mutexattr_setprioceiling): Likewise.
10164         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10165         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10166         Likewise.
10168 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10170         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10171         void.
10173 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10175         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10176         third argument const.
10178 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10180         fnmatch: work around GCC compiler warning bug with uninit var
10181         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10182         This works around a bug with x86-64 GCC 4.9.2 and earlier
10183         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10184         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10185         used uninitialized in this function [-Wmaybe-uninitialized]".
10187 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10189         * posix/bug-regex31.c (main): Return RES not 0.
10191 2014-11-25  Anton Blanchard <anton@samba.org>
10193         * sysdeps/powerpc/bits/atomic.h
10194         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10196 2014-11-24  Sterling Augustine  <saugustine@google.com>
10198         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10200 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10202         [BZ #17608]
10203         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10205 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10207         [BZ #17633]
10208         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10209         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10210         variable.
10211         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10212         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10214 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10216         * string/strncpy.c (strncpy): Improve performance by using memset.
10218 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10220         * string/strcpy.c (strcpy):
10221         Improve performance by using strlen and memcpy.
10223 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10225         * string/strcoll_l.c (get_next_seq): __always_inline.
10226         * string/strcoll_l.c (do_compare): __always_inline.
10228 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10230         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10231         defined.
10232         * include/mqueue.h: Likewise.
10233         * include/stdlib.h: Likewise.
10235         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10236         (get_null_defines): Adjust.
10237         * sunrpc/Makefile: Adjust comment.
10238         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10239         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10240         (CFLAGS-interp.c): Likewise.
10241         (CFLAGS-ldconfig.c): Likewise.
10242         (CPPFLAGS-.os): Likewise.
10243         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10244         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10245         * extra-modules.mk (extra-modules.mk): Likewise.
10246         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10247         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10248         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10249         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10250         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10251         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10252         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10253         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10254         * iconvdata/Makefile (CPPFLAGS): Likewise.
10255         (cpp-srcs-left): Add libof for all iconvdata routines.
10256         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10257         * include/assert.h: Likewise.
10258         * include/ctype.h: Likewise.
10259         * include/errno.h: Likewise.
10260         * include/libc-symbols.h: Likewise.
10261         * include/math.h: Likewise.
10262         * include/netdb.h: Likewise.
10263         * include/resolv.h: Likewise.
10264         * include/stdio.h: Likewise.
10265         * include/stdlib.h: Likewise.
10266         * include/string.h: Likewise.
10267         * include/sys/stat.h: Likewise.
10268         * include/wctype.h: Likewise.
10269         * intl/l10nflist.c: Likewise.
10270         * libidn/idn-stub.c: Likewise.
10271         * libio/libioP.h: Likewise.
10272         * nptl/libc_multiple_threads.c: Likewise.
10273         * nptl/pthreadP.h: Likewise.
10274         * posix/regex_internal.h: Likewise.
10275         * resolv/res_hconf.c: Likewise.
10276         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10277         * sysdeps/arm/memmove.S: Likewise.
10278         * sysdeps/arm/sysdep.h: Likewise.
10279         * sysdeps/generic/_itoa.h: Likewise.
10280         * sysdeps/generic/symbol-hacks.h: Likewise.
10281         * sysdeps/gnu/errlist.awk: Likewise.
10282         * sysdeps/gnu/errlist.c: Likewise.
10283         * sysdeps/i386/i586/memcpy.S: Likewise.
10284         * sysdeps/i386/i586/memset.S: Likewise.
10285         * sysdeps/i386/i686/memcpy.S: Likewise.
10286         * sysdeps/i386/i686/memmove.S: Likewise.
10287         * sysdeps/i386/i686/mempcpy.S: Likewise.
10288         * sysdeps/i386/i686/memset.S: Likewise.
10289         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10290         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10291         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10292         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10293         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10294         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10295         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10296         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10297         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10298         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10299         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10300         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10301         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10302         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10303         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10304         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10305         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10306         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10307         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10308         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10309         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10310         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10311         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10312         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10313         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10314         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10315         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10316         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10317         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10318         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10319         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10320         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10321         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10322         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10323         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10324         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10325         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10326         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10327         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10328         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10329         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10330         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10331         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10332         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10333         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10334         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10335         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10336         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10337         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10338         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10339         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10340         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10341         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10342         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10343         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10344         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10345         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10346         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10347         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10348         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10349         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10350         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10351         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10352         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10353         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10354         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10355         * sysdeps/posix/closedir.c: Likewise.
10356         * sysdeps/posix/opendir.c: Likewise.
10357         * sysdeps/posix/readdir.c: Likewise.
10358         * sysdeps/posix/rewinddir.c: Likewise.
10359         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10360         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10361         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10362         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10363         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10364         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10365         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10366         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10367         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10368         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10369         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10370         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10371         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10372         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10373         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10374         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10375         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10376         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10377         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10378         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10379         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10380         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10381         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10382         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10383         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10384         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10385         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10386         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10387         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10388         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10390         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10391         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10392         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10393         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10394         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10395         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10396         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10397         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10398         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10399         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10400         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10401         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10402         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10403         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10404         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10405         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10406         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10407         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10408         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10409         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10410         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10411         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10412         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10413         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10414         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10415         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10416         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10417         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10418         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10419         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10420         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10421         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10422         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10423         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10424         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10425         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10426         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10427         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10428         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10429         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10430         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10431         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10432         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10433         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10434         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10435         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10436         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10437         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10438         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10439         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10440         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10441         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10442         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10443         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10444         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10445         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10446         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10447         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10448         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10449         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10450         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10451         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10452         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10453         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10454         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10455         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10456         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10457         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10458         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10459         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10460         * sysdeps/unix/alpha/sysdep.S: Likewise.
10461         * sysdeps/unix/alpha/sysdep.h: Likewise.
10462         * sysdeps/unix/make-syscalls.sh: Likewise.
10463         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10464         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10465         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10466         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10467         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10468         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10469         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10470         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10471         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10472         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10473         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10474         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10475         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10476         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10477         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10478         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10479         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10480         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10481         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10482         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10483         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10484         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10485         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10486         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10487         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10488         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10489         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10492         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10493         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10494         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10495         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10496         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10497         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10498         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10499         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10501         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10502         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10503         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10504         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10505         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10506         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10507         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10508         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10509         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10510         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10511         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10513         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10514         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10515         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10516         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10517         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10518         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10519         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10521         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10522         * sysdeps/x86_64/memcpy.S: Likewise.
10523         * sysdeps/x86_64/memmove.c: Likewise.
10524         * sysdeps/x86_64/memset.S: Likewise.
10525         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10526         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10527         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10528         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10529         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10530         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10531         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10532         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10533         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10534         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10535         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10536         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10537         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10538         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10539         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10540         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10541         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10542         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10543         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10544         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10545         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10546         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10547         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10548         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10549         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10550         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10551         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10552         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10553         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10554         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10555         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10556         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10557         * sysdeps/x86_64/strcmp.S: Likewise.
10559         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10561         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10562         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10563         * elf/rtld-Rules: Likewise.
10564         * elf/setup-vdso.h: Likewise.
10565         * include/assert.h: Likewise.
10566         * include/bits/stdlib-float.h: Likewise.
10567         * include/errno.h: Likewise.
10568         * include/sys/stat.h: Likewise.
10569         * include/unistd.h: Likewise.
10570         * sysdeps/aarch64/setjmp.S: Likewise.
10571         * sysdeps/alpha/setjmp.S: Likewise.
10572         * sysdeps/arm/__longjmp.S: Likewise.
10573         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10574         * sysdeps/arm/setjmp.S: Likewise.
10575         * sysdeps/arm/sysdep.h: Likewise.
10576         * sysdeps/generic/_itoa.h: Likewise.
10577         * sysdeps/generic/dl-sysdep.h: Likewise.
10578         * sysdeps/generic/ldsodefs.h: Likewise.
10579         * sysdeps/i386/dl-tls.h: Likewise.
10580         * sysdeps/i386/setjmp.S: Likewise.
10581         * sysdeps/m68k/setjmp.c: Likewise.
10582         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10583         * sysdeps/mach/hurd/opendir.c: Likewise.
10584         * sysdeps/posix/getcwd.c: Likewise.
10585         * sysdeps/posix/opendir.c: Likewise.
10586         * sysdeps/posix/profil.c: Likewise.
10587         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10588         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10589         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10590         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10591         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10592         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10593         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10594         * sysdeps/s390/dl-tls.h: Likewise.
10595         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10596         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10597         * sysdeps/sh/sh3/setjmp.S: Likewise.
10598         * sysdeps/sh/sh4/setjmp.S: Likewise.
10599         * sysdeps/unix/alpha/sysdep.h: Likewise.
10600         * sysdeps/unix/arm/sysdep.S: Likewise.
10601         * sysdeps/unix/i386/sysdep.S: Likewise.
10602         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10603         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10604         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10605         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10606         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10607         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10608         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10609         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10610         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10611         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10612         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10613         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10614         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10617         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10618         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10619         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10620         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10621         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10622         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10625         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10626         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10627         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10628         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10629         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10630         * sysdeps/x86_64/setjmp.S: Likewise.
10632         * include/math.h: Use IS_IN instead of IS_IN_libm.
10633         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10634         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10635         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10636         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10637         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10638         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10639         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10640         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10641         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10642         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10643         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10644         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10645         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10646         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10647         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10648         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10649         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10650         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10651         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10652         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10653         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10654         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10655         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10656         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10657         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10658         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10659         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10660         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10661         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10662         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10663         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10664         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10665         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10667         Likewise.
10668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10669         Likewise.
10670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10671         Likewise.
10672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10673         Likewise.
10674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10675         Likewise.
10676         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10677         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10678         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10679         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10680         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10681         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10687         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10688         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10689         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10690         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10691         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10692         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10693         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10694         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10695         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10696         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10697         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10698         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10699         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10700         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10702         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10704         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10705         * nptl/pthreadP.h: Likewise.
10706         * nptl_db/structs.def: Likewise.
10707         * sysdeps/arm/sysdep.h: Likewise.
10708         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10709         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10710         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10711         * sysdeps/unix/alpha/sysdep.h: Likewise.
10712         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10713         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10714         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10715         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10716         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10717         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10718         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10719         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10720         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10721         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10722         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10723         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10724         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10725         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10728         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10729         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10730         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10731         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10732         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10733         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10734         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10735         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10736         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10737         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10739         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10740         * nptl/pthreadP.h: Likewise.
10741         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10742         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10743         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10744         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10745         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10746         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10747         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10748         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10749         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10750         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10751         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10752         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10754         Likewise.
10755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10756         Likewise.
10757         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10758         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10759         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10760         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10761         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10762         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10763         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10764         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10766         * dlfcn/dladdr.c: Use IS_IN.
10767         * dlfcn/dladdr1.c: Likewise.
10768         * dlfcn/dlclose.c: Likewise.
10769         * dlfcn/dlerror.c: Likewise.
10770         * dlfcn/dlinfo.c: Likewise.
10771         * dlfcn/dlmopen.c: Likewise.
10772         * dlfcn/dlopen.c: Likewise.
10773         * dlfcn/dlsym.c: Likewise.
10774         * dlfcn/dlvsym.c: Likewise.
10776         * include/ifaddrs.h: Use IS_IN.
10777         * inet/check_pf.c: Likewise.
10778         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10779         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10781         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10782         IS_IN_ldconfig.
10783         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10784         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10786         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10787         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10788         IS_IN (libc).
10790         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10792         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10793         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10794         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10795         * include/libc-symbols.h (IS_IN_LIB): New macro.
10796         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10797         * include/netdb.h: Likewise.
10798         * include/stap-probe.h: Remove all uses of IN_LIB.
10800         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10801         instead of IN_MODULE.
10802         * include/libc-symbols.h (IN_MODULE): Define using
10803         MODULE_NAME.
10804         (PASTE_NAME, PASTE_NAME1): New macros.
10805         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10806         of IN_LIB.
10807         (STAP_PROBE_ASM): Likewise.
10809 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10811         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10812         __mach_init in dlopened libc.
10814 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10816         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10817         * sysdeps/arm/preconfigure: Regenerate.
10819 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10821         * nptl/pthread_create.c (__pthread_create_2_1): Set
10822         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10823         when copying values from IATTR into PD.
10825 2014-11-21  Will Newton  <will.newton@linaro.org>
10826             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10828         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10829         Refactor inline-asm.  Also add comment.
10831         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10832         ElfW macro instead of hardcoded Elf64 types.
10833         (la_aarch64_gnu_pltenter): Likewise.
10834         * sysdeps/aarch64/dl-machine.h
10835         (elf_machine_runtime_setup): Use ElfW(Addr).
10837         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10838         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10839         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10840         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10841         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10842         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10843         (R_AARCH64_TLS_DTPMOD): This.
10844         (R_AARCH64_TLS_DTPREL64): Rename to ...
10845         (R_AARCH64_TLS_DTPREL): This.
10846         (R_AARCH64_TLS_TPREL64): Rename to ...
10847         (R_AARCH64_TLS_TPREL): This.
10848         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10849         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10850         R_AARCH64_TLS_TPREL64.
10851         (elf_machine_rela): Likewise.
10853 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10855         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10856         by setting it to 0.  64b atomics are not supported currently.
10858 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10860         [BZ #16469]
10861         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10862         search domain names.
10864 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10866         [BZ #16469]
10867         * NEWS: Update.
10868         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10869         trailing dot.
10870         * posix/tst-getaddrinfo5.c: New.
10871         * posix/Makefile (tests): Add it.
10873 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10875         [BZ #14498]
10876         * NEWS: Fixed.
10877         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10878         after parsing line but before break_if_match.
10879         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10880         if there is a protocol mismatch.
10882 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10884         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10885         because the potential race is on the user-supplied stream.
10887 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10889         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10890         string literal if not passed a buffer.
10891         * manual/job.texi (ctermid): Update reasoning, note deviation
10892         from posix, suggest mtasurace when not passed a buffer, for
10893         future non-preliminary safety notes.
10895 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10897         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10898         of not passing it a buffer.
10899         Reported by Peng Haitao.
10901 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10903         * manual/Makefile ($(objpfx)stamp-summary): Require
10904         check-safety.sh to pass.
10905         * manual/check-safety.sh: Wish for verification that every
10906         @deftypefn and @deftypefun is followed by a @safety remark.
10908 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10910         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10912         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10913         PTHREAD_CANCEL_ASYNCHRONOUS.
10914         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10915         send SIGCANCEL.
10917         * nptl/default-sched.h: New file.
10918         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10919         * nptl/pthread_create.c: Include it.
10920         (__pthread_create_2_1): Use collect_default_sched instead of making
10921         Linux syscalls here directly.
10923 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10925         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10926         __pthread_once): Use C11 atomics.
10928 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10930         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10932 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10934         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10935         atomic_thread_fence_acquire, atomic_thread_fence_release,
10936         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10937         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10938         atomic_compare_exchange_weak_relaxed,
10939         atomic_compare_exchange_weak_acquire,
10940         atomic_compare_exchange_weak_release,
10941         atomic_exchange_acquire, atomic_exchange_release,
10942         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10943         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10944         atomic_fetch_and_acquire,
10945         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10947 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10949         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10950         USE_ATOMIC_COMPILER_BUILTINS): Define.
10951         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10952         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10953         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10954         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10955         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10956         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10957         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10958         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10959         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10960         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10961         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10962         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10963         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10964         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10965         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10966         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10967         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10968         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10969         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10970         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10971         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10972         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10973         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10974         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10975         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10976         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10977         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10978         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10979         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10980         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10981         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10982         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10983         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10984         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10985         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10986         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10987         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10988         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10989         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10990         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10992 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10994         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10995         the sched_priority value here.  It was already checked when the user
10996         called pthread_attr_setschedparam.
10998         * nptl/tst-bad-schedattr.c: New file.
10999         * nptl/Makefile (tests): Add it.
11001 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11002             Florian Weimer  <fweimer@redhat.com>
11003             Joseph Myers  <joseph@codesourcery.com>
11004             Adam Conrad  <adconrad@0c3.net>
11005             Andreas Schwab  <schwab@suse.de>
11006             Brooks  <bmoses@google.com>
11008         [BZ #17625]
11009         * wordexp-test.c (__dso_handle): Add prototype.
11010         (__register_atfork): Likewise.
11011         (__app_register_atfork): New function.
11012         (registered_forks): New global.
11013         (register_fork): New function.
11014         (test_case): Add 3 new tests for WRDE_CMDSUB.
11015         (main): Call __app_register_atfork.
11016         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11017         fork count is non-zero fail the test.
11018         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11019         is set.
11020         (parse_dollars): Remove check for WRDE_NOCMD.
11021         (parse_dquote): Likewise.
11023 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11025         * Makeconfig (built-modules): List non-library modules to be
11026         built.
11027         (module-cppflags): Include libc-modules.h for
11028         everything except shlib-versions.v.i.
11029         (CPPFLAGS): Use it.
11030         (before-compile): Add libc-modules.h.
11031         ($(common-objpfx)libc-modules.h,
11032         $(common-objpfx)libc-modules.stmp): New targets.
11033         (common-generated): Add libc-modules.h and libc-modules.stmp.
11034         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11035         * include/libc-symbols.h: Don't include libc-modules.h.
11036         * include/libc-modules.h: Remove file.
11037         * scripts/gen-libc-modules.awk: New script to generate
11038         libc-modules.h.
11039         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11040         Depend on libc-modules.stmp.
11042         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11044         * Makeconfig (in-module): Get value of libof set for the
11045         translation unit.
11046         (CPPFLAGS): Use $(in-module).
11047         * Makerules: Don't suffix routine names for nonlib.
11048         * include/libc-modules.h: New file.
11049         * include/libc-symbols.h: Include libc-modules.h
11050         (IS_IN): New macro to replace IS_IN_* macros.
11051         * elf/Makefile: Set libof-* for each routine.
11052         * elf/rtld-Rules: Likewise.
11053         * extra-modules.mk: Likewise.
11054         * iconv/Makefile: Likewise.
11055         * iconvdata/Makefile: Likewise.
11056         * locale/Makefile: Likewise.
11057         * malloc/Makefile: Likewise.
11058         * nss/Makefile: Likewise.
11059         * sysdeps/gnu/Makefile: Likewise.
11060         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11061         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11062         * sysdeps/s390/s390-64/Makefile: Likewise.
11063         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11064         CPPFLAGS for nscd instead of nonlib.
11066 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11068         * nptl/createthread.c: New file.
11070         * nptl/createthread.c: Moved ...
11071         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11073         * nptl/createthread.c: Add proper top-line comment.
11074         (do_clone): Folded into ...
11075         (create_thread): ... here.  Take new arguments STOPPED_START and
11076         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11077         increment __nptl_threads, do event-reporting logic, do
11078         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11079         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11080         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11081         just send SIGCANCEL.
11082         * nptl/pthread_create.c: Forward-declare create_thread before
11083         including createthread.c.
11084         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11085         declaration, and new macro START_THREAD_SELF to replace argument.
11086         Remove return statement.
11087         (report_thread_creation): New function.
11088         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11089         synchronization logic, and __nptl_nthreads increment here, around
11090         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11091         PD->parent_cancelhandling here, before create_thread.  When
11092         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11093         __deallocate_stack, and ENOMEM translation here.
11095 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11097         [BZ #17616]
11098         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11099         (mptwo): Rename to __mptwo.
11100         (__inv): Use __mptwo instead of mptwo.
11101         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11102         (mptwo): Rename to __mptwo.
11103         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11104         of mpone and __mptwo instead of mptwo.
11105         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11106         instead of mpone.
11107         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11108         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11109         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11110         of mpone and __mptwo instead of mptwo.
11111         (__mpranred): Use __mpone instead of mpone.
11112         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11113         variable.
11114         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11115         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11116         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11117         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11118         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11119         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11120         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11121         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11122         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11123         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11124         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11125         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11126         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11127         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11128         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11129         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11130         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11131         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11132         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11134 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11136         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11137         replace BSD Handler xref with BSD Signal Handling.
11139 2014-11-17  Richard Henderson  <rth@redhat.com>
11141         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11142         (_FP_PACK_RAW_2): Remove.
11143         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11144         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11145         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11146         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11147         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11148         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11149         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11150         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11151         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11152         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11153         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11154         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11155         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11156         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11157         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11158         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11160 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11162         * signal/signal.h [__USE_MISC]
11163         (struct sigvec): Remove type.
11164         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11165         (sigvec): Remove declaration.
11166         * sysdeps/posix/sigvec.c: Moved ...
11167         * signal/sigvec.c: ... here, replacing old file.
11168         (struct sigvec): New type, copied from old signal.h definition.
11169         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11170         (__sigvec): Convert definition to prototype.
11171         (sigvec): Replace weak_alias with compat_symbol.
11172         * signal/Versions (libc: GLIBC_2.21): New version set.
11173         * include/signal.h: Remove __sigvec declaration.
11174         * sysdeps/unix/bsd/sigvec.c: Remove file.
11175         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11176         * manual/signal.texi (BSD Handler): Remove subsection.
11177         Move siginterrupt up to ...
11178         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11179         (Blocking in BSD): Fold subsection into its parent.
11180         * NEWS: Mention sigvec removal.
11182 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11184         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11185         (DLA_FMS): Make definition conditional only on [__FMA4__].
11186         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11187         definition.
11189         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11190         Make definition conditional only on [PROF].
11191         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11192         definition.
11193         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11194         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11196         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11197         !__GNUC__].
11198         * include/signal.h (__sigpause): Move declaration above call to
11199         libc_hidden_proto.
11200         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11201         variable.
11202         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11203         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11205 2014-11-14  David S. Miller  <davem@davemloft.net>
11207         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11208         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11210 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11212         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11213         * configure: Regenerated.
11214         * manual/install.texi (Tools for Compilation): Document a
11215         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11216         compiler verified to work.
11217         * INSTALL: Regenerated.
11219         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11220         redeclare with asm name.
11221         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11222         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11223         including <string.h>.
11224         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11225         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11226         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11227         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11228         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11230         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11232 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11234         * stdlib/strtol.c (__strtol): Use prototype definition.
11236         [BZ #17594]
11237         * stdlib/strtol.c (SYM__): New macro.
11238         (SYM__1): Likewise.
11239         (__strtol): Likewise.
11240         (strtol): Rename to __strtol and define as weak alias of
11241         __strtol.  Use libc_hidden_weak.
11243 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11245         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11246         Use numbered labels in inline assembly.
11248 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11250         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11251         Add setjmp LIBC_PROBE.
11252         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11253         Likewise.
11254         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11255         Add longjmp, longjmp_target LIBC_PROBE.
11256         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11257         Likewise.
11259 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11261         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11262         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11263         to get rid of unused variable warning.
11265 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11267         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11268         Check for unwind_backtrace ==  NULL only in SHARED case.
11269         (__backchain_backtrace): Compile only in SHARED case.
11270         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11271         Likewise.
11272         (__backchain_backtrace): Declare as static.
11274 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11276         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11277         (__libc_multiple_threads_ptr): Variable moved ...
11278         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11280 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11282         * conform/GlibcConform.pm: New file.
11283         * conform/conformtest.pl: Use GlibcConform module.
11284         * conform/linknamespace.pl: New file.
11285         * conform/list-header-symbols.pl: Likewise.
11286         * conform/Makefile (linknamespace-symlists-base): New variable.
11287         (linknamespace-symlists-tests): Likewise.
11288         (linknamespace-header-base): Likewise.
11289         (linknamespace-header-tests): Likewise.
11290         (tests-special): Add new tests.
11291         ($(linknamespace-symlists-tests)): New rule.
11292         (linknamespace-libs): New variable.
11293         ($(objpfx)symlist-stdlibs): New rule.
11294         ($(linknamespace-header-tests)): Likewise.
11295         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11296         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11297         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11298         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11299         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11300         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11301         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11302         (test-xfail-ISO/math.h/linknamespace): Likewise.
11303         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11304         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11305         (test-xfail-ISO/time.h/linknamespace): Likewise.
11306         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11307         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11308         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11309         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11310         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11311         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11312         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11313         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11314         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11315         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11316         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11317         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11318         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11319         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11320         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11321         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11322         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11323         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11324         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11325         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11326         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11327         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11328         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11329         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11330         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11331         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11332         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11333         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11334         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11335         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11336         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11337         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11338         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11339         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11340         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11341         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11342         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11343         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11344         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11345         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11346         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11347         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11348         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11349         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11350         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11351         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11352         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11353         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11354         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11355         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11356         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11357         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11358         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11359         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11360         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11361         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11362         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11363         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11364         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11365         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11366         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11367         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11368         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11369         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11370         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11371         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11372         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11373         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11374         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11375         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11376         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11377         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11378         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11379         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11380         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11381         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11382         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11383         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11384         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11385         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11386         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11387         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11388         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11389         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11390         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11391         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11392         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11393         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11394         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11395         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11396         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11397         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11398         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11399         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11400         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11401         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11402         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11403         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11404         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11405         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11406         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11407         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11408         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11409         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11410         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11411         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11412         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11413         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11414         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11415         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11416         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11417         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11418         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11419         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11420         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11421         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11422         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11423         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11424         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11425         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11426         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11427         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11428         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11429         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11430         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11431         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11432         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11433         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11434         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11435         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11436         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11437         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11438         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11439         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11440         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11441         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11442         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11443         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11444         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11445         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11446         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11447         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11448         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11449         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11450         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11451         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11452         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11453         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11454         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11455         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11457         [BZ #17589]
11458         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11459         of fgets_unlocked.
11461         [BZ #17585]
11462         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11463         (memmem): Rename to __memmem and define as weak alias of
11464         __memmem.  Use libc_hidden_weak.
11465         (__memmem): Use libc_hidden_def.
11466         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11467         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11468         memmem.
11470         [BZ #17582]
11471         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11472         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11473         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11474         and define as weak alias of __fgets_unlocked.  Use
11475         libc_hidden_weak.
11476         (__fgets_unlocked): Use libc_hidden_def.
11477         * include/stdio.h (__fgets_unlocked): Declare.  Use
11478         libc_hidden_proto.
11479         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11480         __fgets_unlocked instead of fgets_unlocked.
11481         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11482         (GET_NPROCS_CONF_PARSER): Likewise.
11483         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11484         (GET_NPROCS_CONF_PARSER): Likewise.
11486         [BZ #17574]
11487         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11488         weak alias of __wmemset.  Use libc_hidden_weak.
11489         (__wmemset): Use libc_hidden_def.
11490         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11491         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11492         of wmemset.
11494         [BZ #17573]
11495         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11496         with asm name __mempcpy.
11497         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11499         [BZ #17572]
11500         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11501         and define as weak alias of __rawmemchr.
11502         (__rawmemchr): Do not define as strong alias of rawmemchr.
11504         [BZ #17571]
11505         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11506         alias of __qsort_r.
11507         (qsort): Call __qsort_r instead of qsort_r.
11508         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11509         (__qsort_r): Declare.  Call libc_hidden_proto.
11510         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11511         instead of qsort_r.
11512         * nscd/gai.c (__qsort_r): Define to qsort_r.
11513         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11514         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11515         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11517         [BZ #17570]
11518         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11519         define as weak alias of __malloc_info.
11521         [BZ #17584]
11522         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11523         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11524         (__rewinddir): Use libc_hidden_def.
11525         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11526         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11527         (__rewinddir): Use libc_hidden_def.
11528         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11529         weak alias of __rewinddir.  Don't use libc_hidden_def.
11530         (__rewinddir): Use libc_hidden_def.
11531         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11532         (__rewinddir): Use libc_hidden_proto.
11533         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11534         rewinddir.
11535         (__getcwd): Use __rewinddir instead of rewinddir.
11537         [BZ #17583]
11538         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11539         alias of __fileno.  Use libc_hidden_weak.
11540         (__fileno): Use libc_hidden_def.
11541         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11542         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11543         alias of __ftello.
11544         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11545         __ftello.
11546         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11547         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11548         libc_hidden_def.
11549         (fread_unlocked): Don't use libc_hidden_ver.
11550         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11551         and define as weak alias of __fread_unlocked.  Don't use
11552         libc_hidden_def.
11553         (__fread_unlocked): Use libc_hidden_def.
11554         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11555         (ftello): Don't use libc_hidden_proto.
11556         (__ftello): Declare.  Use libc_hidden_proto.
11557         (fread_unlocked): Don't use libc_hidden_proto.
11558         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11559         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11560         and __ftello instead of fileno, fread_unlocked and ftello.
11562 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11564         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11565         GOT12.
11566         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11567         Likewise.
11568         (_dl_start_user): Likewise.
11569         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11571 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11572             Siddhesh Poyarekar  <siddhesh@redhat.com>
11574         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11575         Move argv and envp down instead of moving argc up.
11576         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11578 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11580         [BZ #17506]
11581         * test-skeleton.c (main): Return successful if one of
11582         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11583         * string/tst-strcoll-overflow.c: Define expected status.
11585 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11587         [BZ #17475]
11588         * locale/iso-639.def: Define Bhili and Tulu language codes.
11590 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11592         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11594 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11596         [BZ #17555]
11597         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11599 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11601         * configure.ac: Updated check of minimal required version to
11602         2.22.
11603         * manual/install.texi (Tools for Compilation): Updated version
11604         number.
11605         * configure: Regenerated.
11606         * INSTALL: Likewise.
11608 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11610         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11611         __tls_get_addr.
11613 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11615         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11616         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11617         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11618         libc_hidden_weak.
11619         (waitpid): Define as alias of __waitpid.
11620         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11621         __waitpid.
11622         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11623         libc_hidden_weak.
11624         (waitpid): Define as alias of __waitpid.
11625         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11626         __libc_waitpid alias.
11627         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11628         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11629         Likewise.
11630         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11631         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11632         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11633         alias.
11634         * sysdeps/unix/sysv/linux/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.
11640 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11642         * manual/llio.texi: Add comment that write safety has been
11643         fixed in Linux.
11645         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11646         (localplt-build-dso): Add elf/ld.so.
11647         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11648         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11649         and free for ld.so.
11650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11651         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11653         Likewise.
11654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11655         Likewise.
11656         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11657         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11658         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11659         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11660         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11661         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11662         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11663         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11664         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11665         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11666         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11668 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11670         [BZ #14132]
11671         * include/libc-symbols.h (INTUSE): Remove macro.
11672         (INTDEF): Likewise.
11673         (INTVARDEF): Likewise.
11674         (_INTVARDEF): Likewise.
11675         (INTDEF2): Likewise.
11676         (INTVARDEF2): Likewise.
11677         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11678         rtld_hidden_def instead of INTVARDEF.
11679         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11680         (_dl_starting_up_internal): Remove declaration.
11681         (_dl_starting_up): Use rtld_hidden_proto.
11682         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11683         declaration.
11684         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11685         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11686         _dl_starting_up.
11687         * elf/dl-writev.h (_dl_writev): Likewise.
11688         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11689         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11690         _dl_starting_up_internal.
11692 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11694         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11695         test-skeleton.c.
11697 2014-11-05  Will Newton  <will.newton@linaro.org>
11699         * benchtests/Makefile: (bench-malloc): Add malloc thread
11700         scalability benchmark.
11701         * benchtests/bench-malloc-threads.c: New file.
11703 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11705         * sysdeps/aarch64/strchrnul.S: New file.
11707 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11709         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11710         definition.
11711         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11712         Likwise.
11713         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11714         Likewise.
11715         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11716         Likewise.
11717         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11718         Likewise.
11719         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11720         Likewise.
11722 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11724         * catgets/test-gencat.c: Use test-skeleton.c.
11725         * catgets/tst-catgets.c: Likewise.
11726         * csu/tst-empty.c: Likewise.
11727         * elf/tst-audit2.c: Likewise.
11728         * elf/tst-global1.c: Likewise.
11729         * elf/tst-pathopt.c: Likewise.
11730         * elf/tst-piemod1.c: Likewise.
11731         * elf/tst-tls10.c: Likewise.
11732         * elf/tst-tls11.c: Likewise.
11733         * elf/tst-tls12.c: Likewise.
11734         * gnulib/tst-gcc.c: Likewise.
11735         * iconvdata/tst-e2big.c: Likewise.
11736         * iconvdata/tst-loading.c: Likewise.
11737         * iconv/tst-iconv1.c: Likewise.
11738         * iconv/tst-iconv2.c: Likewise.
11739         * inet/test-inet6_opt.c: Likewise.
11740         * inet/tst-gethnm.c: Likewise.
11741         * inet/tst-network.c: Likewise.
11742         * inet/tst-ntoa.c: Likewise.
11743         * intl/tst-codeset.c: Likewise.
11744         * intl/tst-gettext2.c: Likewise.
11745         * intl/tst-gettext3.c: Likewise.
11746         * intl/tst-ngettext.c: Likewise.
11747         * intl/tst-translit.c: Likewise.
11748         * io/test-stat.c: Likewise.
11749         * libio/test-fmemopen.c: Likewise.
11750         * libio/tst-freopen.c: Likewise.
11751         * libio/tst-sscanf.c: Likewise.
11752         * libio/tst-ungetwc1.c: Likewise.
11753         * libio/tst-ungetwc2.c: Likewise.
11754         * libio/tst-widetext.c: Likewise.
11755         * localedata/tst-ctype.c: Likewise.
11756         * localedata/tst-digits.c: Likewise.
11757         * localedata/tst-leaks.c: Likewise.
11758         * localedata/tst-mbswcs1.c: Likewise.
11759         * localedata/tst-mbswcs2.c: Likewise.
11760         * localedata/tst-mbswcs3.c: Likewise.
11761         * localedata/tst-mbswcs4.c: Likewise.
11762         * localedata/tst-mbswcs5.c: Likewise.
11763         * localedata/tst-setlocale.c: Likewise.
11764         * localedata/tst-trans.c: Likewise.
11765         * localedata/tst-wctype.c: Likewise.
11766         * localedata/tst-xlocale1.c: Likewise.
11767         * login/tst-grantpt.c: Likewise.
11768         * malloc/tst-calloc.c: Likewise.
11769         * malloc/tst-malloc.c: Likewise.
11770         * malloc/tst-mallocstate.c: Likewise.
11771         * malloc/tst-mcheck.c: Likewise.
11772         * malloc/tst-mtrace.c: Likewise.
11773         * malloc/tst-obstack.c: Likewise.
11774         * math/atest-exp2.c: Likewise.
11775         * math/atest-exp.c: Likewise.
11776         * math/atest-sincos.c: Likewise.
11777         * math/test-matherr.c: Likewise.
11778         * math/test-misc.c: Likewise.
11779         * math/test-powl.c: Likewise.
11780         * math/tst-definitions.c: Likewise.
11781         * misc/tst-dirname.c: Likewise.
11782         * misc/tst-efgcvt.c: Likewise.
11783         * misc/tst-fdset.c: Likewise.
11784         * misc/tst-hsearch.c: Likewise.
11785         * misc/tst-mntent2.c: Likewise.
11786         * nptl/tst-sem7.c: Likewise.
11787         * nptl/tst-sem8.c: Likewise.
11788         * nptl/tst-sem9.c: Likewise.
11789         * nss/test-netdb.c: Likewise.
11790         * posix/tst-fnmatch.c: Likewise.
11791         * posix/tst-getlogin.c: Likewise.
11792         * posix/tst-gnuglob.c: Likewise.
11793         * posix/tst-mmap.c: Likewise.
11794         * pwd/tst-getpw.c: Likewise.
11795         * resolv/tst-inet_ntop.c: Likewise.
11796         * rt/tst-timer.c: Likewise.
11797         * stdio-common/test-fseek.c: Likewise.
11798         * stdio-common/test-popen.c: Likewise.
11799         * stdio-common/test-vfprintf.c: Likewise.
11800         * stdio-common/tst-cookie.c: Likewise.
11801         * stdio-common/tst-fileno.c: Likewise.
11802         * stdio-common/tst-gets.c: Likewise.
11803         * stdio-common/tst-obprintf.c: Likewise.
11804         * stdio-common/tst-perror.c: Likewise.
11805         * stdio-common/tst-sprintf2.c: Likewise.
11806         * stdio-common/tst-sprintf3.c: Likewise.
11807         * stdio-common/tst-sprintf.c: Likewise.
11808         * stdio-common/tst-swprintf.c: Likewise.
11809         * stdio-common/tst-tmpnam.c: Likewise.
11810         * stdio-common/tst-unbputc.c: Likewise.
11811         * stdio-common/tst-wc-printf.c: Likewise.
11812         * stdlib/tst-environ.c: Likewise.
11813         * stdlib/tst-fmtmsg.c: Likewise.
11814         * stdlib/tst-limits.c: Likewise.
11815         * stdlib/tst-rand48-2.c: Likewise.
11816         * stdlib/tst-rand48.c: Likewise.
11817         * stdlib/tst-random2.c: Likewise.
11818         * stdlib/tst-random.c: Likewise.
11819         * stdlib/tst-strtol.c: Likewise.
11820         * stdlib/tst-strtoll.c: Likewise.
11821         * stdlib/tst-tls-atexit.c: Likewise.
11822         * stdlib/tst-xpg-basename.c: Likewise.
11823         * string/test-ffs.c: Likewise.
11824         * string/tst-bswap.c: Likewise.
11825         * string/tst-inlcall.c: Likewise.
11826         * string/tst-strtok.c: Likewise.
11827         * string/tst-strxfrm.c: Likewise.
11828         * sysdeps/x86_64/tst-audit10.c: Likewise.
11829         * sysdeps/x86_64/tst-audit3.c: Likewise.
11830         * sysdeps/x86_64/tst-audit4.c: Likewise.
11831         * sysdeps/x86_64/tst-audit5.c: Likewise.
11832         * time/tst-ftime_l.c: Likewise.
11833         * time/tst-getdate.c: Likewise.
11834         * time/tst-mktime3.c: Likewise.
11835         * time/tst-mktime.c: Likewise.
11836         * time/tst-posixtz.c: Likewise.
11837         * time/tst-strptime2.c: Likewise.
11838         * time/tst-strptime3.c: Likewise.
11839         * wcsmbs/tst-btowc.c: Likewise.
11840         * wcsmbs/tst-mbrtowc.c: Likewise.
11841         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11842         * wcsmbs/tst-wchar-h.c: Likewise.
11843         * wcsmbs/tst-wcpncpy.c: Likewise.
11844         * wcsmbs/tst-wcrtomb.c: Likewise.
11845         * wcsmbs/tst-wcsnlen.c: Likewise.
11846         * wcsmbs/tst-wcstof.c: Likewise.
11848 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11850         [BZ #14132]
11851         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11852         INTDEF.
11853         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11854         declaration.
11855         (_dl_mcount): Use rtld_hidden_proto.
11856         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11857         _dl_mcount.
11858         * elf/rtld.c (_rtld_global_ro): Likewise.
11860         [BZ #14132]
11861         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11862         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11863         of _dl_init_internal.
11864         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11865         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11866         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11867         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11868         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11869         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11870         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11871         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11872         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11873         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11874         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11875         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11876         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11877         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11878         * sysdeps/tile/dl-start.S (_start): Likewise.
11879         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11880         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11882         [BZ #14132]
11883         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11884         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11885         (rtld_progname): Make macro definition unconditional.
11886         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11887         INTDEF.
11888         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11889         (dl_main): Likewise.
11890         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11891         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11892         instead of _dl_argv_internal.
11893         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11894         __GI__dl_argv instead of INTUSE(_dl_argv).
11895         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11896         __GI__dl_argv instead of _dl_argv_internal.
11898         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11899         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11900         macro.
11901         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11902         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11903         New macro.
11904         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11905         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11906         macro.
11907         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11908         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11910 2014-11-04  Andreas Schwab  <schwab@suse.de>
11912         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11914 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11916         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11917         mtvsrd instruction in binary form.
11919 2014-11-03  Andreas Schwab  <schwab@suse.de>
11921         [BZ #17522]
11922         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11923         for less than MB_LEN_MAX use a local buffer of that size.
11924         * libio/tst-fputws.c: New file.
11925         * libio/Makefile (tests): Add tst-fputws.
11927 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11929         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11930         the size of the fpu_fr.fpu_dregs[] array.
11932 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11934         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11935         (__nanosleep): Do not define as alias.
11936         (nanosleep): Define as alias of __nanosleep.
11937         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11938         __libc_nanosleep name.
11940 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11942         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11943         install.texi in comment.
11945 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11947         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11948         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11949         ... add here and use lwsync or sync ...
11950         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11951         ... and add here using lwsync.
11953 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11955         * elf/dl-machine-reject-phdr.h: New file.
11956         * elf/dl-load.c: #include that.
11957         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11958         if that returned true.
11960 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11962         [BZ #17496]
11963         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11964         gen-as-const-headers chunk.  Add a big scare comment after the last
11965         safe place to touch before-compile.
11967 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11969         * manual/install.texi (Tools for Compilation): Update autoconf
11970         version requirements.
11971         * INSTALL: Regenerated.
11973         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11974         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11975         (__libc_pselect): Likewise.
11977         [BZ #14138]
11978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11983 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11985         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11986         correct barrier instruction.
11987         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11988         Likewise.
11989         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11990         Likewise.
11992 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11994         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11995         after defining inlines.  Instead, just use parens to defeat macro
11996         expansion of __isctype in its declaration.
11998 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12000         * include/sys/uio.h (__libc_readv): Remove declaration.
12001         (__libc_writev): Likewise.
12002         * misc/readv.c (__libc_readv): Rename to __readv.
12003         (__readv): Do not define as alias.
12004         (readv): Define as alias of __readv.
12005         * misc/writev.c (__libc_writev): Rename to __writev.
12006         (__writev): Do not define as alias.
12007         (writev): Define as alias of __writev.
12008         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12009         (__readv): Do not define as alias.
12010         (readv): Define unconditionally as alias of __readv.
12011         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12012         (__writev): Do not define as alias.
12013         (writev): Define unconditionally as alias of __writev.
12014         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12015         name.
12016         (writev): Do not define __libc_writev name.
12018 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12020         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12021         (convert_charseq): New function, broken out of ...
12022         (use_from_charmap): ... here.  Call it.
12023         (use_to_charmap): Use convert_charseq and free instead of duplicating
12024         its code with a variable-length stack struct.
12026 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12028         * include/fcntl.h (__libc_creat): Remove declaration.
12029         * io/creat.c (__libc_creat): Rename to creat.
12030         (creat): Do not define as alias.
12031         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12032         of creat instead of __libc_creat.
12033         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12034         to creat.
12035         (creat): Do not define as alias.
12036         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12037         __libc_creat.
12038         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12039         __libc_creat name.
12040         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12041         Likewise.
12043 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12045         * manual/llio.texi: Add comments discussing why write() may be
12046         considered MT-unsafe on Linux.
12048 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12050         * dl-load.c (local_strdup): Remove.
12051         (expand_dynamic_string_token): Use __strdup.
12052         (decompose_rpath): Likewise.
12053         (_dl_map_object): Likewise.
12055 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12057         [BZ #14132]
12058         * sysdeps/generic/unwind-dw2-fde.c
12059         (__register_frame_info_bases_internal): Do not declare.
12060         (__register_frame_info_table_bases_internal): Likewise.
12061         (__deregister_frame_info_bases_internal): Likewise.
12062         (__register_frame_info_bases): Declare and use hidden_proto before
12063         definition.  Use hidden_def instead of INTDEF.
12064         (__register_frame_info_table_bases): Likewise.
12065         (__deregister_frame_info_bases): Likewise.
12066         (__register_frame_info): Do not use INTUSE.
12067         (__register_frame): Likewise.
12068         (__register_frame_info_table): Likewise.
12069         (__register_frame_table): Likewise.
12070         (__deregister_frame_info): Likewise.
12071         (__deregister_frame): Likewise.
12073 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12075         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12076         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12077         not undefine.
12078         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12079         Likewise.
12080         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12081         Likewise.
12083 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12085         [BZ #14138]
12086         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12087         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12088         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12089         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12090         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12091         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12092         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12093         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12094         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12095         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12096         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12097         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12098         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12099         syscall.
12100         (setfsuid): Likewise.
12101         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12102         (setfsuid): Likewise.
12103         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12104         (setfsuid): Likewise.
12105         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12106         Likewise.
12107         (setfsuid): Likewise.
12108         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12109         (setfsuid): Likewise.
12110         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12111         Likewise.
12112         (setfsuid): Likewise.
12114 2014-10-27  Andreas Schwab  <schwab@suse.de>
12116         [BZ #17501]
12117         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12118         check for Slow_SSE4_2 feature bit.
12119         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12120         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12121         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12122         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12124 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12126         * configure.ac: Validate compiler version with a empirical test of
12127         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12128         $CC -v output.
12129         * configure: Regenerated.
12131         * inet/htons.c (htons): Prototypify.
12132         * inet/htonl.c (htonl): Likewise.
12134 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12136         * string/strncat.c (strncat): Improve performance by using strlen.
12138 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12140         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12142 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12144         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12145         Call libc_fetestexcept_aarch64.
12147 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12149         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12150         Call libc_feholdexcept_aarch64.
12152 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12154         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12155         Call get_rounding_mode.
12157 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12159         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12160         Simplify logic.
12162 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12164         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12165         Simplify logic.
12167 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12169         [BZ #14138]
12170         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12171         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12172         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12173         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12174         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12175         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12176         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12177         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12178         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12179         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12180         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12181         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12182         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12183         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12184         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12185         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12186         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12187         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12188         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12189         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12190         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12191         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12192         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12193         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12194         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12195         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12196         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12197         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12198         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12199         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12200         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12201         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12202         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12203         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12204         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12205         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12206         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12207         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12208         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12209         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12210         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12211         syscall.
12212         (geteuid): Likewise.
12213         (getgid): Likewise.
12214         (getuid): Likewise.
12215         (getresgid): Likewise.
12216         (getresuid): Likewise.
12217         (getgroups): Likewise.
12218         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12219         (geteuid): Likewise.
12220         (getgid): Likewise.
12221         (getuid): Likewise.
12222         (getresgid): Likewise.
12223         (getresuid): Likewise.
12224         (getgroups): Likewise.
12225         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12226         (geteuid): Likewise.
12227         (getgid): Likewise.
12228         (getuid): Likewise.
12229         (getresgid): Likewise.
12230         (getresuid): Likewise.
12231         (getgroups): Likewise.
12232         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12233         Likewise.
12234         (geteuid): Likewise.
12235         (getgid): Likewise.
12236         (getuid): Likewise.
12237         (getresgid): Likewise.
12238         (getresuid): Likewise.
12239         (getgroups): Likewise.
12240         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12241         (geteuid): Likewise.
12242         (getgid): Likewise.
12243         (getuid): Likewise.
12244         (getresgid): Likewise.
12245         (getresuid): Likewise.
12246         (getgroups): Likewise.
12247         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12248         Likewise.
12249         (geteuid): Likewise.
12250         (getgid): Likewise.
12251         (getuid): Likewise.
12252         (getgroups): Likewise.
12254         [BZ #14138]
12255         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12256         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12257         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12258         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12259         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12260         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12261         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12262         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12263         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12264         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12265         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12266         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12267         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12268         __chown.
12269         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12270         (lchown): Likewise.
12271         (fchown): Likewise.
12272         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12273         Likewise.
12274         (lchown): Likewise.
12275         (fchown): Likewise.
12276         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12277         (lchown): Likewise.
12278         (fchown): Likewise.
12279         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12280         Likewise.
12281         (lchown): Likewise.
12282         (fchown): Likewise.
12284 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12286         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12287         Simplify logic.
12289 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12291         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12292         Cleanup logic.
12294 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12296         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12297         Remove unused include.
12299 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12301         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12302         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12303         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12304         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12306 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12307             Helge Deller <deller@gmx.de>
12309         [BZ #17508]
12310         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12311         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12312         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12314 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12316         [BZ #14132]
12317         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12318         Remove macro definition.
12319         (__ashrdi3_v_glibc20): Likewise.
12320         (__lshrdi3_v_glibc20): Likewise.
12321         (__cmpdi2_v_glibc20): Likewise.
12322         (__ucmpdi2_v_glibc20): Likewise.
12323         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12324         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12325         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12326         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12327         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12328         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12330 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12332         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12333         old GNU extension [0] syntax.
12334         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12335         alloca rather than an array member with variable length.
12336         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12337         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12338         (parse_opt): ... here.  Likewise use alloca there.
12339         Validate the -i argument before checking for rootness.
12340         (send_shutdown): New function, broken out of ...
12341         (parse_opt): ... here.
12343 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12345         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12346         macro to get at the _rt_local_ro field.
12347         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12348         ([PIC] case) or _dl_hwcap ([!PIC] case).
12349         * sysdeps/arm/setjmp.S: Likewise.
12351         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12352         * sysdeps/arm/configure.ac: New check to define it.
12353         * sysdeps/arm/configure: Regenerated.
12354         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12355         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12356         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12357         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12358         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12359         Use move/movt pair instead of a load.
12360         (LDST_GLOBAL): Macro removed.
12361         (LDR_GLOBAL): New macro replaces it.
12362         (LDR_HIDDEN): New macro.
12363         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12364         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12366         * setjmp/tst-setjmp-static.c: New file.
12367         * setjmp/Makefile (tests): Add it.
12368         (tests-static): New variable.
12370 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12372         [BZ #17485]
12373         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12375 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12377         [BZ #14132]
12378         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12380 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12382         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12384 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12386         * io/fts.c (dirent_not_directory): New function.
12387         (fts_build): Call it.
12389 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12391         * nptl/version.c (__nptl_main): Use normal __write rather than
12392         INTERNAL_SYSCALL.
12393         (banner): Update copyright years.
12395         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12396         gettimeofday.
12397         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12398         * nptl/pthread_cond_timedwait.c: Likewise.
12399         * nptl/pthread_mutex_timedlock.c: Likewise.
12400         * nptl/sem_timedwait.c: Likewise.
12402         * sysdeps/nptl/bits/libc-lock.h
12403         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12404         (__libc_lock_init_recursive): Return void, not 0.
12405         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12406         (__libc_rwlock_init): Likewise.
12407         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12409 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12411         [BZ #15215]
12412         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12413         (__pthread_once_slow): ... here.
12414         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12415         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12417 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12419         [BZ #15215]
12420         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12421         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12422         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12423         * nptl/pthread_once.c (__pthread_once): Likewise.
12424         Update comments.
12426 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12428         [BZ #14138]
12429         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12430         name.
12431         (writev): Use __libc_writev as strong name.
12432         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12433         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12435 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12437         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12439         * sysdeps/i386/nptl/tls.h
12440         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12441         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12442         New macros.
12443         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12444         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12445         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12446         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12447         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12448         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12450         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12451         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12452         on [__NR_futex].
12453         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12454         broken out of ...
12455         (__pthread_mutex_init): ... here.  Call it.
12456         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12457         Conditionalize PI cases on [__NR_futex].
12458         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12459         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12460         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12462         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12463         conditional on [SIGSETXID].
12464         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12465         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12466         is defined.  Likewise for SIGSETXID.
12467         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12468         Conditionalize definitions on [SIGSETXID].
12469         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12470         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12471         unblocking on [SIGCANCEL].
12473         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12474         [__NR_set_robust_list].
12476 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12478         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12479         (do_compare): Likewise.
12481 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12483         [BZ #15884]
12484         * string/strcoll_l.c: Don't include stdio.h.
12485         (coll_seq): Remove members idxarr and rulearr.
12486         (get_next_seq_cached): Remove function.
12487         (get_next_seq): Likewise.
12488         (get_next_seq_nocache): Rename to get_next_seq.
12489         (do_compare): Remove function.
12490         (do_compare_nocache): Rename to do_compare.
12491         (STRCOLL): Remove weight and rules cache.
12493 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12495         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12496         * sysdeps/arm/sfp-machine.h: ... to here.
12497         * sysdeps/arm/Implies: Remove arm/soft-fp.
12499 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12501         * conform/data/sys/utsname.h-data (*_t): Allow.
12502         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12503         [POSIX] (WEXITED): Do not expect constant.
12504         [POSIX] (WSTOPPED): Likewise.
12505         [POSIX] (WNOHANG): Likewise.
12506         [POSIX] (WNOWAIT): Likewise.
12507         [POSIX] (siginfo_t): Do not expect type or elements.
12508         [POSIX] (pid_t): Do not expect type.
12509         [POSIX] (signal.h): Do not allow header.
12510         [POSIX] (sys/resource.h): Likewise.
12511         [POSIX] (si_*): Do not allow pattern.
12512         [POSIX] (W*): Likewise.
12513         [POSIX] (P_*): Likewise.
12514         [POSIX] (BUS_*): Likewise.
12515         [POSIX] (CLD_*): Likewise.
12516         [POSIX] (FPE_*): Likewise.
12517         [POSIX] (ILL_*): Likewise.
12518         [POSIX] (POLL_*): Likewise.
12519         [POSIX] (SEGV_*): Likewise.
12520         [POSIX] (SI_*): Likewise.
12521         [POSIX] (TRAP_*): Likewise.
12522         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12523         variable.
12525 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12527         [BZ #12926]
12528         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12529         infinite loop when __recvmsg returns 0.
12531 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12533         * CANCEL-FCT-WAIVE: Remove file.
12534         * CANCEL-FILE-WAIVE: Likewise.
12536         [BZ #14132]
12537         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12538         instead of INTVARDEF.
12539         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12540         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12541         rtld_hidden_data_def instead of INTVARDEF.
12542         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12543         * elf/dl-deps.c (expand_dst): Likewise.
12544         * elf/dl-load.c (_dl_dst_count): Likewise.
12545         (_dl_dst_substitute): Likewise.
12546         (decompose_rpath): Likewise.
12547         (_dl_init_paths): Likewise.
12548         (open_path): Likewise.
12549         (_dl_map_object): Likewise.
12550         * elf/rtld.c (dl_main): Likewise.
12551         (process_dl_audit): Likewise.
12552         (process_envvars): Likewise.
12553         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12554         Remove declaration.
12555         (__libc_enable_secure): Use rtld_hidden_proto.
12557 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12559         * elf/dl-load.c
12560         (add_path): New function broken out of _dl_rtld_di_serinfo.
12561         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12563 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12565         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12566         parentheses around macro arguments.
12567         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12568         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12569         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12570         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12571         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12572         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12573         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12574         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12575         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12576         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12577         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12578         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12579         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12580         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12581         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12582         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12583         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12586         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12587         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12588         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12589         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12590         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12591         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12592         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12593         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12594         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12595         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12596         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12597         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12598         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12599         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12600         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12601         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12602         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12603         Likewise.
12604         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12605         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12606         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12607         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12610         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12611         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12612         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12613         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12614         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12615         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12616         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12617         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): 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         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12632         (_FP_FRAC_SRS_1): Likewise.
12633         (_FP_FRAC_CLZ_1): Likewise.
12634         (_FP_MUL_MEAT_1_imm): Likewise.
12635         (_FP_MUL_MEAT_1_wide): Likewise.
12636         (_FP_MUL_MEAT_1_hard): Likewise.
12637         (_FP_SQRT_MEAT_1): Likewise.
12638         (_FP_FRAC_ASSEMBLE_1): Likewise.
12639         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12640         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12641         (__FP_CLZ_2): Likewise.
12642         (_FP_MUL_MEAT_2_wide): Likewise.
12643         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12644         (_FP_MUL_MEAT_2_gmp): Likewise.
12645         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12646         (_FP_SQRT_MEAT_2): Likewise.
12647         (_FP_FRAC_ASSEMBLE_2): Likewise.
12648         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12649         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12650         (_FP_FRAC_CLZ_4): Likewise.
12651         (_FP_MUL_MEAT_4_wide): Likewise.
12652         (_FP_MUL_MEAT_4_gmp): Likewise.
12653         (_FP_SQRT_MEAT_4): Likewise.
12654         (_FP_FRAC_ASSEMBLE_4): Likewise.
12655         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12656         * soft-fp/op-common.h (_FP_CMP): Likewise.
12657         (_FP_CMP_EQ): Likewise.
12658         (_FP_CMP_UNORD): Likewise.
12659         (_FP_TO_INT): Likewise.
12660         (_FP_FROM_INT): Likewise.
12661         [!__FP_CLZ] (__FP_CLZ): Likewise.
12662         (_FP_DIV_HELP_imm): Likewise.
12663         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12664         Likewise.
12665         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12666         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12667         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12668         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12669         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12670         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12671         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12672         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12673         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12674         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12675         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12676         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12677         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12678         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12679         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12680         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12681         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12682         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12683         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12684         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12685         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12686         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12687         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12688         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12689         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12690         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12691         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12692         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12693         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12694         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12695         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12696         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12697         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12698         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12699         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12700         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12701         (FP_UNPACK_RAW_SP): Likewise.
12702         (FP_PACK_RAW_S): Likewise.
12703         (FP_PACK_RAW_SP): Likewise.
12704         (FP_UNPACK_S): Likewise.
12705         (FP_UNPACK_SP): Likewise.
12706         (FP_UNPACK_SEMIRAW_S): Likewise.
12707         (FP_UNPACK_SEMIRAW_SP): Likewise.
12708         (FP_PACK_S): Likewise.
12709         (FP_PACK_SP): Likewise.
12710         (FP_PACK_SEMIRAW_S): Likewise.
12711         (FP_PACK_SEMIRAW_SP): Likewise.
12712         (_FP_SQRT_MEAT_S): Likewise.
12713         (FP_CMP_S): Likewise.
12714         (FP_CMP_EQ_S): Likewise.
12715         (FP_CMP_UNORD_S): Likewise.
12716         (FP_TO_INT_S): Likewise.
12717         (FP_FROM_INT_S): Likewise.
12719         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12721         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12722         (FP_EX_INVALID_IMZ): Likewise.
12723         (FP_EX_INVALID_IMZ_FMA): Likewise.
12724         (FP_EX_INVALID_ISI): Likewise.
12725         (FP_EX_INVALID_ZDZ): Likewise.
12726         (FP_EX_INVALID_IDI): Likewise.
12727         (FP_EX_INVALID_SQRT): Likewise.
12728         (FP_EX_INVALID_CVI): Likewise.
12729         (FP_EX_INVALID_VC): Likewise.
12730         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12731         "invalid" exceptions.
12732         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12733         (_FP_ADD_INTERNAL): Likewise.
12734         (_FP_MUL): Likewise.
12735         (_FP_FMA): Likewise.
12736         (_FP_DIV): Likewise.
12737         (_FP_CMP_CHECK_NAN): Likewise.
12738         (_FP_SQRT): Likewise.
12739         (_FP_TO_INT): Likewise.
12740         (FP_EXTEND): Likewise.
12742 2014-10-09  Allan McRae  <allan@archlinux.org>
12744         * po/fr.po: Update French translation from translation project.
12746 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12748         [BZ #14132]
12749         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12750         of INTDEF.
12751         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12752         (__cxa_atexit): Use libc_hidden_proto.
12753         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12755         [BZ #14132]
12756         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12757         declaration.
12758         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12759         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12760         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12761         [!_ISOMAC] (__iswctype_internal): Likewise.
12762         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12763         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12764         alias.
12765         (fcntl): Remove __fcntl_internal alias.
12766         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12767         __connect_internal alias.
12768         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12769         Likewise.
12771         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12772         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12773         FP_DENORM_ZERO.
12774         (_FP_CHECK_FLUSH_ZERO): New macro.
12775         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12776         (_FP_CMP): Likewise.
12777         (_FP_CMP_EQ): Likewise.
12778         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12779         FP_DENORM_ZERO.
12780         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12781         (FP_TRUNC): Likewise.
12783         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12784         treated as invalid conversion, not as normal exponent.
12786         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12787         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12788         (_FP_CMP_EQ): Likewise.
12789         (_FP_CMP_UNORD): Likewise.
12790         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12791         (FP_CMP_EQ_D): Likewise.
12792         (FP_CMP_UNORD_D): Likewise.
12793         * soft-fp/extended.h (FP_CMP_E): Likewise.
12794         (FP_CMP_EQ_E): Likewise.
12795         (FP_CMP_UNORD_E): Likewise.
12796         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12797         (FP_CMP_EQ_Q): Likewise.
12798         (FP_CMP_UNORD_Q): Likewise.
12799         * soft-fp/single.h (FP_CMP_S): Likewise.
12800         (FP_CMP_EQ_S): Likewise.
12801         (FP_CMP_UNORD_S): Likewise.
12802         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12803         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12804         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12805         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12806         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12807         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12808         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12809         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12810         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12811         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12812         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12813         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12814         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12815         to FP_CMP_Q.
12816         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12817         FP_CMP_Q.
12818         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12819         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12820         FP_CMP_EQ_Q.
12821         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12822         FP_CMP_Q.
12823         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12824         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12825         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12826         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12827         FP_CMP_EQ_Q.
12828         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12829         FP_CMP_Q.
12830         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12831         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12832         FP_CMP_EQ_Q.
12833         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12834         FP_CMP_Q.
12835         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12836         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12837         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12838         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12839         FP_CMP_EQ_Q.
12841         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12842         a subnormal result, set the underflow exception if trapping on
12843         underflow is enabled.
12844         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12845         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12846         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12847         redefine to 0.
12848         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12849         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12850         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12851         * soft-fp/extendxftf2.c (__extendxftf2): Use
12852         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12854         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12855         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12856         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12857         FP_HANDLE_EXCEPTIONS.
12858         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12859         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12860         FP_HANDLE_EXCEPTIONS.
12861         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12862         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12863         FP_HANDLE_EXCEPTIONS.
12864         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12865         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12866         FP_HANDLE_EXCEPTIONS.
12868 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12870         [BZ #14132]
12871         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12872         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12873         use INTUSE.
12874         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12875         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12876         Remove alias.
12877         (__adjtimex): Define using libc_hidden_ver.
12878         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12879         Remove declaration.
12880         (ntp_gettime): Call __adjtimex directly.
12881         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12882         Remove declaration.
12883         (ntp_gettimex): Call __adjtimex directly.
12884         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12885         __adjtimex_internal alias.
12887 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12889         [BZ #17460]
12890         * nscd/nscd.c (more_help): Rewrite list of tables collection
12891         using xstrdup and asprintf.
12893         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12895 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12896             Roland McGrath  <roland@hack.frob.com>
12898         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12899         (do_lookup_unique): ... local function 'enter' here; update callers.
12901 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12903         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12904         compat_symbol calls on [SHARED].
12905         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12906         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12907         Remove.
12908         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12909         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12910         (oldsetrlimit): Remove.
12911         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12913         (lchown): New syscall entry.
12914         (oldsetrlimit): Remove.
12915         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12916         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12917         (oldsetrlimit): Remove.
12918         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12920         [BZ #14138]
12921         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12922         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12923         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12924         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12925         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12926         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12927         (fchown): Likewise.
12928         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12929         (fchown): Likewise.
12930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12931         Likewise.
12933 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12935         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12936         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12937         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12938         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12939         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12940         Likewise.
12941         (__old_sem_post): Likewise.
12943 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12945         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12946         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12947         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12948         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12949         Use INLINE_VSYSCALL macro.
12950         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12951         __vdso_clock_gettime.
12952         * sysdeps/unix/sysv/linux/tile/init-first.c
12953         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12954         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12955         __vdso_clock_gettime.
12957         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12958         to set up frame more cleanly.
12960         * sysdeps/tile/memcmp.c: New file.
12962         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12964         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12965         * sysdeps/tile/tilegx/strcasestr.c: New file.
12966         * sysdeps/tile/tilegx/strnlen.c: New file.
12967         * sysdeps/tile/tilegx/strstr.c: New file.
12969         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12971 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12973         * nptl/tst-setuid3.c: Write errors to stdout.
12975 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12977         * elf/dl-deps.c
12978         (preload): New functions broken out of _dl_map_object_deps.
12979         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12981 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12983         [BZ #14138]
12984         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12985         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12987 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12989         * sysdeps/mips/strcmp.S: New.
12991 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12993         [BZ #14138]
12994         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12995         (linkat): Likewise.
12996         (mkdirat): Likewise.
12997         (readlinkat): Likewise.
12998         (renameat): Likewise.
12999         (symlinkat): Likewise.
13000         (unlinkat): Likewise.
13001         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13002         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13003         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13004         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13005         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13006         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13007         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13009 2014-09-30  Will Newton  <will.newton@linaro.org>
13011         * math/math.h: Define long double math functions if
13012         _LIBC_TEST is defined.
13013         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13015         * localedata/Makefile: Move assignment to tests-special
13016         into an ifdef testing run-built-tests.
13017         * timezone/Makefile: Likewise.
13019 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13021         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13022         with $(BASH) not $(SHELL).
13024 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13025             Matthew LeGendre  <legendre1@llnl.gov>
13027         [BZ #17411]
13028         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13029         l_reloc_result.
13031 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13033         * stdio-common/printf_fp.c
13034         (hack_digit): New function, broken out of ...
13035         (__printf_fp): ... local function here.  Update call sites.
13036         hack_digit now takes an additional parameter that is a pointer
13037         to a struct of the referenced locals.  Those locals moved inside
13038         the struct and references updated.
13040 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13042         * aclocal.m4: Require autoconf 2.69.
13043         * configure: Regenerated.
13044         * sysdeps/aarch64/configure: Likewise.
13045         * sysdeps/alpha/configure: Likewise.
13046         * sysdeps/arm/armv7/configure: Likewise.
13047         * sysdeps/arm/configure: Likewise.
13048         * sysdeps/ia64/configure: Likewise.
13049         * sysdeps/mach/configure: Likewise.
13050         * sysdeps/mips/configure: Likewise.
13051         * sysdeps/s390/configure: Likewise.
13052         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13055         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13056         file.
13057         * sysdeps/ia64/configure.ac: Likewise.
13059 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13062         specify symbol version for ld.so.  Do not include entry for
13063         libpthread.
13064         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13065         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13066         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13068         [BZ #14171]
13069         * Makeconfig [$(build-shared) = yes]
13070         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13071         makefiles.
13072         [$(build-shared) = yes && $(soversions.mk-done) = t]
13073         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13074         [$(build-shared) = yes && $(soversions.mk-done) = t]
13075         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13076         to Makerules.
13077         [$(build-shared) = yes && $(soversions.mk-done) = t]
13078         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13079         here.
13080         [$(build-shared) = yes && $(soversions.mk-done) = t]
13081         (common-generated): Don't append gnu/lib-names.h and
13082         gnu/lib-names.stmp here.
13083         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13084         (lib-names-h-abi): New variable.
13085         [$(build-shared) = yes && $(soversions.mk-done) = t]
13086         (lib-names-stmp-abi): Likewise.
13087         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13088         abi-variants] (before-compile): Append
13089         $(common-objpfx)$(lib-names-h-abi).
13090         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13091         abi-variants] (common-generated): Append gnu/lib-names.h.
13092         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13093         abi-variants] (install-others-nosubdir): Depend on
13094         $(inst_includedir)/$(lib-names-h-abi).
13095         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13096         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13097         [$(build-shared) = yes && $(soversions.mk-done) = t]
13098         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13099         [$(build-shared) = yes && $(soversions.mk-done) = t]
13100         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13101         [$(build-shared) = yes && $(soversions.mk-done) = t]
13102         (common-generated): Append $(lib-names-h-abi) and
13103         $(lib-names-stmp-abi).
13104         * scripts/lib-names.awk: Do not handle multi being set.
13105         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13106         Remove variable.
13107         (abi-lp64_be-ld-soname): Likewise.
13108         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13109         Likewise.
13110         (abi-hard-ld-soname): Likewise.
13111         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13112         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13113         Remove variable.
13114         (abi-o32_hard-ld-soname): Likewise.
13115         (abi-o32_soft_2008-ld-soname): Likewise.
13116         (abi-o32_hard_2008-ld-soname): Likewise.
13117         (abi-n32_soft-ld-soname): Likewise.
13118         (abi-n32_hard-ld-soname): Likewise.
13119         (abi-n32_soft_2008-ld-soname): Likewise.
13120         (abi-n32_hard_2008-ld-soname): Likewise.
13121         (abi-n64_soft-ld-soname): Likewise.
13122         (abi-n64_hard-ld-soname): Likewise.
13123         (abi-n64_soft_2008-ld-soname): Likewise.
13124         (abi-n64_hard_2008-ld-soname): Likewise.
13125         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13126         Likewise.
13127         (abi-64-v2-ld-soname): Likewise.
13128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13129         ld.so entries.
13130         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13131         variable.
13132         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13133         entry.
13134         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13135         variable.
13136         (abi-64-ld-soname): Likewise.
13137         (abi-x32-ld-soname): Likewise.
13138         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13139         entry.
13140         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13142 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13144         [BZ #14138]
13145         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13146         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13147         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13148         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13149         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13150         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13151         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13152         syscall entry for GLIBC_2.2 symbol version.
13153         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13154         Likewise.
13155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13156         (setrlimit): Likewise.
13157         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13158         Likewise.
13160 2014-09-23  Will Newton  <will.newton@linaro.org>
13162         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13163         _LINUX_ARM_SYSDEP_H include guard too.
13164         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13165         define.
13167 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13169         * sysdeps/unix/sysv/linux/eventfd.c:
13170         Make first argument unsigned.
13171         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13172         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13174 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13176         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13177         * socket/sys/socket.h: Likewise
13178         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13180 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13182         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13184 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13186         * time/tst-ftime.c: New test.
13187         * time/Makefile (tests): Add tst-ftime.
13189 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13191         * soft-fp/extended.h: Fix comment formatting.
13192         * soft-fp/op-1.h: Likewise.
13193         * soft-fp/op-2.h: Likewise.
13194         * soft-fp/op-4.h: Likewise.
13195         * soft-fp/op-8.h: Likewise.
13196         * soft-fp/op-common.h: Likewise.
13197         * soft-fp/soft-fp.h: Likewise.
13199         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13201 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13203         [BZ #6652]
13204         * Makeconfig (soversions-default-setname): Remove variable.
13205         ($(common-objpfx)soversions.i): Don't pass default_setname to
13206         soversions.awk.
13207         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13208         oldest_abi to abi-versions.awk.
13209         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13210         * config.make.in (oldest-abi): Remove variable.
13211         * configure.ac (--enable-oldest-abi): Remove configure option.
13212         * configure: Regenerated.
13213         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13214         text.
13215         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13216         * scripts/soversions.awk: Do not handle default_setname variable.
13217         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13218         variable.
13219         * sysdeps/mach/hurd/configure: Regenerated.
13220         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13221         variable.
13222         * sysdeps/unix/sysv/linux/configure: Regenerated.
13224 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13226         * elf/Makefile (CFLAGS-interp.c): Remove.
13227         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13228         path string.
13229         * elf/interp.c: Include generated runtime-linker.h
13231         * Makerules (lib%.so): Don't include $(+interp) in
13232         prerequisites.
13233         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13234         * dlfcn/eval.c: Remove file.
13236         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13237         macros.
13239         [BZ #17266]
13240         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13241         4.2 and newer.
13243         [BZ #17370]
13244         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13246 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13247             Jakub Jelinek  <jakub@redhat.com>
13249         [BZ #17266]
13250         * libio/stdio.h: Check definition of __fortify_function
13251         instead of __extern_always_inline to include bits/stdio2.h.
13252         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13253         check if __extern_always_inline is defined.
13254         [__USE_MISC || __USE_XOPEN]: Likewise.
13255         [__USE_ISOC99] Likewise.
13256         * misc/sys/cdefs.h (__fortify_function): Define only if
13257         __extern_always_inline is defined.
13258         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13259         __extern_always_inline and __extern_inline only for g++-4.3
13260         and newer or a compatible gcc.
13262 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13264         [BZ #17371]
13265         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13266         last change to handle zero prefix length.
13268 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13270         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13271         _SC_REGEX_VERSION.
13273         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13274         _POSIX_RAW_SOCKETS.
13276 2014-09-13  Allan McRae  <allan@archlinux.org>
13278         * po/ru.po: Update Russian translation from translation project.
13280 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13282         * locale/programs/locale.c (show_locale_vars): Inline local function
13283         into its sole call site.  Clean up some style nits.
13284         (print_item): New function, broken out of ...
13285         (show_info): ... local function here.  Clean up style nits.
13287         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13288         out of ...
13289         (set_class_defaults): ... local function set_default here.
13290         Define set_default as a macro locally to pass constant parameters.
13291         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13292         rather than a shared local.
13294         * stdlib/rpmatch.c (try): New function, broken out of ...
13295         (rpmatch): ... local function here.  Also, prototypify definition.
13297 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13299         * scripts/soversions.awk: Do not handle configuration names.
13300         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13301         vendor and os variables to soversions.awk.
13302         * configure.ac: Do not modify gnu-* host_os.
13303         * configure: Regenerated
13304         * shlib-versions: Remove first column with configuration names.
13305         * nptl/shlib-versions: Likewise.
13306         * nptl_db/shlib-versions: Likewise.
13307         * sysdeps/hppa/shlib-versions: Likewise.
13308         * sysdeps/m68k/shlib-versions: Likewise.
13309         * sysdeps/mach/hurd/shlib-versions: Likewise.
13310         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13311         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13312         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13313         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13314         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13315         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13316         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13317         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13319         Likewise.
13320         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13321         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13322         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13323         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13324         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13325         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13326         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13327         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13330         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13332         Regenerated.
13333         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13335         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13337         * shlib-versions: Remove OS-specific entries.  Moved to files in
13338         sysdeps.
13339         * sysdeps/mach/hurd/shlib-versions: New file.
13340         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13342         * nptl/shlib-versions: Remove architecture-specific entries.
13343         Moved to files in sysdeps.
13344         * shlib-versions: Likewise.
13345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13346         file.
13347         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13348         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13349         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13350         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13352         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13353         (UDP_NO_CHECK6_RX): Likewise.
13355 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13357         * sysdeps/posix/sysconf.c (__sysconf): Spell
13358         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13360 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13362         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13363         loading.
13364         * iconv/Versions (__gconv_transliterate): Export for use from
13365         gconv modules.
13366         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13367         (struct __gconv_trans_data, __gconv_trans_fct,
13368         __gconv_trans_context_fct, __gconv_trans_query_fct,
13369         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13370         definitions.
13371         (struct __gconv_step_data): Remove __trans member.
13372         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13373         longer hidden.  Remove unused trans_data argument.
13374         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13375         (__gconv_translit_find): Remove declaration.
13376         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13377         prototype.
13378         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13379         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13380         trans_data argument.  Add hidden definition.
13381         (__gconv_translit_find): Remove.
13382         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13383         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13384         * iconv/skeleton.c: Remove transliteration initialization.
13385         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13386         __gconv_step_data initialization.
13387         * libio/iofwide.c (__libio_translit_): Remove.
13388         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13389         * wcsmbs/btowc.c (__btowc): Likewise.
13390         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13391         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13392         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13393         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13394         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13395         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13396         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13397         * wcsmbs/wctob.c (wctob): Likewise.
13399 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13401         [BZ #16194]
13402         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13403         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13404         register usage.
13405         * sysdeps/x86/Makefile: Adjust.
13407 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13408             Roland McGrath  <roland@hack.frob.com>
13410         * locale/weight.h: Add include guard.
13411         (findidx): Make static rather than auto; take new parameters
13412         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13413         * locale/weightwc.h: Likewise.
13414         * posix/fnmatch_loop.c
13415         (FCT): Change type of EXTRA from int32_t to wint_t.
13416         Don't include either header inside the function.
13417         Call FINDIDX rather than findidx, and pass new arguments.
13418         #undef FINDIDX at the end of the file.
13419         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13420         FINDIDX before including fnmatch_loop.c for the non-wide version.
13421         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13422         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13423         for the wide version.
13424         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13425         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13426         Pass new arguments to findidx.
13427         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13428         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13429         Don't #include it inside the function.  Pass new arguments to findidx.
13430         * posix/regex_internal.h
13431         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13432         (re_string_elem_size_at): Don't #include it inside the function.
13433         Pass new arguments to findidx.
13434         * string/strcoll_l.c: #include WEIGHT_H at top level.
13435         (get_next_seq): Don't #include it inside the function.
13436         Pass new arguments to findidx.
13437         (get_next_seq_nocache): Likewise.
13438         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13439         (STRXFRM): Don't #include it inside the function.
13440         Pass new arguments to findidx.
13442 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13444         [BZ #17344]
13445         * malloc/malloc.c (unlink): Turn asserts into a call to
13446         malloc_printerr.
13448 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13450         [BZ #17370]
13451         * libio/wfileops (do_ftell_wide): Free OUT.
13453 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13455         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13457 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13459         [BZ #17363]
13460         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13461         group if the current group is empty.
13463 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13465         * benchtests/bench-memset.c (test_main): Add more test from size
13466         from 32 to 512 bytes.
13467         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13468         Add POWER8 memset object.
13469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13470         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13471         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13472         implementation.
13473         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13474         Likewise.
13475         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13476         multiarch POWER8 memset optimization.
13477         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13478         POWER8 memset optimization.
13480         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13481         Remove bzero multiarch objects.
13482         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13483         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13484         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13485         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13486         Remove define.
13487         [__bzero]: Redefine to specific name.
13488         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13489         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13490         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13491         define.
13492         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13493         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13495 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13497         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13498         warnings into errors.
13500         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13501         __cxa_thread_atexit_impl prototype.
13503 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13505         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13506         Fix capitalization of error message.
13508 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13510         * sysdeps/mips/preconfigure: Modify ABI tests.
13512 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13514         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13516 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13517             Carlos O'Donell  <carlos@systemhalted.org>
13519         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13520         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13521         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13522         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13523         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13524         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13525         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13526         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13527         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13528         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13529         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13530         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13531         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13532         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13533         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13534         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13535         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13536         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13537         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13538         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13539         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13540         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13541         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13542         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13543         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13544         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13545         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13546         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13547         Deconditionalize the code that was previously under [RESET_PID].
13548         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13549         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13550         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13551         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13552         include sysdep.h.
13554 2014-09-08  Allan McRae  <allan@archlinux.org>
13556         * version.h (RELEASE): Set to "development".
13557         (VERSION): Set to "2.20.90"
13559 2014-09-07  Allan McRae  <allan@archlinux.org
13561         * version.h (RELEASE): Set to "stable".
13562         (VERSION): Set to "2.20"
13563         * include/features.h (__GLIBC_MINOR__): Set to 20.
13565         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13566         Liebler.
13568         * po/ko.po: Update Korean translation from translation project.
13570 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13572         [BZ #17354]
13573         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13574         macro for handling signed relocations.
13576 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13578         [BZ #17325]
13579         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13580         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13581         assert.
13582         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13583         * iconvdata/ibm935.c (BODY): Likewise.
13584         * iconvdata/ibm937.c (BODY): Likewise.
13585         * iconvdata/ibm939.c (BODY): Likewise.
13586         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13587         assert.
13588         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13589         script.
13590         * iconvdata/run-iconv-test.sh: New test loop for checking for
13591         decoder crashers.
13593 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13595         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13596         libm_hidden_ver.
13598 2014-09-01  Allan McRae  <allan@archlinux.org>
13600         * po/eo.po: Update Esperanto translation from translation project.
13602         * po/ca.po: Update Catalan translation from translation project.
13604 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13606         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13607         __proc_dostop call.
13609 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13611         [BZ #17319]
13612         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13613         to call set_thread_area instead of hand written asm.
13614         (__NR_set_thread_area): Removed define.
13615         (TLS_FLAG_WRITABLE): Likewise.
13616         (__ASSUME_SET_THREAD_AREA): Remove check.
13617         (TLS_EBX_ARG): Remove define.
13618         (TLS_LOAD_EBX): Likewise.
13620 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13622         Simplify atomicity of socket creation in bind.
13624         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13625         looking up the name after linking the file.
13627 2014-08-27  Allan McRae  <allan@archlinux.org>
13629         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13631 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13633         [BZ #17187]
13634         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13635         trans_compare, open_translit, __gconv_translit_find):
13636         Remove module loading code.
13638 2014-08-26  Allan McRae  <allan@archlinux.org>
13640         * po/vi.po: Update Vietnamese translation from translation project.
13642         * po/uk.po: Update Ukrainian translation from translation project.
13644         * po/fr.po: Update French translation from translation project.
13646         * po/ru.po: Update Russian translation from translation project.
13648         * po/pl.po: Update Polish translation from translation project.
13650         * po/cs.po: Update Czech translation from translation project.
13652         * po/de.po: Update German translation from translation project.
13654         * po/bg.po: Update Bulgarian translation from translation project.
13656         * po/sv.po: Update Sweedish translation from translation project.
13658         * po/nl.po: Update Dutch translation from translation project.
13660         * po/es.po: Update Spanish translation from translation project.
13662 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13664         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13666         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13667         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13668         (CPPFLAGS-iconvconfig): Likewise.
13669         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13671         * include/libc-symbols.h: Remove unnecessary check for
13672         NOT_IN_libc.
13673         * nptl/pthreadP.h: Likewise.
13674         * sysdeps/aarch64/setjmp.S: Likewise.
13675         * sysdeps/alpha/setjmp.S: Likewise.
13676         * sysdeps/arm/sysdep.h: Likewise.
13677         * sysdeps/i386/setjmp.S: Likewise.
13678         * sysdeps/m68k/setjmp.c: Likewise.
13679         * sysdeps/posix/getcwd.c: Likewise.
13680         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13681         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13682         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13683         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13684         * sysdeps/sh/sh3/setjmp.S: Likewise.
13685         * sysdeps/sh/sh4/setjmp.S: Likewise.
13686         * sysdeps/unix/alpha/sysdep.h: Likewise.
13687         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13688         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13689         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13690         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13693         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13695         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13696         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13697         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13698         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13699         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13700         * sysdeps/x86_64/setjmp.S: Likewise.
13702 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13704         [BZ #17263]
13705         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13706         <stdint.h>.
13707         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13708         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13710 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13712         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13714         [BZ #17262]
13715         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13716         and __x86_64__ when disabling x87 inline functions.
13718 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13720         [BZ #17259]
13721         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13722         asm statement with __cpuid_count.
13724 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13726         * configure.ac: Change __ehdr_start code to dereference the struct.
13727         Run readelf on the output to look for relocations.
13728         * configure: Regenerated.
13730 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13732         [BZ #17261]
13733         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13734         value to 0.
13735         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13737 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13739         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13741 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13743         [BZ #16892]
13744         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13745         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13747 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13749         * malloc/malloc.c: Fix typo in comment.
13751 2014-08-09  Allan McRae  <allan@archlinux.org>
13753         * Regenerate libc.po.
13755 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13757         * intl/tst-gettext2.sh: Check every lang file for creation.
13759 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13761         * sysdeps/aarch64/fpu/math_private.h
13762         (libc_feholdsetround_noex_aarch64_ctx): New function.
13764 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13766         * sysdeps/arm/armv6/strcpy.S (strcpy):
13767         Fix performance issue in misaligned cases.
13769 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13771         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13772         Move definition from termios.h.
13773         (struct termio): Likewise.
13774         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13775         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13776         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13777         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13778         Likewise.
13779         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13780         Move definition to ioctl-types.h
13781         (struct termio): Likewise.
13782         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13783         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13784         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13785         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13786         Likewise.
13788 2014-08-05  Richard Henderson  <rth@redhat.com>
13790         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13791         exceptions.
13792         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13793         Add fraiseexcpt.
13794         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13795         Use __feraiseexcept.
13796         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13797         Protect libm symbols with IS_IN_libm.
13799         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13801 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13803         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13805 2014-08-04  Will Newton  <will.newton@linaro.org>
13807         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13808         file.
13810 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13812         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13813         variants for each function.
13815 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13817         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13818         appended ...
13819         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13820         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13821         appended ...
13822         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13823         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13824         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13825         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13826         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13827         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13828         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13829         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13830         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13831         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13832         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13833         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13834         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13835         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13836         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13837         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13838         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13839         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13840         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13841         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13842         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13843         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13844         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13845         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13846         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13847         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13848         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13849         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13850         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13851         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13852         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13853         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13854         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13855         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13856         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13857         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13858         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13859         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13860         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13861         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13862         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13863         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13864         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13865         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13866         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13867         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13868         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13869         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13870         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13871         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13872         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13873         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13874         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13875         Update #include.
13876         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13877         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13879 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13881         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13882         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13883         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13884         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13885         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13886         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13888 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13890         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13891         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13892         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13893         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13895 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13897         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13898         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13899         (__libc_vfork): Define function under this name.
13900         (__vfork): Define as an alias.
13901         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13902         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13904 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13906         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13907         that was previously under [RESET_PID].
13908         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13910 2014-08-04  Andreas Schwab  <schwab@suse.de>
13912         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13914 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13916         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13917         (main): Likewise.
13919 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13921         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13923 2014-08-01  Richard Henderon  <rth@redhat.com>
13925         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13926         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13927         typo in exact zero test.
13928         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13929         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13930         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13932 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13934         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13935         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13936         * sysdeps/arm/sysdep.h: ... here.
13937         [!__ASSEMBLER__]: Include <stdint.h>.
13939 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13941         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13942         (HAVE_WCTYPE_H): Likewise.
13943         (HAVE_ISWCTYPE): Likewise.
13944         (ENABLE_NLS): Likewise.
13945         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13946         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13948         * posix/regex_internal.c: Check if DEBUG is defined and is
13949         set.
13951         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13952         (HAVE_MBSRTOWCS): Likewise.
13953         * posix/fnmatch.c: Include string.h unconditionally.
13955 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13957         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13958         reversal.
13960 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13962         * sysdeps/generic/safe-fatal.h: New file.
13963         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13964         * nptl/forward.c: Include it.
13965         (__pthread_unwind): Use __safe_fatal as default action, rather
13966         than a bogus use of INTERNAL_SYSCALL that could never work.
13968         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13969         * configure.ac (libc_cv_builtin_trap): New test.
13970         * configure: Regenerated.
13971         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13972         (ABORT_INSTRUCTION): Define using __builtin_trap.
13974         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13975         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13976         * sysdeps/nptl/nptl-signals.h: New file.
13977         * nptl/pthreadP.h: Include <nptl-signals.h>.
13979 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13981         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13982         (ONE_DIRECTION): Define.
13983         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13984         (ONE_DIRECTION): Define.
13985         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13986         (ONE_DIRECTION): Define.
13988 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13990         * sysdeps/s390/Makefile: Delete file.
13991         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13992         * sysdeps/s390/__longjmp.c: Delete file.
13993         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13994         Remove fields __flags and __reserved.
13995         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13996         and add versioning.
13997         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13998         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13999         * sysdeps/s390/rtld-setjmp.S: Likewise.
14000         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14001         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14002         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14003         * sysdeps/s390/s390-32/setjmp.S: ... here.
14004         Add versioning.
14005         (__sigsetjmp): Remove setting __flags field.
14006         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14007         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14008         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14009         * sysdeps/s390/s390-64/setjmp.S: ... here.
14010         Add versioning.
14011         (__sigsetjmp): Remove setting __flags field.
14012         * sysdeps/s390/setjmp.S: Delete file.
14013         * sysdeps/s390/sigjmp.c: Likewise.
14014         * sysdeps/s390/v1-longjmp.c: Likewise.
14015         * sysdeps/s390/v1-setjmp.h: Likewise.
14016         * sysdeps/s390/v1-sigjmp.c: Likewise.
14017         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14018         Remove v1-longjmp_chk.
14019         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14020         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14021         Include debug/longjmp_chk.c and add versioning.
14022         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14023         Include nptl/pt-longjmp.c and add versioning.
14024         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14025         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14026         Include __longjmp.c.
14027         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14028         Move to ...
14029         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14030         (__getcontext): Remove setting __flags field.
14031         Add versioning.
14032         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14033         Don't restore upper high grps.
14034         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14035         Likewise.
14036         (__swapcontext): Remove setting uc_flags field.
14037         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14038         Delete file.
14039         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14040         Include __longjmp.c.
14041         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14042         Move to ...
14043         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14044         (__getcontext): Remove setting __flags field.
14045         Add versioning.
14046         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14047         (__swapcontext): Remove setting uc_flags field.
14048         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14049         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14050         Remove fields uc_high_gprs and __reserved.
14051         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14052         New file with reverted content.
14053         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14054         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14055         Regenerated.
14056         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14057         Regenerated.
14059 2014-07-31  Andreas Schwab  <schwab@suse.de>
14061         * config.h.in (HAVE_IFUNC): Define to 0.
14062         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14063         definedness.
14065 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14068         memmove-avx-unaligned, memcpy-avx-unaligned and
14069         mempcpy-avx-unaligned.
14070         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14071         Add tests for AVX memcpy functions.
14072         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14073         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14074         memcpy_chk.
14075         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14076         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14077         memmove_chk.
14078         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14079         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14080         mempcpy_chk.
14081         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14082         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14083         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14085 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14087         [BZ #17213]
14088         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14089         powerpc64le.
14091 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14093         [BZ #16839]
14094         * manual/llio.texi: Add section about open file description locks.
14095         * manual/examples/ofdlocks.c: Example of open file description
14096         lock usage.
14097         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14098         F_OFD_SETLK, and F_OFD_SETLKW.
14100 2014-07-23  Allan McRae  <allan@archlinux.org>
14102         * po/es.po: Update Spanish translation from translation project.
14104 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14106         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14108 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14110         [BZ #17078]
14111         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14112         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14113         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14115 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14117         [BZ #17088]
14118         * math/fesetenv.c (__fesetenv)
14119         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14120         * math/feupdateenv.c (__feupdateenv)
14121         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14123         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14124         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14125         (__ASSUME_SOCKETCALL): Do not define.
14127         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14128         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14129         (__ASSUME_SOCKETCALL): Do not define.
14130         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14131         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14132         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14133         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14134         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14135         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14136         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14137         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14139         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14140         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14141         (__ASSUME_SOCKETCALL): Do not define.
14142         (__ASSUME_IPC64): Define unconditionally.
14143         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14144         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14145         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14146         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14147         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14148         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14149         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14150         Likewise.
14152         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14153         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14154         (__ASSUME_SOCKETCALL): Do not define.
14155         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14156         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14157         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14158         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14159         (__ASSUME_REQUEUE_PI): Define unconditionally.
14160         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14161         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14162         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14163         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14164         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14165         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14167         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14168         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14169         (__ASSUME_SOCKETCALL): Do not define.
14170         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14171         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14172         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14173         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14174         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14175         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14177         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14178         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14179         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14180         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14181         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14182         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14183         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14184         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14185         (__ASSUME_GETCPU_SYSCALL): Likewise.
14187         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14188         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14189         cases for individual architectures.
14190         * sysdeps/gnu/configure: Regenerated.
14191         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14192         LIBC_SLIBDIR_RTLDDIR.
14193         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14194         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14195         LIBC_SLIBDIR_RTLDDIR.
14196         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14198         LIBC_SLIBDIR_RTLDDIR.
14199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14200         Regenerated.
14201         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14202         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14203         file.
14204         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14205         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14206         file.
14207         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14208         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14209         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14210         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14212         * sysdeps/aarch64/shlib-versions: Move to ...
14213         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14214         * sysdeps/alpha/shlib-versions: Move to ...
14215         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14216         * sysdeps/arm/shlib-versions: Move to ...
14217         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14218         * sysdeps/hppa/shlib-versions: Move all contents except for
14219         libgcc_s entry to ...
14220         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14221         entry from ...
14222         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14223         * sysdeps/ia64/shlib-versions: Move to ...
14224         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14225         entry from ...
14226         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14227         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14228         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14229         * sysdeps/microblaze/shlib-versions: Move to ...
14230         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14231         * sysdeps/mips/shlib-versions: Move to ...
14232         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14233         entry from ...
14234         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14235         * sysdeps/tile/shlib-versions: Move to ...
14236         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14237         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14238         from ...
14239         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14240         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14241         entry from ...
14242         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14244 2014-07-17  Will Newton  <will.newton@linaro.org>
14246         * sysdeps/arm/bits/atomic.h
14247         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14248         (__arch_compare_and_exchange_bool_16_int): Likewise.
14249         (__arch_compare_and_exchange_bool_64_int): Likewise.
14251         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14252         into an #else block.
14254 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14256         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14257         just Linux configurations.  Test empirically that the compiler sets
14258         __ARM_EABI__, rather than using the tuple to decide.
14259         * sysdeps/arm/preconfigure: Regenerated.
14260         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14261         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14262         contents appended ...
14263         * sysdeps/arm/configure.ac: ... here.
14264         * sysdeps/arm/configure: Regenerated.
14266 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14268         * nptl/pthread_kill.c: New file.
14269         * nptl/pthread_sigmask.c: New file.
14270         * nptl/pthread_sigqueue.c: New file.
14272         * sysdeps/nptl/lowlevellock.h: New file.
14273         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14274         * sysdeps/nptl/lowlevellock-futex.h: New file.
14276         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14277         Remove dead declarations.
14279 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14281         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14282         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14283         config-cflags-avx2.
14284         * sysdeps/x86_64/configure.ac: Likewise.
14285         * sysdeps/i386/configure: Regenerated.
14286         * sysdeps/x86_64/configure: Likewise.
14287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14288         memset-avx2 only if config-cflags-avx2 is yes.
14289         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14290         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14291         defined.
14292         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14293         only if HAVE_AVX2_SUPPORT is defined.
14294         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14296 2014-07-14  Alan Modra  <amodra@gmail.com>
14298         [BZ #17153]
14299         * elf/elf.h (DT_PPC64_NUM): Correct value.
14300         * NEWS: Add to fixed bug list.
14302 2014-07-13  Jim Meyering  <meyering@fb.com>
14304         [BZ 17150]
14305         regex: don't deref NULL upon heap allocation failure
14306         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14307         failure in one more place.
14308         To trigger the segfault, configure grep -with-included-regex,
14309         build it, and run these commands:
14310         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14312 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14314         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14316 2014-07-11  Richard Henderson  <rth@redhat.com>
14318         * sysdeps/aarch64/libm-test-ulps: Update.
14320 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14322         [BZ #17135]
14323         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14324         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14325         (__nptl_setxid): Initialize error member.  Call
14326         __nptl_setxid_error.
14327         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14328         * nptl/descr.h (struct xid_command): Add error member.
14329         * nptl/tst-setuid3.c: New file.
14330         * nptl/Makefile (tests): Add it.
14332 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14334         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14335         New define.
14336         (__lll_trylock): Use __lll_base_trylock.
14337         (__lll_cond_trylock): Likewise.
14339 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14341         * nptl/pthread_create.c (start_thread): Use atomic_or and
14342         lll_futex_wake directly rather than lll_robust_dead.
14343         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14344         (lll_robust_dead): Macro removed.
14345         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14346         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14347         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14348         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14349         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14350         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14351         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14352         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14353         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14354         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14355         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14356         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14357         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14358         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14359         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14361         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14362         Use atomic_compare_and_exchange_val_acq directly rather than
14363         lll_robust_trylock.
14364         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14365         (__lll_robust_trylock, lll_robust_trylock): Removed.
14366         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14367         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14368         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14369         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14370         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14371         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14372         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14373         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14374         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14375         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14376         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14377         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14378         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14379         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14381 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14383         * manual/locale.texi (Locale Names): New section documenting
14384         locale name syntax.  Adjust menu and node chaining accordingly.
14385         (Choosing Locale): Reference Locale Names, Locale Categories.
14386         Mention setting LC_ALL=C.  Reflect that name syntax is now
14387         documented.
14388         (Locale Categories): New section title.  Reference Locale Names.
14389         LC_ALL is an environment variable, but not a category.
14390         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14391         description, now in Locale Name.  Reference that section.  Locale
14392         name syntax is now documented.
14394 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14396         [BZ #17137]
14397         * locale/findlocale.c (name_present, valid_locale_name): New
14398         functions.
14399         (_nl_find_locale): Use the loc_name variable to store name
14400         candidates.  Call name_present and valid_locale_name to check and
14401         validate locale names.  Return an error if the locale is invalid.
14403 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14405         * locale/setlocale.c (setlocale): Use strdup for allocating
14406         composite name copy.
14408 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14410         Sync up with gnulib.
14411         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14412         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14413         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14414         and _GL_ARG_NONNULL.
14415         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14416         [!_LIBC]: Include code for Windows and Cygwin.
14417         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14418         Include prototype for int strerror_r.
14419         [!_LIBC] (is_open): New function.
14420         (flush_stdout): New function.
14421         (print_errno_message): Use it.
14422         (error): Likewise.
14423         (error_at_line): Likewise.
14424         (error_tail) Add function attribute macros.  Use
14425         __builtin_expect.
14427         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14429         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14431         * io/ftw.c: Include sys/param.h unconditionally.
14433         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14435         [BZ #17125]
14436         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14437         libc_freeres_ptr.
14438         (freecache): New function to free CACHE on exit.
14440         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14441         initialization.
14443 2014-07-09  David S. Miller  <davem@davemloft.net>
14445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14447         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14448         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14449         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14450         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14451         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14452         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14453         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14454         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14455         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14456         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14457         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14458         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14459         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14461 2014-07-09  Andreas Schwab  <schwab@suse.de>
14463         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14464         output.
14465         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14466         (do_test): Likewise.
14468         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14470 2014-07-09  Will Newton  <will.newton@linaro.org>
14472         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14473         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14474         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14475         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14476         * sysdeps/hppa/start.S (_start): Likewise.
14478 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14480         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14482         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14483         defined.
14485 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14487         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14488         after checking that it is non-NULL.
14490         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14492 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14494         * sysdeps/powerpc/memmove.c: Remove file.
14495         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14496         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14497         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14498         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14499         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14500         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14501         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14502         string memmove instead of removed powerpc one.
14504         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14505         [weak_alias]: Fix compiler warning due trailing data.
14506         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14507         [weak_alias]: Likewise.
14508         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14509         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14511         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14512         (__libc_ifunc_impl_list): Add memmove functions.
14514 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14516         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14517         Remove code.
14518         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14519         Likewise
14520         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14521         Likewise
14522         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14523         Likewise
14524         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14525         Likewise
14526         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14527         Likewise
14528         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14529         Likewise
14530         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14531         Likewise
14532         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14533         Likewise
14534         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14535         Likewise
14536         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14537         Likewise
14538         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14539         Likewise
14540         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14541         Likewise
14542         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14543         Likewise
14544         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14545         Likewise
14546         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14547         Likewise
14548         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14549         Likewise
14551 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14553         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14554         to avoid alignment traps in non-cacheable memory.
14555         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14558         multiarch objects.
14559         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14560         file: multiarch power7 memmove.
14561         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14562         multiarch default memmove.
14563         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14564         multiarch memove for powerpc32/power4.
14566         * string/bcopy.c: Use full path to include memmove.c.
14567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14568         multiarch objects.
14569         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14570         bcopy for powerpc64.
14571         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14572         bcopy for powerpc64.
14573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14574         and memmove implementations.
14575         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14576         optimized multiarch memmove for POWER7/powerpc64.
14577         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14578         default multiarch memmove for powerpc64.
14579         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14580         multiarch for powerpc64.
14581         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14582         for POWER7/powerpc64.
14583         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14584         memmove for POWER7/powerpc64.
14586         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14587         glibc default one.
14589         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14590         __ELF_NATIVE_CLASS equal to 64.
14592 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14594         * sysdeps/nptl/lowlevellock.h: File removed.
14596         * NEWS: NPTL is no longer an add-on!
14597         * nptl/internaltypes.h: Moved ...
14598         * sysdeps/nptl/internaltypes.h: ... here.
14599         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14600         * sysdeps/nptl/fork.c: Likewise.
14601         * sysdeps/nptl/gai_misc.h: Likewise.
14602         * sysdeps/nptl/librt-cancellation.c: Likewise.
14603         * sysdeps/nptl/jmp-unwind.c: Likewise.
14604         * sysdeps/nptl/setxid.h: Likewise.
14605         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14606         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14607         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14608         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14609         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14610         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14611         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14612         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14613         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14614         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14615         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14616         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14617         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14618         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14619         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14620         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14621         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14622         * nptl/Makeconfig: Moved ...
14623         * sysdeps/nptl/Makeconfig: ... here.
14624         * nptl/configure: File removed.
14625         * nptl/ANNOUNCE: File removed.
14626         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14627         * sysdeps/unix/sysv/linux/configure: Regenerated.
14629         * nptl/Makefile (routines): Add libc_pthread_init,
14630         libc_multiple_threads, register-atfork and unregister-atfork.
14631         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14632         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14633         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14634         pthread-pi-defines.sym, structsem.sym.
14635         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14636         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14637         [$(subdir) = nptl] (tests): Add tst-setgetname.
14638         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14639         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14640         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14641         [!LIBC_SIGACTION]: Remove aliases.
14642         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14643         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14644         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14645         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14646         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14647         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14648         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14649         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14650         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14651         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14652         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14653         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14654         __libc_allocate_rtsig_private.
14655         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14656         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14657         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14658         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14659         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14660         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14661         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14662         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14663         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14664         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14665         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14666         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14667         * nptl/internaltypes.h: ... here.
14668         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14669         * sysdeps/nptl/jmp-unwind.c: ... here.
14670         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14671         * nptl/libc-lowlevellock.c: ... here.
14672         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14673         * nptl/libc_multiple_threads.c: ... here.
14674         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14675         * nptl/libc_pthread_init.c: ... here.
14676         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14677         * nptl/lowlevelbarrier.sym: ... here.
14678         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14679         * nptl/lowlevelcond.sym: ... here.
14680         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14681         * nptl/lowlevellock.c: ... here.
14682         * nptl/lowlevellock.h: Moved ...
14683         * sysdeps/nptl/lowlevellock.h: ... here.
14684         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14685         * nptl/lowlevelrobustlock.c: ... here.
14686         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14687         * nptl/lowlevelrobustlock.sym: ... here.
14688         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14689         * nptl/lowlevelrwlock.sym: ... here.
14690         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14691         * nptl/pt-fork.c: ... here.
14692         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14693         * nptl/pthread-pi-defines.sym: ... here.
14694         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14695         * nptl/pthread_attr_getaffinity.c: ... here.
14696         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14697         * nptl/pthread_attr_setaffinity.c: ... here.
14698         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14699         * nptl/pthread_mutex_cond_lock.c: ... here.
14700         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14701         Update #include.
14702         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14703         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14704         * nptl/pthread_once.c: ... here, replacing old file.
14705         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14706         * nptl/pthread_yield.c: ... here.
14707         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14708         * nptl/register-atfork.c: ... here.
14709         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14710         * nptl/sem_post.c: ... here.
14711         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14712         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14713         * nptl/sem_timedwait.c: ... here.
14714         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14715         * nptl/sem_trywait.c: ... here.
14716         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14717         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14718         * nptl/sem_wait.c: ... here.
14719         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14720         * nptl/structsem.sym: ... here.
14721         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14722         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14723         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14724         * nptl/unregister-atfork.c: ... here.
14725         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14726         * nptl/unwindbuf.sym: ... here.
14727         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14728         * sysdeps/nptl/fork.c: ... here.
14729         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14730         * sysdeps/nptl/fork.h: ... here.
14731         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14732         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14733         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14734         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14735         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14736         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14737         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14738         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14739         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14740         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14741         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14742         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14743         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14744         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14745         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14746         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14747         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14748         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14749         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14750         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14751         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14752         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14753         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14754         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14755         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14756         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14757         * sysdeps/unix/sysv/linux/raise.c: ... here.
14758         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14759         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14760         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14761         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14762         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14763         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14764         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14765         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14766         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14767         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14768         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14769         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14770         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14771         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14772         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14774 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14776         * sysdeps/generic/memcopy.h: Add comment for
14777         MEMCPY_OK_FOR_FWD_MEMMOVE.
14779 2014-07-04  Will Newton  <will.newton@linaro.org>
14781         * string/memchr.c: Merge from gnulib.
14782         [_LIBC]: Remove conditionals.
14783         (__ptr_t): Remove define.
14784         (LONG_MAX_32_BITS): Likewise.
14785         (LONG_MAX): Likewise.
14786         (MEMCHR): Use ANSI prototype and optimize algorithm.
14788         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14790 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14792         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14793         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14795         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14796         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14797         in a bare environment with no <stdlib.h> installed.
14798         * sysdeps/nptl/configure: Regenerated.
14800         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14802         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14803         AC_EGREP_CPP for kernel header checks, so they only succeed if
14804         including <linux/version.h> actually works right.
14805         * sysdeps/unix/sysv/linux/configure: Regenerated.
14807         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14808         value so it's not diagnosed as unused.
14810         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14811         thing) with "ifeq ($(subdir),rt)".
14813 2014-07-03  Richard Henderson  <rth@redhat.com>
14815         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14816         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14817         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14819         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14820         (math_force_eval): New.
14822         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14823         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14825         * sysdeps/alpha/fpu/s_round.c: Remove file.
14826         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14828         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14829         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14830         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14831         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14832         (_dl_start, print_statistics): Likewise.
14833         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14834         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14836         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14837         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14838         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14839         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14840         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14841         (HP_SMALL_TIMING_AVAIL): Define.
14842         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14843         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14844         (HP_SMALL_TIMING_AVAIL): Define.
14845         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14846         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14848         * sysdeps/aarch64/hp-timing.h: New file.
14850         * sysdeps/generic/hp-timing.h: Remove dead comment.
14851         * sysdeps/generic/hp-timing-common.h: New file.
14852         * sysdeps/alpha/hp-timing.h: Include it.
14853         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14854         * sysdeps/i386/i686/hp-timing.h: Likewise.
14855         * sysdeps/ia64/hp-timing.h: Likewise.
14856         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14857         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14858         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14859         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14860         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14861         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14862         (hp_timing_t): New.
14864         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14865         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14866         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14867         * elf/rtld.c (_dl_start_final): Likewise.
14868         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14869         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14870         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14871         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14872         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14873         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14874         (HP_TIMING_DIFF_INIT): Remove.
14875         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14876         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14877         (HP_TIMING_DIFF_INIT): Remove.
14878         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14879         * sysdeps/i386/i686/hp-timing.c: Remove file.
14880         * sysdeps/x86_64/hp-timing.c: Remove file.
14881         * sysdeps/ia64/hp-timing.c: Remove file.
14882         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14883         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14884         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14885         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14887         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14888         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14889         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14890         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14891         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14892         (HP_TIMING_ACCUM): Remove.
14893         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14894         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14895         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14897         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14898         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14899         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14900         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14901         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14902         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14903         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14904         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14906         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14908 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14910         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14912 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14914         Sync up with gettext.
14915         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14916         [_MSC_VER]: Include malloc.h
14917         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14918         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14919         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14920         TEMP_FAILURE_RETRY.  Cast return of alloca.
14921         [!_LIBC] Call gl_rwlock_init.
14922         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14924 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14926         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14927         before checking its value.
14929 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14931         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14933         * debug/memcpy_chk.c: Don't include pagecopy.h.
14934         * debug/mempcpy_chk.c: Likewise.
14935         * string/memcpy.c: Likewise.
14936         * string/memmove.c: Likewise.
14937         * sysdeps/powerpc/memmove.c: Likewise.
14938         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14939         definition of PAGE_COPY_FWD_MAYBE here...
14940         * sysdeps/generic/pagecopy.h: ... from here.
14941         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14943 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14944             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14946         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14948         optimizations.
14949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14950         (__libc_ifunc_impl_list): Likewise.
14951         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14952         multiarch strcat for PPC64.
14953         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14954         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14956 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14958         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14960 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14962         * intl/loadmsgcat.c: Remove declaration of
14963         get_sysdep_segment_value.
14964         (get_sysdep_segment_value): Use ISO C style.
14965         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14966         semicolon.  Fix typo and formatting in comment.
14967         (_nl_unload_domain): Use ISO C style.
14969         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14971 2014-07-02  Will Newton  <will.newton@linaro.org>
14973         * malloc/obstack.c: Merge from gnulib master.
14974         [HAVE_CONFIG_H]: Remove conditional code.
14975         [!_LIBC]: Include config.h.
14976         [!ELIDE_CODE]: Don't include inttypes.h, include
14977         stdint.h unconditionally.
14978         (print_and_abort): Mark as _Noreturn.
14979         (_obstack_allocated_p): Mark as __attribute_pure__.
14980         (obstack_free): Rename to __obstack_free.
14981         [!__attribute__]: Remove conditional code.
14982         * malloc/obstack.h: Merge from gnulib master.
14983         [__cplusplus]: Move conditional down.
14984         [!__attribute_pure__]: Define __attribute_pure__ here
14985         if it is not already defined.
14986         (_obstack_memory_used): Mark as __attribute_pure__.
14987         [!__obstack_free]: Define as obstack_free.
14988         [__GNUC__]: Remove check for ancient NeXT gcc.
14990 2014-07-02  Will Newton  <will.newton@linaro.org>
14991             Paul Eggert  <eggert@cs.ucla.edu>
14993         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14995 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14997         * resolv/gethnamaddr.c: Add comment warning that the file is
14998         not maintained.
15000 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15002         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15003         entries.
15005         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15006         entry for aio_cancel and aio_cancel64.
15007         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15008         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15009         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15010         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15011         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15012         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15013         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15014         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15015         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15016         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15017         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15018         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15019         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15021 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15023         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15024         * nptl/pthread_mutex_lock.c: Likewise.
15025         * nptl/pthread_mutex_timedlock.c: Likewise.
15026         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15028 2014-07-01  Richard henderson  <rth@redhat.com>
15030         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15031         (__isnan, __isnanl): Remove.
15032         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15034         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15036 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15038         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15040 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15042         * resolv/nss_dns/dns-host.c (getanswer_r)
15043         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15045 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15047         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15048         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15049         undefine.
15050         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15051         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15053 2014-07-01  Roland McGrath <roland@hack.frob.com>
15055         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15056         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15058         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15059         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15061         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15062         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15063         ... here.
15064         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15065         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15067         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15068         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15069         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15070         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15072         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15073         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15074         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15075         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15076         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15077         Moved ...
15078         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15079         ... here.
15080         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15081         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15082         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15083         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15084         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15085         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15086         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15087         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15088         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15089         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15090         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15091         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15092         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15093         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15094         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15095         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15096         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15097         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15098         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15099         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15100         ... here.
15101         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15102         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15103         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15104         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15105         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15106         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15107         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15108         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15110 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15112         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15113         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15114         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15115         Add sysdep.
15117 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15121 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15123         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15124         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15126         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15128         * sysdeps/arm/libm-test-ulps: Regenerated.
15130 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15131             Roland McGrath <roland@hack.frob.com>
15133         * test-skeleton.c (signal_handler): Kill the whole process group
15134         before killing the child individually.
15135         (main): Report any failure on `setpgid'.
15137 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15139         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15140         from _TLS_H to _ARM_NPTL_TLS_H.
15141         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15142         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15144 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15146         [BZ #16539]
15147         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15148         (__expm1l): Return argument unchanged when small but not
15149         subnormal.
15151         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15152         include macro name.
15153         (_FP_UNPACK_RAW_1_P): Likewise.
15154         (_FP_PACK_RAW_1): Likewise.
15155         (_FP_PACK_RAW_1_P): Likewise.
15156         (_FP_MUL_MEAT_1_wide): Likewise.
15157         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15158         (_FP_MUL_MEAT_1_hard): Likewise.
15159         (_FP_DIV_MEAT_1_imm): Likewise.
15160         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15161         (_FP_DIV_MEAT_1_udiv): Likewise.
15162         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15163         (_FP_UNPACK_RAW_2): Likewise.
15164         (_FP_UNPACK_RAW_2_P): Likewise.
15165         (_FP_PACK_RAW_2): Likewise.
15166         (_FP_PACK_RAW_2_P): Likewise.
15167         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15168         (_FP_MUL_MEAT_2_wide): Likewise.
15169         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15170         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15171         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15172         (_FP_MUL_MEAT_2_gmp): Likewise.
15173         (_FP_DIV_MEAT_2_udiv): Likewise.
15174         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15175         (_FP_FRAC_SRL_4): Likewise.
15176         (_FP_FRAC_SRST_4): Likewise.
15177         (_FP_FRAC_SRS_4): Likewise.
15178         (_FP_UNPACK_RAW_4): Likewise.
15179         (_FP_UNPACK_RAW_4_P): Likewise.
15180         (_FP_PACK_RAW_4): Likewise.
15181         (_FP_PACK_RAW_4_P): Likewise.
15182         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15183         (_FP_MUL_MEAT_4_wide): Likewise.
15184         (_FP_MUL_MEAT_4_gmp): Likewise.
15185         (umul_ppppmnnn): Likewise.
15186         (_FP_DIV_MEAT_4_udiv): Likewise.
15187         (__FP_FRAC_ADD_4): Likewise.
15188         (__FP_FRAC_SUB_3): Likewise.
15189         (__FP_FRAC_SUB_4): Likewise.
15190         (__FP_FRAC_DEC_3): Likewise.
15191         (__FP_FRAC_DEC_4): Likewise.
15192         (__FP_FRAC_ADDI_4): Likewise.
15193         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15194         (_FP_FRAC_SRL_8): Likewise.
15195         (_FP_FRAC_SRS_8): Likewise.
15197         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15198         include macro name.
15199         (FP_UNPACK_RAW_EP): Likewise.
15200         (FP_PACK_RAW_E): Likewise.
15201         (FP_PACK_RAW_EP): Likewise.
15202         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15203         (_FP_ISSIGNAN): Likewise.
15204         (_FP_ADD_INTERNAL): Likewise.
15205         (_FP_FMA): Likewise.
15206         (_FP_CMP): Likewise.
15207         (_FP_SQRT): Likewise.
15208         (_FP_TO_INT): Likewise.
15209         (_FP_FROM_INT): Likewise.
15210         (FP_EXTEND): Likewise.
15211         (_FP_DIV_MEAT_N_loop): Likewise.
15213 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15215         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15216         throughout.
15218 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15220         [BZ #17097]
15221         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15222         result with correct sign in case of exponents that produce
15223         overflow except for X very close to 1.
15225 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15227         mktime: merge #if/#ifdef usage from glibc
15228         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15229         as that works with both Glibc's and Gnulib's style.
15230         See thread starting at Siddhesh Poyarekar's bug report at:
15231         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15233 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15235         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15236         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15237         * sysdeps/tile/tilegx/memmove.c: Remove file.
15239 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15241         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15242         abi-name definition.
15243         * scripts/soversions.awk: Do not handle or generate ABI lines.
15244         * shlib-versions: Remove ABI entries.
15245         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15246         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15248 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15251         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15252         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15253         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15255         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15257         Moved ...
15258         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15259         ... here.
15260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15261         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15263         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15265         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15267         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15268         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15269         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15270         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15271         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15273         Moved ...
15274         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15276         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15278         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15280         Moved ...
15281         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15283         Moved ...
15284         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15286         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15287         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15288         Moved ...
15289         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15291         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15293         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15295         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15297         Moved ...
15298         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15300         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15301         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15302         Moved ...
15303         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15304         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15305         Moved ...
15306         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15307         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15308         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15309         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15310         Moved ...
15311         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15312         ... here.
15313         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15314         Identical file removed.
15315         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15316         Moved ...
15317         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15318         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15319         Identical file removed.
15320         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15321         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15322         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15323         Moved ...
15324         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15325         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15326         Identical file removed.
15327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15328         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15330         Identical file removed.
15331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15332         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15333         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15334         Identical file removed.
15335         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15336         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15337         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15338         Identical file removed.
15339         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15340         Moved ...
15341         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15343         Identical file removed.
15344         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15345         Moved ...
15346         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15347         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15348         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15349         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15350         Identical file removed.
15351         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15352         Moved ...
15353         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15354         ... here.
15355         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15356         Identical file removed.
15357         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15358         Moved ...
15359         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15360         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15361         Identical file removed.
15362         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15363         Moved ...
15364         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15366         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15368         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15369         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15370         Moved ...
15371         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15372         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15373         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15375         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15376         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15377         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15378         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15379         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15381 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15383         [BZ #17092]
15384         * nscd/nscd.c (monitor_child): Return exit status of child
15385         instead of return value from wait syscall.
15387 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15389         * configure.ac (libc_commonpagesize): Remove variable.
15390         (libc_relro_required): Likewise.
15391         (libc_cv_z_relro): Remove configure test.
15392         * configure: Regenerated.
15393         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15394         variable.
15395         (libc_relro_required): Likewise.
15396         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15397         (libc_relro_required): Likewise.
15398         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15399         (libc_relro_required): Likewise.
15400         * sysdeps/arm/preconfigure: Regenerated.
15401         * sysdeps/ia64/preconfigure: Remove file.
15402         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15403         variable.
15404         (libc_relro_required): Likewise.
15406         [BZ #16561]
15407         [BZ #16562]
15408         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15409         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15410         recompute overflowing results in original rounding mode.
15411         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15412         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15413         recompute overflowing results in original rounding mode.
15414         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15415         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15416         recompute overflowing results in original rounding mode.
15417         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15418         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15419         recompute overflowing results in original rounding mode.
15420         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15421         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15422         recompute overflowing results in original rounding mode.
15423         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15424         (libc_feholdsetround_ctx): New macro.
15425         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15426         * sysdeps/i386/fpu/libm-test-ulps: Update.
15427         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15429 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15431         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15432         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15433         corresponding .cpsetup call.
15435 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15437         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15438         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15439         * sysdeps/arm/Makefile [$(subdir) = csu]
15440         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15441         (static-only-routines): Add aeabi_read_tp here.
15442         (shared-only-routines): Add libc-aeabi_read_tp here.
15443         (CFLAGS-libc-start.c): Add -fexceptions here.
15444         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15445         (sysdep_routines, static-only-routines, shared-only-routines):
15446         Don't add to these here.
15447         (CFLAGS-libc-start.c): Likewise.
15449         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15450         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15451         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15452         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15453         * sysdeps/arm/Makefile [$(subdir) = rt]
15454         (librt-sysdep_routines, librt-shared-only-routines):
15455         Append rt-aeabi_unwind_cpp_pr1 here.
15456         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15457         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15458         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15459         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15460         Append nptl-aeabi_unwind_cpp_pr1 here.
15461         (tests): Filter out tst-cleanupx4 here.
15462         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15463         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15464         Don't do those here.
15466 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15468         * scripts/list-sources.sh: Do not handle ports specially.
15470 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15472         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15473         * sysdeps/arm/feupdateenv.c: Likewise.
15475         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15477 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15479         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15480         trailing whitespace removed.
15481         * scripts/config.guess: Update to version 2014-03-23.
15482         * scripts/config.sub: Update to version 2014-05-01
15483         * scripts/install-sh: Update to version 2013-12-25.23.
15484         * scripts/move-if-change: Update from gnulib.
15486 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15488         * debug/memmove_chk.c: Remove pagecopy.h include.
15490 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15492         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15493         identical to gnulib mktime.
15495 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15497         * configure.ac: Do not test for machine being rs6000.  Do not test
15498         for powerpc*-*soft.
15499         * configure: Regenerated.
15501         [BZ #11505]
15502         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15503         test.
15504         * configure: Regenerated.
15505         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15506         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15507         Remove configure test.
15508         * sysdeps/arm/configure: Regenerated.
15509         * sysdeps/nptl/configure.ac: Do not check
15510         libc_cv_asm_cfi_directives.
15511         * sysdeps/nptl/configure: Regenerated.
15512         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15513         * sysdeps/x86_64/nptl/configure: Remove generated file.
15514         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15515         unconditional.
15516         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15518 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15520         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15521         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15522         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15523         it is defined.
15525         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15526         instead of whether it is defined.
15527         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15528         * sysdeps/hppa/dl-machine.h: Likewise.
15529         * sysdeps/ia64/dl-machine.h: Likewise.
15530         * sysdeps/m68k/dl-machine.h: Likewise.
15531         * sysdeps/microblaze/dl-machine.h: Likewise.
15532         * sysdeps/mips/dl-machine.: Likewise.
15533         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15534         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15535         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15536         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15537         * sysdeps/sh/dl-machine.h: Likewise.
15538         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15539         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15540         * sysdeps/tile/dl-machine.h: Likewise.
15541         * sysdeps/x86_64/dl-machine.h: Likewise.
15543         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15544         code.
15545         (verify_persistent_db): Likewise.
15547 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15550         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15552         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15554         Moved ...
15555         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15556         ... here.
15557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15558         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15560         Identical file removed.
15561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15562         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15564         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15566         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15568         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15570         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15572         Moved ...
15573         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15575         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15577         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15579         Moved ...
15580         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15582         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15584         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15586         Identical file removed.
15587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15588         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15590         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15592         Moved ...
15593         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15594         ... here.
15595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15596         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15598         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15600         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15602         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15604         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15606         Moved ...
15607         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15609         Moved ...
15610         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15612         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15614         Moved ...
15615         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15617         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15619         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15620         folded into ...
15621         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15622         * sysdeps/unix/sysv/linux/s390/Versions
15623         (libpthread: GLIBC_2.19): New version set.
15624         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15625         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15626         (librt: GLIBC_2.3.3): New version set.
15627         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15628         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15629         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15630         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15631         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15632         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15633         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15634         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15635         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15636         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15637         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15638         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15639         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15640         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15641         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15642         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15643         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15644         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15645         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15646         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15647         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15648         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15649         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15650         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15651         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15652         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15653         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15654         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15655         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15656         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15657         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15658         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15659         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15663         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15664         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15665         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15666         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15667         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15668         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15669         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15670         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15671         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15673         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15674         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15675         (__libc_vfork): Define the function under this name.
15676         [!NOT_IN_libc] (__vfork): Make this an alias.
15677         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15678         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15679         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15680         (__libc_vfork): Define the function under this name.
15681         [!NOT_IN_libc] (__vfork): Make this an alias.
15682         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15683         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15684         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15686         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15687         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15689         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15690         code that was previously under [RESET_PID].
15691         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15692         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15693         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15695         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15696         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15697         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15698         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15699         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15700         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15701         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15702         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15703         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15704         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15705         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15706         Moved ...
15707         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15708         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15709         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15710         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15711         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15712         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15713         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15714         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15715         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15716         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15717         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15718         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15719         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15720         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15721         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15722         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15723         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15724         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15725         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15726         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15727         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15728         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15729         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15730         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15731         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15732         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15733         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15734         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15735         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15737 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15739         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15740         that was previously under [RESET_PID].
15741         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15743 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15745         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15746         not undefine and redefine.
15747         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15748         [O_CLOEXEC]: Make code unconditional.
15749         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15750         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15751         <kernel-features.h>.
15752         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15753         conditional variable definition.
15754         (shm_open) [O_CLOEXEC]: Make code unconditional.
15755         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15756         code.
15758         * configure.ac (USE_REGPARMS): Don't define here.
15759         * configure: Regenerated.
15760         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15761         * sysdeps/i386/configure: Regenerated.
15763         * nptl/createthread.c: Don't include kernel-features.h.
15764         * nptl/pthread_cancel.c: Likewise.
15765         * nptl/pthread_condattr_setclock.c: Likewise.
15766         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15767         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15768         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15769         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15770         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15771         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15772         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15773         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15774         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15775         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15776         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15777         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15778         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15779         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15780         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15781         * nscd/gai.c: Likewise.
15782         * nss/nss_db/db-open.c: Likewise.
15783         * sysdeps/generic/ldsodefs.h: Likewise.
15784         * sysdeps/sh/nptl/tls.h: Likewise.
15785         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15786         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15787         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15788         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15789         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15790         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15791         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15792         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15793         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15794         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15795         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15796         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15797         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15798         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15799         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15800         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15801         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15802         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15803         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15804         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15805         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15806         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15807         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15808         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15810         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15811         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15812         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15813         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15814         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15815         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15816         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15817         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15818         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15819         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15820         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15821         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15822         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15823         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15824         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15825         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15826         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15827         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15828         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15829         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15830         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15831         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15832         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15833         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15834         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15835         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15836         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15837         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15838         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15839         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15840         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15841         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15842         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15865         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15866         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15867         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15868         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15869         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15870         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15871         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15872         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15873         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15874         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15875         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15876         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15877         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15878         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15879         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15880         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15881         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15882         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15883         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15884         * sysdeps/unix/sysv/linux/system.c: Likewise.
15885         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15886         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15887         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15888         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15889         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15890         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15891         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15893         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15894         * configure: Regenerated.
15895         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15897         * configure.ac (base_machine): Do not set specially for particular
15898         machines here.
15899         * configure: Regenerated.
15900         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15901         settings from configure.ac.
15902         * sysdeps/i386/preconfigure: New file.
15903         * sysdeps/s390/preconfigure: Likewise.
15904         * sysdeps/sh/preconfigure: Likewise.
15905         * sysdeps/sparc/preconfigure: Likewise.
15907 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15909         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15910         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15911         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15912         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15913         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15914         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15915         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15916         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15917         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15918         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15919         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15920         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15921         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15922         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15923         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15924         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15925         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15926         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15927         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15929         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15930         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15931         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15932         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15933         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15934         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15935         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15936         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15937         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15938         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15939         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15940         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15941         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15942         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15943         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15944         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15945         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15946         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15947         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15948         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15949         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15950         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15951         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15952         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15953         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15954         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15955         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15956         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15957         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15958         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15959         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15960         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15961         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15962         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15963         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15964         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15965         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15966         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15969         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15971         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15973         Moved ...
15974         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15975         ... here.
15976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15977         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15979         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15981         Moved ...
15982         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15984         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15986         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15988         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15990         Moved ...
15991         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15993         Moved ...
15994         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15996         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15998         Moved ...
15999         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16001         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16003         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16005         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16007         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16009         Moved ...
16010         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16011         ... here.
16012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16013         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16015         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16017         Moved ...
16018         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16020         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16022         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16024         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16026         Moved ...
16027         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16029         Moved ...
16030         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16032         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16034         Moved ...
16035         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16037         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16039         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16041 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16043         * timezone/checktab.awk: Update from tzcode 2014e.
16044         * timezone/private.h: Likewise.
16045         * timezone/tzfile.h: Likewise.
16046         * timezone/zdump.c: Likewise.
16047         * timezone/zic.c: Likewise.
16049         * sysdeps/unix/sysv/linux/kernel-features.h
16050         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16051         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16052         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16053         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16054         Remove conditional code.
16056 2014-06-25  Will Newton  <will.newton@linaro.org>
16058         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16059         (_dl_arm_cap_flags): Add HWCAP2 values.
16060         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16061         (_DL_HWCAP_COUNT): Increase to 37.
16062         (_DL_HWCAP_LAST): New define.
16063         (_DL_HWCAP2_LAST): New define.
16064         (_dl_procinfo): Add support for printing
16065         AT_HWCAP2 entries.
16066         (_dl_string_hwcap): Use _dl_hwcap_string.
16068 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16072 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16074         * README: Do not mention ports directory.
16076         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16077         Remove macro.
16078         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16079         <kernel-features.h>.
16080         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16081         conditional variable definition.
16082         (__futimes): Update comment.
16083         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16084         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16086         [BZ #16560]
16087         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16088         arguments close to 0.
16089         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16090         Likewise.
16091         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16092         Likewise.
16093         * math/auto-libm-test-in: Add more tests of exp10.
16094         * math/auto-libm-test-out: Regenerated.
16095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16097         * sysdeps/unix/sysv/linux/kernel-features.h
16098         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16099         * sysdeps/unix/sysv/linux/readv.c: Do not include
16100         <kernel-features.h>.
16101         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16102         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16103         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16104         unconditional.
16105         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16106         conditional code.
16107         * sysdeps/unix/sysv/linux/writev.c: Do not include
16108         <kernel-features.h>.
16109         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16110         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16111         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16112         unconditional.
16113         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16114         conditional code.
16116 2014-06-25  Will Newton  <will.newton@linaro.org>
16118         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16119         comment changes throughout the file.  Remove checks
16120         for HAVE_*_H definitions that are not required.
16121         (__gen_tempname): Call abort if an unknown kind value is
16122         passed.
16124 2014-06-25  Andreas Schwab  <schwab@suse.de>
16126         [BZ #17086]
16127         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16128         scalbln, scalblnf, scalblnl in libc.
16130 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16132         [BZ #17086]
16133         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16134         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16135         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16137 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16139         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16140         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16141         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16142         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16143         Update #include.
16144         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16145         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16146         Update #include.
16147         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16148         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16149         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16150         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16151         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16152         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16153         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16154         * sysdeps/x86/bits/semaphore.h: ... here.
16155         * sysdeps/x86/nptl/elide.h: Moved ...
16156         * sysdeps/x86/elide.h: ... here.
16157         * sysdeps/x86_64/nptl/Implies: File removed.
16158         * sysdeps/i386/nptl/Implies: File removed.
16160 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16162         [BZ #16539]
16163         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16164         return the argument for normal arguments with exponent below -64.
16165         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16166         Likewise.
16167         * math/auto-libm-test-in: Add another test of expm1.
16168         * math/auto-libm-test-out: Regenerated.
16170         [BZ #16287]
16171         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16172         calling __erfcl for arguments at least 16.
16173         * math/auto-libm-test-in: Add more tests of erf.
16174         * math/auto-libm-test-out: Regenerated.
16176         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16177         individual architectures.
16178         * sysdeps/unix/sysv/linux/configure: Regenerated.
16179         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16180         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16181         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16182         (ldd_rewrite_script): Define variable.
16183         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16185         file.
16186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16187         generated file.
16188         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16189         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16190         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16191         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16192         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16193         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16194         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16195         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16197 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16199         [BZ #17084]
16200         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16201         Rename member __data.d to __data.__elision_data.
16203 2014-06-24  Wilco  <wdijkstr@arm.com>
16205         * NEWS: Add 16918 to fixed bug list.
16207 2014-06-24  Wilco  <wdijkstr@arm.com>
16209         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16211 2014-06-24  Wilco  <wdijkstr@arm.com>
16213         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16214         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16215         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16216         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16217         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16218         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16219         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16220         Use _FPU_MASK_RM.
16222 2014-06-24  Wilco  <wdijkstr@arm.com>
16224         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16226 2014-06-24  Wilco  <wdijkstr@arm.com>
16228         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16229         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16230         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16231         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16233 2014-06-24  Wilco  <wdijkstr@arm.com>
16235         [BZ #16918]
16236         * sysdeps/arm/feupdateenv.c (feupdateenv):
16237         Rewrite to reduce FPSCR accesses and fix return value.
16239 2014-06-24  Wilco  <wdijkstr@arm.com>
16241         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16242         Optimize to avoid unnecessary FPSCR writes.
16243         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16244         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16245         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16246         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16248 2014-06-24  Wilco  <wdijkstr@arm.com>
16250         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16251         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16252         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16253         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16254         Call libc_fetestexcept_vfp.
16255         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16256         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16257         __SOFTFP__ ifdef so that they can be built for softfp.
16259 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16261         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16262         argument type signed char.
16264         * Makerules (check-abi): Dump diff of symlist if the test
16265         fails.
16267 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16269         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16270         using abort.
16272         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16273         Remove unused variable ST.
16275 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16277         [BZ #16354]
16278         [BZ #17061]
16279         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16280         small arguments before calling __expm1.
16281         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16282         small arguments before calling __expm1f.
16283         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16284         small arguments before calling __expm1l.
16285         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16286         Likewise.
16287         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16288         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16289         spurious underflow for some cosh tests.
16290         * math/auto-libm-test-out: Regenerated.
16291         * sysdeps/i386/fpu/libm-test-ulps: Update.
16293         [BZ #17050]
16294         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16295         (__ieee754_y1): Set errno if return value overflows.
16296         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16297         (__ieee754_y1f): Set errno if return value overflows.
16298         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16299         (__ieee754_y1l): Set errno if return value overflows.
16300         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16301         (__ieee754_y1l): Set errno if return value overflows.
16302         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16303         * math/auto-libm-test-out: Regenerated.
16305         * math/gen-auto-libm-tests.c: Document use of
16306         ignore-zero-inf-sign.
16307         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16308         (input_flags): Add ignore-zero-inf-sign.
16309         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16310         * math/gen-libm-test.pl (generate_testfile): Handle
16311         ignore-zero-inf-sign.
16312         * math/auto-libm-test-in: Mark some cpow tests with
16313         ignore-zero-inf-sign and some with xfail-rounding.
16314         * math/auto-libm-test-out: Regenerated.
16315         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16316         * sysdeps/i386/fpu/libm-test-ulps: Update.
16317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16319         [BZ #16315]
16320         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16321         overflowing or underflowing operations take place with sign of
16322         result.
16323         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16324         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16325         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16326         (__ieee754_pow): Recompute overflowing and underflowing results in
16327         original rounding mode.
16328         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16329         (__powl_helper): Allow negative argument X and scale negated value
16330         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16331         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16332         overflowing or underflowing operations take place with sign of
16333         result.
16334         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16335         Include <math.h>.
16336         * math/auto-libm-test-in: Add more tests of pow.
16337         * math/auto-libm-test-out: Regenerated.
16338         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16339         (pow_tonearest_test_data): Remove.
16340         (pow_test_tonearest): Likewise.
16341         (pow_towardzero_test_data): Likewise.
16342         (pow_test_towardzero): Likewise.
16343         (pow_downward_test_data): Likewise.
16344         (pow_test_downward): Likewise.
16345         (pow_upward_test_data): Likewise.
16346         (pow_test_upward): Likewise.
16347         (main): Don't call removed functions.
16348         * sysdeps/i386/fpu/libm-test-ulps: Update.
16349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16351 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16354         Moved ...
16355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16357         Moved ...
16358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16360         Moved ...
16361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16363         Moved ...
16364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16366         File removed.
16367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16368         File removed.
16369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16370         File removed.
16371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16372         File removed.
16373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16374         File removed.
16375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16376         File removed.
16377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16378         File removed.
16379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16380         File removed.
16381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16382         File removed.
16383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16384         File removed.
16385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16386         File removed.
16387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16388         File removed.
16389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16390         Moved ...
16391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16393         Moved ...
16394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16395         ... here.
16396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16397         Moved ...
16398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16400         Moved ...
16401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16403         Moved ...
16404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16406         Moved ...
16407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16409         Moved ...
16410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16412         Moved ...
16413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16415         Moved ...
16416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16419         ... here.
16420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16421         Moved ...
16422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16424         Moved ...
16425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16426         ... here.
16427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16428         Moved ...
16429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16430         ... here.
16431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16432         Moved ...
16433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16434         ... here.
16435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16436         Moved ...
16437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16439         Moved ...
16440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16444         Moved ...
16445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16446         ... here.
16447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16448         Moved ...
16449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16450         ... here.
16451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16452         Moved ...
16453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16455         Moved ...
16456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16458         Moved ...
16459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16461         Moved ...
16462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16464         Moved ...
16465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16466         ... here.
16467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16468         Moved ...
16469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16471         Moved ...
16472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16474         Moved ...
16475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16477         Moved ...
16478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16482         Moved ...
16483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16485         Moved ...
16486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16488         Moved ...
16489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16490         ... here.
16491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16492         Moved ...
16493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16494         ... here.
16495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16496         Moved ...
16497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16498         ... here.
16499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16500         Moved ...
16501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16503         Moved ...
16504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16506         Moved ...
16507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16509         Moved ...
16510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16511         ... here.
16512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16513         Moved ...
16514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16515         ... here.
16516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16517         Moved ...
16518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16519         ... here.
16520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16521         Moved ...
16522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16524         Moved ...
16525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16527 2014-06-23  Will Newton  <will.newton@linaro.org>
16528             Wilco  <wdijkstr@arm.com>
16530         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16531         implementation.  Include get-rounding-mode.h.
16532         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16533         [!libc_feholdsetround_noex_ctx]: Define
16534         libc_feholdsetround_noex_ctx.
16535         [!libc_feholdsetround_noexf_ctx]: Define
16536         libc_feholdsetround_noexf_ctx.
16537         [!libc_feholdsetround_noexl_ctx]: Define
16538         libc_feholdsetround_noexl_ctx.
16539         (libc_feholdsetround_ctx): New function.
16540         (libc_feresetround_ctx): New function.
16541         (libc_feholdsetround_noex_ctx): New function.
16542         (libc_feresetround_noex_ctx): New function.
16544 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16546         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16547         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16548         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16549         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16550         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16551         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16553         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16554         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16555         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16556         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16557         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16558         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16559         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16560         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16561         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16562         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16563         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16564         Moved ...
16565         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16566         ... here.
16567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16568         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16569         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16570         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16571         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16572         Moved ...
16573         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16574         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16575         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16576         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16577         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16578         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16579         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16581         Moved ...
16582         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16583         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16584         Moved ...
16585         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16586         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16587         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16588         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16589         Moved ...
16590         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16591         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16592         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16593         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16594         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16595         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16596         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16597         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16598         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16599         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16600         Moved ...
16601         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16602         ... here.
16603         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16604         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16606         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16607         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16608         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16609         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16610         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16611         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16612         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16613         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16614         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16615         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16616         Moved ...
16617         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16618         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16619         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16620         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16621         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16622         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16623         Moved ...
16624         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16625         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16626         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16627         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16628         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16630         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16631         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16632         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16633         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16634         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16635         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16636         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16637         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16638         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16639         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16640         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16641         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16642         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16643         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16644         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16645         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16646         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16647         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16648         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16649         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16650         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16651         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16652         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16653         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16654         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16655         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16656         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16657         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16659 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16661         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16662         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16663         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16664         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16665         (IPV6_PMTUDISC_INTERFACE): Likewise.
16666         (IPV6_PMTUDISC_OMIT): Likewise.
16668 2014-06-23  Andreas Schwab  <schwab@suse.de>
16670         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16671         Remove unused errout label.
16673 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16675         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16676         macro: hardware supports Vector Crypto instructions.
16678 2014-06-23  Will Newton  <will.newton@linaro.org>
16680         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16681         rather than __builtin_expect.
16683         * elf/dl-lookup.c (undefined_msg): Remove variable.
16684         (_dl_lookup_symbol_x): Replace undefined_msg with string
16685         literal.
16687         * elf/dl-lookup.c (do_lookup_unique): New function.
16688         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16689         to a separate function.
16691 2014-06-23  Andreas Schwab  <schwab@suse.de>
16693         [BZ #17079]
16694         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16695         before reading the next line.
16697 2014-06-23  Will Newton  <will.newton@linaro.org>
16699         * test-skeleton.c (signal_handler): Use printf and %m
16700         rather than perror.  Use printf rather than fprintf to
16701         stderr.  Use puts rather than fputs to stderr.
16702         (main): Likewise.
16704 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16706         * nscd/nscd.c (thread_info_t): Remove typedef.
16707         (thread_info): Remove variable.
16709 2014-06-21  Allan McRae  <allan@archlinux.org>
16711         * NEWS: Mention CVE-2014-4043.
16713 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16715         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16716         * nptl/smp.h: ... here.
16718         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16720         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16721         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16722         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16723         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16725         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16726         * nptl/stack-aliasing.h: New file.
16727         * sysdeps/i386/i686/stack-aliasing.h: New file.
16728         * sysdeps/i386/i686/nptl/Makefile: File removed.
16729         * sysdeps/x86_64/stack-aliasing.h: New file.
16730         * sysdeps/x86_64/nptl/Makefile
16731         (CFLAGS-pthread_create.c): Variable removed.
16733         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16734         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16735         old file.
16736         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16737         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16738         old file.
16740 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16742         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16743         (__ASSUME_SIGFRAME_V2): Remove macro.
16744         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16745         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16746         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16747         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16748         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16749         Declare as function.  Remove conditional macro definitions.
16750         (__default_rt_sa_restorer): Likewise.
16751         (__default_sa_restorer_v1): Remove declaration.
16752         (__default_sa_restorer_v2): Likewise.
16753         (__default_rt_sa_restorer_v1): Likewise.
16754         (__default_rt_sa_restorer_v2): Likewise.
16755         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16756         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16757         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16759 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16761         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16762         (libpthread-routines): Add sysdep.
16763         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16764         * sysdeps/unix/sysv/linux/sparc/Versions
16765         (libpthread: GLIBC_2.3.3): New version set.
16766         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16767         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16768         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16769         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16770         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16771         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16772         Moved ...
16773         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16774         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16775         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16776         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16777         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16778         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16779         * sysdeps/sparc/nptl/sem_init.c: ... here.
16780         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16781         * sysdeps/sparc/nptl/sem_post.c: ... here.
16782         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16783         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16784         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16785         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16786         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16787         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16788         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16789         (libpthread-routines): Add cpu_relax.
16790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16791         File removed.
16792         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16793         (librt: GLIBC_2.3.3): New version set.
16794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16795         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16796         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16797         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16800         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16802         Moved ...
16803         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16805         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16807         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16809         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16811         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16813         Moved ...
16814         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16815         Update #include.
16816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16817         Moved ...
16818         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16819         Update #include.
16820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16821         Moved ...
16822         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16823         Update #include.
16824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16825         Moved ...
16826         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16827         Update #include.
16828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16829         Moved ...
16830         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16831         Update #include.
16832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16833         Moved ...
16834         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16835         Update #include.
16836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16837         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16839         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16841         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16843         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16845         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16847         Moved ...
16848         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16850         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16852         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16854 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16856         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16857         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16858         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16859         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16860         * nscd/nscd.c: Likewise.
16861         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16862         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16863         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16864         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16866         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16867         <kernel-features.h>.
16868         (init_mq_netlink): Remove conditional have_sock_cloexec
16869         definitions.  Remove code conditional on have_sock_cloexec < 0.
16870         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16871         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16872         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16873         <kernel-features.h>.
16874         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16875         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16877 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16880         Add tests for memset_chk and memset.
16882         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16883         with AVX2_Usable.
16885 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16887         [BZ #16046]
16888         * elf/tst-dl-iter-static.c: New file.
16889         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16891         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16892         error.
16894 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16896         * sysdeps/unix/sysv/linux/kernel-features.h
16897         (__ASSUME_F_GETOWN_EX): Remove macro.
16898         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16899         <kernel-features.h>.
16900         (miss_F_GETOWN_EX): Remove variable or macro.
16901         (do_fcntl): Do not check miss_F_GETOWN_EX.
16902         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16904         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16905         Remove macro.
16906         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16907         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16908         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16910         * sysdeps/unix/sysv/linux/kernel-features.h
16911         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16912         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16913         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16914         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16916 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16918         [BZ #17075]
16919         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16920         Fix calculation of the symbol's value.
16921         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16922         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16923         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16924         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16925         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16926         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16927         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16928         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16929         (modules-names): Add `tst-armtlsdescmod',
16930         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16931         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16932         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16933         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16934         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16935         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16936         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16937         ($(objpfx)tst-armtlsdescloc): New dependency.
16938         ($(objpfx)tst-armtlsdescextnow): Likewise.
16939         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16940         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16941         TLS scheme support.
16942         * sysdeps/arm/configure: Regenerate.
16944 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16946         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16947         (__atfct_seterrno_2): Likewise.
16948         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16949         <kernel-features.h>.
16950         (__ASSUME_ATFCTS): Do not undefine and redefine.
16951         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16952         (__have_atfcts): Remove conditional definition.
16953         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16954         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16955         unreachable if [__ASSUME_ATFCTS].
16956         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16957         not undefine and redefine.
16958         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16959         <kernel-features.h>.
16960         (faccessat) [__NR_faccessat]: Make code unconditional.
16961         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16962         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16963         <kernel-features.h>.
16964         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16965         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16966         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16967         <kernel-features.h>.
16968         (fchownat) [__NR_fchownat]: Make code unconditional.
16969         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16970         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16971         <kernel-features.h>.
16972         (futimesat) [__NR_futimesat]: Make code unconditional.
16973         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16974         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16975         <kernel-features.h>.
16976         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16977         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16978         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16979         <kernel-features.h>.
16980         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16981         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16982         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16983         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16984         <kernel-features.h>.
16985         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16986         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16987         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16988         <kernel-features.h>.
16989         (linkat) [__NR_linkat]: Make code unconditional.
16990         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16991         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16992         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16993         <kernel-features.h>.
16994         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16995         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16996         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16997         <kernel-features.h>.
16998         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16999         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17000         * sysdeps/unix/sysv/linux/openat.c: Do not include
17001         <kernel-features.h>.
17002         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17003         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17004         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17005         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17006         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17007         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17008         <kernel-features.h>.
17009         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17010         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17011         result of INLINE_SYSCALL directly, not via int variable.
17012         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17013         <kernel-features.h>.
17014         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17015         (renameat) [__NR_renameat]: Make code unconditional.
17016         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17017         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17018         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17019         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17020         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17021         (__ASSUME_ATFCTS): Do not undefine and redefine.
17022         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17023         <kernel-features.h>.
17024         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17025         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17026         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17027         <kernel-features.h>.
17028         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17029         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17030         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17031         (__ASSUME_ATFCTS): Do not undefine and redefine.
17032         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17033         <kernel-features.h>.
17034         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17035         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17036         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17037         <kernel-features.h>.
17038         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17039         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17041 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17043         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17045 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17047         [BZ #17069]
17048         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17049         constructed tree before returning error.
17050         * posix/bug-regexp36.c: Expand test case.
17052 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17054         [BZ #6803]
17055         * math/libm-test.inc (scalbln_test_date):
17056         Add errno expectations.
17057         * math/w_scalblnf.c: New File.
17058         Add wrapper which checks for setting errno to ERANGE.
17059         Add weak_alias for corresponding scalbln function.
17060         * math/w_scalbln.c: Likewise.
17061         * math/w_scalblnl.c: Likewise.
17062         * math/Makefile (libm-calls): Add w_scalbln.
17063         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17064         Remove weak_alias for corresponding scalbln function.
17065         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17067         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17068         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17069         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17070         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17071         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17072         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17073         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17074         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17075         Remove long_double_symbol for scalblnl function in libm, libc.
17076         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17077         Add wrapper which checks for setting errno to ERANGE.
17078         Add long_double_symbol for scalblnl function in libm, libc.
17079         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17080         Remove long_double_symbol for scalblnl in libm.
17081         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17082         Add wrapper which checks for setting errno to ERANGE.
17083         Add long_double_symbol for scalblnl function in libm.
17084         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17085         Do not use wrapper because of own implementation.
17087 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17089         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17090         3 bytes for __pad1 for x32.
17091         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17093 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17094             H.J. Lu  <hongjiu.lu@intel.com>
17096         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17097         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17098         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17099         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17100         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17102 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17104         [BZ #17069]
17105         * posix/regcomp.c (parse_expression): Deallocate partially
17106         constructed tree before returning error.
17107         * posix/Makefile.c (tests): Add bug-regex36.
17108         (generated): Add bug-regex36.mtrace.
17109         (tests-special): Add $(objpfx)bug-regex36-mem.out
17110         (bug-regex36-ENV): New variable.
17111         ($(objpfx)bug-regex36-mem.out): New rule.
17112         * posix/bug-regex36.c: New file.
17114 2014-06-19  Will Newton  <will.newton@linaro.org>
17116         * malloc/malloc.c (systrim): If extra is zero then return
17117         early.
17119 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17121         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17123 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17125         * sysdeps/aarch64/strchr.S: New file.
17127 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17129         [BZ #17022]
17130         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17131         from arguments -2 or below.
17132         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17133         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17135 2014-06-18  Andreas Schwab  <schwab@suse.de>
17137         [BZ #17062]
17138         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17139         of a bracket expr not to run off the end of the string.
17140         * posix/Makefile (tests): Add tst-fnmatch3.
17141         * posix/tst-fnmatch3.c: New file.
17143 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17145         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17146         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17147         [$(cross-compiling) = no]: Likewise.
17148         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17149         [$(cross-compiling) = no]: Likewise.
17151 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17153         [BZ #17031]
17154         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17155         double, adjusted for any remainder from the high double.
17156         * math/libm-test.inc (nearbyint): Add tests.
17157         (rint): Likewise.
17159 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17161         * nptl/sysdeps/powerpc/Makefile: Moved ...
17162         * sysdeps/powerpc/nptl/Makefile: ... here.
17163         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17164         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17165         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17166         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17167         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17168         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17169         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17170         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17171         * nptl/sysdeps/powerpc/tls.h: Moved ...
17172         * sysdeps/powerpc/nptl/tls.h: ... here.
17174 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17176         [BZ #16681]
17177         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17178         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17179         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17180         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17181         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17182         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17183         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17184         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17185         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17187 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17189         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17191 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17193         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17194         defined operator.
17196         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17197         $TIMEOUTFACTOR.
17199 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17201         [BZ #17058]
17202         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17203         non-executed part of the test.
17205 2014-06-16  Andreas Schwab  <schwab@suse.de>
17207         * string/bits/string2.h (strdup, strndup): Update feature guard.
17209 2014-06-14  David S. Miller  <davem@davemloft.net>
17211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17213 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17215         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17216         that was previously under [RESET_PID].
17217         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17219         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17220         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17221         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17222         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17223         (__libc_vfork): New strong alias.
17224         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17226 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17228         * sysdeps/generic/elide.h: New file.
17230 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17232         * Makefile (installed-headers): Adjust path of pthread.h header.
17234 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17236         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17237         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17238         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17239         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17241         * nptl/sysdeps/s390/Makefile: Moved ...
17242         * sysdeps/s390/nptl/Makefile: ... here.
17243         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17244         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17245         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17246         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17247         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17248         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17249         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17250         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17251         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17252         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17253         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17254         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17255         * nptl/sysdeps/s390/tls.h: Moved ...
17256         * sysdeps/s390/nptl/tls.h: ... here.
17258         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17259         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17261 2014-06-13  David S. Miller  <davem@davemloft.net>
17263         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17266         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17270         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17271         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17272         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17273         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17274         Remove RESET_PID cpp guards.
17275         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17276         Remove RESET_PID cpp guards.
17277         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17279 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17281         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17282         __sp to uintptr_t.
17284 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17286         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17287         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17288         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17289         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17290         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17291         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17292         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17293         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17294         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17295         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17297         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17298         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17299         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17300         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17301         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17302         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17303         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17304         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17305         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17307         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17308         (pthread_rwlock_rdlock): Add elision.
17309         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17310         (pthread_rwlock_wrlock): Add elision.
17311         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17312         (pthread_rwlock_trywrlock): Add elision.
17313         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17314         (pthread_rwlock_tryrdlock): Add elision.
17315         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17316         (pthread_rwlock_tryrdlock): Add elision unlock.
17317         * nptl/sysdeps/pthread/pthread.h:
17318         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17319         (PTHREAD_RWLOCK_INITIALIZER,
17320         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17321         Handle new elision field.
17322         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17323         * sysdeps/arm/nptl/bits/pthreadtypes.h
17324         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17325         * sysdeps/sh/nptl/bits/pthreadtypes.h
17326         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17327         * sysdeps/tile/nptl/bits/pthreadtypes.h
17328         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17329         * sysdeps/a/nptl/bits/pthreadtypes.h
17330         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17331         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17332         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17333         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17334         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17335         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17336         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17337         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17339         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17340         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17341         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17342         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17343         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17344         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17345         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17346         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17347         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17348         (elision_init): Set try_xbegin to zero when no RTM.
17349         * sysdeps/x86/nptl/bits/pthreadtypes.h
17350         (pthread_rwlock_t): Change __pad1 to __rwelision.
17351         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17353 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17355         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17356         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17357         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17358         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17360 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17362         [BZ #16996]
17363         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17364         that the cached result has been set before returning it.
17366 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17368         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17369         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17370         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17371         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17372         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17373         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17375         * nptl/sysdeps/sparc/Makefile: Moved ...
17376         * sysdeps/sparc/nptl/Makefile: ... here.
17377         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17378         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17379         * nptl/sysdeps/sparc/tls.h: Moved ...
17380         * sysdeps/sparc/nptl/tls.h: ... here.
17381         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17382         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17383         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17384         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17385         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17386         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17387         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17388         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17389         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17390         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17391         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17392         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17393         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17394         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17395         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17396         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17397         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17398         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17399         Update #include.
17400         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17401         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17402         Update #include.
17403         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17404         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17405         Update #include.
17406         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17407         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17408         Update #include.
17410         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17412         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17413         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17415         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17416         (struct list_links): Type removed.
17417         (struct thread_node, struct timer_node): Replace struct list_links
17418         with struct list_head.
17419         (list_unlink_ip): Likewise.
17420         * sysdeps/pthread/timer_routines.c
17421         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17422         (list_append, list_insbefore): Likewise.
17423         (list_init): Function removed.
17424         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17425         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17426         * sysdeps/pthread/Makefile: ... here, new file.
17428         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17429         * sysdeps/nptl/Implies: ... here.
17430         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17431         * nptl/sysdeps/pthread/list.h: Moved ...
17432         * include/list.h: ... here.
17433         * nptl/sysdeps/pthread/createthread.c: Moved ...
17434         * nptl/createthread.c: ... here.
17435         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17436         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17437         * nptl/pt-longjmp.c: ... here.
17438         * nptl/sysdeps/pthread/Makefile: Moved ...
17439         * sysdeps/nptl/Makefile: ... here.
17440         * nptl/sysdeps/pthread/Subdirs: Moved ...
17441         * sysdeps/nptl/Subdirs: ... here.
17442         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17443         * sysdeps/nptl/aio_misc.h: ... here.
17444         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17445         * sysdeps/nptl/bits/libc-lock.h: ... here.
17446         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17447         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17448         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17449         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17450         * nptl/sysdeps/pthread/configure: Moved ...
17451         * sysdeps/nptl/configure: ... here.
17452         * nptl/sysdeps/pthread/configure.ac: Moved ...
17453         * sysdeps/nptl/configure.ac: ... here.
17454         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17455         * sysdeps/nptl/gai_misc.h: ... here.
17456         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17457         * sysdeps/nptl/librt-cancellation.c: ... here.
17458         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17459         * sysdeps/nptl/malloc-machine.h: ... here.
17460         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17461         * sysdeps/nptl/pthread-functions.h: ... here.
17462         * nptl/sysdeps/pthread/pthread.h: Moved ...
17463         * sysdeps/nptl/pthread.h: ... here.
17464         * nptl/sysdeps/pthread/setxid.h: Moved ...
17465         * sysdeps/nptl/setxid.h: ... here.
17466         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17467         * sysdeps/nptl/sigfillset.c: ... here.
17468         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17469         * sysdeps/nptl/tcb-offsets.h: ... here.
17470         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17471         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17472         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17473         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17474         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17475         * sysdeps/pthread/allocalim.h: ... here.
17476         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17477         * sysdeps/pthread/bits/sigthread.h: ... here.
17478         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17479         * sysdeps/pthread/flockfile.c: ... here.
17480         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17481         * sysdeps/pthread/ftrylockfile.c: ... here.
17482         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17483         * sysdeps/pthread/funlockfile.c: ... here.
17484         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17485         * sysdeps/pthread/posix-timer.h: ... here.
17486         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17487         * sysdeps/pthread/timer_create.c: ... here.
17488         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17489         * sysdeps/pthread/timer_delete.c: ... here.
17490         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17491         * sysdeps/pthread/timer_getoverr.c: ... here.
17492         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17493         * sysdeps/pthread/timer_gettime.c: ... here.
17494         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17495         * sysdeps/pthread/timer_routines.c: ... here.
17496         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17497         * sysdeps/pthread/timer_settime.c: ... here.
17498         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17499         * sysdeps/pthread/tst-timer.c: ... here.
17500         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17501         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17503         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17504         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17506         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17507         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17508         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17509         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17510         Update #include target.
17511         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17512         * sysdeps/i386/i686/nptl/Makefile: ... here.
17513         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17514         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17515         Update #include target.
17516         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17517         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17518         * nptl/sysdeps/i386/Makefile: Moved ...
17519         * sysdeps/i386/nptl/Makefile: ... here.
17520         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17521         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17522         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17523         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17524         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17525         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17526         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17527         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17528         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17529         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17530         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17531         * nptl/sysdeps/i386/tls.h: Moved ...
17532         * sysdeps/i386/nptl/tls.h: ... here.
17534         * sysdeps/sh/Makefile [$(subdir) = csu]
17535         (gen-as-const-headers): Add tcb-offsets.sym.
17536         * nptl/sysdeps/sh/Makefile: File removed.
17537         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17538         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17539         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17540         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17541         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17542         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17543         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17544         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17545         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17546         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17547         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17548         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17549         * nptl/sysdeps/sh/tls.h: Moved ...
17550         * sysdeps/sh/nptl/tls.h: ... here.
17551         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17552         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17553         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17554         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17555         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17556         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17557         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17558         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17559         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17560         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17561         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17562         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17563         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17564         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17565         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17566         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17567         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17568         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17569         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17570         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17571         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17572         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17573         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17574         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17575         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17576         Moved ...
17577         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17578         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17579         Moved ...
17580         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17581         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17582         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17583         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17584         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17585         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17586         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17587         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17588         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17589         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17590         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17591         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17592         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17593         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17594         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17595         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17596         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17597         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17598         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17600 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17602         * posix/spawn_faction_addopen.c: Include string.h.
17604 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17606         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17607         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17608         * nptl/sysdeps/x86_64/Makefile: Moved ...
17609         * sysdeps/x86_64/nptl/Makefile: ... here.
17610         * nptl/sysdeps/x86_64/configure: Moved ...
17611         * sysdeps/x86_64/nptl/configure: ... here.
17612         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17613         * sysdeps/x86_64/nptl/configure.ac: ... here.
17614         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17615         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17616         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17617         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17618         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17619         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17620         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17621         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17622         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17623         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17624         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17625         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17626         * nptl/sysdeps/x86_64/tls.h: Moved ...
17627         * sysdeps/x86_64/nptl/tls.h: ... here.
17628         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17629         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17630         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17631         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17633         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17635 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17639 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17641         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17642         type.
17643         [POSIX] (off_t): Likewise.
17644         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17645         [POSIX] (S_ISBLK): Require macro.
17646         [POSIX] (S_ISCHR): Likewise.
17647         [POSIX] (S_ISDIR): Likewise.
17648         [POSIX] (S_ISFIFO): Likewise.
17649         [POSIX] (S_ISREG): Likewise.
17650         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17651         optional-macro.
17652         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17653         type.
17654         [POSIX] (time_t): Likewise.
17655         [POSIX] (timer_t): Likewise.
17657 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17659         [BZ #17048]
17660         * posix/spawn_int.h (struct __spawn_action): Make the path string
17661         non-const to support deallocation.
17662         * posix/spawn_faction_addopen.c
17663         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17664         * posix/spawn_faction_destroy.c
17665         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17666         path in all spawn_do_open actions.
17667         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17668         posix_spawn_file_actions_addopen.
17670 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17672         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17673         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17674         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17675         conditional code always true.
17676         (__libc_vfork): New alias.
17678 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17680         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17681         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17683         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17685         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17686         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17688         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17689         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17691         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17692         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17694 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17696         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17697         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17698         multiarch strcmp for PPC64.
17699         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17700         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17702         multiarch optimizations.
17703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17704         (__libc_ifunc_impl_list): Likewise.
17706 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17708         * benchtests/scripts/validate_benchout.py: New script.
17709         * benchtests/Makefile (bench-func): Call it.
17710         * benchtests/scripts/benchout.schema.json: New file.
17712 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17714         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17715         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17716         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17717         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17718         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17719         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17720         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17721         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17722         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17723         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17724         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17725         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17726         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17727         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17728         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17729         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17731         Moved ...
17732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17733         ... here.
17734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17735         Moved ...
17736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17738         Moved ...
17739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17740         ... here.
17741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17742         Moved ...
17743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17744         ... here.
17745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17746         Moved ...
17747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17749         Moved ...
17750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17751         ... here.
17752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17753         Moved ...
17754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17755         ... here.
17756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17757         Moved ...
17758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17760         Moved ...
17761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17762         ... here.
17763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17764         Moved ...
17765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17766         ... here.
17767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17768         Moved ...
17769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17770         ... here.
17771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17772         Moved ...
17773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17775         Moved ...
17776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17777         ... here.
17778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17779         Moved ...
17780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17781         ... here.
17782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17783         Moved ...
17784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17785         ... here.
17786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17787         Moved ...
17788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17790         Moved ...
17791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17792         ... here.
17793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17794         Moved ...
17795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17796         ... here.
17797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17798         Moved ...
17799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17801         Moved ...
17802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17803         ... here.
17804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17805         Moved ...
17806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17808         Moved ...
17809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17811         Moved ...
17812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17813         ... here.
17814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17815         Moved ...
17816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17817         ... here.
17818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17819         Moved ...
17820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17821         ... here.
17822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17823         Moved ...
17824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17826         Moved ...
17827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17828         ... here.
17829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17830         Moved ...
17831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17832         ... here.
17833         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17834         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17835         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17836         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17837         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17838         Moved ...
17839         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17840         ... here.
17841         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17842         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17844         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17845         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17846         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17847         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17848         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17849         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17850         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17851         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17852         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17853         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17854         Moved ...
17855         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17857         Moved ...
17858         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17859         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17860         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17861         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17862         Moved ...
17863         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17864         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17865         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17866         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17867         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17868         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17869         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17871 2014-06-10  Wilco  <wdijkstr@arm.com>
17873         * math/test-fenv-return.c: New file.
17874         * math/Makefile: Add new test test-fenv-return.
17876 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17878         [BZ #17042]
17879         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17880         when x - 1 is zero.
17881         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17882         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17883         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17884         0.0L for an argument of 1.0L.
17885         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17886         Likewise.
17887         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17888         value when x - 1 is zero.
17889         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17890         * sysdeps/i386/fpu/libm-test-ulps: Update.
17891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17893 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17895         [BZ #15119]
17896         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17898 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17900         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17901         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17903 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17905         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17906         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17908         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17909         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17911         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17912         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17914         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17915         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17917         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17918         if not already defined.
17919         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17920         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17921         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17922         (TLS_INIT_TP): Use it.
17923         (TLS_DEFINE_INIT_TP): New macro.
17924         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17926 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17928         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17929         constant.
17930         [POSIX] (IXANY): Likewise.
17931         [POSIX] (OLCUC): Likewise.
17932         [POSIX || POSIX2008] (CBAUD): Do not allow.
17933         [POSIX || POSIX2008] (DEFECHO): Likewise.
17934         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17935         [POSIX || POSIX2008] (ECHOKE): Likewise.
17936         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17937         [POSIX || POSIX2008] (EXTA): Likewise.
17938         [POSIX || POSIX2008] (EXTB): Likewise.
17939         [POSIX || POSIX2008] (FLUSHO): Likewise.
17940         [POSIX || POSIX2008] (LOBLK): Likewise.
17941         [POSIX || POSIX2008] (PENDIN): Likewise.
17942         [POSIX || POSIX2008] (SWTCH): Likewise.
17943         [POSIX || POSIX2008] (VDISCARD): Likewise.
17944         [POSIX || POSIX2008] (VDSUSP): Likewise.
17945         [POSIX || POSIX2008] (VLNEXT): Likewise.
17946         [POSIX || POSIX2008] (VREPRINT): Likewise.
17947         [POSIX || POSIX2008] (VSTATUS): Likewise.
17948         [POSIX || POSIX2008] (VWERASE): Likewise.
17949         (B*): Change to B[0123456789]*.
17950         * conform/data/time.h-data [POSIX || UNIX98]
17951         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17952         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17953         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17954         [POSIX] (tm_*): Do not allow.
17956 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17958         * Makefile (install): Don't set LANGUAGE.
17959         * Makefile.in (install): Likewise.
17960         * assert/Makefile (test-assert-ENV): Remove variable.
17961         (test-assert-perr-ENV): Likewise.
17962         * elf/Makefile (neededtest4-ENV): Likewise.
17963         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17964         [$(cross-compiling) = no]: Don't set LANGUAGE.
17965         * io/ftwtest-sh (LANG): Remove variable.
17966         * libio/Makefile (tst-widetext-ENV): Likewise.
17967         * manual/install.texi (Running make install): Don't refer to
17968         environment settings for make install.
17969         * INSTALL: Regenerated.
17970         * nptl/tst-tls6.sh: Don't set LANG.
17971         * posix/globtest.sh (LANG): Remove variable.
17972         * string/Makefile (tester-ENV): Likewise.
17973         (inl-tester-ENV): Likewise.
17974         (noinl-tester-ENV): Likewise.
17975         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17976         [$(cross-compiling) = no]: Don't set LANGUAGE.
17977         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17978         without explicit environment settings.
17980 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17982         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17983         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17984         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17985         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17987 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17989         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17990         other files in the crypt directory.
17991         * crypt/crypt.c: Remove duplicate includes.
17992         * crypt/crypt-entry.c: Likewise.
17993         * crypt/crypt_util.c: Likewise.
17995 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17997         * Makeconfig (run-program-env): New variable.
17998         (run-program-prefix-before-env): Likewise.
17999         (run-program-prefix-after-env): Likewise.
18000         (run-program-prefix): Define in terms of new variables.
18001         (built-program-cmd-before-env): New variable.
18002         (built-program-cmd-after-env): Likewise.
18003         (built-program-cmd): Define in terms of new variables.
18004         (test-program-prefix-before-env): New variable.
18005         (test-program-prefix-after-env): Likewise.
18006         (test-program-prefix): Define in terms of new variables.
18007         (test-program-cmd-before-env): New variable.
18008         (test-program-cmd-after-env): Likewise.
18009         (test-program-cmd): Define in terms of new variables.
18010         * Rules (make-test-out): Use $(run-program-env).
18011         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18012         (help): Do not mention environment variables.  Mention
18013         --timeoutfactor option.
18014         (timeoutfactor): New variable.
18015         (blacklist_exports): Remove function.
18016         (exports): Remove variable.
18017         (command): Do not include ${exports}.
18018         * manual/install.texi (Configuring and compiling): Do not mention
18019         test wrappers preserving environment variables.  Mention that last
18020         assignment to a variable must take precedence.
18021         * INSTALL: Regenerated.
18022         * benchtests/Makefile (run-bench): Use $(run-program-env).
18023         * catgets/Makefile ($(objpfx)test1.cat): Use
18024         $(built-program-cmd-before-env), $(run-program-env) and
18025         $(built-program-cmd-after-env).
18026         ($(objpfx)test2.cat): Do not specify environment variables
18027         explicitly.
18028         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18029         $(run-program-env) and $(built-program-cmd-after-env).
18030         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18031         $(run-program-env) and $(test-program-cmd-after-env).
18032         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18033         explicitly.
18034         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18035         run_program_env and test_program_cmd_after_env arguments.
18036         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18037         * elf/tst-pathopt.sh: Use run_program_env argument.
18038         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18039         $(test-wrapper-env) and $(run-program-env).
18040         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18041         run_program_env arguments.
18042         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18043         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18044         $(test-program-prefix-before-env), $(run-program-env) and
18045         $(test-program-prefix-after-env).
18046         ($(objpfx)tst-gettext2.out): Likewise.
18047         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18048         run_program_env and test_program_prefix_after_env arguments.
18049         * intl/tst-gettext2.sh: Likewise.
18050         * intl/tst-gettext4.sh: Do not set environment variables
18051         explicitly.
18052         * intl/tst-gettext6.sh: Likewise.
18053         * intl/tst-translit.sh: Likewise.
18054         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18055         $(test-program-prefix-before-env), $(run-program-env) and
18056         $(test-program-prefix-after-env).
18057         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18058         run_program_env and test_program_prefix_after_env arguments.
18059         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18060         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18061         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18062         explicitly with each use of ${test_wrapper_env}.
18063         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18064         $(test-program-prefix-before-env), $(run-program-env) and
18065         $(test-program-prefix-after-env).
18066         * posix/tst-getconf.sh: Do not set environment variables
18067         explicitly.
18068         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18069         run_program_env and test_program_prefix_after_env arguments.
18070         * stdio-common/tst-printf.sh: Do not set environment variables
18071         explicitly.
18072         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18073         $(test-program-prefix-before-env), $(run-program-env) and
18074         $(test-program-prefix-after-env).
18075         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18076         run_program_env and test_program_prefix_after_env arguments.
18077         Split $test calls into $test_pre and $test.
18078         * timezone/Makefile (build-testdata): Use
18079         $(built-program-cmd-before-env), $(run-program-env) and
18080         $(built-program-cmd-after-env).
18082 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18084         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18085         strlen for non SHARED builds.
18087 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18089         * nptl/allocatestack.c (check_list): Inlined function...
18090         (__reclaim_stacks): ... here.
18092 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18094         [BZ #15698]
18095         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18096         memory overrun.
18098 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18100         * Rules (make-test-out): Include
18101         LOCPATH=$(common-objpfx)localedata in default environment.
18102         * debug/Makefile (tst-chk1-ENV): Remove variable.
18103         (tst-chk2-ENV): Likewise.
18104         (tst-chk3-ENV): Likewise.
18105         (tst-chk4-ENV): Likewise.
18106         (tst-chk5-ENV): Likewise.
18107         (tst-chk6-ENV): Likewise.
18108         (tst-lfschk1-ENV): Likewise.
18109         (tst-lfschk2-ENV): Likewise.
18110         (tst-lfschk3-ENV): Likewise.
18111         (tst-lfschk4-ENV): Likewise.
18112         (tst-lfschk5-ENV): Likewise.
18113         (tst-lfschk6-ENV): Likewise.
18114         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18115         (tst-iconv7-ENV): Likewise.
18116         * intl/Makefile (LOCPATH-ENV): Likewise.
18117         (tst-codeset-ENV): Likewise.
18118         (tst-gettext3-ENV): Likewise.
18119         (tst-gettext5-ENV): Likewise.
18120         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18121         (tst-fopenloc-ENV): Likewise.
18122         (tst-fgetws-ENV): Remove variable.
18123         (tst-ungetwc1-ENV): Likewise.
18124         (tst-ungetwc2-ENV): Likewise.
18125         (bug-ungetwc2-ENV): Likewise.
18126         (tst-swscanf-ENV): Likewise.
18127         (bug-ftell-ENV): Likewise.
18128         (tst-fgetwc-ENV): Likewise.
18129         (tst-fseek-ENV): Likewise.
18130         (tst-ftell-partial-wide-ENV): Likewise.
18131         (tst-ftell-active-handler-ENV): Likewise.
18132         (tst-ftell-append-ENV): Likewise.
18133         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18134         (tst-regexloc-ENV): Likewise.
18135         (bug-regex1-ENV): Likewise.
18136         (tst-regex-ENV): Likewise.
18137         (tst-regex2-ENV): Likewise.
18138         (bug-regex5-ENV): Likewise.
18139         (bug-regex6-ENV): Likewise.
18140         (bug-regex17-ENV): Likewise.
18141         (bug-regex18-ENV): Likewise.
18142         (bug-regex19-ENV): Likewise.
18143         (bug-regex20-ENV): Likewise.
18144         (bug-regex22-ENV): Likewise.
18145         (bug-regex23-ENV): Likewise.
18146         (bug-regex25-ENV): Likewise.
18147         (bug-regex26-ENV): Likewise.
18148         (bug-regex30-ENV): Likewise.
18149         (bug-regex32-ENV): Likewise.
18150         (bug-regex33-ENV): Likewise.
18151         (bug-regex34-ENV): Likewise.
18152         (bug-regex35-ENV): Likewise.
18153         (tst-rxspencer-ENV): Likewise.
18154         (tst-rxspencer-no-utf8-ENV): Likewise.
18155         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18156         (tst-sscanf-ENV): Likewise.
18157         (tst-swprintf-ENV): Likewise.
18158         (tst-swscanf-ENV): Likewise.
18159         (test-vfprintf-ENV): Likewise.
18160         (scanf13-ENV): Likewise.
18161         (bug14-ENV): Likewise.
18162         (tst-grouping-ENV): Likewise.
18163         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18164         (tst-strtod3-ENV): Likewise.
18165         (tst-strtod4-ENV): Likewise.
18166         (tst-strtod5-ENV): Likewise.
18167         (testmb2-ENV): Likewise./
18168         * string/Makefile (tst-strxfrm-ENV): Likewise.
18169         (tst-strxfrm2-ENV): Likewise.
18170         (bug-strcoll1-ENV): Likewise.
18171         (test-strcasecmp-ENV): Likewise.
18172         (test-strncasecmp-ENV): Likewise.
18173         * time/Makefile (tst-strptime-ENV): Likewise.
18174         (tst-ftime_l-ENV): Likewise.
18175         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18176         (tst-mbrtowc-ENV): Likewise.
18177         (tst-wcrtomb-ENV): Likewise.
18178         (tst-mbrtowc2-ENV): Likewise.
18179         (tst-c16c32-1-ENV): Likewise.
18180         (tst-mbsnrtowcs-ENV): Likewise.
18182 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18184         * manual/resource.texi (How to get information about the memory
18185         subsystem?): Fix typo.
18186         Reported by Peon de la Parra Ivan <peon@keba.com>
18188 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18190         [BZ #16882]
18191         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18192         (pthread_spin_lock): Branch out of spin loop to proper location.
18193         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18194         (pthread_spin_lock): Likewise.
18196         * nptl/tst-spin4.c: New test.
18197         * nptl/Makefile (tests): Add tst-spin4.
18199 2014-06-03  Andreas Schwab  <schwab@suse.de>
18201         [BZ #15946]
18202         * resolv/res_send.c (send_dg): Reload file descriptor after
18203         calling reopen.
18205 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18207         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18209 2014-06-03  Richard Henderson  <rth@redhat.com>
18211         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18212         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18213         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18214         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18215         in the SAVE_PID block.
18216         (__libc_vfork): New alias.
18217         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18219         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18220         child in registers, not on the stack.  Remove RESET_PID conditionals.
18221         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18223 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18225         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18227 2014-06-03  Wilco  <wdijkstr@arm.com>
18229         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18230         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18231         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18232         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18233         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18234         Likewise.
18236 2014-06-03  Wilco  <wdijkstr@arm.com>
18238         * sysdeps/aarch64/fpu/math_private.h
18239         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18240         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18241         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18242         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18243         Fix declarations.
18245 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18247         * crypt/crypt-private.h: Include ufc-crypt.h.
18248         (__b64_from_24bit): Declare extern.
18249         * crypt/crypt_util.c(__b64_from_24bit): New function.
18250         (b64t): New static const variable.
18251         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18252         (b64t): Remove variable.
18253         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18254         * crypt/sha256-crypt.c: Include crypt-private.h.
18255         (b64t): Remove variable.
18256         (__sha256_crypt_r): Remove b64_from_24bit and replace
18257         with __b64_from_24bit.
18258         * crypt/sha512-crypt.c: Likewise.
18260 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18262         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18263         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18264         Label the code __libc_vfork rather than __vfork.
18265         [!NOT_IN_libc] (vfork): Define as weak alias.
18266         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18267         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18268         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18270 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18272         * malloc/malloc.c (malloc_info): Fix format specifier for
18273         n_mmaps.
18275 2014-06-02  Wilco  <wdijkstr@arm.com>
18277         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18278         FPCR write.
18280 2014-06-02  Wilco  <wdijkstr@arm.com>
18282         [BZ #17009]
18283         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18284         Rewrite to reduce FPCR/FPSR accesses.
18286 2014-06-01  David S. Miller  <davem@davemloft.net>
18288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18290 2014-05-31  David S. Miller  <davem@davemloft.net>
18292         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18293         to occur in round to nearest mode when |x| >= 2.0
18295 2014-05-30  Richard Henderson  <rth@twiddle.net>
18297         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18298         (PSEUDO_RET_NOERRNO): Remove.
18299         (ret): Don't redefine.
18300         (ret_NOERRNO): Define in terms of ret.
18301         (ret_ERRVAL): Likewise.
18303         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18304         use of PSEUDO_RET; perform the error check directly.
18306 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18308         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18309         with __int128_t.
18311 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18313         * malloc/malloc (malloc_info): Fix formatting.
18315 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18316             Roland McGrath  <roland@hack.frob.com>
18318         * malloc/malloc (malloc_info): Also print mmapped statistics.
18320 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18322         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18323         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18325 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18327         * malloc/malloc.c (malloc_info): Inline mi_arena.
18329 2014-05-29  Richard Henderson  <rth@twiddle.net>
18331         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18332         Remove comma before expanding ASM_ARGS_##nr.
18333         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18334         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18335         of ASM_ARGS_##nr.
18336         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18337         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18338         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18339         (ASM_ARGS_1): Add leading comma.
18341         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18342         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18343         to __errno_location.
18344         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18345         Remove the expected plt for __errno_location.
18347         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18348         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18349         call to __read_tp.
18351         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18352         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18353         it and break it down.
18354         (DOCARGS_0, DOCARGS_1): Do nothing.
18355         (DOCARGS_2): Update to store into the new stack frame.
18356         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18357         (UNDOCARGS_1): Update to restore from the new stack frame.
18358         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18359         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18361         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18362         (SINGLE_THREAD_P): New parameter for result regno.
18363         (PSEUDO): Update to match; use cbz instead of beq.
18365         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18366         Use ENTRY to define the _nocancel entry point.  Share the syscall
18367         and syscall error check paths with the cancel path.
18368         (PSEUDO_END): New.
18370         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18371         whitespace; tabs before and after asm mnemonics.
18373 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18375         [BZ #15132]
18376         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18377         Call fstat64 or stat64 internally, depending on arguments passed.
18378         Replace stat buffer argument with file descriptor argument.
18379         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18380         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18381         Pass fd to __internal_statvfs instead of calling fstat64.
18382         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18383         Pass fd to __internal_statvfs64 instead of calling fstat64.
18384         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18385         Pass -1 to __internal_statvfs instead of calling stat64.
18386         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18387         Pass -1 to __internal_statvfs64 instead of calling stat64.
18389 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18391         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18392         that was previously under [RESET_PID].
18393         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18395         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18396         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18398 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18400         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18402         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18403         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18405 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18407         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18409 2014-05-27  Andreas Schwab  <schwab@suse.de>
18411         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18412         TLS_INIT_TP macro.
18413         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18414         * elf/rtld.c (init_tls, dl_main): Likewise.
18415         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18416         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18417         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18418         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18419         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18420         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18421         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18422         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18423         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18424         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18425         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18426         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18427         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18428         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18429         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18430         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18431         * sysdeps/generic/tls.h: Update description.
18433 2014-05-27  Will Newton  <will.newton@linaro.org>
18435         [BZ #16990]
18436         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18437         and restore r2 rather than just restoring.
18439 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18441         [BZ #16724]
18442         * libio/tst-ftell-append.c: New test case.
18443         * libio/Makefile (tests): Add test case.
18444         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18445         append mode.
18446         * libio/wfileops.c (do_ftell_wide): Likewise.
18448 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18452         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18453         ...
18454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18456         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18457         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18458         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18459         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18460         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18461         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18463         Moved ...
18464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18465         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18466         Moved ...
18467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18468         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18469         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18470         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18471         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18472         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18473         ...
18474         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18475         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18476         Moved ...
18477         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18478         here.
18479         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18480         ...
18481         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18482         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18483         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18485         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18486         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18487         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18488         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18491         merge into ...
18492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18494         ...
18495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18496         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18497         ...
18498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18500         Moved ...
18501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18502         here.
18503         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18504         Moved ...
18505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18506         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18507         Moved ...
18508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18511         conditional [RESET_PID].
18512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18513         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18514         removed.
18515         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18516         removed.
18518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18519         <tcb-offsets.h>.
18520         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18521         (__libc_vfork): New strong alias.
18522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18523         removed.
18524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18525         Removed.
18527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18528         <tcb-offsets.h>.
18529         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18530         (__libc_vfork): New strong alias.
18531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18532         removed.
18533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18534         removed.
18536 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18538         * malloc/malloc.c (mi_arena): New function.
18539         (malloc_info): Remove nested function mi_arena. Call non-nosted
18540         function mi_arena.
18542 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18544         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18545         by insrwi.
18546         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18547         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18548         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18549         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18550         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18551         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18552         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18554 2014-05-26  Andreas Schwab  <schwab@suse.de>
18556         [BZ #16984]
18557         * locale/programs/repertoire.c (repertoire_read): Add slash
18558         between I18NPATH element and file name.
18559         * locale/programs/locfile.c (locfile_read): Likewise.
18561 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18563         * nptl/pthread_mutexattr_settype.c
18564         (__pthread_mutexattr_settype):
18565         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18567 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18569         * nptl/tst-mutex5 (do_test):
18570         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18572 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18574         * benchtests/README: Document 'init' directive.
18575         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18576         BENCH_INIT.
18577         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18578         (parse_file): Recognize 'init' directive.
18580 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18582         [BZ #16796]
18583         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18584         alignment of struct pthread.
18586 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18588         [BZ #16878]
18589         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18590         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18591         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18592         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18594 2014-05-25  Richard Henderson  <rth@twiddle.net>
18596         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18597         (SINGLE_THREAD_P_PIC): Remove.
18598         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18599         (SINGLE_THREAD_P_PIC): Remove.
18601         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18602         branch to syscall error ...
18603         (PSEUDO): ... here.
18604         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18605         from __local_syscall_error to .Lsyscall_error.
18606         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18607         (SYSCALL_ERROR): Update label name.
18609         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18610         Do not use DOARGS/UNDOARGS.
18611         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18612         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18613         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18614         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18615         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18617         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18618         block comment.
18620         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18621         define if !NOT_IN_libc.
18622         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18623         define with non-default symbol versions.
18625 2014-05-23  Richard Henderson  <rth@twiddle.net>
18627         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18628         (vfork, __vfork): Define via compat_symbol.
18630         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18631         [!HAVE_IFUNC] (vfork_compat): Remove.
18632         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18634 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18636         [BZ #16978]
18637         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18638         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18639         variable.
18641 2014-05-23  Richard Henderson  <rth@twiddle.net>
18643         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18644         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18645         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18646         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18648         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18649         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18650         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18651         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18652         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18653         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18654         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18655         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18656         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18657         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18658         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18659         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18660         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18661         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18662         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18663         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18664         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18665         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18666         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18667         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18668         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18669         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18670         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18671         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18672         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18673         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18674         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18675         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18676         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18677         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18678         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18679         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18680         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18681         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18682         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18683         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18684         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18685         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18686         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18687         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18688         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18689         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18690         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18691         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18692         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18693         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18694         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18695         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18696         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18697         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18698         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18699         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18700         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18701         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18702         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18703         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18705         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18706         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18707         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18708         before exiting on error.
18709         (__libc_vfork): New strong alias.
18710         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18711         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18713         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18714         that was previously under [RESET_PID].
18715         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18717         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18719 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18721         [BZ #16977]
18722         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18723         value when x - 1 is zero.
18724         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18725         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18726         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18727         0.0L for an argument of 1.0L.
18728         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18729         Likewise.
18730         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18731         value when x - 1 is zero.
18732         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18733         * sysdeps/i386/fpu/libm-test-ulps: Update.
18734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18736 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18738         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18739         alphasort and versionsort.
18741 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18743         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18744         macro.
18745         [copysignf]: Likewise.
18747 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18749         * crypt/md5-crypt.c: Fix formatting.
18751 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18753         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18754         (b64_from_24bit): New function.
18756 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18758         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18759         libc_hidden_builtin_def to ifunc.
18760         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18761         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18763 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18765         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18766         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18768 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18770         * nscd/Depend (linuxthreads): Remove.
18771         (nptl): Add.
18772         * resolv/Depend (linuxthreads): Remove.
18773         * rt/Depend (linuxthreads): Remove.
18775         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18776         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18777         $(common-objpfx)elf/.
18778         (link-libc-before-gnulib): Likewise.
18779         (elfobjdir): Remove variable.
18780         * Makefile (install): Use $(elf-objpfx) instead of
18781         $(common-objpfx)elf/.
18782         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18783         $(elfobjdir)/.
18784         (link-libc-deps): Likewise.
18785         ($(common-objpfx)libc.so): Likewise.
18786         ($(common-objpfx)linkobj/libc.so): Likewise.
18787         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18788         instead of $(common-objpfx)elf/.
18789         (symbolic-link-list): Likewise.
18790         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18791         [$(cross-compiling) = no]: Likewise.
18792         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18793         $(elfobjdir)/.
18794         (static-gnulib-arch): Likewise.
18795         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18796         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18797         $(common-objpfx)elf/.
18799 2014-05-21  Richard Henderson  <rth@redhat.com>
18801         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18802         (SINGLE_THREAD_P): Use the correct width load.  Fold
18803         into the ldr offset.
18805         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18806         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18808 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18810         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18811         (libgcc_s_resume): Use __attribute_used__.
18812         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18813         Likewise.
18815 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18817         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18818         optimization when used with float constants.
18820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18822 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18824         [BZ #16915]
18825         * locale/nl_langinfo_l.c: Make direct reference to every
18826         _nl_current_CATEGORY symbol.
18827         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18828         (tests-static): Add tst-langinfo-static.
18829         (tests-special): Add tst-langinfo-static.out.
18830         ($(objpfx)tst-langinfo.out): Redirect output.
18831         ($(objpfx)tst-langinfo-static.out): New.
18832         * localedata/tst-langinfo.sh: Send output to stdout.
18833         * localedata/tst-langinfo-static.c: New file.
18835         [BZ #16965]
18836         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18837         when the shift amount is modulo the limb size.
18839 2014-05-20  Richard Henderson  <rth@redhat.com>
18841         [BZ #16967]
18842         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18843         Change type of sa_flags from unsigned int to int.
18845         [BZ #16966]
18846         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18848         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18850 2014-05-20  Will Newton  <will.newton@linaro.org>
18852         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18853         Test the return value of the system call in the nocancel case.
18855 2014-05-20  Will Newton  <will.newton@linaro.org>
18856             Yvan Roux  <yvan.roux@linaro.org>
18858         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18859         #include of asm/ptrace.h.
18860         (PTRACE_GET_THREAD_AREA): Remove #undef.
18861         (PTRACE_GETHBPREGS): Likewise.
18862         (PTRACE_SETHBPREGS): Likewise.
18863         (struct user_regs_struct): New structure.
18864         (struct user_fpsimd_struct): New structure.
18865         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18866         #include of asm/ptrace.h and second #include of sys/user.h.
18867         (PTRACE_GET_THREAD_AREA): Remove #undef.
18868         (PTRACE_GETHBPREGS): Likewise.
18869         (PTRACE_SETHBPREGS): Likewise.
18870         (ELF_NGREG): Use new struct user_regs_struct.
18871         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18873 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18875         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18876         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18878 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18880         [BZ #16958]
18881         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18882         membar to avoid block loads/stores to overlap previous stores.
18884 2014-05-17  Richard Henderson  <rth@redhat.com>
18886         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18887         Create the __##syscall_name##_nocancel entry point.
18888         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18889         Remove; let the sysdep-cancel.h code create it.
18891 2014-05-17  David S. Miller  <davem@davemloft.net>
18893         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18894         Protect with __USE_GNU.
18895         (TIOCSET_TEMPT): Likewise.
18896         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18897         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18898         these are already provided in bits/ioctl-types.h
18900 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18902         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18903         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18905         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18906         Use wait4 regardless of [__NR_waitpid].
18908 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18910         PR libgcc/60166
18911         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18912         (_FP_NANSIGN_Q): Set the quiet bit.
18914 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18916         * benchtests/Makefile
18917         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18918         not $(common-objpfx)math/libm.so.
18919         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18920         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18921         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18922         $(common-objpfx)dlfcn/libdl.so.
18923         ($(objpfx)tst-audit8): Depend on $(libm), not
18924         $(common-objpfx)math/libm.so.
18925         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18926         not $(common-objpfx)dlfcn/libdl.so.
18927         * math/Makefile
18928         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18929         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18930         [$(build-shared) = yes].
18931         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18932         $(common-objpfx)nptl/libpthread.so.
18933         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18934         $(common-objpfx)math/libm.so$(libm.so-version) or
18935         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18936         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18937         $(common-objpfx)dlfcn/libdl.so.
18938         * setjmp/Makefile (link-libm): Remove variable.
18939         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18940         * stdio-common/Makefile (link-libm): Remove variable.
18941         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18942         * stdlib/Makefile (link-libm): Remove variable.
18943         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18944         ($(objpfx)tst-strtod-round): Likewise.
18945         ($(objpfx)tst-tininess): Likewise.
18946         ($(objpfx)tst-strtod-underflow): Likewise.
18947         ($(objpfx)tst-strtod6): Likewise.
18948         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18949         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18950         $(common-objpfx)dlfcn/libdl.so.
18952 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18954         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18955         BSD terminal modes definitions.
18957 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18959         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18960         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18962         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18963         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18964         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18965         Don't do #include_next.
18966         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18967         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18968         Don't do #include_next.
18969         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18970         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18971         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18972         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18974 2014-05-16  Allan McRae  <allan@archlinux.org>
18976         * po/sv.po: Update Swedish translation from translation project.
18978         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18979         in sed expression.
18981 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18983         [BZ #16917]
18984         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18985         errno if the TIOCGPTN ioctl fails with an error different than
18986         EINVAL.
18987         * login/tst-ptsname.c: New file.
18988         * login/Makefile (tests): Add tst-ptsname.
18990         [BZ #16943]
18991         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18992         and prlimit64.
18994 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18996         [BZ #16849]
18997         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18998         herrno to return EAI_AGAIN.
19000 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19002         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19003         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19004         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19005         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19006         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19007         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19008         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19009         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19010         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19011         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19012         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19013         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19014         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19015         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19016         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19017         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19018         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19019         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19020         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19021         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19022         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19023         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19024         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19025         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19026         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19027         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19028         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19029         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19030         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19031         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19033         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19035         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19037         Moved ...
19038         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19040         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19042         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19044         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19046         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19048         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19050         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19052         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19054         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19056         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19058         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19060         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19062         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19064         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19066         Moved ...
19067         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19069         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19071         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19073         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19075         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19077         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19079         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19081         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19083         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19085         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19087         Moved ...
19088         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19090         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19092         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19093         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19094         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19095         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19096         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19097         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19098         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19099         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19100         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19101         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19102         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19103         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19104         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19105         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19106         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19107         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19108         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19109         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19110         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19111         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19112         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19113         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19114         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19115         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19116         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19117         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19118         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19119         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19120         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19121         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19122         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19124         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19125         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19127         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19128         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19129         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19130         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19131         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19132         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19133         Moved ...
19134         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19135         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19136         Moved ...
19137         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19139         Moved ...
19140         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19141         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19142         Moved ...
19143         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19144         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19145         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19146         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19147         Moved ...
19148         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19149         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19150         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19151         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19152         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19153         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19154         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19155         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19156         Moved ...
19157         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19158         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19159         Moved ...
19160         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19161         ... here.
19162         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19163         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19164         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19165         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19166         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19167         Moved ...
19168         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19169         ... here.
19170         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19171         Moved ...
19172         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19173         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19174         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19175         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19176         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19177         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19178         Moved ...
19179         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19180         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19181         Moved ...
19182         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19184         Moved ...
19185         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19186         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19187         Moved ...
19188         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19189         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19190         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19191         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19192         Moved ...
19193         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19194         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19195         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19196         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19197         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19198         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19199         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19200         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19201         Moved ...
19202         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19203         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19204         Moved ...
19205         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19206         ... here.
19207         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19208         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19209         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19210         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19211         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19212         Moved ...
19213         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19214         ... here.
19215         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19216         Moved ...
19217         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19218         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19219         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19220         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19221         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19222         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19223         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19224         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19225         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19227         Moved ...
19228         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19229         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19230         Moved ...
19231         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19232         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19233         Moved ...
19234         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19235         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19236         Moved ...
19237         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19238         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19239         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19240         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19241         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19242         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19243         Moved ...
19244         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19245         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19246         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19247         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19248         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19249         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19250         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19251         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19252         Moved ...
19253         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19254         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19255         Moved ...
19256         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19257         ... here.
19258         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19259         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19260         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19261         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19262         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19263         Moved ...
19264         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19265         ... here.
19266         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19267         Moved ...
19268         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19269         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19270         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19271         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19272         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19273         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19274         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19275         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19276         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19277         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19278         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19280         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19281         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19283         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19284         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19286         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19287         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19288         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19289         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19290         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19291         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19292         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19293         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19294         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19295         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19296         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19297         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19298         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19299         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19300         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19301         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19302         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19303         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19304         Moved ...
19305         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19306         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19307         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19308         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19309         Moved ...
19310         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19311         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19312         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19313         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19314         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19315         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19316         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19318         Moved ...
19319         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19320         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19321         Moved ...
19322         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19323         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19324         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19325         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19326         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19327         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19328         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19329         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19330         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19331         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19332         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19333         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19334         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19335         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19336         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19337         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19338         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19340         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19341         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19342         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19343         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19344         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19346         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19347         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19348         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19349         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19350         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19351         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19352         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19353         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19354         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19355         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19357         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19358         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19360         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19361         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19362         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19363         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19364         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19365         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19366         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19367         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19368         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19369         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19370         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19371         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19372         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19373         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19375         Update #include.
19376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19377         Likewise.
19378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19379         Likewise.
19380         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19381         Likewise.
19382         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19383         Likewise.
19384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19385         Likewise.
19386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19387         Likewise.
19388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19389         Likewise.
19390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19391         Likewise.
19392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19393         Likewise.
19394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19395         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19396         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19397         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19398         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19399         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19400         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19401         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19402         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19403         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19404         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19405         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19406         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19407         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19408         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19410         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19411         that was previously under [RESET_PID].
19412         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19413         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19414         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19416         * sysdeps/i386/nptl/Implies: New file.
19417         * sysdeps/x86_64/nptl/Implies: New file.
19418         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19419         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19420         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19421         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19423         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19424         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19425         (__libc_vfork): New strong alias.
19426         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19427         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19429         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19430         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19431         (__libc_vfork): New strong alias.
19432         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19433         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19435         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19436         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19437         (__libc_vfork): New strong alias.
19438         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19439         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19440         * nptl/pt-vfork.c: New file.
19441         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19442         (libpthread: GLIBC_2.20): New version set (empty).
19444 2014-05-14  Will Newton  <will.newton@linaro.org>
19446         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19447         rather than #if.
19449 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19451         [BZ #16564]
19452         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19453         arguments with exponent 65 or above.
19454         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19455         arguments 0x1p113L or above.
19456         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19457         to arguments 0x1p107L or above.
19458         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19459         positive arguments with exponent 65 or above.
19460         * math/auto-libm-test-in: Add more tests of log1p.
19461         * math/auto-libm-test-out: Regenerated.
19463         [BZ #16928]
19464         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19465         non-finite arguments is +0.
19466         * math/s_cacosf.c (__cacosf): Likewise.
19467         * math/s_cacosl.c (__cacosl): Likewise.
19468         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19469         * sysdeps/i386/fpu/libm-test-ulps: Update.
19470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19472         [BZ #16927]
19473         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19474         value.
19475         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19476         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19477         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19478         for explicit high bit of mantissa when testing for argument equal
19479         to 1.
19480         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19481         * sysdeps/i386/fpu/libm-test-ulps: Update.
19482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19484         [BZ #16516]
19485         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19486         (__erf): Scale by 16 instead of 8 in potentially underflowing
19487         case.  Ensure exception if result actually underflows.
19488         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19489         (__erff): Scale by 16 instead of 8 in potentially underflowing
19490         case.  Ensure exception if result actually underflows.
19491         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19492         (efx8): Remove variable.
19493         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19494         case.  Ensure exception if result actually underflows.
19495         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19496         (efx8): Remove variable.
19497         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19498         case.  Ensure exception if result actually underflows.
19499         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19500         (efx8): Remove variable.
19501         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19502         case.  Ensure exception if result actually underflows.
19503         * math/auto-libm-test-in: Add more tests of erf.
19504         * math/auto-libm-test-out: Regenerated.
19506 2014-05-14  Andreas Schwab  <schwab@suse.de>
19508         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19509         Remove code conditionalized on USE___THREAD.
19511         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19512         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19513         not definedness.
19515 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19517         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19518         Define unconditionally.
19519         (__ASSUME_O_CLOEXEC): Likewise.
19520         (__ASSUME_SOCK_CLOEXEC): Likewise.
19521         (__ASSUME_IN_NONBLOCK): Likewise.
19522         (__ASSUME_PIPE2): Likewise.
19523         (__ASSUME_EVENTFD2): Likewise.
19524         (__ASSUME_SIGNALFD4): Likewise.
19525         (__ASSUME_DUP3): Likewise.
19526         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19527         (__ASSUME_DUP3): Do not define.
19528         (__ASSUME_EVENTFD2): Likewise.
19529         (__ASSUME_IN_NONBLOCK): Likewise.
19530         (__ASSUME_O_CLOEXEC): Likewise.
19531         (__ASSUME_PIPE2): Likewise.
19532         (__ASSUME_SIGNALFD4): Likewise.
19533         (__ASSUME_SOCK_CLOEXEC): Likewise.
19534         (__ASSUME_UTIMES): Undefine.
19535         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19536         (__ASSUME_UTIMES): Do not define.
19537         (__ASSUME_O_CLOEXEC): Likewise.
19538         (__ASSUME_SOCK_CLOEXEC): Likewise.
19539         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19540         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19541         0x020621].
19542         (__ASSUME_PIPE2): Likewise.
19543         (__ASSUME_EVENTFD2): Likewise.
19544         (__ASSUME_SIGNALFD4): Likewise.
19545         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19546         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19547         Do not define.
19548         (__ASSUME_EVENTFD2): Likewise.
19549         (__ASSUME_SIGNALFD4): Likewise.
19550         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19551         (__ASSUME_32BITUIDS): Likewise.
19552         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19553         (__ASSUME_IPC64): Likewise.
19554         (__ASSUME_ST_INO_64_BIT): Likewise.
19555         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19556         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19557         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19558         (__ASSUME_UTIMES): Do not define.
19559         (__ASSUME_PSELECT): Likewise.
19560         (__ASSUME_PPOLL): Likewise.
19561         (__ASSUME_O_CLOEXEC): Likewise.
19562         (__ASSUME_SOCK_CLOEXEC): Likewise.
19563         (__ASSUME_IN_NONBLOCK): Likewise.
19564         (__ASSUME_PIPE2): Likewise.
19565         (__ASSUME_EVENTFD2): Likewise.
19566         (__ASSUME_SIGNALFD4): Likewise.
19567         (__ASSUME_DUP3): Likewise.
19568         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19569         (__ASSUME_UTIMES): Likewise.
19570         (__ASSUME_O_CLOEXEC): Likewise.
19571         (__ASSUME_SOCK_CLOEXEC): Likewise.
19572         (__ASSUME_IN_NONBLOCK): Likewise.
19573         (__ASSUME_PIPE2): Likewise.
19574         (__ASSUME_EVENTFD2): Likewise.
19575         (__ASSUME_SIGNALFD4): Likewise.
19576         (__ASSUME_DUP3): Likewise.
19577         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19578         (__ASSUME_UTIMES): Likewise.
19579         (__ASSUME_O_CLOEXEC): Likewise.
19580         (__ASSUME_SOCK_CLOEXEC): Likewise.
19581         (__ASSUME_IN_NONBLOCK): Likewise.
19582         (__ASSUME_PIPE2): Likewise.
19583         (__ASSUME_EVENTFD2): Likewise.
19584         (__ASSUME_SIGNALFD4): Likewise.
19585         (__ASSUME_DUP3): Likewise.
19586         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19587         Likewise.
19588         (__ASSUME_UTIMES): Likewise.
19589         (__ASSUME_EVENTFD2): Likewise.
19590         (__ASSUME_SIGNALFD4): Likewise.
19591         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19592         (__ASSUME_O_CLOEXEC): Likewise.
19593         (__ASSUME_SOCK_CLOEXEC): Likewise.
19594         (__ASSUME_IN_NONBLOCK): Likewise.
19595         (__ASSUME_PIPE2): Likewise.
19596         (__ASSUME_EVENTFD2): Likewise.
19597         (__ASSUME_SIGNALFD4): Likewise.
19598         (__ASSUME_DUP3): Likewise.
19599         (__ASSUME_UTIMES): Undefine.
19601         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19602         feclearexcept.  Remove symbol versioning code.
19603         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19604         symbol versioning code.
19605         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19606         symbol versioning code.
19607         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19608         feupdateenv.  Remove symbol versioning code.
19609         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19610         fegetexceptflag.  Remove symbol versioning code.
19611         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19612         fesetexceptflag.  Remove symbol versioning code.
19613         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19614         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19615         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19616         (__posix_fadvise64_l32): Remove prototype.
19617         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19618         code.
19620 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19622         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19623         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19624         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19625         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19627 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19629         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19630         current working directory
19632 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19634         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19635         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19636         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19637         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19638         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19639         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19640         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19641         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19642         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19643         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19644         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19645         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19646         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19647         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19648         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19649         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19650         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19651         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19652         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19653         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19654         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19655         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19656         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19657         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19658         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19659         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19660         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19661         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19662         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19663         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19664         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19665         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19666         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19667         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19668         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19669         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19670         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19671         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19672         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19673         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19674         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19675         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19677         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19678         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19680         * sysdeps/unix/sysv/linux/arm/Makefile
19681         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19682         Add rt-aeabi_unwind_cpp_pr1.
19683         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19684         Add nptl-aeabi_unwind_cpp_pr1.
19685         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19686         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19687         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19688         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19689         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19690         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19692         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19693         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19694         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19695         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19697         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19698         Deconditionalize the code that was previously under [RESET_PID].
19699         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19701         * sysdeps/generic/exit-thread.h: New file.
19702         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19703         * include/unistd.h (__exit_thread): Remove declaration.
19704         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19705         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19706         * csu/libc-start.c: Include <exit-thread.h>.
19707         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19708         * nptl/pthread_create.c: Include <exit-thread.h>.
19709         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19710         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19711         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19712         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19713         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19714         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19715         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19716         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19717         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19718         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19719         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19720         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19721         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19722         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19723         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19724         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19725         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19727 2014-05-13  Andreas Schwab  <schwab@suse.de>
19729         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19731 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19733         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19734         (__ASSUME_UTIMES): Do not condition on kernel version.
19735         (__ASSUME_PSELECT): Define unconditionally.
19736         (__ASSUME_PPOLL): Likewise.
19737         (__ASSUME_ATFCTS): Likewise.
19738         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19739         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19740         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19741         (__ASSUME_UTIMENSAT): Define unconditionally.
19742         (__ASSUME_PRIVATE_FUTEX): Likewise.
19743         (__ASSUME_FALLOCATE): Likewise.
19744         (__ASSUME_O_CLOEXEC): Likewise.
19745         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19746         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19747         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19748         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19749         (__ASSUME_IN_NONBLOCK): Likewise.
19750         (__ASSUME_PIPE2): Likewise.
19751         (__ASSUME_EVENTFD2): Likewise.
19752         (__ASSUME_SIGNALFD4): Likewise.
19753         (__ASSUME_DUP3): Likewise.
19754         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19755         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19756         (__ASSUME_AT_RANDOM): Likewise.
19757         (__ASSUME_PREADV): Likewise.
19758         (__ASSUME_PWRITEV): Likewise.
19759         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19760         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19761         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19762         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19763         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19764         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19765         (__ASSUME_O_CLOEXEC): Define unconditionally.
19766         (__ASSUME_PSELECT): Do not undefine conditionally.
19767         (__ASSUME_PPOLL): Likewise.
19768         (__ASSUME_ATFCTS): Likewise.
19769         (__ASSUME_SET_ROBUST_LIST): Likewise.
19770         (__ASSUME_UTIMENSAT): Likewise.
19771         (__ASSUME_FDATASYNC): Define unconditionally.
19772         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19773         (__ASSUME_SIGFRAME_V2): Likewise.
19774         )__ASSUME_EVENTFD2): Likewise.
19775         (__ASSUME_SIGNALFD4): Likewise.
19776         (__ASSUME_PSELECT): Do not undefine conditionally.
19777         (__ASSUME_PPOLL): Likewise.
19778         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19779         (__ASSUME_PSELECT): Define unconditionally.
19780         (__ASSUME_PPOLL): Likewise.
19781         (__ASSUME_O_CLOEXEC): Likewise.
19782         (__ASSUME_SOCK_CLOEXEC): Likewise.
19783         (__ASSUME_IN_NONBLOCK): Likewise.
19784         (__ASSUME_PIPE2): Likewise.
19785         (__ASSUME_EVENTFD2): Likewise.
19786         (__ASSUME_SIGNALFD4): Likewise.
19787         (__ASSUME_DUP3): Likewise.
19788         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19789         (__ASSUME_O_CLOEXEC): Likewise.
19790         (__ASSUME_SOCK_CLOEXEC): Likewise.
19791         (__ASSUME_IN_NONBLOCK): Likewise.
19792         (__ASSUME_PIPE2): Likewise.
19793         (__ASSUME_EVENTFD2): Likewise.
19794         (__ASSUME_SIGNALFD4): Likewise.
19795         (__ASSUME_DUP3): Likewise.
19796         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19797         (__ASSUME_EVENTFD2): Likewise.
19798         (__ASSUME_SIGNALFD4): Likewise.
19799         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19801 2014-05-12  Andreas Schwab  <schwab@suse.de>
19803         [BZ #16932]
19804         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19805         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19806         than maximum RPC packet size.
19807         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19808         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19809         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19810         (_nss_nis_getservbyport_r): Likewise.
19812 2014-05-12  Will Newton  <will.newton@linaro.org>
19814         * malloc/Makefile (tests): Add tst-mallopt.
19815         * malloc/tst-mallopt.c: New file.
19817 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19819         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19820         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19822 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19824         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19825         (tst-tlsmod6.so): Likewise.
19827 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19829         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19831 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19833         [BZ #16064]
19834         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19835         and <dl-procinfo.h>.
19836         (__fegetenv): Save SSE state in envp->__eip if supported.
19837         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19838         envp->__eip if supported.
19839         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19840         and <dl-procinfo.h>.
19841         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19842         __data_offset and __data_selector in environment to 0.  Set SSE
19843         state if supported.
19844         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19845         test-fenv-sse.
19846         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19847         -mfpmath=sse.
19848         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19850 2014-05-09  Will Newton  <will.newton@linaro.org>
19852         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19853         and libc_relro_required for ARM.
19854         * sysdeps/arm/preconfigure: Regenerate.
19856 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19857             Stefan Liebler  <stli@linux.vnet.ibm.com>
19859         * config.make.in (enable-lock-elision): New Makefile variable.
19860         * configure.ac: Likewise.
19861         * configure: Regenerate.
19862         * sysdeps/s390/configure.ac:
19863         Add check for gcc transactions support.
19864         * sysdeps/s390/configure: Regenerate.
19865         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19866         Build elision files if enabled.
19867         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19868         Add lock elision support for s390.
19869         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19870         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19871         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19872         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19873         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19874         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19875         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19876         Likewise.
19877         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19878         Likewise.
19879         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19880         Likewise.
19881         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19882         Likewise.
19883         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19884         (__lll_timedlock_elision, __lll_lock_elision)
19885         (__lll_unlock_elision, __lll_trylock_elision)
19886         (lll_timedlock_elision, lll_lock_elision)
19887         (lll_unlock_elision, lll_trylock_elision): Add.
19888         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19889         (pthread_mutex_t): Add lock elision support for s390.
19891 2014-05-14  Wilco  <wdijkstr@arm.com>
19893         * sysdeps/arm/fclrexcpt.c: Cleanup.
19894         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19895         * sysdeps/arm/feenablxcpt.c: Cleanup.
19896         * sysdeps/arm/fegetenv.c: Cleanup.
19897         * sysdeps/arm/fegetexcept.c: Cleanup.
19898         * sysdeps/arm/fegetround.c: Cleanup.
19899         * sysdeps/arm/feholdexcpt.c: Cleanup.
19900         * sysdeps/arm/fesetenv.c: Cleanup.
19901         * sysdeps/arm/fesetround.c: Cleanup.
19902         * sysdeps/arm/feupdateenv.c: Cleanup.
19903         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19904         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19905         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19906         * sysdeps/arm/ftestexcept.c: Cleanup.
19907         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19908         * sysdeps/arm/setfpucw.c: Cleanup.
19910 2014-05-09  Will Newton  <will.newton@linaro.org>
19912         * sysdeps/arm/armv7/strcmp.S: New file.
19913         * NEWS: Mention addition of ARMv7 optimized strcmp.
19915 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19917         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19918         look for %.ac rather than %.in.
19920         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19921         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19922         * sysdeps/mach/hurd/configure: Regenerated.
19923         * sysdeps/unix/sysv/linux/configure: Regenerated.
19925         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19927 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19929         [BZ# 16922]
19930         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19931         (LONG_SUB): Ditto.
19932         (PTR_SUB): Ditto.
19934 2014-05-07  Andreas Schwab  <schwab@suse.de>
19936         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19937         when skipping over non-matching result from nscd.
19939 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19941         [BZ #16876]
19942         * nptl/sockperf.c (client): Check socket return value.
19944         [BZ #16877]
19945         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19946         nscd security class.
19948 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19950         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19951         * sysdeps/arm/unwind.h: ... here.
19953 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19955         [BZ# 16916]
19956         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19957         Define.
19959 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19961         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19962         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19963         multiarch strncpy for PPC64.
19964         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19965         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19966         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19967         multiarch optimizations.
19968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19969         (__libc_ifunc_impl_list): Likewise.
19970         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19971         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19972         multiarch stpncpy for PPC64.
19973         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19974         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19976 2014-05-06  Andreas Schwab  <schwab@suse.de>
19978         [BZ #16912]
19979         * gmon/mcount.c (_MCOUNT_DECL): Use
19980         atomic_compare_and_exchange_bool_acq instead of
19981         catomic_compare_and_exchange_bool_acq.
19983 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19985         * elf/Makefile (others, install-bin): Remove pldd.
19986         (pldd-modules): Variable removed.
19987         ($(objpfx)pldd): Target removed.
19988         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19989         (others, install-bin): Append pldd here.
19990         ($(objpfx)pldd): New target.
19992         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19993         to 0, so the first #if test emitted later doesn't see it undefined.
19994         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19995         * sysdeps/gnu/errlist.c: Regenerated.
19997 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19999         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20000         [libc_hidden_builtin_def]: Define to empty value.
20001         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20002         [libc_hidden_builtin_def]: Likewise.
20003         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20004         [libc_hidden_builtin_def]: Likewise.
20005         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20006         [libc_hidden_builtin_def]: Likewise.
20007         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20008         __redirect_memcpy and define ifunc as default hidden symbol.
20009         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20010         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20012 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20014         * locale/iso-4217.def: Reintroduce XDR currency.
20016 2014-05-04  Allan McRae  <allan@archlinux.org>
20018         * po/eo.po: Update Esperanto translation from translation project.
20020 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20022         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20023         and FEATURE_INDEX_MAX to 1.
20024         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20026 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20028         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20029         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20030         * iconvdata/big5.c (ONE_DIRECTION): Define.
20031         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20032         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20033         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20034         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20035         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20036         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20037         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20038         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20039         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20040         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20041         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20042         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20043         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20044         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20045         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20046         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20047         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20048         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20049         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20050         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20051         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20052         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20053         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20054         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20055         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20056         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20057         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20058         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20059         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20060         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20061         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20062         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20063         * iconvdata/johab.c (ONE_DIRECTION): Define.
20064         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20065         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20066         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20067         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20068         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20069         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20070         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20071         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20072         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20073         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20075 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20077         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20078         (_IO_JUMPS_OFFSET): Define to 0.
20080         * nptl/sysdeps/pthread/bits/libc-lock.h
20081         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20082         (__libc_lock_define_initialized_recursive): Always define using
20083         initializer.  Modern compilers treat uninitialized (implicit zero) and
20084         explicit zero initializers the same (i.e. put the datum in bss).
20086 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20088         * nscd/nscd-client.h: Include <string.h>.
20090 2014-05-01  David S. Miller  <davem@davemloft.net>
20092         [BZ #16885]
20093         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20094         multiple zero bytes exist at the end of a string.
20095         Reported by Aurelien Jarno <aurelien@aurel32.net>
20097         * string/test-strcmp.c (check): Add explicit test for situations where
20098         there are multiple zero bytes after the first.
20100 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20102         [BZ #16890]
20103         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20104         when compiling wprintf.
20105         * stdio-common/tstdiomisc.c (t3): New function.
20106         (main): Call it.
20108 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20110         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20111         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20112         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20113         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20115 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20117         * stdlib/longlong.h: Updated from GCC.
20119 2014-05-01  Will Newton  <will.newton@linaro.org>
20120             Bernard Ogden  <bernie.ogden@linaro.org>
20122         * NEWS: Update fixed bug list.
20124         [BZ #15119]
20125         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20127 2014-04-30  David S. Miller  <davem@davemloft.net>
20129         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20130         (libc_feholdexcept_setround_sparc_ctx): New function.
20131         (libc_fesetenv_sparc_ctx): Likewise.
20132         (libc_feupdateenv_sparc_ctx): Likewise.
20133         (libc_feholdsetround_sparc_ctx): Likewise.
20134         (libc_feholdexcept_setround_ctx): Define.
20135         (libc_feholdexcept_setroundf_ctx): Likewise.
20136         (libc_feholdexcept_setroundl_ctx): Likewise.
20137         (libc_fesetenv_ctx): Likewise.
20138         (libc_fesetenvf_ctx): Likewise.
20139         (libc_fesetenvl_ctx): Likewise.
20140         (libc_feupdateenv_ctx): Likewise.
20141         (libc_feupdateenvf_ctx): Likewise.
20142         (libc_feupdateenvl_ctx): Likewise.
20143         (libc_feresetround_ctx): Likewise.
20144         (libc_feresetroundf_ctx): Likewise.
20145         (libc_feresetroundl_ctx): Likewise.
20146         (libc_feholdsetround_ctx): Likewise.
20147         (libc_feholdsetroundf_ctx): Likewise.
20148         (libc_feholdsetroundl_ctx): Likewise.
20150         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20151         with __USE_GNU instead of XOPEN cpp guards.
20153         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20154         0.
20156         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20157         with XOPEN cpp guards.
20159 2014-04-30  Julian Brown  <julian@codesourcery.com>
20161         [BZ #16888]
20162         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20163         handling.
20165 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20167         [BZ #9894]
20168         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20169         Change to 2.6.32.
20170         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20171         * sysdeps/unix/sysv/linux/configure: Regenerated.
20172         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20173         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20174         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20175         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20176         * README: Update reference to required Linux kernel version.
20177         * manual/install.texi (Linux): Update reference to required Linux
20178         kernel headers version.
20179         * INSTALL: Regenerated.
20181         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20182         header inclusion.
20183         [POSIX] (limits.h): Likewise.
20184         [POSIX] (math.h): Likewise.
20185         [POSIX] (sys/wait.h): Likewise.
20186         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20187         function.
20188         [POSIX] (stddef.h): Do not allow header inclusion.
20190 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20192         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20194 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20196         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20197         Return immediately after lll_futex_wake.
20199 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20201         [BZ #16791]
20202         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20203         structure.
20204         (datahead_init_pos): Call datahead_init_common early.
20205         (datahead_init_neg): Likewise.
20207         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20208         datahead_init_neg): New functions.
20209         * nscd/aicache.c (addhstaiX): Use them.
20210         * nscd/grpcache.c (cache_addgr): Likewise.
20211         * nscd/hstcache.c (cache_addhst): Likewise.
20212         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20213         * nscd/netgroupcache.c (do_notfound): Likewise.
20214         (addgetnetgrentX): Likewise.
20215         (addinnetgrX): Likewise.
20216         * nscd/pwdcache.c (cache_addpw): Likewise.
20217         * nscd/servicescache.c (cache_addserv): Likewise.
20219 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20220             Atsushi Onoe  <atsushi@onoe.org>
20222         [BZ #14308]
20223         [BZ #12994]
20224         [BZ #13651]
20225         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20226         one response is valid.
20227         * resolv/res_send.c (send_dg): Check for validity of other
20228         response if the current response is a referral.
20230 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20232         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20234 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20236         [BZ #16823]
20237         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20238         Always divide by positive zero when computing -Inf result.
20239         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20240         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20242 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20244         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20245         FPSCR if value do not change.
20246         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20247         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20248         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20249         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20250         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20251         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20252         function.
20254 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20256         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20257         * sysdeps/unix/sysv/linux/hppa: Move directory from
20258         ports/systeps/unix/sysv/linux/hppa.
20259         * README: Update listing for hppa-*-linux-gnu.
20261 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20263         [BZ #16754]
20264         * manual/stdio.texi (Hook functions): Fix types of stream hook
20265         functions.
20266         [BZ #16854]
20267         * socket/sys/socket.h: Fix typo in comment.
20269 2014-04-28  Wilco  <wdijkstr@arm.com>
20271         * sysdeps/arm/fenv_private.h: New file.
20272         * sysdeps/arm/math_private.h: New file.
20273         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20275 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20277         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20278         with __int128_t.
20279         (La_x86_64_retval): Likewise.
20281 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20283         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20284         fpsr if value didn't change.
20285         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20286         to fpcr if value didn't change.
20287         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20288         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20289         fpsr or fpcr if value didn't change.
20290         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20291         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20292         fpcr if value didn't change.
20293         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20294         to fpsr if value didn't change.
20296 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20298         * nptl/tst-sem3.c: Use test-skeleton.c
20299         (main): Rename to do_test.  Use return instead of
20300         exit.
20301         * nptl/tst-sem4.c: Use test-skeleton.c
20302         (main): Rename to do_test.
20304 2014-04-22  David S. Miller  <davem@davemloft.net>
20306         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20307         (struct sigaction): New struct member __glibc_reserved0, change
20308         type of sa_flags to int.
20310 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20312         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20313         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20315 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20317         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20318         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20320 2014-04-22  Will Newton  <will.newton@linaro.org>
20321             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20323         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20324         (__longjmp): Add longjmp and longjmp_target SystemTap
20325         probes.
20326         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20327         (__sigsetjmp): Add setjmp SystemTap probe.
20329 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20331         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20332         match manual order.
20334 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20336         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20338         * sysdeps/powerpc/fpu/fenv_private.h
20339         (libc_feholdexcept_setroundl_ctx): Define to
20340         libc_feholdexcept_setround_ppc_ctx.
20341         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20342         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20343         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20344         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20346 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20348         * sysdeps/aarch64/math-tests.h: New file.
20350 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20352         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20353         New.
20354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20355         Check and set bit_AVX2_Usable.
20356         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20357         macro.
20358         (bit_AVX2): Likewise.
20359         (index_AVX2_Usable): Likewise.
20360         (CPUID_AVX2): Likewise.
20361         (HAS_AVX2): Likewise.
20363 2014-04-17  Will Newton  <will.newton@linaro.org>
20365         * manual/setjmp.texi (System V contexts): Add note that
20366         calling setcontext on a context created by a call to a
20367         signal handler is undefined.  Update text to note that
20368         setcontext from a signal handler is possible but not
20369         recommended.
20371         [BZ #16629]
20372         * stdlib/tst-setcontext.c: Include signal.h.
20373         (main): Check that the signal stack before and
20374         after swapcontext is the same.
20376         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20377         Re-implement to restore registers in user code and avoid
20378         rt_sigreturn system call.
20380 2014-04-17  Wilco  <wdijkstr@arm.com>
20382         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20383         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20384         * math/test-fenv.c: Skip exception trap tests on targets which only
20385         support non-stop mode.
20387 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20388             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20390         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20391         (libc_feholdsetround_aarch64_ctx)
20392         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20393         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20394         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20395         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20396         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20397         (libc_feresetround_noexl_ctx): Define.
20399 2014-04-16  Richard Henderson  <rth@redhat.com>
20401         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20403         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20404         unwind tables.
20406         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20407         const from the non-libc, non-ldso copy.
20409         * sysdeps/alpha/libm-test-ulps: Regenerate.
20411 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20412             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20414         * sysdeps/aarch64/fpu/math_private.h: New file.
20416 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20418         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20420 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20422         [BZ #16275]
20423         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20424         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20425         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20426         Intel MPX bound registers before _dl_profile_fixup.
20427         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20428         registers after _dl_profile_fixup.  Save and restore bound
20429         registers bnd0/bnd1 when calling _dl_call_pltexit.
20430         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20431         (LR_BND_OFFSET): Likewise.
20432         (LRV_BND0_OFFSET): Likewise.
20433         (LRV_BND1_OFFSET): Likewise.
20435 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20437         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20438         to...
20439         * sysdeps/mach/hurd/i386/tls.h: ... here.
20440         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20441         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20442         fields.
20444 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20446         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20448 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20450         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20452 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20454         [BZ #14770]
20455         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20456         * sysdeps/s390/configure: Regenerate.
20458         [BZ #16824]
20459         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20460         Set round-to-nearest internally to reduce error accumulation.
20462 2014-04-16  Alan Modra  <amodra@gmail.com>
20464         [BZ #16740]
20465         [BZ #16619]
20466         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20467         * math/libm-test.inc (frexp_test_data): Add tests.
20468         * NEWS: Update fixed bug list.
20470 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20472         * benchtests/Makefile: Depend on libraries in build directory.
20473         (bench-math): Separate out math tests.
20474         (bench-pthread): Separate out pthread tests.
20475         (bench): Include math and pthread tests.
20477 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20479         [BZ #16831]
20480         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20481         _dl_debug_initialize.
20483         * configure.ac: Remove SELinux header check.
20484         * configure: Regenerate.
20485         * nscd/selinux.c (perms): Array of const char* to permission names.
20486         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20487         default policy. Call string_to_security_class and string_to_av_perm to
20488         translate strings. Enforce default policy and call avs_has_perm with
20489         results of translated strings.
20491 2014-04-13  David S. Miller  <davem@davemloft.net>
20493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20495 2014-04-12  Allan McRae  <allan@archlinux.org>
20497         [BZ #16838]
20498         * manual/string.texi (Collation Functions): Fix qsort argument
20499         order in example.
20500         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20502 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20504         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20505         Make the test a no-op if there are no exceptions defined.
20507 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20509         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20510         enable-hardcoded-path-in-tests
20512 2014-04-11  Will Newton  <will.newton@linaro.org>
20514         * benchtests/Makefile (extra-objs): Add json-lib.o.
20515         (bench-func): Tidy up JSON output.
20516         * benchtests/bench-skeleton.c: Include json-lib.h.
20517         (main): Use JSON library functions to do output of
20518         benchmark results.
20519         * benchtests/bench-timing-type.c (main): Output the
20520         timing type simply, leaving formatting to the user.
20521         * benchtests/json-lib.c: New file.
20522         * benchtests/json-lib.h: Likewise.
20524 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20526         [BZ #15215]
20527         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20528         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20529         memory barriers.  Add comments.
20530         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20531         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20532         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20533         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20534         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20535         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20537 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20539         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20540         * sysdeps/s390/s390-64/configure.ac: ... this ...
20541         * sysdeps/s390/configure.ac: ... to here.
20542         * sysdeps/s390/s390-32/configure: Delete file.
20543         * sysdeps/s390/s390-64/configure: Delete file.
20544         * sysdeps/s390/configure: Regenerate.
20546 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20548         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20550 2014-04-11  Will Newton  <will.newton@linaro.org>
20552         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20553         to zero if it is not defined elsewhere.  (mtrim): Test
20554         the value of MALLOC_DEBUG with #if rather than #ifdef.
20556 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20558         * benchtests/pthread_once-inputs: New file.
20559         * benchtests/pthread_once-source.c: New file.
20560         * benchtests/README: Update documentation.
20562 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20563             H.J. Lu  <hongjiu.lu@intel.com>
20565         [BZ #16275]
20566         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20567         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20568         * sysdeps/x86_64/configure: Regenerated.
20569         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20570         macro.
20571         (REGISTER_SAVE_RAX): Likewise.
20572         (REGISTER_SAVE_RCX): Likewise.
20573         (REGISTER_SAVE_RDX): Likewise.
20574         (REGISTER_SAVE_RSI): Likewise.
20575         (REGISTER_SAVE_RDI): Likewise.
20576         (REGISTER_SAVE_R8): Likewise.
20577         (REGISTER_SAVE_R9): Likewise.
20578         (REGISTER_SAVE_BND0): Likewise.
20579         (REGISTER_SAVE_BND1): Likewise.
20580         (REGISTER_SAVE_BND2): Likewise.
20581         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20582         bound registers when calling _dl_fixup.
20584 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20586         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20587         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20588         of its definition.
20589         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20590         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20591         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20592         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20593         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20594         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20595         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20597 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20599         [BZ #15514]
20600         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20601         pathconf(_PC_NAME_MAX).
20603 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20605         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20606         Remove macro usage.
20607         (__PTHREAD_SPINS): Move definition to ...
20608         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20609         (__PTHREAD_SPINS): ... here.
20610         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20611         (__PTHREAD_SPIN): Likewise.
20612         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20613         (__PTHREAD_SPIN): Likewise.
20614         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20615         (__PTHREAD_SPIN): Likewise.
20616         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20617         (__PTHREAD_SPIN): Likewise.
20618         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20619         (__PTHREAD_SPIN): Likewise.
20620         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20621         (__PTHREAD_SPIN): Likewise.
20622         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20623         (__PTHREAD_SPIN): Likewise.
20624         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20625         (__PTHREAD_SPIN): Likewise.
20626         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20627         (__PTHREAD_SPIN): Likewise.
20628         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20629         (__PTHREAD_SPIN): Likewise.
20630         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20631         (__PTHREAD_SPIN): Likewise.
20632         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20633         (__PTHREAD_SPIN): Likewise.
20635         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20636         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20637         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20638         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20639         imply folder.
20640         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20641         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20642         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20643         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20644         correct imply path.
20645         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20646         strlen symbol for non multi-arch builds.
20647         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20648         missing hidden_def and weak_alias.
20650 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20652         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20654 2014-04-07  Will Newton  <will.newton@linaro.org>
20656         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20657         and contents.  [!_LIBC] Remove #ifndef and contents.
20658         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20659         * string/memccpy.c (__memccpy): Use ANSI prototype.
20660         * string/memfrob.c (memfrob): Likewise.
20661         * string/strcoll.c (STRCOLL): Likewise.
20662         * string/strlen.c (strlen): Likewise.
20663         * string/strtok.c (STRTOK): Likewise.
20664         * string/strcat.c: Remove unused #include of memcopy.h.
20665         (strcat): Use ANSI prototype.
20666         * string/strchr.c: Remove unused #include of memcopy.h.
20667         (strchr): Use ANSI prototype.
20668         * string/strcmp.c: Remove unused #include of memcopy.h.
20669         (strcmp): Use ANSI prototype.
20670         * string/strcpy.c: Remove unused #include of memcopy.h.
20671         (strcpy): Use ANSI prototype.
20673 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20675         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20676         * config.make.in (config-extra-cppflags): Set it from
20677         libc_extra_cppflags.
20678         * configure.ac (libc_extra_cflags): Make it accumulate over
20679         configure fragments.
20680         (libc_extra_cppflags): New flag.
20681         * configure. Regenerate.
20682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20683         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20684         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20687         [BZ #16815]
20688         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20689         result for FE_DOWNWARD rounding mode.
20690         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20691         Likewise.
20692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20694 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20696         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20697         in function argument name.
20699 2014-04-03  David Svoboda  <svoboda@cert.org>
20701         [BZ #5666]
20702         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20703         explicitly.
20705 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20707         * elf/dl-unmap-segments.h: New file.
20708         * sysdeps/generic/ldsodefs.h
20709         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20710         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20711         * elf/dl-fptr.c: Likewise.
20712         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20713         * sysdeps/aarch64/tlsdesc.c: Likewise.
20714         * sysdeps/arm/tlsdesc.c: Likewise.
20715         * sysdeps/i386/tlsdesc.c: Likewise.
20716         * sysdeps/tile/dl-runtime.c: Likewise.
20717         * sysdeps/x86_64/tlsdesc.c: Likewise.
20718         * elf/dl-load.h: New file.
20719         * elf/dl-load.c: Include it.
20720         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20721         Macros moved to dl-load.h.
20722         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20723         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20724         Use _dl_unmap_segments in place of __munmap.
20725         Break out segment-mapping loop into ...
20726         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20728 2014-04-03  Will Newton  <will.newton@linaro.org>
20730         * elf/dl-lookup.c (do_lookup_x): Remove comment
20731         referring to nested function and move variable
20732         declarations down to before first use.
20734 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20736         [BZ #16799]
20737         [BZ #16800]
20738         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20739         with 0 numerator.
20740         * math/s_catanf.c (__catanf): Likewise.
20741         * math/s_catanh.c (__catanh): Likewise.
20742         * math/s_catanhf.c (__catanhf): Likewise.
20743         * math/s_catanhl.c (__catanhl): Likewise.
20744         * math/s_catanl.c (__catanl): Likewise.
20745         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20746         by positive zero when computing -Inf result.
20747         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20748         (catanh_test): Likewise.
20749         * sysdeps/i386/fpu/libm-test-ulps: Update.
20750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20752         [BZ #16789]
20753         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20754         instead of using underflowing value in computing result.
20755         * math/s_clog10.c (__clog10): Likewise.
20756         * math/s_clog10f.c (__clog10f): Likewise.
20757         * math/s_clog10l.c (__clog10l): Likewise.
20758         * math/s_clogf.c (__clogf): Likewise.
20759         * math/s_clogl.c (__clogl): Likewise.
20760         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20761         (clog10_test): Likewise.
20762         * sysdeps/i386/fpu/libm-test-ulps: Update.
20763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20765 2014-04-02  Alan Modra  <amodra@gmail.com>
20767         [BZ #16739]
20768         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20769         output when value is near a power of two.  Use int64_t for lx and
20770         remove casts.  Use decimal rather than hex exponent constants.
20771         Don't use long double multiplication when double will suffice.
20772         * math/libm-test.inc (nextafter_test_data): Add tests.
20773         * NEWS: Add 16739 and 16786 to bug list.
20775         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20777         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20779 2014-04-01  Will Newton  <will.newton@linaro.org>
20781         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20782         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20784 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20786         [BZ #13347]
20787         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20788         * nptl/tst-setuid2.c: New file.
20789         * nptl/Makefile (xtests): Add tst-setuid2.
20791 2014-04-01  Alan Modra  <amodra@gmail.com>
20793         [BZ #16786]
20794         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20796 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20798         [BZ #6803]
20799         [BZ #6804]
20800         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20801         set errno as appropriate.
20802         * math/w_scalbf.c (__scalbf): Likewise.
20803         * math/w_scalbl.c (__scalbl): Likewise.
20804         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20805         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20806         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20807         Add more NaN tests.
20809         [BZ #16349]
20810         * math/w_atan2.c: Include <errno.h>.
20811         (__atan2): Set errno for result underflowing to zero.
20812         * math/w_atan2f.c: Include <errno.h>.
20813         (__atan2f): Set errno for result underflowing to zero.
20814         * math/w_atan2l.c: Include <errno.h>.
20815         (__atan2l): Set errno for result underflowing to zero.
20816         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20817         tests.
20818         * math/auto-libm-test-out: Regenerated.
20820 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20822         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20823         Encode instruction correctly in little endian.
20824         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20825         Likewise.
20826         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20827         Likewise.
20828         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20829         Likewise.
20830         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20831         Likewise.
20833 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20835         [BZ #9894]
20836         * sysdeps/unix/sysv/linux/kernel-features.h
20837         [__sparc__ && !__arch64__ && !__sparc_v9__]
20838         (__ASSUME_SET_ROBUST_LIST): Do not define.
20839         [__sparc__ && !__arch64__ && !__sparc_v9__]
20840         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20841         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20842         Likewise.
20843         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20844         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20845         (__ASSUME_REQUEUE_PI): Likewise.
20846         (__ASSUME_SET_ROBUST_LIST): Likewise.
20847         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20848         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20849         Undefine.
20850         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20851         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20852         Likewise.
20853         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20854         Likewise.
20855         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20856         Likewise.
20857         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20858         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20859         Undefine.
20860         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20861         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20862         Likewise.
20864         [BZ #16648]
20865         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20866         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20867         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20869 2014-03-31  Will Newton  <will.newton@linaro.org>
20871         * benchtests/Makefile (bench): Add ffs and ffsll to list
20872         of tests.
20873         * benchtests/ffs-inputs: New file.
20874         * benchtests/ffsll-inputs: Likewise.
20876 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20878         [BZ #16770]
20879         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20880         too large before casting to int.
20881         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20882         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20883         * math/libm-test.inc (scalb_test_data): Add more tests.
20885 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20887         * benchtests/Makefile (DETAILED_OPT): New make option.
20888         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20889         set.
20890         * benchtests/bench-skeleton.c: Include stdbool.h.
20891         (main): Store and print timings per input.
20892         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20893         member to each argument value.
20894         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20895         (_print_arg_data): Initialize per-input timing to 0.
20897         * benchtests/Makefile (timing-type): New binary.
20898         (bench-clean): Also remove bench-timing-type.
20899         (bench): New target for timing-type.
20900         (bench-func): Print output in JSON format.
20901         * benchtests/bench-skeleton.c (main): Print output in JSON
20902         format.
20903         * benchtests/bench-timing-type.c: New file.
20904         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20905         (TIMING_PRINT_STATS): Remove.
20906         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20907         name separately.
20909         * benchtests/bench-modf.c: Remove.
20910         * benchtests/modf-inputs: New inputs file.
20912 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20914         [BZ #16362]
20915         * math/s_clog10.c (M_PI_LOG10E): New macro.
20916         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20917         imaginary parts are 0.
20918         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20919         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20920         imaginary parts are 0.
20921         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20922         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20923         imaginary parts are 0.
20924         * math/libm-test.inc (clog10_test_data): Update expected results
20925         for when real and imaginary parts are 0.
20927 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20929         * elf/dl-load.c: Finish conversion of __builtin_expect into
20930         __glibc_{un}likely.
20932 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20934         [BZ #16348]
20935         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20936         1+x for argument with exponent below -67.
20937         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20938         Likewise.
20939         * math/auto-libm-test-in: Add more tests of exp.
20940         * math/auto-libm-test-out: Regenerated.
20942 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20944         [BZ #16759]
20945         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20946         (nscd_getnetgrent): Use it.
20948         [BZ #16760]
20949         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20950         of stpcpy.
20952 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20954         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20955         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20956         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20957         (lll_robust_unlock): Remove out of line section. Use cfi
20958         intrinsics.
20959         (LLL_STUB_UNWIND_INFO*): Remove.
20960         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20961         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20962         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20963         (lll_robust_unlock): Remove out of line section. Use cfi
20964         intrinsics.
20965         (LLL_STUB_UNWIND_INFO*): Remove.
20967 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20969         [BZ #16758]
20970         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20971         blank values.
20973 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20975         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20977 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20979         [BZ #16198]
20980         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20981         fnstenv.
20982         * math/test-fenv-preserve.c: New file.
20983         * math/Makefile (tests): Add test-fenv-preserve.
20985 2014-03-26  Will Newton <will.newton@linaro.org>
20987         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20989 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20991         * scripts/versionlist.awk: Partition the version sets and emit all
20992         GLIBC_* (sorted) before all others (sorted).
20994 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20996         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20997         GLIBC_2.2.5 version.
20999 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21001         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21002         calls.
21004         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21005         previous change.
21007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21009 2014-03-25  Andreas Schwab  <schwab@suse.de>
21011         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21012         label to be used after in6ailist is initialized.
21014 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21016         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21017         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21019 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21021         [BZ #16357]
21022         [BZ #16599]
21023         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21024         min_plus_half.
21025         (fp_formats): Update initializers.
21026         (init_fp_formats): Initialize new field.
21027         (output_for_one_input_case): Allow underflow for results up to
21028         min_plus_half.
21029         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21030         * math/auto-libm-test-in: Don't mark some underflows from asin and
21031         atanh as spurious.
21032         * math/auto-libm-test-out: Regenerated.
21033         * sysdeps/i386/fpu/libm-test-ulps: Update.
21034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21036 2014-03-25  Andreas Schwab  <schwab@suse.de>
21038         * libio/Makefile (tst-ftell-partial-wide-ENV)
21039         (tst-ftell-active-handler-ENV): Define.
21041 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21043         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21045 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21047         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21049 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21051         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21052         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21053         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21055 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21057         [BZ #16634]
21058         * elf/dl-load.c (open_verify): Add mode parameter.
21059         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21060         (open_path): Change from boolean 'secure' to complete flag 'mode'
21061         (_dl_map_object): Adjust.
21062         * elf/Makefile (tests): Add tst-dlopen-aout.
21063         * elf/tst-dlopen-aout.c: New test.
21065 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21067         [BZ #16714]
21068         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21069         (struct stat): Rename member pad0 to __glibc_reserved0.
21071         [BZ #16712]
21072         * sysdeps/s390/s390-32/bits/wordsize.h
21073         (__WORDSIZE32_SIZE_ULONG): New define.
21074         * sysdeps/s390/s390-64/bits/wordsize.h
21075         (__WORDSIZE32_SIZE_ULONG): Likewise.
21076         * sysdeps/generic/stdint.h (SIZE_MAX):
21077         Define as UL if __WORDSIZE32_SIZE_ULONG.
21079         [BZ #16713]
21080         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21081         (__glibc_reserved0): New variable.
21082         (sa_flags): Change type to int.
21084         * posix/Makefile (before-compile): Use += before-compile instead
21085         of a :=.
21087         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21088         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21090 2014-03-20  Andreas Schwab  <schwab@suse.de>
21092         [BZ #16743]
21093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21094         non-matching result from nscd.
21096 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21098         * scripts/bench.py: Moved to ...
21099         * benchtests/scripts/bench.py: ... here.
21100         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21102 2014-03-24  Andreas Schwab  <schwab@suse.de>
21104         [BZ #16002]
21105         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21106         alloca_account and account alloca use for struct in6ailist.
21108 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21110         [BZ #16284]
21111         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21112         rounding mode to recompute results that overflow to infinity or
21113         underflow to zero.
21114         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21115         bug 16284.
21116         * math/auto-libm-test-out: Regenerated.
21117         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21118         (ccosh_test): Likewise.
21119         (csin_test_data): Use plus_oflow.
21120         (csin_test): Use ALL_RM_TEST.
21121         (csinh_test_data): Use plus_oflow.
21122         (csinh_test): Use ALL_RM_TEST.
21123         * sysdeps/i386/fpu/libm-test-ulps: Update.
21124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21126 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21128         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21129         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21130         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21132         [BZ #16731]
21133         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21134         when x - 1 is zero.
21135         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21136         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21137         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21138         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21139         argument is 1.
21140         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21141         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21142         zero.
21143         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21144         * sysdeps/i386/fpu/libm-test-ulps: Update.
21145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21147 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21149         * scripts/bench.pl: Remove file.
21150         * scripts/bench.py: New benchmark script.
21151         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21152         * benchtests/README: Mention python dependency.
21153         * scripts/pylintrc: New file.
21154         * scripts/pylint: New file.
21156         * bits/mathdef.h: Use #ifdef instead of #if.
21157         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21158         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21159         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21160         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21161         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21162         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21164 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21165             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21167         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21169         and strpbrk-ppc64 objects.
21170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21171         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21172         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21173         multiarch strpbrk for POWER7.
21174         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21175         multiarch strpbrk for PPC64.
21176         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21177         ifunc selector.
21178         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21179         strpbrk for POWER7.
21181 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21183         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21184         (atan_test): Likewise.
21185         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21186         (atanh_test): Use ALL_RM_TEST.
21187         (atan2_test_data): Likewise.
21188         (cabs_test): Likewise.
21189         (cacosh_test): Likewise.
21190         (carg_test): Likewise.
21191         (casin_test): Likewise.
21192         (casinh_test): Likewise.
21193         (cbrt_test): Likewise.
21194         (csqrt_test): Likewise.
21195         (erf_test): Likewise.
21196         (erfc_test): Likewise.
21197         (pow10_test): Likewise.
21198         (exp2_test): Likewise.
21199         (hypot_test): Likewise.
21200         (j0_test): Likewise.
21201         (j1_test): Likewise.
21202         (lgamma_test): Likewise.
21203         (gamma_test): Likewise.
21204         (sincos_test): Likewise.
21205         (tanh_test): Likewise.
21206         (y0_test): Likewise.
21207         (y1_test): Likewise.
21208         * sysdeps/i386/fpu/libm-test-ulps: Update.
21209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21211 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21213         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21215         and strcspn-ppc64 objects.
21216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21217         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21218         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21219         multiarch strcspn for POWER7.
21220         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21221         multiarch strcspn for PPC64.
21222         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21223         ifunc selector.
21224         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21225         strcspn for POWER7.
21227 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21229         * math/gen-libm-test.pl (generate_testfile): Expect only function
21230         name as argument to AUTO_TESTS_* and pass results for all rounding
21231         modes to parse_args.
21232         (parse_auto_input): Separate inputs of automatic tests from
21233         outputs before storing in %auto_tests.
21234         * math/libm-test.inc (acos_test_data): Update call to
21235         AUTO_TESTS_f_f.
21236         (acos_test): Use ALL_RM_TEST.
21237         (acos_tonearest_test_data): Remove.
21238         (acos_test_tonearest): Likewise.
21239         (acos_towardzero_test_data): Likewise.
21240         (acos_test_towardzero): Likewise.
21241         (acos_downward_test_data): Likewise.
21242         (acos_test_downward): Likewise.
21243         (acos_upward_test_data): Likewise.
21244         (acos_test_upward): Likewise.
21245         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21246         (asin_test_data): Likewise.
21247         (asin_test): Use ALL_RM_TEST.
21248         (asin_tonearest_test_data): Remove.
21249         (asin_test_tonearest): Likewise.
21250         (asin_towardzero_test_data): Likewise.
21251         (asin_test_towardzero): Likewise.
21252         (asin_downward_test_data): Likewise.
21253         (asin_test_downward): Likewise.
21254         (asin_upward_test_data): Likewise.
21255         (asin_test_upward): Likewise.
21256         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21257         (atan_test_data): Likewise.
21258         (atanh_test_data): Likewise.
21259         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21260         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21261         (carg_test_data): Likewise.
21262         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21263         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21264         (ccosh_test_data): Likewise.
21265         (cexp_test_data): Likewise.
21266         (clog_test_data): Likewise.
21267         (clog10_test_data): Likewise.
21268         (cos_test_data): Update call to AUTO_TESTS_f_f.
21269         (cos_test): Use ALL_RM_TEST.
21270         (cos_tonearest_test_data): Remove.
21271         (cos_test_tonearest): Likewise.
21272         (cos_towardzero_test_data): Likewise.
21273         (cos_test_towardzero): Likewise.
21274         (cos_downward_test_data): Likewise.
21275         (cos_test_downward): Likewise.
21276         (cos_upward_test_data): Likewise.
21277         (cos_test_upward): Likewise.
21278         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21279         (cosh_test): Use ALL_RM_TEST.
21280         (cosh_tonearest_test_data): Remove.
21281         (cosh_test_tonearest): Likewise.
21282         (cosh_towardzero_test_data): Likewise.
21283         (cosh_test_towardzero): Likewise.
21284         (cosh_downward_test_data): Likewise.
21285         (cosh_test_downward): Likewise.
21286         (cosh_upward_test_data): Likewise.
21287         (cosh_test_upward): Likewise.
21288         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21289         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21290         (ctan_test_data): Likewise.
21291         (ctan_test): Use ALL_RM_TEST.
21292         (ctan_tonearest_test_data): Remove.
21293         (ctan_test_tonearest): Likewise.
21294         (ctan_towardzero_test_data): Likewise.
21295         (ctan_test_towardzero): Likewise.
21296         (ctan_downward_test_data): Likewise.
21297         (ctan_test_downward): Likewise.
21298         (ctan_upward_test_data): Likewise.
21299         (ctan_test_upward): Likewise.
21300         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21301         (ctanh_test): Use ALL_RM_TEST.
21302         (ctanh_tonearest_test_data): Remove.
21303         (ctanh_test_tonearest): Likewise.
21304         (ctanh_towardzero_test_data): Likewise.
21305         (ctanh_test_towardzero): Likewise.
21306         (ctanh_downward_test_data): Likewise.
21307         (ctanh_test_downward): Likewise.
21308         (ctanh_upward_test_data): Likewise.
21309         (ctanh_test_upward): Likewise.
21310         (erf_test_data): Update call to AUTO_TESTS_f_f.
21311         (erfc_test_data): Likewise.
21312         (exp_test_data): Likewise.
21313         (exp_test): Use ALL_RM_TEST.
21314         (exp_tonearest_test_data): Remove.
21315         (exp_test_tonearest): Likewise.
21316         (exp_towardzero_test_data): Likewise.
21317         (exp_test_towardzero): Likewise.
21318         (exp_downward_test_data): Likewise.
21319         (exp_test_downward): Likewise.
21320         (exp_upward_test_data): Likewise.
21321         (exp_test_upward): Likewise.
21322         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21323         (exp10_test): Use ALL_RM_TEST.
21324         (exp10_tonearest_test_data): Remove.
21325         (exp10_test_tonearest): Likewise.
21326         (exp10_towardzero_test_data): Likewise.
21327         (exp10_test_towardzero): Likewise.
21328         (exp10_downward_test_data): Likewise.
21329         (exp10_test_downward): Likewise.
21330         (exp10_upward_test_data): Likewise.
21331         (exp10_test_upward): Likewise.
21332         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21333         (expm1_test_data): Likewise.
21334         (expm1_test): Use ALL_RM_TEST.
21335         (expm1_tonearest_test_data): Remove.
21336         (expm1_test_tonearest): Likewise.
21337         (expm1_towardzero_test_data): Likewise.
21338         (expm1_test_towardzero): Likewise.
21339         (expm1_downward_test_data): Likewise.
21340         (expm1_test_downward): Likewise.
21341         (expm1_upward_test_data): Likewise.
21342         (expm1_test_upward): Likewise.
21343         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21344         (fma_test): Use ALL_RM_TEST.
21345         (fma_towardzero_test_data): Remove.
21346         (fma_test_towardzero): Likewise.
21347         (fma_downward_test_data): Likewise.
21348         (fma_test_downward): Likewise.
21349         (fma_upward_test_data): Likewise.
21350         (fma_test_upward): Likewise.
21351         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21352         (j0_test_data): Update call to AUTO_TESTS_f_f.
21353         (j1_test_data): Likewise.
21354         (jn_test_data): Update call to AUTO_TESTS_if_f.
21355         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21356         (log_test_data): Update call to AUTO_TESTS_f_f.
21357         (log10_test_data): Likewise.
21358         (log1p_test_data): Likewise.
21359         (log2_test_data): Likewise.
21360         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21361         (pow_tonearest_test_data): Likewise.
21362         (sin_test_data): Update call to AUTO_TESTS_f_f.
21363         (sin_test): Use ALL_RM_TEST.
21364         (sin_tonearest_test_data): Remove.
21365         (sin_test_tonearest): Likewise.
21366         (sin_towardzero_test_data): Likewise.
21367         (sin_test_towardzero): Likewise.
21368         (sin_downward_test_data): Likewise.
21369         (sin_test_downward): Likewise.
21370         (sin_upward_test_data): Likewise.
21371         (sin_test_upward): Likewise.
21372         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21373         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21374         (sinh_test): Use ALL_RM_TEST.
21375         (sinh_tonearest_test_data): Remove.
21376         (sinh_test_tonearest): Likewise.
21377         (sinh_towardzero_test_data): Likewise.
21378         (sinh_test_towardzero): Likewise.
21379         (sinh_downward_test_data): Likewise.
21380         (sinh_test_downward): Likewise.
21381         (sinh_upward_test_data): Likewise.
21382         (sinh_test_upward): Likewise.
21383         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21384         (sqrt_test): Use ALL_RM_TEST.
21385         (sqrt_tonearest_test_data): Remove.
21386         (sqrt_test_tonearest): Likewise.
21387         (sqrt_towardzero_test_data): Likewise.
21388         (sqrt_test_towardzero): Likewise.
21389         (sqrt_downward_test_data): Likewise.
21390         (sqrt_test_downward): Likewise.
21391         (sqrt_upward_test_data): Likewise.
21392         (sqrt_test_upward): Likewise.
21393         (tan_test_data): Update call to AUTO_TESTS_f_f.
21394         (tan_test): Use ALL_RM_TEST.
21395         (tan_tonearest_test_data): Remove.
21396         (tan_test_tonearest): Likewise.
21397         (tan_towardzero_test_data): Likewise.
21398         (tan_test_towardzero): Likewise.
21399         (tan_downward_test_data): Likewise.
21400         (tan_test_downward): Likewise.
21401         (tan_upward_test_data): Likewise.
21402         (tan_test_upward): Likewise.
21403         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21404         (tgamma_test_data): Likewise.
21405         (y0_test_data): Likewise.
21406         (y1_test_data): Likewise.
21407         (yn_test_data): Update call to AUTO_TESTS_if_f.
21408         (main): Do not call removed functions.
21410 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21412         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21413         (ldexp_test_data): Remove.
21414         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21415         scalbn_test_data.
21416         (scalb_test): Use ALL_RM_TEST.
21418 2014-03-19  Andreas Schwab  <schwab@suse.de>
21420         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21422 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21424         [BZ #16649]
21425         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21426         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21427         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21428         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21429         (__ASSUME_PREADV): Undefine.
21430         (__ASSUME_PWRITEV): Likewise.
21432 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21434         * bits/mman-linux.h: Add comment about non-Linux use.
21435         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21436         bits/mman-linux.h resting place.
21438         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21439         * bits/mman-linux.h: ... here.
21441 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21443         * conform/conformtest.pl: Add standard definition when calling C
21444         preprocessor on data files.
21445         (checknamespace): Remove unused variable.
21447 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21449         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21450         minus_oflow, plus_uflow and minus_uflow in expected results.
21451         * math/libm-test.inc (scalbn_test_data): Add more tests of
21452         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21453         minus_uflow.
21454         (scalbn_test): Use ALL_RM_TEST.
21455         (scalbln_test_data): Add more tests of negative arguments.  Use
21456         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21457         (scalbln_test): Use ALL_RM_TEST.
21459 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21461         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21463 2014-03-18  Will Newton  <will.newton@linaro.org>
21465         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21466         inaccurate comment.
21468 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21470         * Makerules [!subdir] (check-abi): Exit with error status if a
21471         test failed.
21473 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21475         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21476         for rint.  Include results for all rounding modes.
21477         (nearbyint_test): Use ALL_RM_TEST.
21478         (rint_test_data): Include all tests used for nearbyint.
21480 2014-03-17  Will Newton  <will.newton@linaro.org>
21482         * nptl/sysdeps/pthread/pthread.h: Revert previous
21483         change.
21485         * sysdeps/generic/ldsodefs.h: Revert previous
21486         change.
21488         * libio/genops.c: Revert previous change.
21489         * libio/libioP.h: Likewise.
21490         * stdio-common/vfprintf.c: Likewise.
21492         * sysdeps/generic/math_private.h: Revert previous
21493         change.
21495         * sysdeps/generic/math_private.h: Check whether
21496         HAVE_RM_CTX is defined with #ifdef rather
21497         than #if.
21499         * argp/argp-fmtstream.h: Check whether
21500         __STRICT_ANSI__ is defined with #ifdef rather
21501         than #if.
21502         * argp/argp.h: Likewise.
21504         * libio/genops.c: Check whether
21505         _IO_JUMPS_OFFSET is defined with #ifdef rather
21506         than #if.
21507         * libio/libioP.h: Likewise.
21508         * stdio-common/vfprintf.c: Likewise.
21510         * sysdeps/generic/ldsodefs.h: Check whether
21511         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21512         than #if.
21514         * nptl/sysdeps/pthread/pthread.h: Check
21515         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21516         its value.
21518 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21520         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21521         setting O_APPEND.
21522         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21523         test case.
21525         [BZ #16680]
21526         * libio/fileops.c (_IO_file_open): Seek to end of file but
21527         don't cache the offset.
21528         (get_file_offset): Remove function.
21529         (do_ftell): Use cached offset when available.
21530         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21531         don't cache the offset.
21532         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21533         case.
21534         (do_one_test): Call it.
21535         (do_ftell_test): Fix up expected old offset for a+ mode.
21536         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21537         available.
21539         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21540         up test status with function return status.
21541         (do_write_test): Likewise.
21542         (do_append_test): Likewise.
21544         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21545         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21546         Remove.
21548 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21550         * math/gen-libm-test.pl (parse_args): Handle results specified for
21551         each rounding mode separately.
21552         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21553         tests and results from lrint_tonearest_test_data,
21554         lrint_towardzero_test_data, lrint_downward_test_data and
21555         lrint_upward_test_data.
21556         (lrint_test): Use ALL_RM_TEST.
21557         (lrint_tonearest_test_data): Remove.
21558         (lrint_test_tonearest): Likewise.
21559         (lrint_towardzero_test_data): Likewise.
21560         (lrint_test_towardzero): Likewise.
21561         (lrint_downward_test_data): Likewise.
21562         (lrint_test_downward): Likewise.
21563         (lrint_upward_test_data): Likewise.
21564         (lrint_test_upward): Likewise.
21565         (llrint_test_data): Merge in per-rounding-mode tests and results
21566         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21567         llrint_downward_test_data and llrint_upward_test_data.
21568         (llrint_test): Use ALL_RM_TEST.
21569         (llrint_tonearest_test_data): Remove.
21570         (llrint_test_tonearest): Likewise.
21571         (llrint_towardzero_test_data): Likewise.
21572         (llrint_test_towardzero): Likewise.
21573         (llrint_downward_test_data): Likewise.
21574         (llrint_test_downward): Likewise.
21575         (llrint_upward_test_data): Likewise.
21576         (llrint_test_upward): Likewise.
21577         (rint_test_data): Merge in per-rounding-mode tests and results
21578         from rint_tonearest_test_data, rint_towardzero_test_data,
21579         rint_downward_test_data and rint_upward_test_data.  Add
21580         per-rounding-mode results for tests not in those arrays.
21581         (rint_test): Use ALL_RM_TEST.
21582         (rint_tonearest_test_data): Remove.
21583         (rint_test_tonearest): Likewise.
21584         (rint_towardzero_test_data): Likewise.
21585         (rint_test_towardzero): Likewise.
21586         (rint_downward_test_data): Likewise.
21587         (rint_test_downward): Likewise.
21588         (rint_upward_test_data): Likewise.
21589         (rint_test_upward): Likewise.
21590         (main): Don't call removed functions.
21592 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21594         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21595         "Compiled on ..." crapola.  It is anti-useful.
21597 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21599         * scripts/evaluate-test.sh: Handle fourth argument to determine
21600         whether test run should stop on failure.
21601         * Makeconfig (stop-on-test-failure): New variable.
21602         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21603         $(stop-on-test-failure).
21604         * Makefile (tests): Give a summary of results from testing and
21605         exit with failure status if they include an ERROR or FAIL.
21606         (xtests): Likewise.
21607         * manual/install.texi (Configuring and compiling): Mention
21608         stop-on-test-failure=y.
21609         * INSTALL: Regenerated.
21611 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21613         * scripts/versionlist.awk: New file.
21614         * Makerules [$(build-shared) = yes]
21615         (postclean-generated): Add Versions.def, not Versions.def.v and
21616         Versions.def.v.i.
21617         ($(common-objpfx)Versions.def.v.i): Target removed.
21618         ($(common-objpfx)Versions.def): New target.
21619         ($(common-objpfx)Versions.all): Depend on that rather that
21620         $(common-objpfx)Versions.def.v.
21621         * Versions.def: File removed.
21623         * Makeconfig (+gccwarn): Add -Wundef.
21624         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21625         a dl-sysdep.h breaking its contract.
21626         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21627         * include/stackinfo.h: New file.
21628         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21629         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21630         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21631         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21632         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21633         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21634         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21635         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21636         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21637         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21638         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21639         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21640         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21641         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21642         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21644 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21646         [BZ #16707]
21647         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21648         implementation.
21649         * math/libm-test.inc (round_test_data): Add more tests.
21651         [BZ #16706]
21652         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21653         implementation.
21654         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21656         [BZ #16701]
21657         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21658         implementation.
21659         * math/libm-test.inc (ceil_test_data): Add more tests.
21661         * math/libm-test.inc (trunc_test_data): Add more tests related to
21662         BZ#16414.
21664 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21666         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21667         with #if rather than #ifdef.
21668         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21670 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21672         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21673         first.  Disable AVX-512 GCC support if assembler doesn't support
21674         it.
21675         * sysdeps/x86_64/configure: Regenerated.
21677 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21679         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21680         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21681         (__old_pthread_attr_setstack): Likewise.
21682         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21683         [!_STACK_GROWS_DOWN]: Likewise.
21685 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21687         * config.make.in (have-bash2): Delete.
21688         * configure.ac (libc_cv_have_bash2): Delete.
21689         * configure: Regenerate.
21690         * elf/Makefile (common-ldd-rewrite): Rename to ...
21691         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21692         (sh-ldd-rewrite): Delete.
21693         (bash-ldd-rewrite): Delete.
21694         (have-bash2): Delete checks.
21695         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21696         ldd-rewrite.
21698         * config.make.in (have-ksh): Delete.
21699         (KSH): Delete.
21700         * configure.ac (libc_cv_have_ksh): Delete.
21701         * configure: Regenerate.
21703         * elf/Makefile: Delete $(have-ksh) check.
21704         ($(objpfx)sotruss): Change KSH to BASH.
21705         * elf/sotruss.ksh: Rename to ...
21706         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21707         function style to match POSIX.  Drop ksh vim mode setting.
21709         * manual/time.texi (Specifying the Time Zone with TZ): Change
21710         Tuesday to Thursday.
21712         * debug/tst-longjmp_chk2.c: Update header comment.
21713         (stackoverflow_handler): Add comment.  Call assert on pass value.
21715 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21717         [BZ #16194]
21718         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21719         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21720         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21721         (La_x86_64_vector): Add zmm.
21722         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21723         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21724         ($(objpfx)tst-audit10): New target.
21725         ($(objpfx)tst-audit10.out): Likewise.
21726         (tst-audit10-ENV): New.
21727         (AVX512-CFLAGS): Likewise.
21728         (CFLAGS-tst-audit10.c): Likewise.
21729         (CFLAGS-tst-auditmod10a.c): Likewise.
21730         (CFLAGS-tst-auditmod10b.c): Likewise.
21731         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21732         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21733         * sysdeps/x86_64/configure: Regenerated.
21734         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21735         AVX-512 zmm register support.
21736         (_dl_x86_64_save_sse): Likewise.
21737         (_dl_x86_64_restore_sse): Likewise.
21738         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21739         size vector registers.
21740         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21741         (ZMM_SIZE): Likewise.
21742         * sysdeps/x86_64/tst-audit10.c: New file.
21743         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21744         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21746 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21748         * configure.ac (HAVE_EHDR_START): New check.
21749         * configure: Regenerated.
21750         * config.h.in (HAVE_EHDR_START): New #undef.
21751         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21752         assuming the lowest-addressed segment maps the start of the file.
21754 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21756         * INSTALL: Regenerated.
21758 2014-03-13  Will Newton  <will.newton@linaro.org>
21760         * manual/setjmp.texi (System V contexts): Improve
21761         clarity and grammar of documentation.
21763 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21765         [BZ #16381]
21766         * elf/Makefile (tests): Add tst-pie2.
21767         (tests-pie): Add tst-pie2.
21768         * elf/tst-pie2.c: New file.
21769         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21770         for ET_EXEC.
21771         * elf/rtld.c (map_doit): Load executable as lt_executable.
21772         (dl_main): Likewise.
21774 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21776         [BZ #16642]
21777         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21778         (__ASSUME_PSELECT): Undefine.
21780 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21782         [BZ #16689]
21783         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21784         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21785         static build.
21786         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21787         selector for static builds.
21789 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21791         [BZ #16695]
21792         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21793         key in the buffer.
21795 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21797         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21798         IFUNC selector for static builds.
21800 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21802         * sysdeps/mips/math_private.h [__mips_hard_float]
21803         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21804         libc_feresetround_mips_ctx.
21805         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21806         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21807         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21809         [BZ #16677]
21810         * math/s_nextafter.c (__nextafter): Do not return value from
21811         overflowing computation.
21812         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21813         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21814         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21815         Likewise.
21816         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21817         Likewise.
21818         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21819         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21821 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21823         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21824         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21825         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21826         the new mov targetting sp.
21828 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21830         [BZ #16683]
21831         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21832         Define it for static builds as well.
21833         (NO_BZERO_IMPL): Likewise.
21835 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21837         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21838         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21839         multiarch strspn for PPC64.
21840         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21841         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21843         (__libc_ifunc_impl_list): Likewise.
21844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21845         multiarch optimizations
21846         * string/strspn.c (strspn): Using macro to redefine symbol name.
21848 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21849             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21851         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21852         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21853         multiarch strncat for PPC64.
21854         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21855         * sysdeps/powerpc/powerpc64/multiarch/strncat-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 strncat
21859         multiarch optimizations
21861 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21863         [BZ #16639]
21864         * nscd/nscd.service: Make service type forking.
21866 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21868         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21869         sign in non default rounding modes.
21870         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21872 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21874         * math/libm-test.inc (ALL_RM_TEST): New macro.
21875         (ceil_test): Use ALL_RM_TEST.
21876         (cimag_test): Likewise.
21877         (conj_test): Likewise.
21878         (copysign_test): Likewise.
21879         (cproj_test): Likewise.
21880         (creal_test): Likewise.
21881         (fabs_test): Likewise.
21882         (floor_test): Likewise.
21883         (fmax_test): Likewise.
21884         (fmin_test): Likewise.
21885         (fmod_test): Likewise.
21886         (fpclassify_test): Likewise.
21887         (frexp_test): Likewise.
21888         (ilogb_test): Likewise.
21889         (isfinite_test): Likewise.
21890         (finite_test): Likewise.
21891         (isgreater_test): Likewise.
21892         (isgreaterequal_test): Likewise.
21893         (isinf_test): Likewise.
21894         (isless_test): Likewise.
21895         (islessequal_test): Likewise.
21896         (islessgreater_test): Likewise.
21897         (isnan_test): Likewise.
21898         (isnormal_test): Likewise.
21899         (issignaling_test): Likewise.
21900         (isunordered_test): Likewise.
21901         (logb_test): Likewise.
21902         (logb_downward_test_data): Remove.
21903         (logb_test_downward): Likewise.
21904         (lround_test): Use ALL_RM_TEST.
21905         (llround_test): Likewise.
21906         (modf_test): Likewise.
21907         (nexttoward_test): Likewise.
21908         (remainder_test): Likewise.
21909         (drem_test): Likewise.
21910         (remainder_tonearest_test_data): Likewise.
21911         (remainder_test_tonearest): Likewise.
21912         (drem_test_tonearest): Likewise.
21913         (remainder_towardzero_test_data): Likewise.
21914         (remainder_test_towardzero): Likewise.
21915         (drem_test_towardzero): Likewise.
21916         (remainder_downward_test_data): Likewise.
21917         (remainder_test_downward): Likewise.
21918         (drem_test_downward): Likewise.
21919         (remainder_upward_test_data): Likewise.
21920         (remainder_test_upward): Likewise.
21921         (drem_test_upward): Likewise.
21922         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21923         (round_test): Use ALL_RM_TEST.
21924         (signbit_test): Likewise.
21925         (trunc_test): Likewise.
21926         (significand_test): Likewise.
21927         (main): Don't call removed functions.
21929 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21931         [BZ #16674]
21932         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21933         || __USE_XOPEN2K8].
21934         (ILL_ILLOPN): Likewise.
21935         (ILL_ILLADR): Likewise.
21936         (ILL_ILLTRP): Likewise.
21937         (ILL_PRVOPC): Likewise.
21938         (ILL_PRVREG): Likewise.
21939         (ILL_COPROC): Likewise.
21940         (ILL_BADSTK): Likewise.
21941         (FPE_INTDIV): Likewise.
21942         (FPE_INTOVF): Likewise.
21943         (FPE_FLTDIV): Likewise.
21944         (FPE_FLTOVF): Likewise.
21945         (FPE_FLTUND): Likewise.
21946         (FPE_FLTRES): Likewise.
21947         (FPE_FLTINV): Likewise.
21948         (FPE_FLTSUB): Likewise.
21949         (SEGV_MAPERR): Likewise.
21950         (SEGV_ACCERR): Likewise.
21951         (BUS_ADRALN): Likewise.
21952         (BUS_ADRERR): Likewise.
21953         (BUS_OBJERR): Likewise.
21954         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21955         (TRAP_TRACE): Likewise.
21956         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21957         __USE_XOPEN2K8].
21958         (CLD_KILLED): Likewise.
21959         (CLD_DUMPED): Likewise.
21960         (CLD_TRAPPED): Likewise.
21961         (CLD_STOPPED): Likewise.
21962         (CLD_CONTINUED): Likewise.
21963         (POLL_IN): Likewise.
21964         (POLL_OUT): Likewise.
21965         (POLL_MSG): Likewise.
21966         (POLL_ERR): Likewise.
21967         (POLL_PRI): Likewise.
21968         (POLL_HUP): Likewise.
21969         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21970         Likewise.
21971         (ILL_ILLOPN): Likewise.
21972         (ILL_ILLADR): Likewise.
21973         (ILL_ILLTRP): Likewise.
21974         (ILL_PRVOPC): Likewise.
21975         (ILL_PRVREG): Likewise.
21976         (ILL_COPROC): Likewise.
21977         (ILL_BADSTK): Likewise.
21978         (FPE_INTDIV): Likewise.
21979         (FPE_INTOVF): Likewise.
21980         (FPE_FLTDIV): Likewise.
21981         (FPE_FLTOVF): Likewise.
21982         (FPE_FLTUND): Likewise.
21983         (FPE_FLTRES): Likewise.
21984         (FPE_FLTINV): Likewise.
21985         (FPE_FLTSUB): Likewise.
21986         (SEGV_MAPERR): Likewise.
21987         (SEGV_ACCERR): Likewise.
21988         (BUS_ADRALN): Likewise.
21989         (BUS_ADRERR): Likewise.
21990         (BUS_OBJERR): Likewise.
21991         (BUS_MCEERR_AR): Likewise.
21992         (BUS_MCEERR_AO): Likewise.
21993         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21994         (TRAP_TRACE): Likewise.
21995         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21996         __USE_XOPEN2K8].
21997         (CLD_KILLED): Likewise.
21998         (CLD_DUMPED): Likewise.
21999         (CLD_TRAPPED): Likewise.
22000         (CLD_STOPPED): Likewise.
22001         (CLD_CONTINUED): Likewise.
22002         (POLL_IN): Likewise.
22003         (POLL_OUT): Likewise.
22004         (POLL_MSG): Likewise.
22005         (POLL_ERR): Likewise.
22006         (POLL_PRI): Likewise.
22007         (POLL_HUP): Likewise.
22008         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22009         (ILL_ILLOPN): Likewise.
22010         (ILL_ILLADR): Likewise.
22011         (ILL_ILLTRP): Likewise.
22012         (ILL_PRVOPC): Likewise.
22013         (ILL_PRVREG): Likewise.
22014         (ILL_COPROC): Likewise.
22015         (ILL_BADSTK): Likewise.
22016         (FPE_INTDIV): Likewise.
22017         (FPE_INTOVF): Likewise.
22018         (FPE_FLTDIV): Likewise.
22019         (FPE_FLTOVF): Likewise.
22020         (FPE_FLTUND): Likewise.
22021         (FPE_FLTRES): Likewise.
22022         (FPE_FLTINV): Likewise.
22023         (FPE_FLTSUB): Likewise.
22024         (SEGV_MAPERR): Likewise.
22025         (SEGV_ACCERR): Likewise.
22026         (BUS_ADRALN): Likewise.
22027         (BUS_ADRERR): Likewise.
22028         (BUS_OBJERR): Likewise.
22029         (BUS_MCEERR_AR): Likewise.
22030         (BUS_MCEERR_AO): Likewise.
22031         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22032         (TRAP_TRACE): Likewise.
22033         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22034         __USE_XOPEN2K8].
22035         (CLD_KILLED): Likewise.
22036         (CLD_DUMPED): Likewise.
22037         (CLD_TRAPPED): Likewise.
22038         (CLD_STOPPED): Likewise.
22039         (CLD_CONTINUED): Likewise.
22040         (POLL_IN): Likewise.
22041         (POLL_OUT): Likewise.
22042         (POLL_MSG): Likewise.
22043         (POLL_ERR): Likewise.
22044         (POLL_PRI): Likewise.
22045         (POLL_HUP): Likewise.
22046         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22047         Likewise.
22048         (ILL_ILLOPN): Likewise.
22049         (ILL_ILLADR): Likewise.
22050         (ILL_ILLTRP): Likewise.
22051         (ILL_PRVOPC): Likewise.
22052         (ILL_PRVREG): Likewise.
22053         (ILL_COPROC): Likewise.
22054         (ILL_BADSTK): Likewise.
22055         (ILL_BADIADDR): Likewise.
22056         (ILL_BREAK): Likewise.
22057         (FPE_INTDIV): Likewise.
22058         (FPE_INTOVF): Likewise.
22059         (FPE_FLTDIV): Likewise.
22060         (FPE_FLTOVF): Likewise.
22061         (FPE_FLTUND): Likewise.
22062         (FPE_FLTRES): Likewise.
22063         (FPE_FLTINV): Likewise.
22064         (FPE_FLTSUB): Likewise.
22065         (FPE_DECOVF): Likewise.
22066         (FPE_DECDIV): Likewise.
22067         (FPE_DECERR): Likewise.
22068         (FPE_INVASC): Likewise.
22069         (FPE_INVDEC): Likewise.
22070         (SEGV_MAPERR): Likewise.
22071         (SEGV_ACCERR): Likewise.
22072         (SEGV_PSTKOVF): Likewise.
22073         (BUS_ADRALN): Likewise.
22074         (BUS_ADRERR): Likewise.
22075         (BUS_OBJERR): Likewise.
22076         (BUS_MCEERR_AR): Likewise.
22077         (BUS_MCEERR_AO): Likewise.
22078         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22079         (TRAP_TRACE): Likewise.
22080         (TRAP_BRANCH): Likewise.
22081         (TRAP_HWBKPT): Likewise.
22082         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22083         __USE_XOPEN2K8].
22084         (CLD_KILLED): Likewise.
22085         (CLD_DUMPED): Likewise.
22086         (CLD_TRAPPED): Likewise.
22087         (CLD_STOPPED): Likewise.
22088         (CLD_CONTINUED): Likewise.
22089         (POLL_IN): Likewise.
22090         (POLL_OUT): Likewise.
22091         (POLL_MSG): Likewise.
22092         (POLL_ERR): Likewise.
22093         (POLL_PRI): Likewise.
22094         (POLL_HUP): Likewise.
22095         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22096         (ILL_ILLOPN): Likewise.
22097         (ILL_ILLADR): Likewise.
22098         (ILL_ILLTRP): Likewise.
22099         (ILL_PRVOPC): Likewise.
22100         (ILL_PRVREG): Likewise.
22101         (ILL_COPROC): Likewise.
22102         (ILL_BADSTK): Likewise.
22103         (FPE_INTDIV): Likewise.
22104         (FPE_INTOVF): Likewise.
22105         (FPE_FLTDIV): Likewise.
22106         (FPE_FLTOVF): Likewise.
22107         (FPE_FLTUND): Likewise.
22108         (FPE_FLTRES): Likewise.
22109         (FPE_FLTINV): Likewise.
22110         (FPE_FLTSUB): Likewise.
22111         (SEGV_MAPERR): Likewise.
22112         (SEGV_ACCERR): Likewise.
22113         (BUS_ADRALN): Likewise.
22114         (BUS_ADRERR): Likewise.
22115         (BUS_OBJERR): Likewise.
22116         (BUS_MCEERR_AR): Likewise.
22117         (BUS_MCEERR_AO): Likewise.
22118         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22119         (TRAP_TRACE): Likewise.
22120         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22121         __USE_XOPEN2K8].
22122         (CLD_KILLED): Likewise.
22123         (CLD_DUMPED): Likewise.
22124         (CLD_TRAPPED): Likewise.
22125         (CLD_STOPPED): Likewise.
22126         (CLD_CONTINUED): Likewise.
22127         (POLL_IN): Likewise.
22128         (POLL_OUT): Likewise.
22129         (POLL_MSG): Likewise.
22130         (POLL_ERR): Likewise.
22131         (POLL_PRI): Likewise.
22132         (POLL_HUP): Likewise.
22133         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22134         (ILL_ILLOPN): Likewise.
22135         (ILL_ILLADR): Likewise.
22136         (ILL_ILLTRP): Likewise.
22137         (ILL_PRVOPC): Likewise.
22138         (ILL_PRVREG): Likewise.
22139         (ILL_COPROC): Likewise.
22140         (ILL_BADSTK): Likewise.
22141         (FPE_INTDIV): Likewise.
22142         (FPE_INTOVF): Likewise.
22143         (FPE_FLTDIV): Likewise.
22144         (FPE_FLTOVF): Likewise.
22145         (FPE_FLTUND): Likewise.
22146         (FPE_FLTRES): Likewise.
22147         (FPE_FLTINV): Likewise.
22148         (FPE_FLTSUB): Likewise.
22149         (SEGV_MAPERR): Likewise.
22150         (SEGV_ACCERR): Likewise.
22151         (BUS_ADRALN): Likewise.
22152         (BUS_ADRERR): Likewise.
22153         (BUS_OBJERR): Likewise.
22154         (BUS_MCEERR_AR): Likewise.
22155         (BUS_MCEERR_AO): Likewise.
22156         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22157         (TRAP_TRACE): Likewise.
22158         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22159         __USE_XOPEN2K8].
22160         (CLD_KILLED): Likewise.
22161         (CLD_DUMPED): Likewise.
22162         (CLD_TRAPPED): Likewise.
22163         (CLD_STOPPED): Likewise.
22164         (CLD_CONTINUED): Likewise.
22165         (POLL_IN): Likewise.
22166         (POLL_OUT): Likewise.
22167         (POLL_MSG): Likewise.
22168         (POLL_ERR): Likewise.
22169         (POLL_PRI): Likewise.
22170         (POLL_HUP): Likewise.
22171         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22172         (ILL_ILLOPN): Likewise.
22173         (ILL_ILLADR): Likewise.
22174         (ILL_ILLTRP): Likewise.
22175         (ILL_PRVOPC): Likewise.
22176         (ILL_PRVREG): Likewise.
22177         (ILL_COPROC): Likewise.
22178         (ILL_BADSTK): Likewise.
22179         (FPE_INTDIV): Likewise.
22180         (FPE_INTOVF): Likewise.
22181         (FPE_FLTDIV): Likewise.
22182         (FPE_FLTOVF): Likewise.
22183         (FPE_FLTUND): Likewise.
22184         (FPE_FLTRES): Likewise.
22185         (FPE_FLTINV): Likewise.
22186         (FPE_FLTSUB): Likewise.
22187         (SEGV_MAPERR): Likewise.
22188         (SEGV_ACCERR): Likewise.
22189         (BUS_ADRALN): Likewise.
22190         (BUS_ADRERR): Likewise.
22191         (BUS_OBJERR): Likewise.
22192         (BUS_MCEERR_AR): Likewise.
22193         (BUS_MCEERR_AO): Likewise.
22194         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22195         (TRAP_TRACE): Likewise.
22196         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22197         __USE_XOPEN2K8].
22198         (CLD_KILLED): Likewise.
22199         (CLD_DUMPED): Likewise.
22200         (CLD_TRAPPED): Likewise.
22201         (CLD_STOPPED): Likewise.
22202         (CLD_CONTINUED): Likewise.
22203         (POLL_IN): Likewise.
22204         (POLL_OUT): Likewise.
22205         (POLL_MSG): Likewise.
22206         (POLL_ERR): Likewise.
22207         (POLL_PRI): Likewise.
22208         (POLL_HUP): Likewise.
22209         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22210         (ILL_ILLOPN): Likewise.
22211         (ILL_ILLADR): Likewise.
22212         (ILL_ILLTRP): Likewise.
22213         (ILL_PRVOPC): Likewise.
22214         (ILL_PRVREG): Likewise.
22215         (ILL_COPROC): Likewise.
22216         (ILL_BADSTK): Likewise.
22217         (ILL_DBLFLT): Likewise.
22218         (ILL_HARDWALL): Likewise.
22219         (FPE_INTDIV): Likewise.
22220         (FPE_INTOVF): Likewise.
22221         (FPE_FLTDIV): Likewise.
22222         (FPE_FLTOVF): Likewise.
22223         (FPE_FLTUND): Likewise.
22224         (FPE_FLTRES): Likewise.
22225         (FPE_FLTINV): Likewise.
22226         (FPE_FLTSUB): Likewise.
22227         (SEGV_MAPERR): Likewise.
22228         (SEGV_ACCERR): Likewise.
22229         (BUS_ADRALN): Likewise.
22230         (BUS_ADRERR): Likewise.
22231         (BUS_OBJERR): Likewise.
22232         (BUS_MCEERR_AR): Likewise.
22233         (BUS_MCEERR_AO): Likewise.
22234         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22235         (TRAP_TRACE): Likewise.
22236         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22237         __USE_XOPEN2K8].
22238         (CLD_KILLED): Likewise.
22239         (CLD_DUMPED): Likewise.
22240         (CLD_TRAPPED): Likewise.
22241         (CLD_STOPPED): Likewise.
22242         (CLD_CONTINUED): Likewise.
22243         (POLL_IN): Likewise.
22244         (POLL_OUT): Likewise.
22245         (POLL_MSG): Likewise.
22246         (POLL_ERR): Likewise.
22247         (POLL_PRI): Likewise.
22248         (POLL_HUP): Likewise.
22249         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22250         (ILL_ILLOPN): Likewise.
22251         (ILL_ILLADR): Likewise.
22252         (ILL_ILLTRP): Likewise.
22253         (ILL_PRVOPC): Likewise.
22254         (ILL_PRVREG): Likewise.
22255         (ILL_COPROC): Likewise.
22256         (ILL_BADSTK): Likewise.
22257         (FPE_INTDIV): Likewise.
22258         (FPE_INTOVF): Likewise.
22259         (FPE_FLTDIV): Likewise.
22260         (FPE_FLTOVF): Likewise.
22261         (FPE_FLTUND): Likewise.
22262         (FPE_FLTRES): Likewise.
22263         (FPE_FLTINV): Likewise.
22264         (FPE_FLTSUB): Likewise.
22265         (SEGV_MAPERR): Likewise.
22266         (SEGV_ACCERR): Likewise.
22267         (BUS_ADRALN): Likewise.
22268         (BUS_ADRERR): Likewise.
22269         (BUS_OBJERR): Likewise.
22270         (BUS_MCEERR_AR): Likewise.
22271         (BUS_MCEERR_AO): Likewise.
22272         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22273         (TRAP_TRACE): Likewise.
22274         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22275         __USE_XOPEN2K8].
22276         (CLD_KILLED): Likewise.
22277         (CLD_DUMPED): Likewise.
22278         (CLD_TRAPPED): Likewise.
22279         (CLD_STOPPED): Likewise.
22280         (CLD_CONTINUED): Likewise.
22281         (POLL_IN): Likewise.
22282         (POLL_OUT): Likewise.
22283         (POLL_MSG): Likewise.
22284         (POLL_ERR): Likewise.
22285         (POLL_PRI): Likewise.
22286         (POLL_HUP): Likewise.
22287         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22288         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22290         [BZ #16670]
22291         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22292         before #include of <time.h>.
22293         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22294         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22295         (test-xfail-UNIX98/sched.h/conform): Likewise.
22297 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22299         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22300         error absence of trapping exception support.
22301         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22303 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22305         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22306         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22307         * timezone/Makefile (testdata): Move definition above include of
22308         Rules.
22309         (test-zones): New variable.
22310         (tests-special): Add zone files.
22311         (build-testdata): Use $(evaluate-test).
22313         * elf/Makefile (tests-special): Rename tests to end with .out.
22314         ($(objpfx)noload-mem): Likewise.
22315         ($(objpfx)tst-leaks1-mem): Likewise.
22316         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22317         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22318         $(objpfx)test-iconvconfig.out.
22319         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22320         set -e inside subshell and redirect output to file.
22321         * iconvdata/Makefile (generated): Rename tests to end with .out.
22322         Correct type.
22323         (tests-special): Rename tests to end with .out.
22324         ($(objpfx)mtrace-tst-loading): Likewise.
22325         * intl/Makefile (generated): Likewise.
22326         (tests-special): Likewise.
22327         ($(objpfx)mtrace-tst-gettext): Likewise.
22328         * misc/Makefile (generated): Likewise.
22329         (tests-special): Likewise.
22330         ($(objpfx)tst-error1-mem): Likewise.
22331         * nptl/Makefile (tests-special): Likewise.
22332         ($(objpfx)tst-stack3-mem): Likewise.
22333         (generated): Likewise.
22334         * posix/Makefile (generated): Likewise.
22335         (tests-special): Likewise.
22336         (xtests-special): Likewise.
22337         ($(objpfx)tst-fnmatch-mem): Likewise.
22338         ($(objpfx)bug-regex2-mem): Likewise.
22339         ($(objpfx)bug-regex14-mem): Likewise.
22340         ($(objpfx)bug-regex21-mem): Likewise.
22341         ($(objpfx)bug-regex31-mem): Likewise.
22342         ($(objpfx)tst-vfork3-mem): Likewise.
22343         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22344         ($(objpfx)tst-pcre-mem): Likewise.
22345         ($(objpfx)tst-boost-mem): Likewise.
22346         ($(objpfx)bug-ga2-mem): Likewise.
22347         ($(objpfx)bug-glob2-mem): Likewise.
22348         * resolv/Makefile (generate): Likewise.
22349         (tests-special): Likewise.
22350         (xtests-special): Likewise.
22351         (generated): Likewise.
22352         ($(objpfx)mtrace-tst-leaks): Likewise.
22353         ($(objpfx)mtrace-tst-leaks2): Likewise.
22355         * scripts/merge-test-results.sh: New file.
22356         * Makefile (tests-special-notdir): New variable.
22357         (tests): Run merge-test-results.sh.
22358         (xtests): Likewise.
22359         * Rules (tests-special-notdir): New variable.
22360         (xtests-special-notdir): Likewise.
22361         (tests): Run merge-test-results.sh
22362         (xtests): Likewise.
22364         * Makeconfig (test-xfail-name): New variable.
22365         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22366         compute variable name for expected failures.
22367         * conform/Makefile (conformtest-headers-data): New variable.
22368         (conformtest-standards): Likewise.
22369         (conformtest-headers-ISO): Likewise.
22370         (conformtest-headers-ISO99): Likewise.
22371         (conformtest-headers-ISO11): Likewise.
22372         (conformtest-headers-POSIX): Likewise.
22373         (conformtest-headers-XPG3): Likewise.
22374         (conformtest-headers-XPG4): Likewise.
22375         (conformtest-headers-UNIX98): Likewise.
22376         (conformtest-headers-XOPEN2K): Likewise.
22377         (conformtest-headers-POSIX2008): Likewise.
22378         (conformtest-headers-XOPEN2K8): Likewise.
22379         (conformtest-header-list-base): Likewise.
22380         (conformtest-header-list-tests): Likewise.
22381         (conformtest-header-base): Likewise.
22382         (conformtest-header-tests): Likewise.
22383         (tests-special): Add $(conformtest-header-list-tests).  If
22384         [$(fast-check) && !$(cross-compiling)], add
22385         $(conformtest-header-tests) instead of
22386         $(objpfx)run-conformtest.out.
22387         (generated): Add $(conformtest-header-list-base).  If
22388         [$(fast-check) && !$(cross-compiling)], add
22389         $(conformtest-header-base).  Remove previous setting.
22390         ($(conformtest-header-list-tests)): New target.
22391         (test-xfail-run-conformtest): Remove variable.
22392         ($(objpfx)run-conformtest.out): Remove target.
22393         (test-xfail-ISO11/complex.h/conform): New variable.
22394         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22395         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22396         (test-xfail-XPG3/varargs.h/conform): Likewise.
22397         (test-xfail-XPG4/varargs.h/conform): Likewise.
22398         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22399         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22400         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22401         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22402         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22403         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22404         (test-xfail-XPG3/ftw.h/conform): Likewise.
22405         (test-xfail-XPG3/grp.h/conform): Likewise.
22406         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22407         (test-xfail-XPG3/limits.h/conform): Likewise.
22408         (test-xfail-XPG3/pwd.h/conform): Likewise.
22409         (test-xfail-XPG3/search.h/conform): Likewise.
22410         (test-xfail-XPG3/signal.h/conform): Likewise.
22411         (test-xfail-XPG3/stdio.h/conform): Likewise.
22412         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22413         (test-xfail-XPG3/string.h/conform): Likewise.
22414         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22415         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22416         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22417         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22418         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22419         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22420         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22421         (test-xfail-XPG3/termios.h/conform): Likewise.
22422         (test-xfail-XPG3/time.h/conform): Likewise.
22423         (test-xfail-XPG3/unistd.h/conform): Likewise.
22424         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22425         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22426         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22427         (test-xfail-XPG4/netdb.h/conform): Likewise.
22428         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22429         (test-xfail-XPG4/signal.h/conform): Likewise.
22430         (test-xfail-XPG4/stdio.h/conform): Likewise.
22431         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22432         (test-xfail-XPG4/stropts.h/conform): Likewise.
22433         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22434         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22435         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22436         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22437         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22438         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22439         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22440         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22441         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22442         (test-xfail-XPG4/termios.h/conform): Likewise.
22443         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22444         (test-xfail-XPG4/unistd.h/conform): Likewise.
22445         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22446         (test-xfail-POSIX/sched.h/conform): Likewise.
22447         (test-xfail-POSIX/signal.h/conform): Likewise.
22448         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22449         (test-xfail-POSIX/tar.h/conform): Likewise.
22450         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22451         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22452         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22453         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22454         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22455         (test-xfail-UNIX98/sched.h/conform): Likewise.
22456         (test-xfail-UNIX98/signal.h/conform): Likewise.
22457         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22458         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22459         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22460         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22461         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22462         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22463         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22464         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22465         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22466         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22467         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22468         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22469         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22470         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22471         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22472         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22473         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22474         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22475         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22476         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22477         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22478         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22479         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22480         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22481         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22482         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22483         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22484         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22485         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22486         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22487         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22488         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22489         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22490         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22491         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22492         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22493         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22494         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22495         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22496         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22497         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22498         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22499         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22500         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22501         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22502         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22503         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22504         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22505         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22506         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22507         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22508         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22509         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22510         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22511         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22512         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22513         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22514         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22515         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22516         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22517         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22518         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22519         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22520         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22521         (conformtest-cc-flags): Likewise.
22522         ($(conformtest-header-tests): New target.
22523         * conform/check-header-lists.sh: New file.
22524         * conform/run-conformtest.sh: Remove.
22526         * conform/conformtest.pl: Allow ' and \ in values given for
22527         constants.
22528         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22529         inclusion.
22530         [POSIX] (sys/types.h): Likewise.
22531         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22532         inclusion.
22533         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22534         inclusion.
22535         * conform/data/signal.h-data (SIGIO): Remove expectation.
22536         [XPG3] (SIGBUS): Do not expect.
22537         [POSIX || XPG3] (SIGPOLL): Likewise.
22538         [POSIX || XPG3] (SIGPROF): Likewise.
22539         [POSIX || XPG3] (SIGSYS): Likewise.
22540         [XPG3] (SIGTRAP): Likewise.
22541         [POSIX || XPG3] (SIGURG): Likewise.
22542         [POSIX || XPG3] (SIGVTALRM): Likewise.
22543         [POSIX || XPG3] (SIGXCPU): Likewise.
22544         [POSIX || XPG3] (SIGXFSZ): Likewise.
22545         [POSIX] (SA_SIGINFO): Expect.
22546         [XPG3] (siginfo_t): Do not expect type or contents.
22547         [POSIX] (si_pid): Do not expect element.
22548         [POSIX] (si_uid): Likewise.
22549         [POSIX] (si_addr): Likewise.
22550         [POSIX] (si_status): Likewise.
22551         [POSIX] (si_band): Likewise.
22552         [XPG4] (si_value): Likewise.
22553         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22554         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22555         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22556         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22557         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22558         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22559         [POSIX || XPG3] (ILL_COPROC): Likewise.
22560         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22561         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22562         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22563         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22564         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22565         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22566         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22567         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22568         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22569         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22570         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22571         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22572         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22573         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22574         [POSIX || XPG3] (CLD_EXITED): Likewise.
22575         [POSIX || XPG3] (CLD_KILLED): Likewise.
22576         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22577         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22578         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22579         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22580         [POSIX || XPG3] (POLL_IN): Likewise.
22581         [POSIX || XPG3] (POLL_OUT): Likewise.
22582         [POSIX || XPG3] (POLL_MSG): Likewise.
22583         [POSIX || XPG3] (POLL_ERR): Likewise.
22584         [POSIX || XPG3] (POLL_PRI): Likewise.
22585         [POSIX || XPG3] (POLL_HUP): Likewise.
22586         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22587         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22588         (SIG*): Do not allow.
22589         [XPG3] (si_*): Likewise.
22590         [XPG3] (SI_*): Likewise.
22591         [XPG3 || XPG4] (sigev_*): Likewise.
22592         [XPG3 || XPG4] (SIGEV_*): Likewise.
22593         [XPG3 || XPG4] (sival_*): Likewise.
22594         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22595         [POSIX || XPG3] (BUS_*): Likewise.
22596         [POSIX || XPG3] (CLD_*): Likewise.
22597         [POSIX || XPG3] (FPE_*): Likewise.
22598         [POSIX || XPG3] (ILL_*): Likewise.
22599         [POSIX || XPG3] (POLL_*): Likewise.
22600         [POSIX || XPG3] (SEGV_*): Likewise.
22601         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22602         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22603         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22604         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22605         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22606         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22607         Specify type and value.
22608         (TVERSLEN): Likewise.
22609         (REGTYPE): Likewise.
22610         (AREGTYPE): Likewise.
22611         (LNKTYPE): Likewise.
22612         (SYMTYPE): Likewise.
22613         (CHRTYPE): Likewise.
22614         (BLKTYPE): Likewise.
22615         (DIRTYPE): Likewise.
22616         (FIFOTYPE): Likewise.
22617         (CONTTYPE): Likewise.
22618         (TSUID): Likewise.
22619         (TSGID): Likewise.
22620         (TSVTX): Likewise.
22621         (TUREAD): Likewise.
22622         (TUWRITE): Likewise.
22623         (TUEXEC): Likewise.
22624         (TGREAD): Likewise.
22625         (TGWRITE): Likewise.
22626         (TGEXEC): Likewise.
22627         (TOREAD): Likewise.
22628         (TOWRITE): Likewise.
22629         (TOEXEC): Likewise.
22630         [POSIX] (TSVTX): Expect constant.
22632 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22634         * Makefile (tests): Change dependencies to ....
22635         (tests-special): ... additions to this variable.
22636         (tests): Depend on $(tests-special).
22637         * Makerules (check-abi-list): New variable.
22638         (check-abi): Depend on $(check-abi-list).
22639         [$(subdir) = elf] (tests-special): Add
22640         $(objpfx)check-abi-libc.out.
22641         [$(build-shared) = yes && subdir] (tests-special): Add
22642         $(check-abi-list).
22643         [$(build-shared) = yes && subdir] (tests): Do not depend on
22644         check-abi.
22645         * Rules (tests): Depend on $(tests-special).
22646         (xtests): Depend on $(xtests-special).
22647         * catgets/Makefile (tests): Change dependencies to ....
22648         (tests-special): ... additions to this variable.
22649         * conform/Makefile (tests): Change dependencies to ....
22650         (tests-special): ... additions to this variable.
22651         * elf/Makefile (tests): Change dependencies to ....
22652         (tests-special): ... additions to this variable.
22653         * grp/Makefile (tests): Change dependencies to ....
22654         (tests-special): ... additions to this variable.
22655         * iconv/Makefile (xtests): Change dependencies to ....
22656         (xtests-special): ... additions to this variable.
22657         * iconvdata/Makefile (tests): Change dependencies to ....
22658         (tests-special): ... additions to this variable.
22659         * intl/Makefile (tests): Change dependencies to ....
22660         (tests-special): ... additions to this variable.  Also add
22661         $(objpfx)tst-gettext.out.
22662         * io/Makefile (tests): Change dependencies to ....
22663         (tests-special): ... additions to this variable.
22664         * libio/Makefile (tests): Change dependencies to ....
22665         (tests-special): ... additions to this variable.
22666         * malloc/Makefile (tests): Change dependencies to ....
22667         (tests-special): ... additions to this variable.
22668         * misc/Makefile (tests): Change dependencies to ....
22669         (tests-special): ... additions to this variable.
22670         * nptl/Makefile (tests): Change dependencies to ....
22671         (tests-special): ... additions to this variable.
22672         * nptl_db/Makefile (tests): Change dependencies to ....
22673         (tests-special): ... additions to this variable.
22674         * posix/Makefile (tests): Change dependencies to ....
22675         (tests-special): ... additions to this variable.
22676         (xtests): Change dependencies to ....
22677         (xtests-special): ... additions to this variable.
22678         * resolv/Makefile (tests): Change dependencies to ....
22679         (tests-special): ... additions to this variable.
22680         (xtests): Change dependencies to ....
22681         (xtests-special): ... additions to this variable.
22682         * stdio-common/Makefile (tests): Change dependencies to ....
22683         (tests-special): ... additions to this variable.
22684         (do-tst-unbputc): Remove target.
22685         (do-tst-printf): Likewise.
22686         * stdlib/Makefile (tests): Change dependencies to ....
22687         (tests-special): ... additions to this variable.
22688         * string/Makefile (tests): Change dependencies to ....
22689         (tests-special): ... additions to this variable.
22690         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22691         (tests-special): ... additions to this variable.
22693         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22694         whole file.
22695         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22696         whole file.
22697         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22698         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22700         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22701         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22702         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22703         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22704         * conform/data/libgen.h-data [XPG3]: Likewise.
22705         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22706         * conform/data/ndbm.h-data [XPG3]: Likewise.
22707         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22708         * conform/data/netdb.h-data [XPG3]: Likewise.
22709         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22710         * conform/data/poll.h-data [XPG3]: Likewise.
22711         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22712         * conform/data/strings.h-data [XPG3]: Likewise.
22713         * conform/data/stropts.h-data [XPG3]: Likewise.
22714         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22715         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22716         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22717         Likewise.
22718         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22719         * conform/data/sys/time.h-data [XPG3]: Likewise.
22720         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22721         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22722         * conform/data/sys/un.h-data [XPG3]: Likewise.
22723         * conform/data/syslog.h-data [XPG3]: Likewise.
22724         * conform/data/ucontext.h-data [XPG3]: Likewise.
22725         * conform/data/utmpx.h-data [XPG3]: Likewise.
22726         * conform/data/varargs.h-data [UNIX98]: Enable file.
22728         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22730         * math/libm-test.inc (struct test_f_f_data): Move expected results
22731         into structure for each rounding mode.
22732         (struct test_ff_f_data): Likewise.
22733         (struct test_ff_f_data_nexttoward): Likewise.
22734         (struct test_fi_f_data): Likewise.
22735         (struct test_fl_f_data): Likewise.
22736         (struct test_if_f_data): Likewise.
22737         (struct test_fff_f_data): Likewise.
22738         (struct test_c_f_data): Likewise.
22739         (struct test_f_f1_data): Likewise.
22740         (struct test_fF_f1_data): Likewise.
22741         (struct test_ffI_f1_data): Likewise.
22742         (struct test_c_c_data): Likewise.
22743         (struct test_cc_c_data): Likewise.
22744         (struct test_f_i_data): Likewise.
22745         (struct test_ff_i_data): Likewise.
22746         (struct test_f_l_data): Likewise.
22747         (struct test_f_L_data): Likewise.
22748         (struct test_fFF_11_data): Likewise.
22749         (RM_): New macro.
22750         (RM_FE_DOWNWARD): Likewise.
22751         (RM_FE_TONEAREST): Likewise.
22752         (RM_FE_TOWARDZERO): Likewise.
22753         (RM_FE_UPWARD): Likewise.
22754         (RUN_TEST_LOOP_f_f): Update references to expected results.
22755         (RUN_TEST_LOOP_2_f): Likewise.
22756         (RUN_TEST_LOOP_fff_f): Likewise.
22757         (RUN_TEST_LOOP_c_f): Likewise.
22758         (RUN_TEST_LOOP_f_f1): Likewise.
22759         (RUN_TEST_LOOP_fF_f1): Likewise.
22760         (RUN_TEST_LOOP_fI_f1): Likewise.
22761         (RUN_TEST_LOOP_ffI_f1): Likewise.
22762         (RUN_TEST_LOOP_c_c): Likewise.
22763         (RUN_TEST_LOOP_cc_c): Likewise.
22764         (RUN_TEST_LOOP_f_i): Likewise.
22765         (RUN_TEST_LOOP_f_i_tg): Likewise.
22766         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22767         (RUN_TEST_LOOP_f_b): Likewise.
22768         (RUN_TEST_LOOP_f_b_tg): Likewise.
22769         (RUN_TEST_LOOP_f_l): Likewise.
22770         (RUN_TEST_LOOP_f_L): Likewise.
22771         (RUN_TEST_LOOP_fFF_11): Likewise.
22772         * math/gen-libm-test.pl (parse_args): Output four copies of
22773         expected results for each test.
22775         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22776         (__ASSUME_UTIMES): Remove.
22777         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22778         (__ASSUME_UTIMES): Likewise.
22780         * math/gen-auto-libm-tests.c: Update comment on output format.
22781         (output_for_one_input_case): Generate before-rounding and
22782         after-rounding information as conditions on output flags not
22783         floating-point format.
22784         * math/auto-libm-test-out: Regenerated.
22785         * math/gen-libm-test.pl (cond_value): New function.
22786         (or_cond_value): Use cond_value.
22787         (generate_testfile): Handle conditional exceptions.
22789 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22791         * math/libm-test.inc (max_valid_error): New variable.
22792         (init_max_error): Take new argument specifying whether function
22793         results are exactly determined.  Set max_valid_error and bound
22794         other variables for errors based on this argument.
22795         (set_max_error): Do not record results above max_valid_error.
22796         (check_float_internal): Only accept errors of up to 0.5ulps if
22797         also at most max_valid_error.
22798         (START): Take new argument EXACT and pass it to init_max_error.
22799         (acos_test): Update call to START.
22800         (acos_test_tonearest): Likewise.
22801         (acos_test_towardzero): Likewise.
22802         (acos_test_downward): Likewise.
22803         (acos_test_upward): Likewise.
22804         (acosh_test): Likewise.
22805         (asin_test): Likewise.
22806         (asin_test_tonearest): Likewise.
22807         (asin_test_towardzero): Likewise.
22808         (asin_test_downward): Likewise.
22809         (asin_test_upward): Likewise.
22810         (asinh_test): Likewise.
22811         (atan_test): Likewise.
22812         (atanh_test): Likewise.
22813         (atan2_test): Likewise.
22814         (cabs_test): Likewise.
22815         (cacos_test): Likewise.
22816         (cacosh_test): Likewise.
22817         (carg_test): Likewise.
22818         (casin_test): Likewise.
22819         (casinh_test): Likewise.
22820         (catan_test): Likewise.
22821         (catanh_test): Likewise.
22822         (cbrt_test): Likewise.
22823         (ccos_test): Likewise.
22824         (ccosh_test): Likewise.
22825         (ceil_test): Likewise.
22826         (cexp_test): Likewise.
22827         (cimag_test): Likewise.
22828         (clog_test): Likewise.
22829         (clog10_test): Likewise.
22830         (conj_test): Likewise.
22831         (copysign_test): Likewise.
22832         (cos_test): Likewise.
22833         (cos_test_tonearest): Likewise.
22834         (cos_test_towardzero): Likewise.
22835         (cos_test_downward): Likewise.
22836         (cos_test_upward): Likewise.
22837         (cosh_test): Likewise.
22838         (cosh_test_tonearest): Likewise.
22839         (cosh_test_towardzero): Likewise.
22840         (cosh_test_downward): Likewise.
22841         (cosh_test_upward): Likewise.
22842         (cpow_test): Likewise.
22843         (cproj_test): Likewise.
22844         (creal_test): Likewise.
22845         (csin_test): Likewise.
22846         (csinh_test): Likewise.
22847         (csqrt_test): Likewise.
22848         (ctan_test): Likewise.
22849         (ctan_test_tonearest): Likewise.
22850         (ctan_test_towardzero): Likewise.
22851         (ctan_test_downward): Likewise.
22852         (ctan_test_upward): Likewise.
22853         (ctanh_test): Likewise.
22854         (ctanh_test_tonearest): Likewise.
22855         (ctanh_test_towardzero): Likewise.
22856         (ctanh_test_downward): Likewise.
22857         (ctanh_test_upward): Likewise.
22858         (erf_test): Likewise.
22859         (erfc_test): Likewise.
22860         (exp_test): Likewise.
22861         (exp_test_tonearest): Likewise.
22862         (exp_test_towardzero): Likewise.
22863         (exp_test_downward): Likewise.
22864         (exp_test_upward): Likewise.
22865         (exp10_test): Likewise.
22866         (exp10_test_tonearest): Likewise.
22867         (exp10_test_towardzero): Likewise.
22868         (exp10_test_downward): Likewise.
22869         (exp10_test_upward): Likewise.
22870         (pow10_test): Likewise.
22871         (exp2_test): Likewise.
22872         (expm1_test): Likewise.
22873         (expm1_test_tonearest): Likewise.
22874         (expm1_test_towardzero): Likewise.
22875         (expm1_test_downward): Likewise.
22876         (expm1_test_upward): Likewise.
22877         (fabs_test): Likewise.
22878         (fdim_test): Likewise.
22879         (floor_test): Likewise.
22880         (fma_test): Likewise.
22881         (fma_test_towardzero): Likewise.
22882         (fma_test_downward): Likewise.
22883         (fma_test_upward): Likewise.
22884         (fmax_test): Likewise.
22885         (fmin_test): Likewise.
22886         (fmod_test): Likewise.
22887         (fpclassify_test): Likewise.
22888         (frexp_test): Likewise.
22889         (hypot_test): Likewise.
22890         (ilogb_test): Likewise.
22891         (isfinite_test): Likewise.
22892         (finite_test): Likewise.
22893         (isgreater_test): Likewise.
22894         (isgreaterequal_test): Likewise.
22895         (isinf_test): Likewise.
22896         (isless_test): Likewise.
22897         (islessequal_test): Likewise.
22898         (islessgreater_test): Likewise.
22899         (isnan_test): Likewise.
22900         (isnormal_test): Likewise.
22901         (issignaling_test): Likewise.
22902         (isunordered_test): Likewise.
22903         (j0_test): Likewise.
22904         (j1_test): Likewise.
22905         (jn_test): Likewise.
22906         (ldexp_test): Likewise.
22907         (lgamma_test): Likewise.
22908         (gamma_test): Likewise.
22909         (lrint_test): Likewise.
22910         (lrint_test_tonearest): Likewise.
22911         (lrint_test_towardzero): Likewise.
22912         (lrint_test_downward): Likewise.
22913         (lrint_test_upward): Likewise.
22914         (llrint_test): Likewise.
22915         (llrint_test_tonearest): Likewise.
22916         (llrint_test_towardzero): Likewise.
22917         (llrint_test_downward): Likewise.
22918         (llrint_test_upward): Likewise.
22919         (log_test): Likewise.
22920         (log10_test): Likewise.
22921         (log1p_test): Likewise.
22922         (log2_test): Likewise.
22923         (logb_test): Likewise.
22924         (logb_test_downward): Likewise.
22925         (lround_test): Likewise.
22926         (llround_test): Likewise.
22927         (modf_test): Likewise.
22928         (nearbyint_test): Likewise.
22929         (nextafter_test): Likewise.
22930         (nexttoward_test): Likewise.
22931         (pow_test): Likewise.
22932         (pow_test_tonearest): Likewise.
22933         (pow_test_towardzero): Likewise.
22934         (pow_test_downward): Likewise.
22935         (pow_test_upward): Likewise.
22936         (remainder_test): Likewise.
22937         (drem_test): Likewise.
22938         (remainder_test_tonearest): Likewise.
22939         (drem_test_tonearest): Likewise.
22940         (remainder_test_towardzero): Likewise.
22941         (drem_test_towardzero): Likewise.
22942         (remainder_test_downward): Likewise.
22943         (drem_test_downward): Likewise.
22944         (remainder_test_upward): Likewise.
22945         (drem_test_upward): Likewise.
22946         (remquo_test): Likewise.
22947         (rint_test): Likewise.
22948         (rint_test_tonearest): Likewise.
22949         (rint_test_towardzero): Likewise.
22950         (rint_test_downward): Likewise.
22951         (rint_test_upward): Likewise.
22952         (round_test): Likewise.
22953         (scalb_test): Likewise.
22954         (scalbn_test): Likewise.
22955         (scalbln_test): Likewise.
22956         (signbit_test): Likewise.
22957         (sin_test): Likewise.
22958         (sin_test_tonearest): Likewise.
22959         (sin_test_towardzero): Likewise.
22960         (sin_test_downward): Likewise.
22961         (sin_test_upward): Likewise.
22962         (sincos_test): Likewise.
22963         (sinh_test): Likewise.
22964         (sinh_test_tonearest): Likewise.
22965         (sinh_test_towardzero): Likewise.
22966         (sinh_test_downward): Likewise.
22967         (sinh_test_upward): Likewise.
22968         (sqrt_test): Likewise.
22969         (sqrt_test_tonearest): Likewise.
22970         (sqrt_test_towardzero): Likewise.
22971         (sqrt_test_downward): Likewise.
22972         (sqrt_test_upward): Likewise.
22973         (tan_test): Likewise.
22974         (tan_test_tonearest): Likewise.
22975         (tan_test_towardzero): Likewise.
22976         (tan_test_downward): Likewise.
22977         (tan_test_upward): Likewise.
22978         (tanh_test): Likewise.
22979         (tgamma_test): Likewise.
22980         (trunc_test): Likewise.
22981         (y0_test): Likewise.
22982         (y1_test): Likewise.
22983         (yn_test): Likewise.
22984         (significand_test): Likewise.
22986         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22987         individual tests in comment.
22988         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22989         (prev_max_error): New variable.
22990         (prev_real_max_error): Likewise.
22991         (prev_imag_max_error): Likewise.
22992         (compare_ulp_data): Don't refer to test names in comment.
22993         (find_test_ulps): Remove function.
22994         (find_function_ulps): Likewise.
22995         (find_complex_function_ulps): Likewise.
22996         (init_max_error): Take function name as argument.  Look up ulps
22997         for that function.
22998         (print_ulps): Remove function.
22999         (print_max_error): Use prev_max_error instead of calling
23000         find_function_ulps.
23001         (print_complex_max_error): Use prev_real_max_error and
23002         prev_imag_max_error instead of calling find_complex_function_ulps.
23003         (check_float_internal): Take max_ulp parameter instead of calling
23004         find_test_ulps.  Don't call print_ulps.
23005         (check_float): Update call to check_float_internal.
23006         (check_complex): Update calls to check_float_internal.
23007         (START): Pass argument to init_max_error.
23008         * math/gen-libm-test.pl (%results): Don't include "kind"
23009         information.
23010         (parse_ulps): Don't handle ulps of individual tests.
23011         (print_ulps_file): Likewise.
23012         (output_ulps): Likewise.
23013         * math/README.libm-test: Update.
23014         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23015         individual tests.
23016         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23017         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23018         * sysdeps/arm/libm-test-ulps: Likewise.
23019         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23020         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23021         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23022         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23023         * sysdeps/microblaze/libm-test-ulps: Likewise.
23024         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23025         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23026         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23027         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23028         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23029         * sysdeps/sh/libm-test-ulps: Likewise.
23030         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23031         * sysdeps/tile/libm-test-ulps: Likewise.
23032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23034 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23036         * math/libm-test.inc (print_complex_max_error): Check separately
23037         whether real and imaginary errors are within allowed range and
23038         pass 0 to print_complex_function_ulps instead of value within
23039         allowed range.
23041 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23043         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23044         formatting.
23045         (get_handles_fopen): Likewise.
23046         (do_write_test): Likewise.
23048         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23050         * libio/fileops.c (do_ftell): Use cached offset when
23051         available.
23052         * libio/iofwide.c (do_ftell_wide): Likewise.
23053         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23054         _IO_file_attach.
23055         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23057         [BZ #16532]
23058         * libio/libioP.h (get_file_offset): New function.
23059         * libio/fileops.c (get_file_offset): Likewise.
23060         (do_ftell): Likewise.
23061         (_IO_new_file_seekoff): Split out ftell logic.
23062         * libio/wfileops.c (do_ftell_wide): Likewise.
23063         (_IO_wfile_seekoff): Split out ftell logic.
23064         * libio/tst-ftell-active-handler.c: New test case.
23065         * libio/Makefile (tests): Add it.
23067 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23069         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23070         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23072 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23074         [BZ #16639]
23075         * nscd/connections.c (nscd_init): Call do_exit.
23076         (start_threads): Call do_exit and notify_parent.
23077         (begin_drop_privileges): Call do_exit.
23078         (finish_drop_privileges): Likewise.
23079         * nscd/selinux.c (preserve_capabilities): Likewise.
23080         (install_real_capabilities): Likewise.
23081         (nscd_selinux_enabled): Likewise.
23082         (avc_create_thread): Likewise.
23083         (avc_alloc_lock): Likewise.
23084         (nscd_avc_init): Likewise.
23085         * nscd/nscd.c (parent_fd): New static variable.
23086         (main): Create a pipe between parent and child processes.
23087         Skip closing parent_fd.
23088         (monitor_child): New function.
23089         (do_exit): Likewise.
23090         (notify_parent): Likewise.
23091         * nscd/nscd.h (notify_parent): Likewise.
23092         (do_exit): Likewise.
23094 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23096         * malloc/malloc.c (__libc_calloc): Revert last change.
23098 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23102 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23104         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23106         implementation.
23107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23108         (__libc_ifunc_impl_list): Likewise.
23109         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23110         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23111         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23112         * string/strrchr.c: Define STRRCHR.
23114 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23116         * benchtest/bench-strtok.c (simple_strtok): Delete.
23117         (strtok_string): Use as benchmark.
23118         * string/strtok (STRTOK): New macro.
23120 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23122         * manual/threads.texi: Add header and standard comments to all
23123         functions.
23125         * elf/dl-lookup.c (check_match): New function.
23126         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23127         (do_lookup_x): Remove nested function check_match. Use non-nested
23128         function check_match.
23130 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23132         * csu/Makefile (generated, before-compile): Use += rather than =.
23133         * catgets/Makefile (generated, generated-dirs): Likewise.
23134         * debug/Makefile (generated): Likewise.
23135         * dlfcn/Makefile (generated): Likewise.
23136         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23137         * iconvdata/Makefile (before-compile, generated): Likewise.
23138         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23139         * libio/Makefile (generated): Likewise.
23140         * malloc/Makefile (generated): Likewise.
23141         * manual/Makefile (generated, generated-dirs): Likewise.
23142         * misc/Makefile (generated): Likewise.
23143         * posix/Makefile (generated): Likewise.
23144         * resolv/Makefile (generated): Likewise.
23145         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23146         * timezone/Makefile (generated, generated-dirs): Likewise.
23148         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23150 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23153         power8 implementation.
23154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23155         file: POWER8 llround ifunc implementation.
23156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23157         (__lllround): Add POWER8 implementation.
23158         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23159         POWER8 llround implementation.
23161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23162         power8 implementation.
23163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23164         file: POWER8 llrint ifunc implementation.
23165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23166         Add POWER8 implementation.
23167         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23168         POWER8 llrint implementation.
23170         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23171         power8 implementation.
23172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23173         file: POWER8 finite ifunc implementation.
23174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23175         Add POWER8 implementation.
23176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23177         Likewise.
23178         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23179         POWER8 finite implementation.
23180         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23183         power8 implementation.
23184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23185         file: POWER8 isinf ifunc implementation.
23186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23187         POWER8 implementation.
23188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23189         Likewise.
23190         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23191         isinf implementation.
23192         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23194         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23195         (INIT_ARCH): Add hwcap2 initialization.
23196         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23197         power8 implementation.
23198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23199         file: POWER8 isnan ifunc implementation.
23200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23201         POWER8 implementation.
23202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23203         Likewise.
23204         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23205         isnan implementation.
23206         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23208 2014-02-27  Joey Ye  <joey.ye@arm.com>
23210         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23211         (_FP_NANFRAC_Q): Set to zero.
23213 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23215         [BZ #16623]
23216         * math/auto-libm-test-in: New test inputs.
23217         * math/auto-libm-test-out: Regenerate.
23218         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23219         and DA.
23220         (__cos): Likewise.
23221         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23223 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23225         * scripts/evaluate-test.sh: Take new argument indicating whether
23226         failure is expected.
23227         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23228         indicating whether failure is expected.
23229         * conform/Makefile (test-xfail-run-conformtest): New variable.
23230         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23231         level.
23232         * posix/Makefile (test-xfail-annexc): New variable.
23233         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23235 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23237         * argp/Makefile: Include Makeconfig immediately after defining
23238         subdir.
23239         * assert/Makefile: Likewise.
23240         * benchtests/Makefile: Likewise.
23241         * catgets/Makefile: Likewise.
23242         * conform/Makefile: Likewise.
23243         * crypt/Makefile: Likewise.
23244         * csu/Makefile: Likewise.
23245         (all): Remove target.
23246         * ctype/Makefile: Include Makeconfig immediately after defining
23247         subdir.
23248         * debug/Makefile: Likewise.
23249         * dirent/Makefile: Likewise.
23250         * dlfcn/Makefile: Likewise.
23251         * gmon/Makefile: Likewise.
23252         * gnulib/Makefile: Likewise.
23253         * grp/Makefile: Likewise.
23254         * gshadow/Makefile: Likewise.
23255         * hesiod/Makefile: Likewise.
23256         * hurd/Makefile: Likewise.
23257         (all): Remove target.
23258         * iconvdata/Makefile: Include Makeconfig immediately after
23259         defining subdir.
23260         * inet/Makefile: Likewise.
23261         * intl/Makefile: Likewise.
23262         * io/Makefile: Likewise.
23263         * libio/Makefile: Likewise.
23264         (all): Remove target.
23265         * locale/Makefile: Include Makeconfig immediately after defining
23266         subdir.
23267         * login/Makefile: Likewise.
23268         * mach/Makefile: Likewise.
23269         (all): Remove target.
23270         * malloc/Makefile: Include Makeconfig immediately after defining
23271         subdir.
23272         (all): Remove target.
23273         * manual/Makefile: Include Makeconfig immediately after defining
23274         subdir.
23275         * math/Makefile: Likewise.
23276         * misc/Makefile: Likewise.
23277         * nis/Makefile: Likewise.
23278         * nss/Makefile: Likewise.
23279         * po/Makefile: Likewise.
23280         (all): Remove target.
23281         * posix/Makefile: Include Makeconfig immediately after defining
23282         subdir.
23283         * pwd/Makefile: Likewise.
23284         * resolv/Makefile: Likewise.
23285         * resource/Makefile: Likewise.
23286         * rt/Makefile: Likewise.
23287         * setjmp/Makefile: Likewise.
23288         * shadow/Makefile: Likewise.
23289         * signal/Makefile: Likewise.
23290         * socket/Makefile: Likewise.
23291         * soft-fp/Makefile: Likewise.
23292         * stdio-common/Makefile: Likewise.
23293         * stdlib/Makefile: Likewise.
23294         * streams/Makefile: Likewise.
23295         * string/Makefile: Likewise.
23296         * sunrpc/Makefile: Likewise.
23297         (all): Remove target.
23298         * sysvipc/Makefile: Include Makeconfig immediately after defining
23299         subdir.
23300         * termios/Makefile: Likewise.
23301         * time/Makefile: Likewise.
23302         * timezone/Makefile: Likewise.
23303         (all): Remove target.
23304         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23305         subdir.
23306         * wctype/Makefile: Likewise.
23308 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23310         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23311         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23312         (libc_feholdexcept_setround_mips): Ditto.
23313         (libc_feholdsetround): New.
23314         (libc_feholdsetroundf): New.
23315         (libc_feholdsetroundl): New.
23316         (libc_feupdateenv_test_mips): New.
23317         (libc_feupdateenv_test): New.
23318         (libc_feupdateenv_testf): New.
23319         (libc_feupdateenv_testl): New.
23320         (libc_feresetround): New.
23321         (libc_feresetroundf): New.
23322         (libc_feresetroundl): New.
23323         (libc_fetestexcept_mips): New.
23324         (libc_fetestexcept): New.
23325         (libc_fetestexceptf): New.
23326         (libc_fetestexceptl): New.
23327         (HAVE_RM_CTX): New.
23328         (libc_feholdexcept_setround_mips_ctx): New.
23329         (libc_feholdexcept_setround_ctx): New.
23330         (libc_feholdexcept_setroundf_ctx): New.
23331         (libc_feholdexcept_setroundl_ctx): New.
23332         (libc_fesetenv_mips_ctx): New.
23333         (libc_fesetenv_ctx): New.
23334         (libc_fesetenv_ctxf): New.
23335         (libc_fesetenv_ctxl): New.
23336         (libc_feupdateenv_mips_ctx): New.
23337         (libc_feupdateenv_ctx): New.
23338         (libc_feupdateenvf_ctx): New.
23339         (libc_feupdateenvl_ctx): New.
23340         (libc_feholdsetround_mips_ctx): New.
23341         (libc_feholdsetround_ctx): New.
23342         (libc_feholdsetroundf_ctx): New.
23343         (libc_feholdsetroundl_ctx): New.
23344         (libc_feresetround_mips_ctx): New.
23345         (libc_feresetround_ctx): New.
23346         (libc_feresetroundf_ctx): New.
23347         (libc_feresetroundl_ctx): New.
23349 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23351         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23353         * manual/ipc.texi: New file.
23354         * manual/Makefile (chapters): Add ipc.
23355         * manual/job.texi: Add "Inter-Process Communication" to next.
23356         * manual/process.texi: Add "Inter-Process Communication" to prev.
23358 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23362 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23364         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23366         * manual/arith.texi: Fix spaces after sentences.
23367         * manual/charset.texi: Likewise.
23368         * manual/errno.texi: Likewise.
23369         * manual/install.texi: Likewise.
23370         * manual/llio.texi: Likewise.
23371         * manual/locale.texi: Likewise.
23372         * manual/maint.texi: Likewise.
23373         * manual/math.texi: Likewise.
23374         * manual/memory.texi: Likewise.
23375         * manual/message.texi: Likewise.
23376         * manual/probes.texi: Likewise.
23377         * manual/resource.texi: Likewise.
23378         * manual/signal.texi: Likewise.
23379         * manual/socket.texi: Likewise.
23380         * manual/stdio.texi: Likewise.
23381         * manual/string.texi: Likewise.
23382         * manual/time.texi: Likewise.
23383         * manual/users.texi: Likewise.
23385 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23387         [BZ #16632]
23388         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23389         _DEFAULT_SOURCE is defined.
23391 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23392             Carlos O'Donell  <carlos@redhat.com>
23394         [BZ #16613]
23395         * elf/dl-tls.c (_dl_count_modids): New function.
23396         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23397         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23398         audit library and increment generation counter.
23399         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23400         * elf/tst-audit9.c: New file.
23401         * elf/tst-auditmod9a.c: New file.
23402         * elf/tst-auditmod9b.c: New file.
23403         * elf/Makefile: Add rules to build and run tst-audit9.
23405 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23407         [BZ #15347]
23408         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23410 2014-02-25  Will Newton  <will.newton@linaro.org>
23412         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23413         (__longjmp): Restore sp and lr before restoring callee
23414         saved registers.  Add longjmp and longjmp_target
23415         SystemTap probe point.
23416         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23417         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23418         Define to zero to match jmpbuf layout.
23419         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23420         (__sigsetjmp): Save sp and lr before saving callee
23421         saved registers.  Add setjmp SystemTap probe point.
23423 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23425         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23427 2014-02-24  Andreas Schwab  <schwab@suse.de>
23429         [BZ #15804]
23430         * elf/pldd.c (wait_for_ptrace_stop): New function.
23431         (main): Call it after attaching.
23433 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23435         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23436         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23437         Versions files is now verboten.
23438         * hurd/Versions (libc: GLIBC_2.0):
23439         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23440         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23441         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23442         * mach/Versions: Likewise.
23444         * csu/Versions: Remove unused %include.
23445         * resolv/Versions: Likewise.
23447 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23449         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23450         ($(objpfx)check-local-headers.out): Likewise.
23451         ($(objpfx)begin-end-check.out): Likewise.
23452         * Makerules (check-abi-%.out): Likewise.
23453         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23454         ($(objpfx)test2.cat): Likewise.
23455         ($(objpfx)de/libc.cat): Likewise.
23456         ($(objpfx)test-gencat.out): Likewise.
23457         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23458         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23459         ($(objpfx)noload-mem): Likewise.
23460         ($(objpfx)tst-pathopt.out): Likewise.
23461         ($(objpfx)tst-rtld-load-self.out): Likewise.
23462         ($(objpfx)tst-array1-cmp.out): Likewise.
23463         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23464         ($(objpfx)tst-array2-cmp.out): Likewise.
23465         ($(objpfx)tst-array3-cmp.out): Likewise.
23466         ($(objpfx)tst-array4-cmp.out): Likewise.
23467         ($(objpfx)tst-array5-cmp.out): Likewise.
23468         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23469         ($(objpfx)check-textrel.out): Likewise.
23470         ($(objpfx)check-execstack.out): Likewise.
23471         ($(objpfx)check-localplt.out): Likewise.
23472         ($(objpfx)order2-cmp.out): Likewise.
23473         ($(objpfx)tst-leaks1-mem): Likewise.
23474         ($(objpfx)tst-leaks1-static-mem): Likewise.
23475         ($(objpfx)tst-initorder-cmp.out): Likewise.
23476         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23477         ($(objpfx)tst-unused-dep.out): Likewise.
23478         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23479         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23480         * iconv/Makefile (test-iconvconfig): Likewise.
23481         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23482         ($(objpfx)iconv-test.out): Likewise.
23483         ($(objpfx)tst-tables.out): Likewise.
23484         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23485         ($(objpfx)tst-gettext.out): Likewise.
23486         ($(objpfx)tst-translit.out): Likewise.
23487         ($(objpfx)tst-gettext2.out): Likewise.
23488         ($(objpfx)tst-gettext4.out): Likewise.
23489         ($(objpfx)tst-gettext6.out): Likewise.
23490         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23491         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23492         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23493         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23494         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23495         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23496         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23497         ($(objpfx)wordexp-tst.out): Likewise.
23498         ($(objpfx)annexc.out): Likewise.
23499         ($(objpfx)tst-fnmatch-mem): Likewise.
23500         ($(objpfx)bug-regex2-mem): Likewise.
23501         ($(objpfx)bug-regex14-mem): Likewise.
23502         ($(objpfx)bug-regex21-mem): Likewise.
23503         ($(objpfx)bug-regex31-mem): Likewise.
23504         ($(objpfx)tst-vfork3-mem): Likewise.
23505         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23506         ($(objpfx)tst-pcre-mem): Likewise.
23507         ($(objpfx)tst-boost-mem): Likewise.
23508         ($(objpfx)tst-getconf.out): Likewise.
23509         ($(objpfx)bug-ga2-mem): Likewise.
23510         ($(objpfx)bug-glob2-mem): Likewise.
23511         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23512         ($(objpfx)mtrace-tst-leaks2): Likewise.
23513         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23514         ($(objpfx)tst-printf.out): Likewise.
23515         ($(objpfx)tst-setvbuf1.out): Likewise.
23516         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23517         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23518         ($(objpfx)tst-fmtmsg.out): Likewise.
23519         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23520         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23522         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23523         * bits/sigaction.h [__USE_MISC]: Likewise.
23524         * bits/waitstatus.h: Update #endif comments.
23525         * ctype/ctype.h: Likewise.
23526         * dirent/dirent.h: Likewise.
23527         [__USE_MISC]: Remove redundant conditionals.
23528         * grp/grp.h: Update #endif comments.
23529         [__USE_GNU]: Remove redundant conditionals.
23530         [__USE_MISC]: Likewise.
23531         * inet/netinet/in.h [__USE_GNU]: Likewise.
23532         * io/sys/stat.h [__USE_MISC]: Likewise.
23533         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23534         * libio/bits/stdio.h: Update #endif comments.
23535         [__USE_MISC]: Remove redundant conditionals.
23536         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23537         * libio/stdio.h: Update #endif comments.
23538         [__USE_MISC]: Remove redundant conditionals.
23539         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23540         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23541         * math/math.h: Update #else and #endif comments.
23542         [__USE_MISC]: Remove redundant conditionals.
23543         * misc/sys/uio.h: Update #endif comments.
23544         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23545         * posix/glob.h [__USE_MISC]: Likewise.
23546         * posix/sys/types.h: Update #endif comments.
23547         [__USE_MISC]: Remove redundant conditionals.
23548         * posix/sys/wait.h: Update #endif comments.
23549         [__USE_MISC]: Remove redundant conditionals.
23550         * posix/unistd.h: Update #endif comments.
23551         [__USE_MISC]: Remove redundant conditionals.
23552         * pwd/pwd.h [__USE_GNU]: Likewise.
23553         [__USE_MISC]: Likewise.
23554         * resolv/netdb.h [__USE_GNU]: Likewise.
23555         * signal/signal.h: Update #endif comments.
23556         [__USE_MISC]: Remove redundant conditionals.
23557         * stdlib/stdlib.h: Update #else and #endif comments.
23558         [__USE_MISC]: Remove redundant conditionals.
23559         [__USE_GNU]: Likewise.
23560         * string/bits/string2.h [__USE_MISC]: Likewise.
23561         * string/string.h: Update #endif comments.
23562         [__USE_MISC]: Remove redundant conditionals.
23563         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23564         Likewise.
23565         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23566         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23567         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23568         Likewise.
23569         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23570         Likewise.
23571         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23572         comments.
23573         [__USE_MISC]: Remove redundant conditionals.
23574         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23575         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23576         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23577         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23578         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23579         Likewise.
23580         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23581         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23582         Likewise.
23583         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23584         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23585         Likewise.
23586         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23587         Likewise.
23588         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23589         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23590         Likewise.
23591         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23592         Likewise.
23593         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23594         * sysdeps/x86/bits/string.h: Update #endif comments.
23595         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23596         conditionals.
23597         * time/sys/time.h: Update #endif comments.
23598         * time/time.h: Likewise.
23599         [__USE_MISC]: Remove redundant conditionals.
23601 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23603         [BZ #16600]
23604         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23606 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23608         * Versions.def (librt): Add GLIBC_2.17.
23610 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23612         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23613         synonym for _SYS_AUXV_H to allow direct inclusion.
23614         * sysdeps/sparc/bits/hwcap.h: Likewise.
23615         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23616         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23617         * sysdeps/sparc/sysdep.h: Likewise.
23619 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23621         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23623 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23625         * benchtests/bench-strrchr.c: Print length instead of position.
23627 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23629         [BZ #16611]
23630         * sysdeps/unix/sysv/linux/kernel-features.h
23631         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23632         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23633         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23634         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23635         Likewise.
23636         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23637         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23638         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23639         (__ASSUME_SENDMMSG): Define instead of using previous
23640         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23641         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23642         (__ASSUME_SENDMMSG_SYSCALL): Define.
23643         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23644         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23645         Likewise.
23646         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23647         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23648         Likewise.
23649         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23650         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23651         Likewise.
23652         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23653         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23654         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23655         [__ASSUME_SENDMMSG]: Change conditionals to
23656         [__ASSUME_SENDMMSG_SOCKETCALL].
23657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23658         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23659         Define.
23660         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23661         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23662         Likewise.
23663         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23664         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23665         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23666         [!__ASSUME_SENDMMSG]: Change conditional to
23667         [!__ASSUME_SENDMMSG_SOCKETCALL].
23668         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23669         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23670         Define.
23672         [BZ #16610]
23673         * sysdeps/unix/sysv/linux/kernel-features.h
23674         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23675         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23676         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23677         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23678         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23679         [__i386__ || __sparc__]
23680         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23681         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23682         (__ASSUME_RECVMMSG): Define instead of using previous
23683         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23684         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23685         (__ASSUME_RECVMMSG_SYSCALL): Define.
23686         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23687         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23688         Likewise.
23689         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23690         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23691         Likewise.
23692         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23693         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23694         Likewise.
23695         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23696         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23697         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23698         [__ASSUME_RECVMMSG]: Change condition to
23699         [__ASSUME_RECVMMSG_SOCKETCALL].
23700         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23701         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23702         Define.
23703         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23704         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23705         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23706         Likewise.
23707         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23708         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23709         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23710         [!__ASSUME_RECVMMSG]: Change condition to
23711         [!__ASSUME_RECVMMSG_SOCKETCALL].
23712         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23713         (__ASSUME_RECVMMSG_SYSCALL): Define.
23715         [BZ #16609]
23716         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23717         __powerpc__ || __s390__ || __sh__ || __sparc__]
23718         (__ASSUME_SOCKETCALL): Define.
23719         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23720         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23721         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23722         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23723         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23724         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23725         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23726         (__ASSUME_ACCEPT4): Define instead of using previous
23727         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23728         __powerpc__ || __sparc__ || __s390__)] condition.
23729         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23730         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23731         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23732         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23733         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23734         [!__ASSUME_ACCEPT4]: Change condition to
23735         [!__ASSUME_ACCEPT4_SOCKETCALL].
23736         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23737         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23738         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23739         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23740         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23741         __ASSUME_ACCEPT4_SYSCALL.
23742         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23743         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23744         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23745         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23746         __ASSUME_ACCEPT4_SYSCALL.
23747         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23748         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23749         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23750         [__ASSUME_ACCEPT4]: Change condition to
23751         [__ASSUME_ACCEPT4_SOCKETCALL].
23752         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23753         (__ASSUME_SOCKETCALL): Define.
23754         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23755         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23756         (__ASSUME_SOCKETCALL): Define.
23757         (__ASSUME_ACCEPT4): Remove.
23758         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23759         Define.
23760         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23761         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23762         Likewise.
23763         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23764         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23766         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23767         macro.
23768         (HWCAP_ARM_LPAE): Likewise.
23769         (HWCAP_ARM_EVTSTRM): Likewise.
23770         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23771         Add vpfd32, lpae and evtstrm.
23772         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23773         Increase to 22.
23775 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23777         * math/auto-libm-test-in: Add tests of clog10.
23778         * math/auto-libm-test-out: Regenerated.
23779         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23780         * sysdeps/i386/fpu/libm-test-ulps: Update.
23781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23783 2014-02-18  Andreas Schwab  <schwab@suse.de>
23785         [BZ #16574]
23786         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23787         Store non-zero if the second buffer was newly allocated.
23788         (send_dg): Likewise.
23789         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23790         to send_vc and send_dg.
23791         (res_nsend): Pass NULL for ansp2_malloced.
23792         * resolv/res_query.c (__libc_res_nquery): Add parameter
23793         answerp2_malloced and pass it down to __libc_res_nsend.
23794         (res_nquery): Pass additional NULL to __libc_res_nquery.
23795         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23796         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23797         second answer buffer if answerp2_malloced was set.
23798         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23799         (__libc_res_nquerydomain): Add parameter
23800         answerp2_malloced and pass it down to __libc_res_nquery.
23801         (res_nquerydomain): Pass additional NULL to
23802         __libc_res_nquerydomain.
23803         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23804         additional NULL to __libc_res_nsend and __libc_res_nquery.
23805         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23806         additional NULL to __libc_res_nsearch.
23807         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23808         parameter of __libc_res_nsearch to check for separately allocated
23809         second buffer.
23810         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23811         __libc_res_nquery.
23812         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23813         additional NULL to __libc_res_nquery.
23814         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23815         __libc_res_nsearch.
23816         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23817         * include/resolv.h: Update prototypes of __libc_res_nquery,
23818         __libc_res_nsearch, __libc_res_nsend.
23820 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23822         * math/auto-libm-test-in: Add tests of fma.
23823         * math/auto-libm-test-out: Regenerated.
23824         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23825         (fma_towardzero_test_data): Likewise.
23826         (fma_downward_test_data): Likewise.
23827         (fma_upward_test_data): Likewise.
23828         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23829         mpc_mode.
23830         (rounding_modes): Add values for new field.
23831         (func_calc_method): Add value mpfr_fff_f.
23832         (func_calc_desc): Add mpfr_fff_f union field.
23833         (test_function): Add field exact_args.
23834         (FUNC): Add macro argument EXACT_ARGS.
23835         (FUNC_mpfr_f_f): Update call to FUNC.
23836         (FUNC_mpfr_f_f): Likewise.
23837         (FUNC_mpfr_ff_f): Likewise.
23838         (FUNC_mpfr_if_f): Likewise.
23839         (FUNC_mpc_c_f): Likewise.
23840         (FUNC_mpc_c_c): Likewise.
23841         (test_functions): Add fma.  Update calls to FUNC.
23842         (handle_input_arg): Add argument exact_args.
23843         (add_test): Update call to handle_input_arg.
23844         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23845         (output_for_one_input_case): Update call to calc_generic_results.
23846         Recalculate exact zero results in each rounding mode.
23848         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23849         non-negative before setting low bit.
23850         * math/auto-libm-test-in: Mark one asin test possibly having
23851         spurious underflow.
23852         * math/auto-libm-test-out: Regenerated.
23853         * sysdeps/i386/fpu/libm-test-ulps: Update.
23854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23856 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23858         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23859         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23860         ports/sysdeps/unix/sysv/linux/microblaze.
23861         * README: Add missing listing for microblaze*-*-linux-gnu.
23863 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23865         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23866         duplicate code
23868 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23870         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23871         * sysdeps/unix/sysv/linux/ia64: Move directory from
23872         ports/sysdeps/unix/sysv/linux/ia64.
23873         * README: Update listing for ia64-*-linux-gnu.
23875 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23876             Joseph Myers  <joseph@codesourcery.com>
23878         * Makeconfig (test-name): New variable.
23879         (evaluate-test): Likewise.
23880         * Makerules (do-test-clean): Remove .test-result files.
23881         (common-mostlyclean): Likewise.
23882         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23883         * scripts/evaluate-test.sh: New file.
23885 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23887         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23888         separate $(objpfx)tst-fopenloc-cmp.out and
23889         $(objpfx)tst-fopenloc-mem.out targets.
23890         (tests): Update dependencies.
23891         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23892         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23893         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23894         (tst-rxspencer-no-utf8-ARGS): New variable.
23895         (tst-rxspencer-no-utf8-ENV): Likewise.
23896         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23897         instead of $(objpfx)tst-rxspencer-mem.
23898         ($(objpfx)tst-rxspencer-mem): Change target to
23899         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23900         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23901         * posix/tst-rxspencer-no-utf8.c: New file.
23903         * elf/Makefile ($(objpfx)order.out): Remove rule.
23904         [$(run-built-tests) = yes] (tests): Depend on
23905         $(objpfx)order-cmp.out.
23906         ($(objpfx)order-cmp.out): New rule.
23907         [$(run-built-tests) = yes] (tests): Depend on
23908         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23909         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23910         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23911         $(objpfx)tst-array5-static-cmp.out.
23912         ($(objpfx)tst-array1.out): Remove rule.
23913         ($(objpfx)tst-array1-cmp.out): New rule.
23914         ($(objpfx)tst-array1-static.out): Remove rule.
23915         ($(objpfx)tst-array1-static-cmp.out): New rule.
23916         ($(objpfx)tst-array2.out): Remove rule.
23917         ($(objpfx)tst-array2-cmp.out): New rule.
23918         ($(objpfx)tst-array3.out): Remove rule.
23919         ($(objpfx)tst-array3-cmp.out): New rule.
23920         ($(objpfx)tst-array4.out): Remove rule.
23921         ($(objpfx)tst-array4-cmp.out): New rule.
23922         ($(objpfx)tst-array5.out): Remove rule.
23923         ($(objpfx)tst-array5-cmp.out): New rule.
23924         ($(objpfx)tst-array5-static.out): Remove rule.
23925         ($(objpfx)tst-array5-static-cmp.out): New rule.
23926         [$(run-built-tests) = yes] (tests): Depend on
23927         $(objpfx)order2-cmp.out.
23928         ($(objpfx)order2.out): Remove rule.
23929         ($(objpfx)order2-cmp.out): New rule.
23930         ($(objpfx)tst-initorder.out): Remove rule.
23931         [$(run-built-tests) = yes] (tests): Depend on
23932         $(objpfx)tst-initorder-cmp.out.
23933         ($(objpfx)tst-initorder-cmp.out): New rule.
23934         ($(objpfx)tst-initorder2.out): Remove rule.
23935         [$(run-built-tests) = yes] (tests): Depend on
23936         $(objpfx)tst-initorder2-cmp.out.
23937         ($(objpfx)tst-initorder2-cmp.out): New rule.
23938         [$(run-built-tests) = yes] (tests): Depend on
23939         $(objpfx)tst-unused-dep-cmp.out.
23940         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23941         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23942         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23943         on $(objpfx)tst-setvbuf1-cmp.out.
23944         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23945         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23946         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23947         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23948         ($(objpfx)tst-svc.out): Remove rule.
23949         ($(objpfx)tst-svc-cmp.out): New rule.
23951 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23953         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23954         * ctype/ctype.h [__USE_MISC]: Likewise.
23955         * dirent/dirent.h [__USE_MISC]: Likewise.
23956         * grp/grp.h [__USE_MISC]: Likewise.
23957         * io/fcntl.h [__USE_MISC]: Likewise.
23958         * io/sys/stat.h [__USE_MISC]: Likewise.
23959         * libio/stdio.h [__USE_MISC]: Likewise.
23960         * posix/unistd.h [__USE_MISC]: Likewise.
23961         * pwd/pwd.h [__USE_MISC]: Likewise.
23962         * stdlib.h [__USE_MISC]: Likewise.
23963         * string/bits/string2.h [__USE_MISC]: Likewise.
23964         * string/string.h [__USE_MISC]: Likewise.
23965         * time/time.h [__USE_MISC]: Likewise.
23967 2014-02-13  Andreas Schwab  <schwab@suse.de>
23969         [BZ #16574]
23970         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23971         second answer buffer if it was separately allocated.
23973 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23975         * sysdeps/mips/math-tests.h: Include <features.h>.
23976         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23977         (ROUNDING_TESTS_long_double): Do not define.
23978         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23979         (EXCEPTION_TESTS_long_double): Likewise.
23980         * sysdeps/mips/mips64/libm-test-ulps: Update.
23982         * include/features.h (__USE_BSD): Remove macro definitions.
23983         (__USE_SVID): Likewise.
23984         (_BSD_SOURCE): Likewise.
23985         (_SVID_SOURCE): Likewise.
23986         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23987         from definition of _DEFAULT_SOURCE.
23988         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23989         [_DEFAULT_SOURCE].
23990         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23991         * bits/mman.h [__USE_BSD]: Likewise.
23992         * bits/termios.h [__USE_BSD]: Likewise.
23993         * bits/waitstatus.h [__USE_BSD]: Likewise.
23994         * ctype/ctype.h [__USE_SVID]: Likewise.
23995         * dirent/dirent.h [__USE_BSD]: Likewise.
23996         * grp/grp.h [__USE_SVID]: Likewise.
23997         [__USE_BSD]: Likewise.
23998         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23999         * io/fcntl.h [__USE_BSD]: Likewise.
24000         * io/ftw.h [__USE_BSD]: Likewise.
24001         * io/sys/stat.h [__USE_BSD]: Likewise.
24002         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24003         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24004         * libio/stdio.h [__USE_SVID]: Likewise.
24005         [__USE_BSD]: Likewise.
24006         * math/math.h [__USE_SVID]: Likewise.
24007         [__USE_BSD]: Likewise.
24008         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24009         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24010         * misc/search.h [__USE_SVID]: Likewise.
24011         * misc/sys/mman.h [__USE_BSD]: Likewise.
24012         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24013         * misc/sys/uio.h [__USE_BSD]: Likewise.
24014         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24015         * posix/glob.h [__USE_BSD]: Likewise.
24016         * posix/regex.h [__USE_BSD]: Likewise.
24017         * posix/sys/types.h [__USE_BSD]: Likewise.
24018         [__USE_SVID]: Likewise.
24019         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24020         * posix/sys/wait.h [__USE_BSD]: Likewise.
24021         [__USE_SVID]: Likewise.
24022         * posix/unistd.h [__USE_BSD]: Likewise.
24023         [__USE_SVID]: Likewise.
24024         * pwd/pwd.h [__USE_SVID]: Likewise.
24025         * resolv/netdb.h [__USE_BSD]: Likewise.
24026         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24027         * signal/signal.h [__USE_BSD]: Likewise.
24028         [__USE_SVID]: Likewise.
24029         * socket/sys/socket.h [__USE_BSD]: Likewise.
24030         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24031         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24032         [__USE_SVID]: Likewise.
24033         * string/bits/string2.h [__USE_BSD]: Likewise.
24034         [__USE_SVID]: Likewise.
24035         * string/bits/string3.h [__USE_BSD]: Likewise.
24036         * string/endian.h [__USE_BSD]: Likewise.
24037         * string/string.h [__USE_SVID]: Likewise.
24038         [__USE_BSD]: Likewise.
24039         * string/strings.h [__USE_BSD]: Likewise.
24040         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24041         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24042         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24043         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24044         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24045         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24046         Likewise.
24047         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24048         Likewise.
24049         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24050         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24051         Likewise.
24052         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24053         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24054         Likewise.
24055         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24056         Likewise.
24057         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24058         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24059         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24060         Likewise.
24061         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24062         Likewise.
24063         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24064         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24065         * termios/termios.h [__USE_BSD]: Likewise.
24066         * time/sys/time.h [__USE_BSD]: Likewise.
24067         * time/time.h [__USE_BSD]: Likewise.
24068         [__USE_SVID]: Likewise.
24070         * Makefile (subdir_targets): Remove subdir_lint.out.
24072         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24073         (do-tst-printf): Likewise.
24074         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24075         $(objpfx)tst-printf.out.
24077         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24079         * Makerules (check-abi-%): Change target to
24080         $(objpfx)check-abi-%.out.
24081         (check-abi target): Update dependencies.
24082         (check-abi-pattern variable): Redirect output of diff to $@.
24083         (check-abi variable): Likewise.
24084         * elf/Makefile (check-abi): Update dependencies.
24086         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24087         unused.
24088         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24089         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24090         subnormal range.
24091         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24092         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24093         value has largest subnormal exponent.
24094         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24095         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24096         * sysdeps/aarch64/soft-fp/sfp-machine.h
24097         (_FP_TININESS_AFTER_ROUNDING): New macro.
24098         * sysdeps/alpha/soft-fp/sfp-machine.h
24099         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24100         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24101         Likewise.
24102         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24103         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24104         * sysdeps/mips/soft-fp/sfp-machine.h
24105         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24106         * sysdeps/powerpc/soft-fp/sfp-machine.h
24107         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24108         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24109         Likewise.
24110         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24111         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24112         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24113         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24114         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24115         Likewise.
24117 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24119         [BZ #16545]
24120         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24121         model 1.
24123 2014-02-12  Richard Henderson  <rth@redhat.com>
24125         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24126         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24127         * sysdeps/unix/sysv/linux/alpha: Move directory from
24128         ports/sysdeps/unix/sysv/linux/alpha.
24129         * README: Update listing for alpha-*-linux-gnu.
24131 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24133         * include/features.h: Update comment documenting feature test
24134         macros.
24135         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24136         _DEFAULT_SOURCE.
24137         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24138         (_SVID_SOURCE): Likewise.
24139         (_DEFAULT_SOURCE): Update description of default features.
24140         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24141         with _GNU_SOURCE.
24142         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24143         (S_ISVTX): Likewise.
24144         * manual/math.texi (Mathematical Constants): Likewise.
24145         * manual/signal.texi (Interrupted Primitives): Likewise.
24146         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24147         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24148         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24149         Don't refer to _SVID_SOURCE in warning text.
24151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24153         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24154         already defined.
24155         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24156         * sysdeps/mips/dl-lookup.c: Remove.
24157         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24159 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24161         [BZ #16447]
24162         * math/auto-libm-test-in: Add testcase for expl.
24163         * math/auto-libm-test-out: Regenerate.
24164         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24165         calculation of unsafe.
24166         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24168 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24170         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24171         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24172         ports/sysdeps/unix/sysv/linux/aarch64.
24173         * README: Update listing for aarch64*-*-linux-gnu.
24175 2014-02-11  Will Newton  <will.newton@linaro.org>
24177         * manual/probes.texi (Mathematical Function Probes): Use
24178         "triggered" instead of "hit".
24180         * manual/probes.texi (Internal Probes): Add documentation
24181         of setjmp, longjmp and longjmp_target probes.
24183         * include/stap-probe.h: Add comment about probe argument
24184         format.
24186         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24187         definition.  (tr_where, tr_freehook, tr_mallochook,
24188         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24190 2014-02-11  David S. Miller  <davem@davemloft.net>
24192         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24193         processing int_tests.
24195 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24197         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24198         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24199         * sysdeps/unix/sysv/linux/mips: Move directory from
24200         ports/sysdeps/unix/sysv/linux/mips.
24201         * README: Update listing for mips-*-linux-gnu and
24202         mips64-*-linux-gnu.
24204 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24206         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24207         * sysdeps/unix/sysv/linux/m68k: Move directory from
24208         ports/sysdeps/unix/sysv/linux/m68k.
24209         * README: Update listing for m68k-*-linux-gnu.
24211 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24213         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24214         * sysdeps/unix/sysv/linux/generic: Move directory from
24215         ports/sysdeps/unix/sysv/linux/generic.
24216         * sysdeps/unix/sysv/linux/tile: Move directory from
24217         ports/sysdeps/unix/sysv/linux/tile.
24218         * README: Update listing for tile*-*-linux-gnu.
24220 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24222         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24223         __builtin_expect.
24224         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24225         * catgets/open_catalog.c (__open_catalog): Likewise.
24226         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24227         * debug/confstr_chk.c: Likewise.
24228         * debug/fread_chk.c (__fread_chk): Likewise.
24229         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24230         * debug/getgroups_chk.c: Likewise.
24231         * debug/mbsnrtowcs_chk.c: Likewise.
24232         * debug/mbsrtowcs_chk.c: Likewise.
24233         * debug/mbstowcs_chk.c: Likewise.
24234         * debug/memcpy_chk.c: Likewise.
24235         * debug/memmove_chk.c: Likewise.
24236         * debug/mempcpy_chk.c: Likewise.
24237         * debug/memset_chk.c: Likewise.
24238         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24239         * debug/strcat_chk.c (__strcat_chk): Likewise.
24240         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24241         * debug/strncat_chk.c (__strncat_chk): Likewise.
24242         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24243         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24244         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24245         * debug/wcpncpy_chk.c: Likewise.
24246         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24247         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24248         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24249         * debug/wcsncpy_chk.c: Likewise.
24250         * debug/wcsnrtombs_chk.c: Likewise.
24251         * debug/wcsrtombs_chk.c: Likewise.
24252         * debug/wcstombs_chk.c: Likewise.
24253         * debug/wmemcpy_chk.c: Likewise.
24254         * debug/wmemmove_chk.c: Likewise.
24255         * debug/wmempcpy_chk.c: Likewise.
24256         * debug/wmemset_chk.c: Likewise.
24257         * dirent/scandirat.c (SCANDIRAT): Likewise.
24258         * dlfcn/dladdr1.c (dladdr1): Likewise.
24259         * dlfcn/dladdr.c (dladdr): Likewise.
24260         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24261         * dlfcn/dlerror.c (__dlerror): Likewise.
24262         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24263         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24264         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24265         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24266         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24267         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24268         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24269         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24270         Likewise.
24271         * elf/dl-conflict.c: Likewise.
24272         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24273         * elf/dl-dst.h: Likewise.
24274         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24275         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24276         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24277         * elf/dl-init.c (call_init, _dl_init): Likewise.
24278         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24279         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24280         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24281         Likewise.
24282         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24283         Likewise.
24284         * elf/dl-minimal.c (__libc_memalign): Likewise.
24285         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24286         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24287         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24288         * elf/dl-sym.c (do_sym): Likewise.
24289         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24290         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24291         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24292         * elf/dl-writev.h (_dl_writev): Likewise.
24293         * elf/ldconfig.c (search_dir): Likewise.
24294         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24295         (dl_main): Likewise.
24296         * elf/setup-vdso.h (setup_vdso): Likewise.
24297         * grp/compat-initgroups.c (compat_call): Likewise.
24298         * grp/fgetgrent.c (fgetgrent): Likewise.
24299         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24300         * grp/putgrent.c (putgrent): Likewise.
24301         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24302         Likewise.
24303         * hurd/hurdinit.c: Likewise.
24304         * iconvdata/8bit-gap.c (struct): Likewise.
24305         * iconvdata/ansi_x3.110.c : Likewise.
24306         * iconvdata/big5.c : Likewise.
24307         * iconvdata/big5hkscs.c : Likewise.
24308         * iconvdata/cp1255.c: Likewise.
24309         * iconvdata/cp1258.c : Likewise.
24310         * iconvdata/cp932.c : Likewise.
24311         * iconvdata/euc-cn.c: Likewise.
24312         * iconvdata/euc-jisx0213.c : Likewise.
24313         * iconvdata/euc-jp.c: Likewise.
24314         * iconvdata/euc-jp-ms.c : Likewise.
24315         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24316         * iconvdata/gb18030.c : Likewise.
24317         * iconvdata/gbbig5.c (const): Likewise.
24318         * iconvdata/gbgbk.c: Likewise.
24319         * iconvdata/gbk.c : Likewise.
24320         * iconvdata/ibm1364.c : Likewise.
24321         * iconvdata/ibm930.c : Likewise.
24322         * iconvdata/ibm932.c: Likewise.
24323         * iconvdata/ibm933.c : Likewise.
24324         * iconvdata/ibm935.c : Likewise.
24325         * iconvdata/ibm937.c : Likewise.
24326         * iconvdata/ibm939.c : Likewise.
24327         * iconvdata/ibm943.c: Likewise.
24328         * iconvdata/iso_11548-1.c: Likewise.
24329         * iconvdata/iso-2022-cn.c : Likewise.
24330         * iconvdata/iso-2022-cn-ext.c : Likewise.
24331         * iconvdata/iso-2022-jp-3.c: Likewise.
24332         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24333         * iconvdata/iso-2022-kr.c : Likewise.
24334         * iconvdata/iso646.c (gconv_end): Likewise.
24335         * iconvdata/iso_6937-2.c : Likewise.
24336         * iconvdata/iso_6937.c : Likewise.
24337         * iconvdata/iso8859-1.c: Likewise.
24338         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24339         * iconvdata/shift_jisx0213.c : Likewise.
24340         * iconvdata/sjis.c : Likewise.
24341         * iconvdata/t.61.c : Likewise.
24342         * iconvdata/tcvn5712-1.c : Likewise.
24343         * iconvdata/tscii.c: Likewise.
24344         * iconvdata/uhc.c : Likewise.
24345         * iconvdata/unicode.c (gconv_end): Likewise.
24346         * iconvdata/utf-16.c (gconv_end): Likewise.
24347         * iconvdata/utf-32.c (gconv_end): Likewise.
24348         * iconvdata/utf-7.c (base64): Likewise.
24349         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24350         * iconv/gconv_close.c (__gconv_close): Likewise.
24351         * iconv/gconv_open.c (__gconv_open): Likewise.
24352         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24353         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24354         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24355         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24356         (ucs4le_internal_loop_single): Likewise.
24357         * iconv/iconv.c (iconv): Likewise.
24358         * iconv/iconv_close.c: Likewise.
24359         * iconv/loop.c (SINGLE): Likewise.
24360         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24361         * include/atomic.h: Likewise.
24362         * inet/inet6_option.c (option_alloc): Likewise.
24363         * intl/bindtextdom.c (set_binding_values): Likewise.
24364         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24365         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24366         * intl/localealias.c (read_alias_file): Likewise.
24367         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24368         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24369         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24370         * libio/fmemopen.c (fmemopen): Likewise.
24371         * libio/iofgets.c (_IO_fgets): Likewise.
24372         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24373         * libio/iofgetws.c (fgetws): Likewise.
24374         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24375         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24376         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24377         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24378         * locale/findlocale.c (_nl_find_locale): Likewise.
24379         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24380         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24381         Likewise.
24382         * locale/setlocale.c (setlocale): Likewise.
24383         * login/programs/pt_chown.c (main): Likewise.
24384         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24385         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24386         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24387         (mmap, mmap64, mremap, munmap): Likewise.
24388         * math/e_exp2l.c: Likewise.
24389         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24390         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24391         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24392         * math/s_catan.c (__catan): Likewise.
24393         * math/s_catanf.c (__catanf): Likewise.
24394         * math/s_catanh.c (__catanh): Likewise.
24395         * math/s_catanhf.c (__catanhf): Likewise.
24396         * math/s_catanhl.c (__catanhl): Likewise.
24397         * math/s_catanl.c (__catanl): Likewise.
24398         * math/s_ccosh.c (__ccosh): Likewise.
24399         * math/s_ccoshf.c (__ccoshf): Likewise.
24400         * math/s_ccoshl.c (__ccoshl): Likewise.
24401         * math/s_cexp.c (__cexp): Likewise.
24402         * math/s_cexpf.c (__cexpf): Likewise.
24403         * math/s_cexpl.c (__cexpl): Likewise.
24404         * math/s_clog10.c (__clog10): Likewise.
24405         * math/s_clog10f.c (__clog10f): Likewise.
24406         * math/s_clog10l.c (__clog10l): Likewise.
24407         * math/s_clog.c (__clog): Likewise.
24408         * math/s_clogf.c (__clogf): Likewise.
24409         * math/s_clogl.c (__clogl): Likewise.
24410         * math/s_csin.c (__csin): Likewise.
24411         * math/s_csinf.c (__csinf): Likewise.
24412         * math/s_csinh.c (__csinh): Likewise.
24413         * math/s_csinhf.c (__csinhf): Likewise.
24414         * math/s_csinhl.c (__csinhl): Likewise.
24415         * math/s_csinl.c (__csinl): Likewise.
24416         * math/s_csqrt.c (__csqrt): Likewise.
24417         * math/s_csqrtf.c (__csqrtf): Likewise.
24418         * math/s_csqrtl.c (__csqrtl): Likewise.
24419         * math/s_ctan.c (__ctan): Likewise.
24420         * math/s_ctanf.c (__ctanf): Likewise.
24421         * math/s_ctanh.c (__ctanh): Likewise.
24422         * math/s_ctanhf.c (__ctanhf): Likewise.
24423         * math/s_ctanhl.c (__ctanhl): Likewise.
24424         * math/s_ctanl.c (__ctanl): Likewise.
24425         * math/w_pow.c: Likewise.
24426         * math/w_powf.c: Likewise.
24427         * math/w_powl.c: Likewise.
24428         * math/w_scalb.c (sysv_scalb): Likewise.
24429         * math/w_scalbf.c (sysv_scalbf): Likewise.
24430         * math/w_scalbl.c (sysv_scalbl): Likewise.
24431         * misc/error.c (error_tail): Likewise.
24432         * misc/pselect.c (__pselect): Likewise.
24433         * nis/nis_callback.c (__nis_create_callback): Likewise.
24434         * nis/nis_call.c (__nisfind_server): Likewise.
24435         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24436         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24437         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24438         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24439         * nis/nis_lookup.c (nis_lookup): Likewise.
24440         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24441         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24442         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24443         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24444         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24445         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24446         * nis/nss_compat/compat-initgroups.c (add_group)
24447         (internal_getgrent_r): Likewise.
24448         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24449         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24450         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24451         (internal_getspnam_r): Likewise.
24452         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24453         (_nss_nis_getaliasbyname_r): Likewise.
24454         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24455         (_nss_nis_getntohost_r): Likewise.
24456         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24457         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24458         (_nss_nis_getgrgid_r): Likewise.
24459         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24460         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24461         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24462         (_nss_nis_gethostbyname4_r): Likewise.
24463         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24464         (initgroups_netid): Likewise.
24465         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24466         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24467         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24468         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24469         (_nss_nis_getprotobynumber_r): Likewise.
24470         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24471         (_nss_nis_getsecretkey): Likewise.
24472         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24473         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24474         (_nss_nis_getpwuid_r): Likewise.
24475         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24476         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24477         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24478         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24479         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24480         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24481         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24482         Likewise.
24483         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24484         (_nss_nisplus_getntohost_r): Likewise.
24485         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24486         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24487         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24488         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24489         Likewise.
24490         * nis/nss_nisplus/nisplus-initgroups.c
24491         (_nss_nisplus_initgroups_dyn): Likewise.
24492         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24493         (_nss_nisplus_getnetbyaddr_r): Likewise.
24494         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24495         (_nss_nisplus_getprotobynumber_r): Likewise.
24496         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24497         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24498         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24499         Likewise.
24500         * nis/nss_nisplus/nisplus-service.c
24501         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24502         (_nss_nisplus_getservbyport_r): Likewise.
24503         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24504         (_nss_nisplus_getspnam_r): Likewise.
24505         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24506         Likewise.
24507         * nscd/aicache.c (addhstaiX): Likewise.
24508         * nscd/cache.c (cache_search, prune_cache): Likewise.
24509         * nscd/connections.c (register_traced_file, send_ro_fd)
24510         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24511         (main_loop_epoll): Likewise.
24512         * nscd/grpcache.c (addgrbyX): Likewise.
24513         * nscd/hstcache.c (addhstbyX): Likewise.
24514         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24515         * nscd/mem.c (gc, mempool_alloc): Likewise.
24516         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24517         (addinnetgrX): Likewise.
24518         * nscd/nscd-client.h (__nscd_acquire_maplock)
24519         (__nscd_drop_map_ref): Likewise.
24520         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24521         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24522         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24523         Likewise.
24524         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24525         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24526         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24527         (__nscd_get_map_ref): Likewise.
24528         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24529         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24530         Likewise.
24531         * nscd/pwdcache.c (addpwbyX): Likewise.
24532         * nscd/selinux.c (preserve_capabilities): Likewise.
24533         * nscd/servicescache.c (addservbyX): Likewise.
24534         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24535         * posix/fnmatch.c (fnmatch): Likewise.
24536         * posix/getopt.c (_getopt_internal_r): Likewise.
24537         * posix/glob.c (glob, glob_in_dir): Likewise.
24538         * posix/wordexp.c (exec_comm_child): Likewise.
24539         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24540         (getanswer_r, gaih_getanswer_slice): Likewise.
24541         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24542         * resolv/res_init.c: Likewise.
24543         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24544         * resolv/res_query.c (__libc_res_nquery): Likewise.
24545         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24546         Likewise.
24547         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24548         * stdio-common/perror.c (perror): Likewise.
24549         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24550         * stdio-common/tmpnam.c (tmpnam): Likewise.
24551         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24552         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24553         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24554         Likewise.
24555         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24556         * stdlib/putenv.c (putenv): Likewise.
24557         * stdlib/setenv.c (__add_to_environ): Likewise.
24558         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24559         * stdlib/strtol_l.c (INTERNAL): Likewise.
24560         * string/memmem.c (memmem): Likewise.
24561         * string/strerror.c (strerror): Likewise.
24562         * string/strnlen.c (__strnlen): Likewise.
24563         * string/test-memmem.c (simple_memmem): Likewise.
24564         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24565         * sunrpc/pm_getport.c (__get_socket): Likewise.
24566         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24567         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24568         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24569         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24570         Likewise.
24571         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24572         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24573         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24574         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24575         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24576         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24577         Likewise.
24578         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24579         Likewise.
24580         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24581         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24582         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24583         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24584         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24585         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24586         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24587         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24588         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24589         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24590         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24591         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24592         Likewise.
24593         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24594         Likewise.
24595         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24596         Likewise.
24597         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24598         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24599         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24600         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24601         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24602         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24603         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24604         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24605         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24606         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24607         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24608         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24609         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24610         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24612         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24613         Likewise.
24614         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24615         Likewise.
24616         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24617         Likewise.
24618         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24619         Likewise.
24620         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24621         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24622         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24623         Likewise.
24624         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24625         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24626         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24627         * sysdeps/posix/sleep.c: Likewise.
24628         * sysdeps/posix/tempname.c: Likewise.
24629         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24630         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24631         Likewise.
24632         * sysdeps/powerpc/powerpc32/dl-machine.h
24633         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24634         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24635         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24636         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24637         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24638         Likewise.
24639         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24640         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24641         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24642         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24643         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24644         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24645         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24646         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24647         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24648         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24649         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24650         (elf_machine_lazy_rel): Likewise.
24651         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24652         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24653         (elf_machine_lazy_rel): Likewise.
24654         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24655         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24656         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24657         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24658         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24659         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24660         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24662         Likewise.
24663         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24664         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24665         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24666         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24667         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24668         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24669         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24670         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24671         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24672         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24673         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24674         Likewise.
24675         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24676         (__posix_fallocate64_l64): Likewise.
24677         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24678         (posix_fallocate): Likewise.
24679         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24680         Likewise.
24681         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24682         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24683         (getifaddrs_internal): Likewise.
24684         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24685         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24686         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24687         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24688         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24689         (__posix_fallocate64_l64): Likewise.
24690         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24691         Likewise.
24692         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24693         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24694         (__get_clockfreq): Likewise.
24695         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24696         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24697         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24698         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24699         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24700         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24701         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24702         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24703         Likewise.
24704         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24705         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24706         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24707         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24708         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24709         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24710         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24711         Likewise.
24712         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24713         (posix_fallocate): Likewise.
24714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24715         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24716         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24717         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24718         (elf_machine_rela, elf_machine_rela_relative)
24719         (elf_machine_lazy_rel): Likewise.
24720         * time/asctime.c (asctime_internal): Likewise.
24721         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24722         * time/tzset.c (__tzset_parse_tz): Likewise.
24723         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24724         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24725         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24726         * wcsmbs/wcsmbsload.h: Likewise.
24728         [BZ #15894]
24729         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24731         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24732         (arena_get2): Remove THREAD_STATS conditionals.
24733         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24734         (__malloc_stats, int): Likewise.
24736 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24738         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24739         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24741         * manual/setjmp.texi: Fix typos/grammar errors.
24743         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24744         Only return early when n is <= 0.  Delete unused return statement.
24746         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24747         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24748         * debug/tst-longjmp_chk3.c: New file.
24750         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24751         (test_main): Replace code with set_fortify_handler call.
24752         * debug/test-strcpy_chk.c: Likewise.
24753         * debug/tst-chk1.c: Likewise.
24754         * debug/tst-longjmp_chk.c: Likewise.
24755         * test-skeleton.c: Include fcntl.h & paths.h
24756         (set_fortify_handler): Define.
24758         * debug/tst-longjmp_chk.c: Add header comment and include
24759         ../test-skeleton.c.
24760         (do_test): Mark static.
24761         (TEST_FUNCTION): Define.
24763         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24764         (IP_PMTUDISC_INTERFACE): Likewise.
24765         (IP_MULTICAST_IF): Likewise.
24766         (IP_MULTICAST_TTL): Likewise.
24767         (IP_MULTICAST_LOOP): Likewise.
24768         (IP_ADD_MEMBERSHIP): Likewise.
24769         (IP_DROP_MEMBERSHIP): Likewise.
24770         (IP_UNBLOCK_SOURCE): Likewise.
24771         (IP_BLOCK_SOURCE): Likewise.
24772         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24773         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24774         (IP_MSFILTER): Likewise.
24775         (MCAST_JOIN_GROUP): Likewise.
24776         (MCAST_BLOCK_SOURCE): Likewise.
24777         (MCAST_UNBLOCK_SOURCE): Likewise.
24778         (MCAST_LEAVE_GROUP): Likewise.
24779         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24780         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24781         (MCAST_MSFILTER): Likewise.
24782         (IP_MULTICAST_ALL): Likewise.
24783         (IP_UNICAST_IF): Likewise.
24785         * timezone/Makefile: Delete $(have-ksh) check.
24786         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24787         * timezone/tzselect.ksh: Add +x mode bits.
24789         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24790         (ANON_INODE_FS_MAGIC): Likewise.
24791         (BDEVFS_MAGIC): Likewise.
24792         (BINFMTFS_MAGIC): Likewise.
24793         (BTRFS_TEST_MAGIC): Likewise.
24794         (CRAMFS_MAGIC_WEND): Likewise.
24795         (DEBUGFS_MAGIC): Likewise.
24796         (ECRYPTFS_SUPER_MAGIC): Likewise.
24797         (EXT3_SUPER_MAGIC): Likewise.
24798         (EXT4_SUPER_MAGIC): Likewise.
24799         (FUTEXFS_SUPER_MAGIC): Likewise.
24800         (HOSTFS_SUPER_MAGIC): Likewise.
24801         (HUGETLBFS_MAGIC): Likewise.
24802         (MINIX3_SUPER_MAGIC): Likewise.
24803         (MTD_INODE_FS_MAGIC): Likewise.
24804         (NILFS_SUPER_MAGIC): Likewise.
24805         (OPENPROM_SUPER_MAGIC): Likewise.
24806         (PIPEFS_MAGIC): Likewise.
24807         (PSTOREFS_MAGIC): Likewise.
24808         (QNX6_SUPER_MAGIC): Likewise.
24809         (RAMFS_MAGIC): Likewise.
24810         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24811         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24812         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24813         (SECURITYFS_MAGIC): Likewise.
24814         (SELINUX_MAGIC): Likewise.
24815         (SMACK_MAGIC): Likewise.
24816         (SOCKFS_MAGIC): Likewise.
24817         (SQUASHFS_MAGIC): Likewise.
24818         (STACK_END_MAGIC): Likewise.
24819         (TMPFS_MAGIC): Likewise.
24820         (USBDEVICE_SUPER_MAGIC): Likewise.
24821         (V9FS_MAGIC): Likewise.
24822         (XENFS_SUPER_MAGIC): Likewise.
24823         (CRAMFS_MAGIC): Fix typo in comment.
24824         (EXT2_SUPER_MAGIC): Update comment.
24825         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24827 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24829         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24830         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24831         * sysdeps/unix/sysv/linux/arm: Move directory from
24832         ports/sysdeps/unix/sysv/linux/arm.
24833         * README: Update listing for arm-*-linux-gnueabi.
24835         * README: Remove mention of am33.
24837 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24839         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24840         than the comma operator, to avoid "rhs of comma has no effect"
24841         compiler warnings.
24842         (__sigfillset, __sigandset, __sigorset): Likewise.
24843         * include/signal.h (__sigemptyset): Likewise.
24844         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24846 2014-02-07  Allan McRae  <allan@archlinux.org>
24848         * version.h (RELEASE): Set to "development".
24849         (VERSION): Set to "2.19.90"
24850         * NEWS: Add 2.20 section.
24852 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24854         [BZ #16529]
24855         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24857 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24859         * manual/contrib.texi: Update entry for Carlos O'Donell,
24860         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24862 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24864         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24866         * sysdeps/unix/sysv/linux/kernel-features.h
24867         [__LINUX_KERNEL_VERSION >= 0x020621]
24868         (__ASSUME_PROC_PID_TASK_COMM): Define.
24870 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24872         [BZ #16398]
24873         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24874         conversion when destination buffer does not have enough space.
24875         * libio/tst-ftell-partial-wide.c: New test case.
24876         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24878         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24879         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24880         Leonard and Allan McRae.
24882 2014-02-04  David S. Miller  <davem@davemloft.net>
24884         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24885         32-bit.
24887 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24890         New file
24891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24892         New file
24893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24894         New file.
24895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24896         New file.
24897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24898         New file.
24899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24900         New file.
24901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24902         New file.
24903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24904         New file.
24905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24906         New file.
24907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24908         New file.
24909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24910         New file.
24911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24912         New file.
24913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24914         New file.
24916 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24918         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24919         * shlib-versions: Likewise.
24921 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24922             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24924         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24925         (abilist-pattern): New variable, set to %-le.abilist.
24927         * Makerules (abilist-pattern): New variable.
24928         (vpath): Use $(abilist-pattern) in place of %.abilist.
24929         (check-abi-% pattern rule): Likewise.
24930         (check-abi, update-abi): Likewise.
24932 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24936 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24938         * manual/startup.texi: Add next, previous, and top entries for
24939         the `Program Arguments' and `Environment Variables' nodes.
24941 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24943         * manual/macros.texi: Add comments before MTASC-safety macros.
24945         * manual/users.texi: Document MTASC-safety properties.
24947         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24948         (pthread_getspecific, pthread_setspecific): Format with
24949         @deftypefun, and add @safety note.
24950         * manual/signal.texi: Move comments that analyze the above
24951         functions to their home place.
24953 2014-02-03  Allan McRae  <allan@archlinux.org>
24955         * po/sl.po: Update Slovenian translation from translation project.
24957 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24959         * manual/time.texi (timegm): Add missing blank after @c.
24960         Reported by Joseph Myers <joseph@codesourcery.com>.
24962 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24964         * manual/check-safety.sh: New.
24965         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24967         * manual/terminal.texi: Document MTASC-safety properties.
24969         * manual/filesys.texi: Document MTASC-safety properties.
24971         * manual/errno.texi: Document MTASC-safety properties.
24973         * manual/intro.texi: Document safety identifiers and
24974         conditionals.
24976         * manual/string.texi (wcstok): Fix prototype.
24977         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24979         * manual/time.texi: Document MTASC-safety properties.
24981         * manual/string.texi: Document MTASC-safety properties.
24983         * manual/threads.texi: Document MTASC-safety properties.
24985         * manual/stdio.texi: Document MTASC-safety properties.
24987         * manual/syslog.texi: Document MTASC-safety properties.
24989         * manual/sysinfo.texi: Document MTASC-safety properties.
24991         * manual/startup.texi: Document MTASC-safety properties.
24993         * manual/socket.texi: Document MTASC-safety properties.
24995         * manual/signal.texi: Document MTASC-safety properties.
24997 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24999         * manual/setjmp.texi: Document MTASC-safety properties.
25001         * manual/search.texi: Document MTASC-safety properties.
25003         * manual/resource.texi: Document MTASC-safety properties.
25005         * manual/process.texi: Document MTASC-safety properties.
25007         * manual/platform.texi: Document MTASC-safety properties.
25009         * manual/pipe.texi: Document MTASC-safety properties.
25011         * manual/pattern.texi: Document MTASC-safety properties.
25013         * manual/message.texi: Document MTASC-safety properties.
25015         [BZ #12751]
25016         * manual/memory.texi: Document MTASC-safety properties.
25018         * manual/math.texi: Document MTASC-safety properties.
25020         * manual/locale.texi: Document MTASC-safety properties.
25022         * manual/llio.texi: Document MTASC-safety properties.
25024         * manual/libdl.texi: New.
25026         * manual/lang.texi: Document MTASC-safety properties.
25028         * manual/job.texi: Document MTASC-safety properties.
25030         * manual/getopt.texi: Document MTASC-safety properties.
25032         * manual/ctype.texi: Document MTASC-safety properties.
25034 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25036         [BZ #16046]
25037         * csu/libc-tls.c (static_map): Remove variable.
25038         (__libc_setup_tls): Use main executable's link map for TLS data.
25039         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25040         casing for LM_ID_BASE and GL(dl_nns).
25041         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25042         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25043         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25044         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25045         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25046         member.
25047         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25048         l_phnum members.
25050 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25052         * manual/debug.texi: Document MTASC-safety properties.
25054 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25056         [BZ #16510]
25057         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25058         of __x86_64__ when disabling x87 inline functions.
25060 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25062         * manual/charset.texi: Document MTASC-safety properties.
25064         * manual/crypt.texi: Document MTASC-safety properties.
25066         * manual/conf.texi: Document MTASC-safety properties.
25068         * manual/arith.texi: Document MTASC-safety properties.
25070         * manual/argp.texi: Document MTASC-safety properties.
25072         * manual/macros.texi: Introduce macros to document multi
25073         thread, asynchronous signal and asynchronous cancellation
25074         safety properties.
25075         * manual/intro.texi: Introduce the properties themselves.
25077 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25079         * sysdeps/sh/sh4/Makefile: New file.
25081 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25083         * math/gen-libm-test.pl ($srcdir): New variable.
25084         ($auto_input): Use it.
25086 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25088         [BZ #16506]
25089         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25090         access beyond array bounds when parsing netgroups file.
25092         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25093         the old buffer before realloc.
25095 2014-01-27  Allan McRae  <allan@archlinux.org>
25097         * po/fr.po: Update French translation from translation project.
25099 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25101         * sysdeps/sh/libm-test-ulps: Regenerate.
25103 2014-01-24  David S. Miller  <davem@davemloft.net>
25105         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25107 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25109         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25110         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25112 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25114         [BZ #16474]
25115         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25116         string pointers after reallocation.
25118 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25120         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25121         __SH4A__ instead of __SH_FPU_ANY__.
25123 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25125         * sysdeps/sh/fpu_control.h: New file.
25126         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25127         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25128         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25129         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25130         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25131         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25132         * sysdeps/sh/sys/ucontext.h: Remove.
25133         * sysdeps/sh/sys: Remove directory.
25135 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25137         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25138         s390/sys/ucontext.h.
25139         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25140         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25142 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25144         [BZ #15605]
25145         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25147 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25149         [BZ#16431]
25150         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25151         Adjust the vDSO correctly for internal calls.
25152         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25154 2014-01-20  Allan McRae  <allan@archlinux.org>
25156         * po/ca.po: Update Catalan translation from translation project.
25158 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25160         * sysdeps/s390/sotruss-lib.c: New file.
25162 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25164         [BZ#16430]
25165         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25166         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25167         local calls issues by not having a PLT stub required for IFUNC calls.
25168         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25170 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25172         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25173         * math/test-fpucw-static.c: Likewise.
25175 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25177         [BZ #16453]
25178         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25180 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25182         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25183         implementation for powerpc.
25185 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25187         [BZ #14782]
25188         * sysdeps/posix/system.c (__libc_system): Do not enable
25189         asynchronous cancellation.
25191 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25193         [BZ #16427]
25194         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25195         handling only for numbers special also in the IEEE case.
25197 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25199         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25201 2014-01-11  Allan McRae  <allan@archlinux.org>
25203         * po/bg.po: Update Bulgarian translation from translation project.
25205         * po/de.po: Update German translation from translation project.
25207 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25209         * sysdeps/generic/gcc-compat.h: New file.
25211 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25213         * benchtests/asin-inputs: Correct slow inputs.
25214         * benchtests/acos-inputs: Likewise.
25216 2014-01-10  Allan McRae  <allan@archlinux.org>
25218         * po:sv.po: Update Swedish translation from translation project.
25220         * po/vi.po: Update Vietnamese translation from translation project.
25222         * po/eo.po: Update Esperanto translation from translation project.
25224         * po/cs.po: Update Czech translation from translation project.
25226         * po/nl.po: Update Dutch translation from translation project.
25228         * po/pl.po: Update Polish translation from translation project.
25230         * po/ru.po: Update Russian translation from translation project.
25232         * po/uk.po: Update Ukrainian translation from translation project.
25234 2014-01-08  Brooks Moses  <bmoses@google.com>
25236         * elf/dl-load.c: Fix comment typo.
25238 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25240         * po/header.pot: Rename to...
25241         * po/pot.header: ... this.
25242         * po/Makefile: Use pot.header.
25244 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25245             Maxim Kuvyrkov  <maxim@kugelworks.com>
25247         [BZ #16394]
25248         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25249         SRC and DEST against LEN.
25251 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25253         [BZ #16414]
25254         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25255         implementation.
25256         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25258 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25262 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25264         [BZ #16408]
25265         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25266         for large positive arguments.
25268 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25270         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25272         * math/auto-libm-test-in: Mark various tests with
25273         xfail-rounding:ldbl-128ibm.
25274         * math/auto-libm-test-out: Regenerated.
25276         [BZ #16407]
25277         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25278         Increase overflow threshold.
25280 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25282         [BZ #14286]
25283         * stdio-common/vfprintf.c: Check for integer overflow.
25285 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25287         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25288         the first argument and return value of __tls_get_addr_internal.
25290 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25292         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25293         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25295 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25297         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25298         * sysdeps/s390/rtld-global-offsets.sym: New file.
25299         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25300         GLIBC_2.19 symbol.
25301         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25302         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25303         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25304         ... this.
25305         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25306         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25307         ... this.
25308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25309         Regenerate.
25310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25311         Regenerate.
25312         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25313         halfs of GPRs for high_gprs contexts.
25314         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25315         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25316         field.
25317         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25318         uc_flags field.
25319         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25320         64 bit versions:
25321         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25322         for high GPRs (uc_high_gprs) and for future extensions
25323         (__reserved).
25324         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25325         for future extensions (__reserved).
25326         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25327         64 bit versions:
25328         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25329         SC_HIGHGPRS offset definition.
25330         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25331         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25333         * Versions.def: Add GLIBC_2.19 for libpthread.
25334         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25335         siglongjmp for libpthread with GLIBC_2.19 symver.
25336         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25337         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25338         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25339         * sysdeps/s390/__longjmp.c: New file.
25340         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25341         * sysdeps/s390/longjmp.c: New file.
25342         * sysdeps/s390/setjmp.S: New file.
25343         * sysdeps/s390/sigjmp.S: New file.
25344         * sysdeps/s390/v1-longjmp.c: New file.
25345         * sysdeps/s390/v1-setjmp.h: New file.
25346         * sysdeps/s390/v1-sigjmp.c: New file.
25347         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25348         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25349         GLIBC_2.19 version.
25350         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25351         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25352         versioned symbols for ____longjmp_chk.
25353         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25354         Likewise.
25355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25356         Regenerate.
25357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25358         Regenerate.
25359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25360         Regenerate.
25361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25362         Regenerate.
25363         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25364         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25365         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25366         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25367         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25368         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25369         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25370         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25371         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25372         * sysdeps/s390/rtld-__longjmp.c: New file.
25373         * sysdeps/s390/rtld-setjmp.S: New file.
25375 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25377         [BZ #16400]
25378         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25379         Return -__logl (x) for small positive arguments without evaluating
25380         a polynomial.
25382 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25384         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25385         Rename to ...
25386         (__ptrace_peeksiginfo_args): ... this.
25387         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25388         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25389         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25391 2014-01-06  Allan McRae  <allan@archlinux.org>
25393         * inet/netinet/in.h: Fix typo in comment.
25395 2014-01-05  Andreas Jaeger  <aj@suse.de>
25397         * sysdeps/i386/fpu/libm-test-ulps: Update.
25399 2014-01-05  Allan McRae  <allan@archlinux.org>
25401         * po/libc.pot: Regenerated.
25403         * malloc/memusagestat.c: Fix gettext call formatting.
25405 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25407         * nscd/nscd.c: Improve usage() output.
25409 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25411         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25412         * sysdeps/unix/sysv/linux/configure: Regenerated.
25413         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25414         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25416 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25418         [BZ #16390]
25419         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25420         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25422 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25424         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25425         extra tokens at end of #undef directive.
25426         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25427         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25428         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25430 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25432         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25434         * math/auto-libm-test-in: Mark various tests with
25435         xfail-rounding:ldbl-128ibm.
25436         * math/auto-libm-test-out: Regenerated.
25438 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25440         [BZ #16386]
25441         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25442         numbers with subnormal high part when calculating exponent.
25444         [BZ #16385]
25445         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25446         fabs.
25448         [BZ #16384]
25449         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25450         M_LN2l.
25451         (__ieee754_acoshl): Use __log1pl not __log1p.
25453 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25455         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25456         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25457         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25458         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25459         (reused_arena, arena_get2): Convert to GNU style.
25460         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25461         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25462         (memalign_check, __malloc_set_state): Likewise.
25463         * malloc/mallocbug.c (main): Likewise.
25464         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25465         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25466         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25467         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25468         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25469         (__posix_memalign, malloc_info): Likewise.
25470         * malloc/malloc.h: Likewise.
25471         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25472         (mallochook, memalignhook, reallochook, mabort): Likewise.
25473         * malloc/mcheck.h: Likewise.
25474         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25475         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25476         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25477         * malloc/morecore.c (__default_morecore): Likewise.
25478         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25479         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25480         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25481         (print_and_abort): Likewise.
25482         * malloc/obstack.h: Likewise.
25483         * malloc/set-freeres.c (__libc_freeres): Likewise.
25484         * malloc/tst-mallocstate.c (main): Likewise.
25485         * malloc/tst-mtrace.c (main): Likewise.
25486         * malloc/tst-realloc.c (do_test): Likewise.
25488 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25490         [BZ #16366]
25491         * nscd/netgroupcache.c (do_notfound): New function.
25492         (addgetnetgrentX): Use it.
25494         [BZ # 16365]
25495         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25496         NSS_STATUS_NOTFOUND.
25498 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25500         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25503 2014-01-01  Allan McRae  <allan@archlinux.org>
25505         * scripts/update-copyrights: Update configure input file suffix.
25507         * NEWS: Update copyright year.
25508         * catgets/gencat.c: Likewise.
25509         * csu/version.c: Likewise.
25510         * debug/catchsegv.sh: Likewise.
25511         * debug/pcprofiledump.c: Likewise.
25512         * debug/xtrace.sh: Likewise.
25513         * elf/ldconfig.c: Likewise.
25514         * elf/ldd.bash.in: Likewise.
25515         * elf/pldd.c: Likewise.
25516         * elf/sotruss.ksh: Likewise.
25517         * elf/sprof.c: Likewise.
25518         * iconv/iconv_prog.c: Likewise.
25519         * iconv/iconvconfig.c: Likewise.
25520         * locale/programs/locale.c: Likewise.
25521         * locale/programs/localedef.c: Likewise.
25522         * login/programs/pt_chown.c: Likewise.
25523         * malloc/memusage.sh: Likewise.
25524         * malloc/memusagestat.c: Likewise.
25525         * malloc/mtrace.pl: Likewise.
25526         * manual/libc.texinfo: Likewise.
25527         * nscd/nscd.c: Likewise.
25528         * nss/getent.c: Likewise.
25529         * nss/makedb.c: Likewise.
25530         * posix/getconf.c: Likewise.
25531         * scripts/test-installation.pl: Likewise.
25533         * All files with FSF copyright notices: Update copyright dates
25534         using scripts/update-copyrights.
25535         * intl/plural.c: Regenerated.
25536         * locale/programs/charmap-kw.h: Likewise.
25537         * locale/programs/locfile-kw.h: Likewise.
25539 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25541         * sysdeps/unix/sysv/linux/configure: Regenerated.
25542         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25543         the linux/fanotify.h header.
25544         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25545         HAVE_LINUX_FANOTIFY_H is defined.
25547 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25549         * benchtests/cos-inputs: New inputs.
25550         * benchtests/sin-inputs: Likewise.
25552         * benchtests/atan-inputs: New inputs. Fix name of multiple
25553         precision fallback inputs.
25555         * benchtests/atanh-inputs: New inputs.
25556         * benchtests/tanh-inputs: Likewise.
25558         * benchtests/acosh-inputs: New inputs.
25559         * benchtests/asinh-inputs: Likewise.
25561         * benchtests/cosh-inputs: New inputs.
25562         * benchtests/sinh-inputs: Likewise.
25564         * benchtests/acos-inputs: Add more inputs.
25565         * benchtests/asin-inputs: Likewise.
25567 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25569         [BZ #16375]
25570         * manual/arith.texi: Fix spelling.
25571         * manual/charset.texi: Likewise.
25572         * manual/errno.texi: Likewise.
25573         * manual/filesys.texi: Likewise.
25574         * manual/lang.texi: Likewise.
25575         * manual/llio.texi: Likewise.
25576         * manual/locale.texi: Likewise.
25577         * manual/message.texi: Likewise.
25578         * manual/resource.texi: Likewise.
25579         * manual/search.texi: Likewise.
25580         * manual/setjmp.texi: Likewise.
25581         * manual/stdio.texi: Likewise.
25582         * manual/string.texi: Likewise.
25583         * manual/sysinfo.texi: Likewise.
25584         * manual/time.texi: Likewise.
25586 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25588         * po/sl.po: New file.
25590 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25592         * .gitignore: Add core/.gdbinit/.gdb_history.
25594 2013-12-27  Allan McRae  <allan@archlinux.org>
25596         [BZ #16369]
25597         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25598         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25600 2013-12-24  Brooks Moses  <bmoses@google.com>
25602         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25603         all compilers that claim C++98 compliance, not just GCC.
25604         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25605         Likewise.
25607 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25609         * NEWS: Restore accidentally deleted bug-fix entries.
25611 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25612             Ondřej Bílka  <neleai@seznam.cz>
25614         [BZ #15073]
25615         * malloc/malloc.c (_int_free): Perform sanity check only if we
25616         have_lock.
25618 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25620         [BZ #12986]
25621         * manual/stdio.texi (String Input Conversions): Clarify that character
25622         classes are not supported.
25624 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25628 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25630         [BZ #16337]
25631         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25632         Calculate results for small negative arguments directly rather
25633         than using reflection formula with special underflow handling.
25635         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25636         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25637         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25638         (fchflags): Likewise.
25639         (revoke): Likewise.
25640         (setlogin): Likewise.
25641         (sigaltstack): Likewise.
25642         (wait4): Likewise.
25643         (sigblock): Remove.
25644         (sigsetmask): Likewise.
25645         (wait3): Likewise.
25646         (waitpid): Likewise.
25647         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25648         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25649         file.
25650         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25651         * sysdeps/unix/bsd/Makefile: ... here.
25652         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25653         * sysdeps/unix/bsd/Versions: ... here.
25654         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25655         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25656         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25657         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25658         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25659         * sysdeps/unix/bsd/sigblock.c: ... here.
25660         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25661         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25662         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25663         * sysdeps/unix/bsd/sigvec.c: ... here.
25664         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25665         * sysdeps/unix/bsd/tcdrain.c: ... here.
25666         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25667         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25668         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25669         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25670         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25671         * sysdeps/unix/bsd/wait.c: ... here.
25672         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25673         * sysdeps/unix/bsd/wait3.c: ... here.
25674         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25675         * sysdeps/unix/bsd/waitpid.c: ... here.
25677 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25679         [BZ #16356]
25680         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25681         round-to-nearest for [!USE_AS_EXPM1L].
25682         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25683         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25684         more tests of exp and exp10.  Expect some exp10 tests to miss
25685         exceptions or fail in directed rounding modes.
25686         * math/auto-libm-test-out: Regenerated.
25687         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25688         (exp10_test_tonearest): New function.
25689         (exp10_towardzero_test_data): New array.
25690         (exp10_test_towardzero): New function.
25691         (exp10_downward_test_data): New array.
25692         (exp10_test_downward): New function.
25693         (exp10_upward_test_data): New array.
25694         (exp10_test_upward): New function.
25695         (main): Call the new functions.
25696         * sysdeps/i386/fpu/libm-test-ulps: Update.
25697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25699 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25701         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25702         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25703         * math/auto-libm-test-out: Regenerated.
25704         * math/libm-test.inc (acosh_test_data): Add more tests.
25705         (atanh_test_data): Likewise.
25706         (ceil_test_data): Likewise.
25707         (copysign_test_data): Likewise.
25708         * sysdeps/i386/fpu/libm-test-ulps: Update.
25709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25711         * timezone/checktab.awk: Update from tzcode 2013i.
25712         * timezone/private.h: Likewise.
25713         * timezone/scheck.c: Likewise.
25714         * timezone/tzfile.h: Likewise.
25715         * timezone/tzselect.ksh: Likewise.
25716         * timezone/zdump.c: Likewise.
25717         * timezone/zic.c: Likewise.
25719         * math/auto-libm-test-in: Add tests of cpow.
25720         * math/auto-libm-test-out: Regenerated.
25721         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25722         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25723         mpc_cc_c.
25724         (func_calc_desc): Add mpc_cc_c union field.
25725         (test_functions): Add cpow.
25726         (special_fill_2pi): New function.
25727         (special_real_inputs): Add 2pi.
25728         (calc_generic_results): Handle mpc_cc_c.
25729         * sysdeps/i386/fpu/libm-test-ulps: Update.
25730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25732         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25733         csqrt, ctan and ctanh.
25734         * math/auto-libm-test-out: Regenerated.
25735         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25736         (TEST_COND_x86): Likewise.
25737         (ccos_test_data): Use AUTO_TESTS_c_c.
25738         (ccosh_test_data): Likewise.
25739         (cexp_test_data): Likewise.
25740         (clog_test_data): Likewise.
25741         (csqrt_test_data): Likewise.
25742         (ctan_test_data): Likewise.
25743         (ctan_tonearest_test_data): Likewise.
25744         (ctan_towardzero_test_data): Likewise.
25745         (ctan_downward_test_data): Likewise.
25746         (ctan_upward_test_data): Likewise.
25747         (ctanh_test_data): Likewise.
25748         (ctanh_tonearest_test_data): Likewise.
25749         (ctanh_towardzero_test_data): Likewise.
25750         (ctanh_downward_test_data): Likewise.
25751         (ctanh_upward_test_data): Likewise.
25752         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25753         mpc_c_c.
25754         (func_calc_desc): Add mpc_c_c union field.
25755         (FUNC_mpc_c_c): New macro.
25756         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25757         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25758         ctanh.
25759         (special_fill_min_subnorm_p120): New function.
25760         (special_real_inputs): Add min_subnorm_p120.
25761         (calc_generic_results): Handle mpc_c_c.
25762         * sysdeps/i386/fpu/libm-test-ulps: Update.
25763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25765 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25767         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25768         (do_sin_slow): New functions.
25769         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25770         (cslow2, csloww1, csloww2): Use the new functions.
25772         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25773         Use M to change sign of result instead of X.  Assume X is
25774         positive.
25775         (csloww1): Likewise.
25776         (__sin): Adjust.
25777         (__cos): Adjust.
25779         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25780         arguments A and DA.
25781         (__sin): Adjust.
25782         (__cos): Likewise.
25784         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25785         (__cos): Likewise.
25786         (sloww1): Don't adjust sign of DX.
25787         (csloww1): Likewise.
25788         (sloww2): Use X directly and don't adjust sign of DX.
25789         (csloww2): Likewise.
25791 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25793         * math/auto-libm-test-in: Add tests of cabs and carg.
25794         * math/auto-libm-test-out: Regenerated.
25795         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25796         (carg_test_data): Likewise.
25797         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25798         mpc_c_f.
25799         (func_calc_desc): Add mpc_c_f union field.
25800         (test_functions): Add cabs and carg.
25801         (calc_generic_results): Handle mpc_c_f.
25803         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25804         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25805         as a macro and a compat symbol.
25806         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25807         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25808         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25809         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25810         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25811         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25812         not use .hidden.
25813         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25814         Likewise.
25815         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25816         Likewise.
25817         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25818         Likewise.
25819         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25820         Likewise.
25821         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25822         Likewise.
25823         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25824         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25825         from GLIBC_2.3.2.
25827 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25831 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25833         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25834         trailing whitespace removed.
25835         * scripts/config.guess: Update to version 2013-11-29.
25836         * scripts/config.sub: Update to version 2013-10-01.
25838         * math/auto-libm-test-in: Add tests of sincos.
25839         * math/auto-libm-test-out: Regenerated.
25840         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25841         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25842         mpfr_f_11.
25843         (func_calc_desc): Add mpfr_f_11 union field.
25844         (test_functions): Add sincos.
25845         (calc_generic_results): Handle mpfr_f_11.
25846         * sysdeps/i386/fpu/libm-test-ulps: Update.
25847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25849 2013-12-19  Andreas Schwab  <schwab@suse.de>
25851         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25852         CALL_MCOUNT.
25853         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25854         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25855         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25857 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25859         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25860         * sysdeps/i386/fpu/libm-test-ulps: Update.
25861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25863         [BZ #16293]
25864         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25865         round-to-nearest mode when using frndint.
25866         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25867         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25868         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25869         Likewise.
25870         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25871         sinh test to fail.
25872         * math/auto-libm-test-out: Regenerated.
25873         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25874         (TEST_COND_x86): Likewise.
25875         (expm1_tonearest_test_data): New array.
25876         (expm1_test_tonearest): New function.
25877         (expm1_towardzero_test_data): New array.
25878         (expm1_test_towardzero): New function.
25879         (expm1_downward_test_data): New array.
25880         (expm1_test_downward): New function.
25881         (expm1_upward_test_data): New array.
25882         (expm1_test_upward): New function.
25883         (main): Run the new test functions.
25884         * sysdeps/i386/fpu/libm-test-ulps: Update.
25885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25887         * include/features.h: Update comment documenting feature test
25888         macros.  Mention _DEFAULT_SOURCE in comment.
25889         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25890         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25891         _BSD_SOURCE and _SVID_SOURCE.
25892         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25893         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25894         !_SVID_SOURCE]: Likewise.
25895         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25896         (__USE_POSIX_IMPLICITLY): Define.
25897         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25898         (_POSIX_SOURCE): Undefine and redefine.
25899         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25900         (_POSIX_C_SOURCE): Likewise.
25901         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25902         (Feature Test Macros): Update documentation of default features.
25904 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25906         * benchtests/Makefile: Add bench-strtok.
25907         * benchtests/bench-strtok.c: New file: strtok benchtest.
25909 2013-12-19  Allan McRae  <allan@archlinux.org>
25911         * manual/install.texi: Suppress menu for plain text output.
25912         * INSTALL: Regenerated.
25914 2013-12-18  Brooks Moses  <bmoses@google.com>
25916         [BZ #15846]
25917         * misc/getauxval.c: Include errno.h.
25918         (__getauxval): Set errno to ENOENT if the requested type is not
25919         found.
25920         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25921         don't declare with __attribute_const__.
25922         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25923         * manual/startup.texi: Document that getauxval sets errno.
25925 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25927         * math/auto-libm-test-in: Add tests of jn and yn.
25928         * math/auto-libm-test-out: Regenerated.
25929         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25930         (yn_test_data): Likewise.
25931         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25932         mpfr_if_f.
25933         (func_calc_desc): Add mpfr_if_f union field.
25934         (FUNC_mpfr_if_f): New macro.
25935         (test_functions): Add jn and yn.
25936         (calc_generic_results): Assert type of second input for
25937         mpfr_ff_f.  Handle mpfr_if_f.
25938         (output_for_one_input_case): Disable all checking for arguments
25939         fitting floating-point types in case of an integer argument.
25940         * sysdeps/i386/fpu/libm-test-ulps: Update.
25941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25944         Don't expect fegetround reference in libm.so.
25946 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25948         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25949         $(config-cflags-nofma).
25951 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25953         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25954         * math/auto-libm-test-out: Regenerated.
25956         [BZ #16338]
25957         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25958         to determine exponent and adjust argument to have exponent of -1.
25959         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25960         log2.
25961         * math/auto-libm-test-out: Regenerated.
25962         * sysdeps/i386/fpu/libm-test-ulps: Update.
25963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25965 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25967         * manual/probes.texi: Remove cases when per-thread arenas are
25968         disabled.
25970 2013-12-18  Andreas Schwab  <schwab@suse.de>
25972         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25973         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25974         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25975         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25976         * sysdeps/i386/i686/multiarch/Makefile: Update.
25977         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25979 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25981         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25982         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25984 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25986         [BZ #15968]
25987         Support TZ transition times < 00:00:00.
25988         This is needed for version-3 tz-format files; it supports time
25989         stamps past 2037 for America/Godthab (the only entry in the tz
25990         database for which this change is relevant).
25991         * manual/time.texi (TZ Variable): Document transition times
25992         from -167:59:59 through -00:00:01.
25993         * time/tzset.c (tz_rule): Time of day is now signed.
25994         (__tzset_parse_tz): Parse negative time of day.
25996         Document TZ transition times >= 25:00:00.
25997         * manual/time.texi (TZ Variable): Document transition times from
25998         25:00:00 through 167:59:59.  These are already supported, and this
25999         support will help with version-3 tz-format files.
26001         * manual/time.texi (TZ Variable): Modernize North America example
26002         to reflect current (i.e., 2007-and-later) daylight saving rules.
26004         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26006 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26008         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26009         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26010         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26011         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26012         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26013         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26014         * sysdeps/unix/bsd/clock.c: Likewise.
26015         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26016         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26017         * sysdeps/unix/bsd/init-posix.c: Likewise.
26018         * sysdeps/unix/bsd/poll.c: Likewise.
26019         * sysdeps/unix/bsd/ptsname.c: Likewise.
26020         * sysdeps/unix/bsd/seekdir.c: Likewise.
26021         * sysdeps/unix/bsd/setegid.c: Likewise.
26022         * sysdeps/unix/bsd/seteuid.c: Likewise.
26023         * sysdeps/unix/bsd/setgid.c: Likewise.
26024         * sysdeps/unix/bsd/setrgid.c: Likewise.
26025         * sysdeps/unix/bsd/setruid.c: Likewise.
26026         * sysdeps/unix/bsd/setsid.c: Likewise.
26027         * sysdeps/unix/bsd/setuid.c: Likewise.
26028         * sysdeps/unix/bsd/sigaction.c: Likewise.
26029         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26030         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26031         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26032         * sysdeps/unix/bsd/telldir.c: Likewise.
26033         * sysdeps/unix/bsd/times.c: Likewise.
26034         * sysdeps/unix/bsd/usleep.c: Likewise.
26036         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26037         ($(objpfx)libbsd-compat.a): Remove rule.
26039         * include/features.h (__FAVOR_BSD): Do not define.
26040         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26041         features conflicting with POSIX.
26042         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26043         (_BSD_SOURCE): Remove description of not being a subset of other
26044         feature test macros.
26045         * manual/job.texi (getpgrp): Do not document BSD version.
26046         (getpgid): Do not document by reference to BSD getpgrp.
26047         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26048         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26049         * signal/signal.h [__FAVOR_BSD]: Likewise.
26050         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26051         instead of making contents conditional on [__FAVOR_BSD].
26052         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26054 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26058 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26060         [BZ #16314]
26061         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26062         values below 2**-450, not 2**-500.
26063         * math/auto-libm-test-in: Don't allow spurious underflow from
26064         hypot.
26065         * math/auto-libm-test-out: Regenerated.
26067         [BZ #16316]
26068         [BZ #16330]
26069         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26070         values of ha and hb and sort them after adjusting subnormal
26071         arguments.
26072         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26073         Likewise.
26074         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26075         values of ea and eb and sort them after adjusting subnormal
26076         arguments.
26077         * math/auto-libm-test-in: Do not expect some hypot tests of
26078         subnormals to fail.  Add more hypot tests.
26079         * math/auto-libm-test-out: Regenerated.
26081 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26083         [BZ #13304]
26084         * sysdeps/sh/s_fma.c: New file.
26085         * sysdeps/sh/s_fmaf.c: New file.
26086         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26087         version.
26088         * sysdeps/sh/Implies: Add sh/soft-fp.
26090 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26092         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26093         level of indirection to members `objname', `errstring', `malloced'.
26094         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26095         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26096         it as the __longjmp argument (just pass 1 instead).
26097         (_dl_catch_error): Initialize C with argument pointers and address of
26098         volatile local ERRCODE rather than copying values out of C at return.
26100 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26102         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26103         * math/auto-libm-test-out: Regenerated.
26104         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26105         (hypot_test_data): Likewise.
26106         (pow_test_data): Likewise.
26107         (pow_tonearest_test_data): Likewise.
26108         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26109         mpfr_ff_f.
26110         (func_calc_desc): Add mpfr_ff_f union field.
26111         (FUNC_mpfr_ff_f): New macro.
26112         (test_functions): Add atan2, hypot and pow.
26113         (special_fill_min): New function.
26114         (special_fill_minus_min): Likewise.
26115         (special_fill_min_subnorm): Likewise.
26116         (special_fill_minus_min_subnorm): Likewise.
26117         (special_real_inputs): Add min, -min, min_subnorm and
26118         -min_subnorm.
26119         (calc_generic_results): Handle mpfr_ff_f.
26120         * sysdeps/i386/fpu/libm-test-ulps: Update.
26121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26123 2013-12-16  Will Newton  <will.newton@linaro.org>
26125         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26126         (Aligned Memory Blocks): Add documentation for aligned_alloc
26127         and suggest it as an alternative to posix_memalign.
26128         (Hooks for Malloc): Document __memalign_hook is also called
26129         for aligned_alloc.  (Summary of Malloc): Add summary for
26130         aligned alloc.  Document __memalign_hook is also called
26131         for aligned_alloc.
26133 2013-12-16  Will Newton  <will.newton@linaro.org>
26135         * manual/memory.texi (Malloc Examples): Clarify default
26136         alignment documentation.  Suggest posix_memalign rather
26137         than memalign or valloc.
26138         (Aligned Memory Blocks): Remove suggestion to use memalign
26139         or valloc.  Remove obsolete comment about BSD.
26140         Document memalign errno values and mark the function obsolete.
26141         Document posix_memalign returned error codes.  Mark valloc
26142         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26143         called for posix_memalign and valloc.
26144         (Summary of Malloc): Add posix_memalign to function summary.
26145         __memalign_hook is also called for posix_memalign and valloc.
26147 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26149         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26150         TAYLOR_SIN.
26151         (__sin): Adjust.
26152         (__cos): Likewise.
26153         (sloww): Use mynumber union.  Expand ternary operator into
26154         if-else statements.
26155         (cslow): use mynumber union.
26157 2013-12-16  Allan McRae  <allan@archlinux.org>
26159         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26160         * configure: Regenerated.
26162         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26164         [BZ #14120]
26165         * configure.ac: Added --enable-maintainer-mode. Check for
26166         autoconf when enabled.
26167         * configure: Regenerated.
26169         * nscd/nscd.service: New file.
26170         * nscd/nscd.tmpfiles: New file.
26172 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26174         [BZ #12100]
26175         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26176         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26177         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26178         (strstr): Add __strstr_sse2_unaligned ifunc.
26179         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26180         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26181         (strcasestr): Remove __strcasestr_sse42 ifunc.
26182         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26186 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26188         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26189         * sysdeps/sh/bits/fenv.h: ... here.
26190         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26192 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26194         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26196         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26197         hypotf multiarch implementations.
26198         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26199         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26200         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26201         multiarch hypot for PPC64.
26202         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26203         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26204         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26205         multiarch hypotf for PPC64.
26207         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26208         modff multiarch implementations.
26209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26212         multiarch modf for PPC64.
26213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26216         multiarch modff for PPC64.
26218         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26219         and logl multiarch implementations.
26220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26223         multiarch logb for PPC64.
26224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26227         multiarch logb for PPC64.
26228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26231         multiarch logb for PPC64.
26233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26234         isinff multiarch implementation.
26235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26236         file.
26237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26239         multiarch isinf for PPC64.
26240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26241         file.
26242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26243         multiarch isinff for PPC64.
26245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26246         finitef multiarch implementation.
26247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26248         file.
26249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26251         multiarch finite for PPC64.
26252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26253         file.
26254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26255         multiarch finitef for PPC64.
26257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26258         lrint multiarch implementation.
26259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26260         file.
26261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26263         multiarch llrint for PPC64.
26264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26265         multiarch lrint for PPC64.
26267         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26268         copysignf multiarch implementation.
26269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26270         file.
26271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26272         file.
26273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26274         multiarch copysign for PPC64.
26275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26276         multiarch copysignf for PPC64.
26278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26279         multiarch implementation.
26280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26281         file.
26282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26283         file.
26284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26285         file.
26286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26287         file.
26288         multiarch llround for PPC64.
26289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26290         multiarch trunc for PPC64.
26291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26292         multiarch truncf for PPC64.
26294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26295         multiarch implementation.
26296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26297         file.
26298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26299         file.
26300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26301         file.
26302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26303         file.
26304         multiarch llround for PPC64.
26305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26306         multiarch round for PPC64.
26307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26308         multiarch roundf for PPC64.
26310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26311         multiarch implementation.
26312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26313         file.
26314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26315         file.
26316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26317         file.
26318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26319         file.
26320         multiarch llround for PPC64.
26321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26322         multiarch floor for PPC64.
26323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26324         multiarch floorf for PPC64.
26326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26327         multiarch implementation.
26328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26329         file.
26330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26331         file.
26332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26333         file.
26334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26335         file.
26336         multiarch llround for PPC64.
26337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26338         multiarch ceil for PPC64.
26339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26340         multiarch ceilf for PPC64.
26342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26343         multiarch implementation.
26344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26345         file.
26346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26347         file.
26348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26349         file.
26350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26351         multiarch llround for PPC64.
26352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26353         multiarch lround for PPC64.
26355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26356         multiarch implementation.
26357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26360         file.
26361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26364         multiarch isnan for PPC64.
26365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26366         multiarch isnanf for PPC64.
26368         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26369         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26370         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26371         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26372         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26375         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26376         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26377         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26378         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26381         multiarch implementations.
26382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26383         (__libc_ifunc_impl_list): Likewise.
26384         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26385         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26386         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26387         multiarch stpcpy for PPC64.
26389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26390         multiarch implementations.
26391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26392         (__libc_ifunc_impl_list): Likewise.
26393         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26394         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26395         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26396         multiarch strcpy for PPC64.
26398         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26399         redefine function name.
26400         (_wordcopy_fwd_dest_aligned): Likewise.
26401         (_wordcopy_bwd_aligned): Likewise.
26402         (_wordcopy_bwd_dest_aligned): Likewise.
26403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26404         multiarch implementations.
26405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26406         (__libc_ifunc_impl_list): Likewise.
26407         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26408         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26409         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26410         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26411         multiarch wcscpy for PPC64.
26413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26414         multiarch implementations.
26415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26416         (__libc_ifunc_impl_list): Likewise.
26417         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26418         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26419         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26420         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26421         multiarch wcscpy for PPC64.
26423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26424         multiarch implementations.
26425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26426         (__libc_ifunc_impl_list): Likewise.
26427         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26428         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26429         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26430         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26431         multiarch wcsrchr for PPC64.
26433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26434         multiarch implementations.
26435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26436         (__libc_ifunc_impl_list): Likewise.
26437         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26438         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26439         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26440         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26441         multiarch wcschr for PPC64.
26443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26444         multiarch implementations.
26445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26446         (__libc_ifunc_impl_list): Likewise.
26447         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26448         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26449         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26450         multiarch strchrnul for PPC64.
26452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26453         implementations.
26454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26455         (__libc_ifunc_impl_list): Likewise.
26456         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26457         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26458         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26459         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26460         strchr for PPC64.
26462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26463         implementations.
26464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26465         (__libc_ifunc_impl_list): Likewise.
26466         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26467         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26468         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26469         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26470         strncmp for PPC64.
26472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26473         multiarch implementations.
26474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26475         (__libc_ifunc_impl_list): Likewise.
26476         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26477         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26478         strncasecmp for PPC64.
26479         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26480         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26481         multiarch strncasecmp_l for PPC64.
26483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26484         multiarch implementations.
26485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26486         (__libc_ifunc_impl_list): Likewise.
26487         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26488         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26489         multiarch strcasecmp for PPC64.
26490         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26491         file.
26492         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26493         multiarch strcasecmp_l for PPC64.
26495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26496         implementations.
26497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26498         (__libc_ifunc_impl_list): Likewise.
26499         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26500         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26501         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26502         strnlen for PPC64.
26504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26505         implementations.
26506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26507         (__libc_ifunc_impl_list): Likewise.
26508         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26509         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26510         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26511         strlen for PPC64.
26513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26514         implementations.
26515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26516         (__libc_ifunc_impl_list): Likewise.
26517         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26518         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26519         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26520         rawmemrchr for PPC64.
26522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26523         implementation.
26524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26525         (__libc_ifunc_impl_list): Likewise.
26526         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26527         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26528         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26529         memrchr for PPC64.
26531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26532         implementation.
26533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26534         (__libc_ifunc_impl_list): Likewise.
26535         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26536         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26537         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26538         memchr for PPC64.
26540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26541         implementation.
26542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26543         (__libc_ifunc_impl_list): Likewise.
26544         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26545         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26546         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26547         mempcpy for PPC64.
26549         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26550         avoid cretion of __bzero symbol.
26551         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26552         Likewise.
26553         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26554         Likewise.
26555         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26556         Likewise.
26557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26558         multiarch implementations.
26559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26560         (__libc_ifunc_impl_list): Likewise.
26561         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26562         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26563         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26564         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26565         bzero for PPC32.
26566         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26567         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26568         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26569         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26570         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26571         memset for PPC64.
26572         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26574         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26576         implementations.
26577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26578         (__libc_ifunc_impl_list): Likewise.
26579         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26580         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26581         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26582         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26583         memcmp for PPC64.
26585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26586         multiarch for POWER/PPC64.
26587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26588         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26589         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26590         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26591         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26592         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26593         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26594         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26595         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26596         memcpy for PPC64.
26598         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26599         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26600         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26601         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26602         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26603         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26604         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26605         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26606         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26607         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26608         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26609         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26610         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26611         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26612         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26621 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26623         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26625 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26627         * benchtests/Makefile (bench): Add exp2 and log2.
26628         (LDLIBS-bench-exp2): Add -lm.
26629         (LDLIBS-bench-log2): Likewise.
26630         * benchtests/exp2-inputs: New inputs file.
26631         * benchtests/log2-inputs: New inputs file.
26632         * benchtests/log-inputs: Add new inputs.
26633         * benchtests/tan-inputs: Likewise.
26635 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26637         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26638         definition...
26639         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26640         (csloww2): ... from here.
26642         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26643         instead of structures.
26644         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26645         (POLYNOMIAL): Likewise.
26646         (TAYLOR_SLOW): Likewise.
26647         (__sin): Likewise.
26648         (__cos): Likewise.
26649         (slow1): Likewise.
26650         (slow2): Likewise.
26651         (sloww): Likewise.
26652         (sloww1); Likewise.
26653         (sloww2): Likewise.
26654         (bsloww1): Likewise.
26655         (bsloww2): Likewise.
26656         (cslow2): Likewise.
26657         (csloww): Likewise.
26658         (csloww1): Likewise.
26659         (csloww2): Likewise.
26661 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26663         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26664         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26665         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26666         * malloc/hooks.c (realloc_check): Likewise.
26668         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26669         * malloc/arena.c: Remove PER_THREAD conditional.
26670         [!PER_THREAD]: Remove code.
26671         (ptmalloc_unlock_all2): Likewise.
26672         (ptmalloc_init): Likewise.
26673         (_int_new_arena): Likewise.
26674         (arena_get2): Likewise.
26675         * malloc/hooks.c (__malloc_get_state): Likewise.
26676         (__malloc_set_state): Likewise.
26677         * malloc/malloc.c: Likewise.
26678         (struct malloc_state): Likewise.
26679         (struct malloc_par): Likewise.
26680         (__libc_realloc): Likewise.
26681         (__libc_mallopt): Likewise.
26683 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26685         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26687 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26689         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26690         macro to a function.  Check for zero perturb_byte.
26691         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26693         * malloc/malloc.c: (force_reg): Remove.
26694         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26695         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26696         force_reg by atomic_forced_read.
26697         * malloc/arena.c (ptmalloc_init): Likewise.
26698         * malloc/hooks.c (top_check): Likewise.
26700 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26704 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26708 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26710         * math/auto-libm-test-in: Add tests of lgamma.
26711         * math/auto-libm-test-out: Regenerated.
26712         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26713         (M_LOG_2_SQRT_PIl): Likewise.
26714         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26715         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26716         mpfr_f_f1.
26717         (func_calc_desc): Add mpfr_f_f1 union field.
26718         (ARGS1): New macro.
26719         (ARGS2): Likewise.
26720         (ARGS3): Likewise.
26721         (ARGS4): Likewise.
26722         (RET1): Likewise.
26723         (RET2): Likewise.
26724         (CALC): Likewise.
26725         (FUNC): Likewise.
26726         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26727         (test_functions): Add lgamma.
26728         (calc_generic_results): Handle mpfr_f_f1.
26729         * sysdeps/i386/fpu/libm-test-ulps: Update.
26730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26732 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26734         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26735         __mpn_add_n for PowerPC64/POWER7.
26736         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26737         __mpn_sub_n for PowerPC64/POWER7.
26739         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26740         __mpn_addmul_1 for PowerPC64.
26741         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26742         __mpn_submul_1 for PowerPC64.
26743         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26744         for PowerPC64.
26745         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26746         for PowerPC64.
26748 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26750         [BZ #15089]
26751         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26753 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26755         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26757         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26758         add multiarch folders.
26759         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26760         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26761         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26762         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26763         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26764         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26765         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26766         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26767         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26768         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26769         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26778         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26780         New file.
26781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26782         New file.
26783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26784         multiarch __ieee754_hypot for PowerPC32.
26785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26786         New file.
26787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26788         New file.
26789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26790         multiarch __ieee754_hypotf for PowerPC32.
26792         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26793         long_double_symbol only if __logbl is defined.
26794         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26795         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26796         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26797         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26798         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26799         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26800         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26801         path for implementation.
26802         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26803         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26805         logb, and logbl multiarch implementations for PowerPC32.
26806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26807         file.
26808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26809         file.
26810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26811         multiarch logb for PowerPC32.
26812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26813         file.
26814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26815         file.
26816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26817         multiarch logbf for PowerPC32.
26818         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26820         file.
26821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26822         multiarch logbl implementation for PowerPC32.
26824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26825         and modff multiarch implementations.
26826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26827         New file.
26828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26829         New file.
26830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26831         multiarch modf for PowerPC32.
26832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26833         New file.
26834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26835         New file.
26836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26837         multiarch modff for PowerPC32.
26839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26840         and lrintf multiarch implementations.
26841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26842         New file.
26843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26844         New file.
26845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26846         multiarch lrint for PowerPC32.
26847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26848         file: multiarch lrintf for PowerPC32.
26850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26851         and lroundf multiarch implementations.
26852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26853         New file.
26854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26855         New file.
26856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26857         New file.
26858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26859         multiarch lround for PowerPC32.
26860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26861         file: multiarch lroundf for PowerPC32.
26863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26864         copysign and copysignf multiarch implementations.
26865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26866         New file.
26867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26868         New file.
26869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26870         file: multiarch copysign for PowerPC32.
26871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26872         file: multiarch copysignf for PowerPC32.
26874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26875         and truncf multiarch implementations.
26876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26877         New file.
26878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26879         file.
26880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26881         multiarch trunc for PowerPC32.
26882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26883         New file.
26884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26885         New file.
26886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26887         multiarch truncf for PowerPC32.
26889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26890         and roundf multiarch implementations.
26891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26892         New file.
26893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26894         file.
26895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26896         multiarch round for PowerPC32.
26897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26898         New file.
26899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26900         New file.
26901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26902         multiarch roundf for PowerPC32.
26904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26905         and floorf multiarch implementations.
26906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26907         New file.
26908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26909         file.
26910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26911         multiarch floor for PowerPC32.
26912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26913         New file.
26914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26915         New file.
26916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26917         multiarch floorf for PowerPC32.
26919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26920         and ceilf multiarch implementations.
26921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26922         New file.
26923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26924         file.
26925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26926         multiarch ceil for PowerPC32.
26927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26928         New file.
26929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26930         file.
26931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26932         multiarch ceilf for PowerPC32.
26934         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26935         is defined.
26936         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26937         FINITEF is defined.
26938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26939         and finitef multiarch implementations.
26940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26941         New file.
26942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26943         file.
26944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26945         multiarch finite for PowerPC32.
26946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26947         New file.
26948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26949         file: multiarch finitef for PowerPC32.
26951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26952         and isinff multiarch implementations.
26953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26954         file.
26955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26956         file.
26957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26958         multiarch isinf for PowerPC32.
26959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26960         New file.
26961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26962         multiarch isinff for PowerPC32.
26964         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26965         alias when __isnan is defined.
26966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26967         and isnanf multiarch implementations.
26968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26969         file.
26970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26971         file.
26972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26973         file.
26974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26975         file.
26976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26977         multiarch isnan for PowerPC32.
26978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26979         New file.
26980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26981         New file.
26982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26983         multiarch isnanf for PowerPC32.
26985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26986         and sqrtf multiarch implementations.
26987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26988         file.
26989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26990         file.
26991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26992         multiarch sqrt for PowerPC32.
26993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26994         file.
26995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26996         file.
26997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26998         multiarch sqrtf for PowerPC32.
27000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27001         and llroundf multiarch implementations.
27002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27003         New file.
27004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27005         New file.
27006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27007         New file.
27008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27009         file: multiarch llround for PowerPC32.
27010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27011         file: multiarch llroundf for PowerPC32.
27013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27014         multiarch PowerPC32 fpu implementations.
27015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27016         New file.
27017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27018         New file.
27019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27020         multiarch llrint for PowerPC32.
27021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27022         New file.
27023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27024         New file.
27025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27026         file.
27028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27030         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27031         file.
27032         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27033         file.
27034         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27035         file.
27036         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27037         multiarch wordcopy for PPC32.
27038         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27039         wordcopy objects.
27040         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27041         (__libc_ifunc_impl_list): Likewise.
27042         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27043         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27044         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27045         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27046         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27047         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27049         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27051         file.
27052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27053         file.
27054         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27055         file.
27056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27057         multiarch wcscpy for PPC32.
27058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27059         multiarch objects.
27060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27061         (__libc_ifunc_impl_list): Likewise.
27062         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27063         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27064         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27065         sysdeps/powerpc/power6/wcscpy.c.
27067         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27069         file.
27070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27071         file.
27072         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27073         file.
27074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27075         multiarch wcsrchr for PPC32.
27076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27077         multiarch objects.
27078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27079         (__libc_ifunc_impl_list): Likewise.
27080         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27081         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27082         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27083         sysdeps/powerpc/power6/wcsrchr.c.
27085         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27086         file.
27087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27088         file.
27089         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27091         multiarch wcschr for PPc32.
27092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27093         multiarch objects.
27094         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27095         (__libc_ifunc_impl_list): Likewise.
27096         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27097         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27098         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27099         sysdeps/powerpc/power6/wcschr.c.
27101         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27102         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27103         file.
27104         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27105         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27106         file: multiarch strchr for PPC32.
27107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27108         multiarch objects.
27109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27110         (__libc_ifunc_impl_list): Likewise.
27112         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27113         name.
27114         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27115         file.
27116         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27117         file.
27118         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27119         multiarch strchrnul for PPC32.
27120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27121         multiarch objects.
27122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27123         (__libc_ifunc_impl_list): Likewise.
27125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27126         file.
27127         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27128         multiarch strncasecmp for PPC32.
27129         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27130         file.
27131         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27132         multiarch strncasecmp_l for PPC32.
27133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27134         strncasecmp multiarch objects.
27135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27136         (__libc_ifunc_impl_list): Likewise.
27138         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27139         file.
27140         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27141         multiarch strncasecmp for PPC32.
27142         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27143         New file.
27144         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27145         multiarch strcasecmp_l for PPC32.
27146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27147         multiarch objects.
27148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27149         (__libc_ifunc_impl_list): Likewise.
27151         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27152         file.
27153         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27154         file.
27155         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27156         multiarch strncmp for PPC32.
27157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27158         multiarch objects.
27159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27160         (__libc_ifunc_impl_list): Likewise.
27162         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27163         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27164         file.
27165         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27166         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27168         multiarch objects.
27169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27170         (__libc_ifunc_impl_list): Likewise.
27172         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27173         file.
27174         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27175         file.
27176         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27178         multiarch objects.
27179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27180         (__libc_ifunc_impl_list): Likewise.
27182         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27183         file.
27184         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27185         file.
27186         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27187         multiarch rawmemchr for PPC32.
27188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27189         multiarch objects.
27190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27191         (__libc_ifunc_impl_list): Likewise.
27193         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27194         file.
27195         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27196         file.
27197         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27198         file: memrchr multiarch for PPC32.
27199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27200         multiarch objects.
27201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27202         (__libc_ifunc_impl_list): Likewise.
27204         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27205         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27206         file.
27207         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27208         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27209         multiarch memchr for PPC32.
27210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27211         multiarch objects.
27212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27213         (__libc_ifunc_impl_list): Likewise.
27215         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27216         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27217         file.
27218         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27219         file.
27220         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27221         file: multiarch mempcpy for PPC32.
27222         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27223         multiarch objects.
27224         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27225         (__libc_ifunc_impl_list): Likewise.
27227         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27228         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27229         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27230         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27231         multiarch bzero for PPC32.
27232         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27233         file.
27234         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27235         file.
27236         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27237         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27238         file: multiarch memset for PPC32.
27239         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27241         memset multiarch objects.
27242         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27243         (__libc_ifunc_impl_list): Likewise.
27245         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27246         file.
27247         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27248         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27249         memcmp for PPC32.
27250         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27252         multiarch objects.
27253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27254         (__libc_ifunc_impl_list): Likewise.
27256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27257         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27258         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27259         file.
27260         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27261         file.
27262         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27263         file.
27264         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27265         multiarch memcpy for PPC32.
27266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27267         multiarch objects.
27268         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27269         (__libc_ifunc_impl_list): Likewise.
27271         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27272         support multiarch for POWER/PPC32.
27273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27274         Likewise.
27275         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27277         Implies file to make multiarch folder appers before the fpu and
27278         default folder for power4 configuration.
27280 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27282         * scripts/bench.pl: Append volatile keyword to type.
27284 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27286         * sysdeps/sh/sotruss-lib.c: New file.
27287         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27289 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27293 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27295         [BZ #6810]
27296         * math/w_tgamma.c: Include <errno.h>.
27297         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27298         * math/w_tgammaf.c: Include <errno.h>.
27299         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27300         * math/w_tgammal.c: Include <errno.h>.
27301         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27302         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27303         underflow.  Add more tgamma tests.
27304         * math/auto-libm-test-out: Regenerated.
27305         * sysdeps/i386/fpu/libm-test-ulps: Update.
27306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27308         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27309         sin, sinh, tan, tanh, tgamma, y0 and y1.
27310         * math/auto-libm-test-out: Regenerated.
27311         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27312         (TEST_COND_x86): Likewise.
27313         (M_E2l): Remove macro.
27314         (M_E3l): Likewise.
27315         (M_2_SQRT_PIl): Likewise.
27316         (M_SQRT_PIl): Likewise.
27317         (M_1_DIV_El): Likewise.
27318         (log_test_data): Use AUTO_TESTS_f_f.
27319         (log10_test_data): Likewise.
27320         (log1p_test_data): Likewise.
27321         (log2_test_data): Likewise.
27322         (sin_test_data): Likewise.
27323         (sin_tonearest_test_data): Likewise.
27324         (sin_towardzero_test_data): Likewise.
27325         (sin_downward_test_data): Likewise.
27326         (sin_upward_test_data): Likewise.
27327         (sinh_test_data): Likewise.
27328         (sinh_tonearest_test_data): Likewise.
27329         (sinh_towardzero_test_data): Likewise.
27330         (sinh_downward_test_data): Likewise.
27331         (sinh_upward_test_data): Likewise.
27332         (tan_test_data): Likewise.
27333         (tan_tonearest_test_data): Likewise.
27334         (tan_towardzero_test_data): Likewise.
27335         (tan_downward_test_data): Likewise.
27336         (tan_upward_test_data): Likewise.
27337         (tanh_test_data): Likewise.
27338         (tgamma_test_data): Likewise.
27339         (y0_test_data): Likewise.
27340         (y1_test_data): Likewise.
27341         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27342         (special_real_inputs): Add pi/4.
27343         * sysdeps/i386/fpu/libm-test-ulps: Update.
27344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27346 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27348         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27349         "longjmp_target" static probes.
27350         (__longjmp): Rename to __longjmp_symbol.
27351         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27352         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27353         on which longjmp to generate.
27354         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27355         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27356         probe.
27357         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27358         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27359         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27360         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27361         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27362         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27364         __longjmp_symbol based on which __longjmp to generate.
27365         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27366         probe.
27367         (setjmp): Rename to setjmp_symbol.
27368         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27369         (_setjmp): Rename to _setjmp_symbol.
27370         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27371         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27372         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27373         which setjmp to generate.
27374         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27375         "longjmp_target" static probes.
27377 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27379         * benchtests/README: Add note about output arguments.
27380         * benchtests/bench-sincos.c: Remove file.
27381         * benchtests/sincos-inputs: New file.
27382         * scripts/bench.pl: Identify output arguments and define
27383         static variables for them.
27385         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27387         [BZ #15941]
27388         * Makefile (INSTALL): Add install-plain.texi as the primary
27389         dependency.
27390         * manual/install-plain.texi: New file.
27391         * manual/install.texi: Include node directive only for
27392         non-plaintext output.
27394 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27396         * stdlib/longlong.h: Update from GCC.
27398         [BZ #6807]
27399         [BZ #15901]
27400         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27401         * math/w_j0f.c (y0f): Likewise.
27402         * math/w_j0l.c (__y0l): Likewise.
27403         * math/w_j1.c (y1): Likewise.
27404         * math/w_j1f.c (y1f): Likewise.
27405         * math/w_j1l.c (__y1l): Likewise
27406         * math/w_jn.c (yn): Likewise.
27407         * math/w_jnf.c (ynf): Likewise.
27408         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27409         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27410         value for Bessel function domain errors outside _SVID_ mode.
27411         Adjust sign of return value for yn (negative integer, 0).
27412         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27413         by zero in return for negative x and set sign appropriately for
27414         negative n.
27415         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27416         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27417         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27418         expectations in error cases.
27419         (y1_test_data): Likewise.
27420         (yn_test_data): Likewise.
27421         * sysdeps/i386/fpu/libm-test-ulps: Update.
27422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27424 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27426         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27427         "64" to "64-v1".  Add "64-v2".
27428         (abi-64-options): Rename to ...
27429         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27430         (abi-64-condition): Rename to ...
27431         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27432         (abi-64-ld-soname): Rename to ...
27433         (abi-64-v1-ld-soname): ... this.
27434         (abi-64-v2-options): Define.
27435         (abi-64-v2-condition): Likewise.
27436         (abi-64-v2-ld-soname): Likewise.
27437         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27438         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27443 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27444             Alan Modra  <amodra@gmail.com>
27446         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27447         New versions for use with the ELFv2 ABI.
27448         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27449         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27450         declaration.
27451         (struct La_ppc64v2_retval): Likewise.
27452         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27453         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27454         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27455         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27456         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27457         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27458         Do not save or restore CR.
27459         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27460         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27461         return values for ELFv2 ABI.  Fix location of FPR return registers.
27462         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27463         updated values for _CALL_ELF == 2.
27464         (La_regs, La_retval, int_retval): Likewise.
27466 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27468         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27469         (FRAME_MIN_SIZE_PARM): Likewise.
27470         (FRAME_BACKCHAIN): Likewise.
27471         (FRAME_CR_SAVE): Likewise.
27472         (FRAME_LR_SAVE): Likewise.
27473         (FRAME_TOC_SAVE): Likewise.
27474         (FRAME_PARM_SAVE): Likewise.
27475         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27476         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27477         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27478         (call_mcount_parm_offset): New macro.
27479         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27480         (PROF): Use symbolic stack frame offsets.
27481         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27482         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27483         Redefine in terms of FRAME_MIN_SIZE.
27484         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27485         (_dl_profile_resolve): Likewise.  Update comment.
27486         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27487         symbols stack frame offsets.
27488         (__sigsetjmp): Likewise.
27489         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27490         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27491         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27492         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27495         (FRAME_BACKCHAIN): Remove.
27496         (FRAME_CR_SAVE): Likewise.
27497         (FRAME_LR_SAVE): Likewise.
27498         (FRAME_COMPILER_DW): Likewise.
27499         (FRAME_LINKER_DW): Likewise.
27500         (FRAME_TOC_SAVE): Likewise.
27501         (FRAME_PARM_SAVE): Likewise.
27502         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27503         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27504         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27506         (CHECK_SP): Use symbolic stack frame offsets.
27507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27508         zone" instead of caller's parameter save area for temp storage.
27509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27510         Likewise.  Also, use symbolic stack frame offsets.
27511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27512         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27513         our own stack frame instead of the caller's.
27514         (__socket): Use symbolic stack frame offsets.
27516 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27517             Alan Modra  <amodra@gmail.com>
27519         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27520         Define.
27521         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27522         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27523         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27524         New function.
27525         (elf_machine_fixup_plt): Call it.
27526         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27527         reloc arguments.
27528         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27529         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27530         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27531         r2 before calling target.
27533 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27534             Alan Modra  <amodra@gmail.com>
27536         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27537         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27538         versions of macros to support ELFv2 ABI.
27539         (LOCALENTRY): New macro.
27540         (ENTRY, EALIGN): Use it.
27541         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27542         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27543         fall through into ENTRY entry point.
27544         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27545         Only define if _CALL_ELF != 2.
27547         (elf_machine_matches_host): Verify ABI version matches.
27548         (RTLD_START): Use LOCALENTRY.
27549         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27550         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27551         (PLT_ENTRY_WORDS): New macro.
27552         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27553         (elf_machine_runtime_setup): Support ELFv2 ABI.
27554         (elf_machine_fixup_plt): Likewise.
27555         (elf_machine_plt_conflict): Likewise.
27556         (resolve_ifunc): Likewise.
27557         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27558         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27559         Likewise.
27560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27561         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27563         (makecontext): Support ELFv2 ABI.
27564         * elf/elf.h (EF_PPC64_ABI): Define.
27566 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27568         * sysdeps/powerpc/powerpc64/sysdep.h
27569         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27570         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27571         (ENTRY) [ASSEMBLER]: ... but instead here ...
27572         (EALIGN) [ASSEMBLER]: ... and here.
27573         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27574         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27575         (ENTRY_2) [!ASSEMBLER]: Use it.
27576         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27577         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27578         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27579         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27580         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27582         Use PPC64_LOAD_FUNCPTR.
27584         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27586 2013-12-04  Alan Modra  <amodra@gmail.com>
27588         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27589         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27590         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27591         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27593         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27594         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27595         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27596         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27597         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27598         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27600 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27603         (__makecontext): Fix incorrect CFI when backtracing out of
27604         context created via makecontext.
27605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27606         (__setcontext): Fix incorrect CFI during switch to new context.
27607         (__novec_setcontext): Likewise.
27609 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27611         [BZ #4772]
27612         * time/strptime_l.c (__strptime_internal): Allow modifiers
27613         in strptime.
27614         * time/tst-strptime.c (day_tests): Add testcase.
27616 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27618         * scripts/bench.pl: Skip over blank lines.
27620 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27622         [BZ #926]
27623         * manual/time.texi (Calendar Time): Clarify what timezone functions
27624         use.
27626 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27630 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27632         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27633         implementation.
27634         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27635         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27636         * debug/memset_chk.c (__memset_chk): Likewise.
27637         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27638         * debug/strncpy_chk.c: Likewise.
27640 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27642         [BZ #15268]
27643         [BZ #15425]
27644         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27645         (__ieee754_exp): For possibly underflowing results, check size of
27646         result and force underflow exception if required.
27647         * math/auto-libm-test-in: Add more tests of exp.
27648         * math/auto-libm-test-out: Regenerated.
27649         * sysdeps/i386/fpu/libm-test-ulps: Update.
27650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27652         [BZ #16283]
27653         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27654         * math/w_exp2f.c (__exp2f): Likewise.
27655         * math/w_exp2l.c (__exp2l): Likewise.
27656         * math/auto-libm-test-in: Do not allow missing errno on exp2
27657         underflow.
27658         * math/auto-libm-test-out: Regenerated.
27660 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27662         [BZ #16274]
27663         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27664         handle filename validation.
27665         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27666         (do_open): Delete.
27668 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27670         [BZ #6786]
27671         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27672         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27673         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27674         <float.h>.
27675         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27676         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27677         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27679         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27680         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27681         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27682         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27683         Add more erfc tests.
27684         * math/auto-libm-test-out: Regenerated.
27685         * sysdeps/i386/fpu/libm-test-ulps: Update.
27686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27688         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27689         exp2, expm1, j0 and j1.
27690         * math/auto-libm-test-out: Regenerated.
27691         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27692         (erfc_test_data): Likewise.
27693         (exp_test_data): Likewise.
27694         (exp_tonearest_test_data): Likewise.
27695         (exp_towardzero_test_data): Likewise.
27696         (exp_downward_test_data): Likewise.
27697         (exp_upward_test_data): Likewise.
27698         (exp10_test_data): Likewise.
27699         (exp2_test_data): Likewise.
27700         (expm1_test_data): Likewise.
27701         (j0_test_data): Likewise.
27702         (j1_test_data): Likewise.
27703         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27704         (input_flag_type): Add flag_xfail_rounding.
27705         (input_flags): Add xfail-rounding.
27706         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27707         (output_for_one_input_case): Handle flag_xfail_rounding.
27708         * sysdeps/i386/fpu/libm-test-ulps: Update.
27709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27711 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27713         [BZ #16289]
27714         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27715         division by 0.
27717 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27719         [BZ #16195]
27720         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27721         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27722         (STAP_PROBE0): New macro.
27723         (STAP_PROBE1): Likewise.
27724         (STAP_PROBE2): Likewise.
27725         (STAP_PROBE3): Likewise.
27726         (STAP_PROBE4): Likewise.
27728 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27730         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27732 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27734         * benchtests/Makefile (bench): Add sqrt.
27735         (LDLIBS-bench-sqrt): New.
27736         * benchtests/sqrt-input: New.
27738 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27740         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27741         (GAIH_EAI): Likewise.
27742         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27743         (gaih_inet): Likewise.
27744         (getaddrinfo): Don't use GAIH_EAI.
27746         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27747         (struct gaih): Remove definition.
27749 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27751         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27752         Use HERRNOP directly.
27754 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27758 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27760         * math/gen-auto-libm-tests.c (test_functions): Add more
27761         single-argument functions.
27762         (special_fill_pi_2): New function.
27763         (special_fill_minus_pi_2): Likewise.
27764         (special_fill_pi_6): Likewise.
27765         (special_fill_minus_pi_6): Likewise.
27766         (special_fill_pi_3): Likewise.
27767         (special_fill_2pi_3): Likewise.
27768         (special_fill_e): Likewise.
27769         (special_fill_1_e): Likewise.
27770         (special_fill_e_minus_1): Likewise.
27771         (special_real_inputs): Add more special inputs.
27772         (output_for_one_input_case): Do not require ERANGE on underflow to
27773         zero if round-to-nearest result does not underflow to zero, unless
27774         exact results required.
27775         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27776         atan, atanh, cbrt, cos and cosh.
27777         * math/auto-libm-test-out: Regenerated.
27778         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27779         (acos_tonearest_test_data): Likewise.
27780         (acos_towardzero_test_data): Likewise.
27781         (acos_downward_test_data): Likewise.
27782         (acos_upward_test_data): Likewise.
27783         (acosh_test_data): Likewise.
27784         (asin_test_data): Likewise.
27785         (asin_tonearest_test_data): Likewise.
27786         (asin_towardzero_test_data): Likewise.
27787         (asin_upward_test_data): Likewise.
27788         (asinh_test_data): Likewise.
27789         (atan_test_data): Likewise.
27790         (atanh_test_data): Likewise.
27791         (cbrt_test_data): Likewise.
27792         (cos_test_data): Likewise.
27793         (cos_tonearest_test_data): Likewise.
27794         (cos_towardzero_test_data): Likewise.
27795         (cos_downward_test_data): Likewise.
27796         (cos_upward_test_data): Likewise.
27797         (cosh_test_data): Likewise.
27798         (cosh_tonearest_test_data): Likewise.
27799         (cosh_towardzero_test_data): Likewise.
27800         (cosh_downward_test_data): Likewise.
27801         (cosh_upward_test_data): Likewise.
27802         * sysdeps/i386/fpu/libm-test-ulps: Update.
27803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27805 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27807         [BZ #6787]
27808         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27809         * math/w_exp10f.c (__exp10f): Likewise.
27810         * math/w_exp10l.c (__exp10l): Likewise.
27811         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27812         errno settings in existing tests.
27814         [BZ #14032]
27815         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27816         precision control set to double precision.
27817         * sysdeps/i386/fpu/w_sqrt.c: New file.
27818         * math/auto-libm-test-in: Add more tests.
27819         * math/auto-libm-test-out: Update.
27821         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27822         (sqrt_test_tonearest): New function.
27823         (sqrt_towardzero_test_data): New variable.
27824         (sqrt_test_towardzero): New function.
27825         (sqrt_downward_test_data): New variable.
27826         (sqrt_test_downward): New function.
27827         (sqrt_upward_test_data): New variable.
27828         (sqrt_test_upward): New function.
27829         (main): Call the new functions.
27831         * math/gen-auto-libm-tests.c: New file.
27832         * math/auto-libm-test-in: Likewise.
27833         * math/auto-libm-test-out: New generated file.
27834         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27835         variables.
27836         (%beautify): Add generated representations of zero.
27837         (top level): Set $auto_input and call parse_auto_input.
27838         (beautify): Remove trailing "f" from hex float constants.
27839         (parse_args): Handle XFAIL_TEST.
27840         (convert_condition): New function.
27841         (or_value): Likewise.
27842         (or_cond_value): Likewise.
27843         (generate_testfile): Handle AUTO_TESTS_* lines.
27844         (parse_auto_input): New function.
27845         * math/libm-test.inc (XFAIL_TEST): New macro.
27846         (ERRNO_UNCHANGED): Update value.
27847         (ERRNO_EDOM): Likewise.
27848         (ERRNO_ERANGE): Likewise.
27849         (IGNORE_RESULT): Likewise.
27850         (TEST_COND_flt_32): New macro.
27851         (TEST_COND_dbl_64): Likewise.
27852         (TEST_COND_ldbl_96_intel): Likewise.
27853         (TEST_COND_ldbl_96_m68k): Likewise.
27854         (TEST_COND_ldbl_128): Likewise.
27855         (TEST_COND_ldbl_128ibm): Likewise.
27856         (TEST_COND_long32): Likewise.
27857         (TEST_COND_long64): Likewise.
27858         (TEST_COND_before_rounding): Likewise.
27859         (TEST_COND_after_rounding): Likewise.
27860         (enable_test): Handle XFAIL_TEST flag.
27861         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27862         with finite results.
27863         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27864         auto-libm-test-out.
27866 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27867             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27869         [BZ #16214]
27870         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27871         __tls_get_addr_internal instead of __tls_get_offset in order to
27872         avoid GOT pointer dependency.  Make rtld export
27873         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27874         __tls_get_addr since we are a __tls_get_offset platform.
27875         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27876         GOT pointer being set up before.
27877         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27879 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27881         * manual/math.texi (Errors in Math Functions): Document accuracy
27882         goals.
27884         [BZ #15004]
27885         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27886         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27887         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27888         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27889         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27890         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27891         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27892         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27893         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27894         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27895         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27896         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27897         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27898         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27899         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27900         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27902         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27903         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27904         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27905         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27906         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27907         Likewise.
27908         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27909         Likewise.
27910         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27911         Likewise.
27912         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27913         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27914         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27915         atomic-feupdateenv and flt-rounds.
27916         * sysdeps/powerpc/nofpu/Versions (libc): Add
27917         __atomic_feholdexcept, __atomic_feclearexcept,
27918         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27919         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27920         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27921         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27922         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27923         here.
27924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27925         Update.
27927         * manual/arith.texi (FP Exceptions): Document that exceptions may
27928         not be raised when matherr is used.
27929         (Math Error Reporting): Document overflow in directed rounding
27930         modes.  Document that errno may not be set when finite values are
27931         returned on overflow.  Document intent to set errno on underflow
27932         only for underflow to zero.
27934         [BZ #16271]
27935         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27936         round-to-nearest then adjust result for other rounding modes.
27937         * include/fenv.h (fegetround): Use libm_hidden_proto.
27938         * math/fegetround.c (fegetround): Use libm_hidden_def.
27939         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27940         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27941         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27942         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27943         Likewise.
27944         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27945         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27946         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27947         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27949 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27951         [BZ #16077]
27952         * nss/Versions (libnss_files): Add
27953         _nss_files_gethostbyname3_r.
27954         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27955         New function.
27956         (HOST_DB_LOOKUP): Remove macro.
27957         (_nss_files_gethostbyname_r): Implement function without the
27958         HOST_DB_LOOKUP macro.
27959         (_nss_files_gethostbyname2_r): Likewise.
27961 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27963         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27965 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27967         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27968         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27969         warning.
27971 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27973         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27974         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27975         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27976         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27977         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27978         __fe_nomask_env_priv and attribute_hidden.
27979         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27980         (libc_feupdateenv_test_ppc): Likewise.
27981         (libc_feresetround_ppc): Likewise.
27982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27983         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27984         compat_symbol macro.
27985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27986         (__fe_nomask_env): Likewise.
27987         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27989 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27991         * string/Makefile: Remove ifunc tests.
27992         * string/test-string.h: Define TEST_IFUNC.
27993         * string/test-bcopy-ifunc.c: Remove.
27994         * string/test-bzero-ifunc.c: Likewise.
27995         * string/test-memccpy-ifunc.c: Likewise.
27996         * string/test-memchr-ifunc.c: Likewise.
27997         * string/test-memcmp-ifunc.c: Likewise.
27998         * string/test-memcpy-ifunc.c: Likewise.
27999         * string/test-memmem-ifunc.c: Likewise.
28000         * string/test-memmove-ifunc.c: Likewise.
28001         * string/test-mempcpy-ifunc.c: Likewise.
28002         * string/test-memrchr-ifunc.c: Likewise.
28003         * string/test-memset-ifunc.c: Likewise.
28004         * string/test-rawmemchr-ifunc.c: Likewise.
28005         * string/test-stpcpy-ifunc.c: Likewise.
28006         * string/test-stpncpy-ifunc.c: Likewise.
28007         * string/test-strcasecmp-ifunc.c: Likewise.
28008         * string/test-strcasestr-ifunc.c: Likewise.
28009         * string/test-strcat-ifunc.c: Likewise.
28010         * string/test-strchr-ifunc.c: Likewise.
28011         * string/test-strchrnul-ifunc.c: Likewise.
28012         * string/test-strcmp-ifunc.c: Likewise.
28013         * string/test-strcpy-ifunc.c: Likewise.
28014         * string/test-strcspn-ifunc.c: Likewise.
28015         * string/test-strlen-ifunc.c: Likewise.
28016         * string/test-strncasecmp-ifunc.c: Likewise.
28017         * string/test-strncat-ifunc.c: Likewise.
28018         * string/test-strncmp-ifunc.c: Likewise.
28019         * string/test-strncpy-ifunc.c: Likewise.
28020         * string/test-strnlen-ifunc.c: Likewise.
28021         * string/test-strpbrk-ifunc.c: Likewise.
28022         * string/test-strrchr-ifunc.c: Likewise.
28023         * string/test-strspn-ifunc.c: Likewise.
28024         * string/test-strstr-ifunc.c: Likewise.
28026 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28028         * benchtests/Makefile: Remove ifunc tests.
28029         * benchtests/bench-string.h: Define TEST_IFUNC.
28030         * benchtests/bench-bcopy-ifunc.c: Remove.
28031         * benchtests/bench-bzero-ifunc.c: Likewise.
28032         * benchtests/bench-memccpy-ifunc.c: Likewise.
28033         * benchtests/bench-memchr-ifunc.c: Likewise.
28034         * benchtests/bench-memcmp-ifunc.c: Likewise.
28035         * benchtests/bench-memcpy-ifunc.c: Likewise.
28036         * benchtests/bench-memmem-ifunc.c: Likewise.
28037         * benchtests/bench-memmove-ifunc.c: Likewise.
28038         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28039         * benchtests/bench-memrchr-ifunc.c: Likewise.
28040         * benchtests/bench-memset-ifunc.c: Likewise.
28041         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28042         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28043         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28044         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28045         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28046         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28047         * benchtests/bench-strcat-ifunc.c: Likewise.
28048         * benchtests/bench-strchr-ifunc.c: Likewise.
28049         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28050         * benchtests/bench-strcmp-ifunc.c: Likewise.
28051         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28052         * benchtests/bench-strcpy-ifunc.c: Likewise.
28053         * benchtests/bench-strcspn-ifunc.c: Likewise.
28054         * benchtests/bench-strlen-ifunc.c: Likewise.
28055         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28056         * benchtests/bench-strncat-ifunc.c: Likewise.
28057         * benchtests/bench-strncmp-ifunc.c: Likewise.
28058         * benchtests/bench-strncpy-ifunc.c: Likewise.
28059         * benchtests/bench-strnlen-ifunc.c: Likewise.
28060         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28061         * benchtests/bench-strrchr-ifunc.c: Likewise.
28062         * benchtests/bench-strsep-ifunc.c: Likewise.
28063         * benchtests/bench-strspn-ifunc.c: Likewise.
28064         * benchtests/bench-strstr-ifunc.c: Likewise.
28066 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28068         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28070 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28072         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28073         * rt/aio.h: Likewise.
28074         * sysdeps/gnu/bits/utmp.h: Likewise.
28075         * sysdeps/gnu/bits/utmpx.h: Likewise.
28076         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28077         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28078         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28079         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28080         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28081         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28082         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28083         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28084         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28085         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28086         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28087         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28088         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28090         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28091         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28092         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28093         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28094         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28095         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28096         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28097         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28098         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28099         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28100         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28102         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28103         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28104         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28105         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28106         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28107         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28108         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28109         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28110         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28111         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28112         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28113         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28114         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28115         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28116         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28117         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28119 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28121         [BZ #16245]
28122         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28123         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28125 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28127         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28128         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28129         Likewise.
28131 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28133         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28134         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28135         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28136         (__fesetround): Remove define.
28137         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28138         rounding and exceptions handling.
28139         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28140         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28141         (__fe_nomask_env): Likewise.
28142         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28143         __fegetround instead of fegetround.
28144         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28145         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28147 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28149         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28150         it's there.
28152         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28154 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28156         [BZ #11157]
28157         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28158         (encrypt_r): Likewise.
28159         * malloc/obstack.h (obstack_free): Likewise.
28160         * posix/unistd.h (encrypt): Likewise.
28162 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28164         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28165         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28166         DL_CALL_DT_FINI() that call the functions directly.
28167         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28168         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28169         * elf/dl-fini.c: Likewise.
28171 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28173         * malloc/hooks.c (memalign_check): Add alignment rounding.
28174         * malloc/malloc.c (_mid_memalign): New function.
28175         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28176         Implement by calling _mid_memalign.
28177         * manual/probes.texi (Memory Allocation Probes): Remove
28178         memory_valloc_retry and memory_pvalloc_retry.
28180 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28182         * locale/programs/locarchive.c (open_archive): Add const
28183         qualifier to ARCHIVEFNAME and copy default fname to
28184         DEFAULT_FNAME.
28186         [BZ #15601]
28187         * libio/tst-widetext.input: Rename Oriya to Odia.
28188         * locale/iso-639.def: Likewise.
28190         * manual/probes.texi (Mathematical Function Probes): Add
28191         documentation for sin, cos, asin and acos probes.
28192         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28193         (__sin32): Add slowasin probe.
28194         (__cos32): Add slowacos probe.
28195         (__mpsin): Add slowsin probe.
28196         (__mpcos): Add slowcos probe.
28198 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28200         [BZ #15483]
28201         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28202         thread-local __sim_exceptions_thread and global
28203         __sim_exceptions_global.
28204         (__sim_disabled_exceptions): Change to thread-local
28205         __sim_disabled_exceptions_thread and global
28206         __sim_disabled_exceptions_global.
28207         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28208         and global __sim_round_mode_global.
28209         (__simulate_exceptions): Use thread-local floating-point state and
28210         set global state from it as needed.
28211         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28212         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28213         __sim_round_mode_thread.
28214         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28215         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28216         and global __sim_exceptions_global.
28217         (__sim_disabled_exceptions): Change to thread-local
28218         __sim_disabled_exceptions_thread and global
28219         __sim_disabled_exceptions_global.
28220         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28221         and global __sim_round_mode_global.
28222         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28223         (SIM_SET_GLOBAL): Likewise.
28224         * sysdeps/powerpc/soft-fp/sfp-machine.h
28225         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28226         __sim_round_mode_thread.
28227         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28228         __sim_disabled_exceptions_thread.
28229         (__sim_exceptions): Change to __sim_exceptions_thread.
28230         (__sim_disabled_exceptions): Change to
28231         __sim_disabled_exceptions_thread.
28232         (__sim_round_mode): Change to __sim_round_mode_thread.
28233         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28234         thread-local floating-point state and set global state from it as
28235         needed.
28236         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28237         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28238         (__sim_disabled_exceptions): Remove extern declaration.
28239         (feenableexcept): Use thread-local floating-point state and set
28240         global state from it as needed.
28241         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28242         extern declaration.
28243         (__sim_disabled_exceptions): Likewise.
28244         (__sim_round_mode): Likewise.
28245         (__fegetenv): Use thread-local floating-point state.
28246         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28247         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28248         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28249         floating-point state and set global state from it as needed.
28250         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28251         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28252         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28253         Likewise.
28254         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28255         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28256         Likewise.
28257         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28258         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28259         Use __sim_round_mode_thread.
28260         * math/test-fenv-tls.c: New file.
28261         * math/Makefile (tests): Add test-fenv-tls.
28262         ($(objpfx)test-fenv-tls): Depend on
28263         $(common-objpfx)nptl/libpthread.so.
28265 2013-11-19  Andreas Schwab  <schwab@suse.de>
28267         * locale/programs/locale.c (show_info): Decode wordarray elements.
28268         * locale/categories.def (LC_MONETARY): Add element for
28269         _NL_MONETARY_CRNCYSTR.
28270         * locale/C-monetary.c (conversion_rate): New variable.
28271         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28272         element.
28274 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28276         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28277         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28279 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28281         * elf/Makefile (tst-auxv): New test.
28282         * elf/tst-auxv.c: New
28283         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28285 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28287         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28288         (hidden_proto): Caller changed.
28289         (hidden_tls_proto): New macro.
28290         (libc_hidden_tls_proto): Likewise.
28291         (rtld_hidden_tls_proto): Likewise.
28292         (libm_hidden_tls_proto): Likewise.
28293         (libresolv_hidden_tls_proto): Likewise.
28294         (librt_hidden_tls_proto): Likewise.
28295         (libdl_hidden_tls_proto): Likewise.
28296         (libnss_files_hidden_tls_proto): Likewise.
28297         (libnsl_hidden_tls_proto): Likewise.
28298         (libnss_nisplus_hidden_tls_proto): Likewise.
28299         (libutil_hidden_tls_proto): Likewise.
28301 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28303         [BZ #10253]
28304         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28305         (decompose_rpath): Defer expansion to fillin_rpath.
28306         (_dl_init_paths): Pass linkmap to fillin_rpath.
28308 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28310         * benchtests/Makefile: Add strsep.
28311         * benchtests/bench-strsep.c: New file: strsep benchtest.
28312         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28314 2013-11-18  Andreas Schwab  <schwab@suse.de>
28316         * locale/programs/locale.c (show_info) [case byte]: Check for
28317         '\377' instead of '\177'.
28318         * locale/C-monetary.c (not_available): Always use "\377".
28319         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28320         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28321         detect unavailable sign_posn locale elements.
28322         * locale/localeconv.c (__localeconv): For grouping and
28323         mon_grouping handle "\177" and "\377" like no grouping.
28324         (INT_ELEM): New macro.  Use it to set all numeric members.
28325         * locale/programs/ld-monetary.c (monetary_read)
28326         <tok_mon_grouping>: Normalize single -1 to the empty string.
28327         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28328         Likewise.
28330 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28332         [BZ #16055]
28333         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28334         when we match (nil).
28335         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28337 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28339         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28340         (NO_TEST_INLINE): Update value.
28341         (ERRNO_UNCHANGED): Likewise.
28342         (ERRNO_EDOM): Likewise.
28343         (ERRNO_ERANGE): Likewise.
28344         (IGNORE_RESULT): Likewise.
28345         (check_float_internal): Check signs of NaN results if
28346         TEST_NAN_SIGN used.
28347         (check_complex): Pass TEST_NAN_SIGN flag through to second
28348         check_float_internal call.
28349         (copysign_test_data): Add tests with quiet NaNs as second
28350         argument.  Use TEST_NAN_SIGN.
28351         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28352         TEST_NAN_SIGN.
28353         (signbit_test_data): Add tests of quiet NaN argument.
28354         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28356         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28357         $ignore_result.
28358         (parse_args): Handle function results specified as IGNORE.
28359         * math/libm-test.inc (IGNORE_RESULT): New macro.
28360         (check_float_internal): Do not check numerical result if flag
28361         IGNORE_RESULT set.
28362         (check_complex): Pass through IGNORE_RESULT to second
28363         check_float_internal call.
28364         (check_int): Do not check numerical result if flag IGNORE_RESULT
28365         set.
28366         (check_long): Likewise.
28367         (check_bool): Likewise.
28368         (check_longlong): Likewise.
28369         (lrint_test_data): Add tests of infinite and NaN arguments.
28370         (lrint_tonearest_test_data): Likewise.
28371         (lrint_towardzero_test_data): Likewise.
28372         (lrint_downward_test_data): Likewise.
28373         (lrint_upward_test_data): Likewise.
28374         (llrint_test_data): Likewise.
28375         (llrint_tonearest_test_data): Likewise.
28376         (llrint_towardzero_test_data): Likewise.
28377         (llrint_downward_test_data): Likewise.
28378         (llrint_upward_test_data): Likewise.
28379         (lround_test_data): Likewise.
28380         (llround_test_data): Likewise.
28382         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28383         (ERRNO_UNCHANGED): Update value.
28384         (ERRNO_EDOM): Likewise.
28385         (ERRNO_ERANGE): Likewise.
28386         (NO_TEST_INLINE_FLOAT): New macro.
28387         (NO_TEST_INLINE_DOUBLE): Likewise.
28388         (enable_test): New function.
28389         (RUN_TEST_f_f): Check enable_test before running test.
28390         (RUN_TEST_2_f): Likewise.
28391         (RUN_TEST_fff_f): Likewise.
28392         (RUN_TEST_c_f): Likewise.
28393         (RUN_TEST_f_f1): Likewise.
28394         (RUN_TEST_fF_f1): Likewise.
28395         (RUN_TEST_fI_f1): Likewise.
28396         (RUN_TEST_ffI_f1): Likewise.
28397         (RUN_TEST_c_c): Likewise.
28398         (RUN_TEST_cc_c): Likewise.
28399         (RUN_TEST_f_i): Likewise.
28400         (RUN_TEST_f_i_tg): Likewise.
28401         (RUN_TEST_ff_i_tg): Likewise.
28402         (RUN_TEST_f_b): Likewise.
28403         (RUN_TEST_f_b_tg): Likewise.
28404         (RUN_TEST_f_l): Likewise.
28405         (RUN_TEST_f_L): Likewise.
28406         (RUN_TEST_fFF_11): Likewise.
28407         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28408         conditionals.
28409         (cosh_test_data): Likewise.
28410         (exp_test_data): Likewise.
28411         (expm1_test_data): Likewise.
28412         (hypot_test_data): Likewise.
28413         (pow_test_data): Likewise.
28414         (sinh_test_data): Likewise.
28415         (tanh_test_data): Likewise.
28416         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28417         flags argument.
28419         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28420         tests with quiet NaN input and output.
28421         (acosh_test_data): Likewise.
28422         (asin_test_data): Likewise.
28423         (asinh_test_data): Likewise.
28424         (atan_test_data): Likewise.
28425         (atanh_test_data): Likewise.
28426         (atan2_test_data): Likewise.
28427         (cbrt_test_data): Likewise.
28428         (cos_test_data): Likewise.
28429         (cosh_test_data): Likewise.
28430         (erf_test_data): Likewise.
28431         (erfc_test_data): Likewise.
28432         (exp_test_data): Likewise.
28433         (exp10_test_data): Likewise.
28434         (exp2_test_data): Likewise.
28435         (expm1_test_data): Likewise.
28436         (hypot_test_data): Likewise.
28437         (j0_test_data): Likewise.
28438         (j1_test_data): Likewise.
28439         (jn_test_data): Likewise.
28440         (lgamma_test_data): Likewise.
28441         (log_test_data): Likewise.
28442         (log10_test_data): Likewise.
28443         (log1p_test_data): Likewise.
28444         (log2_test_data): Likewise.
28445         (pow_test_data): Likewise.
28446         (scalb_test_data): Likewise.
28447         (sin_test_data): Likewise.
28448         (sincos_test_data): Likewise.
28449         (sinh_test_data): Likewise.
28450         (tan_test_data): Likewise.
28451         (tanh_test_data): Likewise.
28452         (tgamma_test_data): Likewise.
28453         (y0_test_data): Likewise.
28454         (y1_test_data): Likewise.
28455         (yn_test_data): Likewise.
28457         [BZ #16167]
28458         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28459         argument being NaN and avoid computations with second argument in
28460         that case.
28461         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28462         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28463         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28465 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28467         * locale/iso-639.def: Add Chitwani Tharu (the).
28469 2013-11-14  Andreas Schwab  <schwab@suse.de>
28471         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28472         word instead of empty string.
28474 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28477         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28479         (__fe_nomask_env): Likewise.
28481 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28483         * benchtests/bench-timing.h: Include time.h.
28485 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28487         [BZ #15997]
28488         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28489         to 3.4.0 for x32.
28490         * sysdeps/unix/sysv/linux/configure: Regenerated.
28492 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28494         [BZ #16151]
28495         * stdlib/strtod_l.c (round_and_return): Do not consider
28496         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28497         exponent one less than half the least subnormal exponent.
28498         * stdlib/test-strtod-round-data: Add more tests.
28499         * stdlib/tst-strtod-round.c (tests): Regenerated.
28501 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28503         [BZ #14143]
28504         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28505         (__fe_mask_env): Likewise.
28506         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28507         libm_hidden_proto and add function prototype.
28508         (__fe_mask_env): Add function prototype.
28509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28510         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28512         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28514         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28516 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28518         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28519         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28521 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28523         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28524         of htab_find_slot().
28526 2013-11-11  David S. Miller  <davem@davemloft.net>
28528         [BZ #16150]
28529         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28530         symbol in the non-vis3 case in static builds.
28531         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28532         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28533         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28534         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28536 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28538         [BZ #387]
28539         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28540         it is empty.
28542 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28544         * benchtests/Makefile: Add bench-strtod.
28545         * benchtests/bench-strtod.c: New file: strtod benchtest
28547 2013-11-11  Andreas Schwab  <schwab@suse.de>
28549         [BZ #16153]
28550         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28551         terminating NUL in key length.
28553 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28555         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28556         Add artificial ODP entry for vDSO symbol for PPC64.
28557         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28558         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28560 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28562         [BZ #15374]
28563         * nss/getent.c (services_keys): Recognize services starting with digit.
28565 2013-11-06  David S. Miller  <davem@davemloft.net>
28567         [BZ #15985]
28568         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28569         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28571 2013-11-06  Will Newton  <will.newton@linaro.org>
28573         * manual/memory.texi (Malloc Examples): Remove register
28574         keyword from examples.
28576 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28578         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28580 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28582         [BZ #6981]
28583         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28584         depending on [__GCC_IEC_559 > 0].
28585         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28586         depending on [__GCC_IEC_559_COMPLEX > 0].
28588 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28590         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28591         to iso-639.def.
28593 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28595         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28597 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28599         [BZ #16112]
28600         * malloc/malloc (malloc_info): Do not handle first bin as
28601         special case.
28603 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28605         * locale/iso-639.def: Add Central Nahuatl (nhn).
28607 2013-11-01  Bruno Haible  <bruno@clisp.org>
28609         [BZ #7003]
28610         * manual/math.texi (BSD Random): Specify range upper bound as
28611         in POSIX.
28613 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28615         * locale/iso-639.def: Add Meadow Mari (mhr).
28617 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28619         [BZ #14752], [BZ #15763]
28620         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28621         Validate name.
28622         * rt/tst_shm.c: Add test for escaping directory.
28624 2013-10-31  Andreas Schwab  <schwab@suse.de>
28626         [BZ #15917]
28627         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28628         followed by 'x' as part of digit sequence.
28629         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28631 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28633         [BZ #16037]
28634         * configure.ac: allow GNU Make 4.0 and greater.
28635         * configure: Regenerated.
28637 2013-10-30  Will Newton  <will.newton@linaro.org>
28639         [BZ #16038]
28640         * malloc/hooks.c (memalign_check): Limit alignment to the
28641         maximum representable power of two.
28642         * malloc/malloc.c (__libc_memalign): Likewise.
28643         * malloc/tst-memalign.c (do_test): Add test for very
28644         large alignment values.
28645         * malloc/tst-posix_memalign.c (do_test): Likewise.
28647 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28649         [BZ #11087]
28650         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28651         (munmap_chunk): Likewise.
28652         (mremap_chunk): Likewise.
28654 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28656         [BZ #15799]
28657         * stdlib/div.c (div): Remove obsolete code.
28658         * stdlib/ldiv.c (ldiv): Likewise.
28659         * stdlib/lldiv.c (lldiv): Likewise.
28661 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28663         [BZ #16071]
28664         * nss/nss_files/files-XXX.c (get_contents_ret): New
28665         enumerator.
28666         (get_contents): New function.
28667         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28669 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28671         * configure.in: Moved to ...
28672         * configure.ac: ... here. Change reference to configure.in
28673         to configure.ac.
28674         * sysdeps/arm/preconfigure.ac: ... here.
28675         configure.in to configure.ac.
28676         * sysdeps/gnu/configure.in: Moved to ...
28677         * sysdeps/gnu/configure.ac: ... here.
28678         * sysdeps/i386/configure.in: Moved to ...
28679         * sysdeps/i386/configure.ac: ... here.
28680         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28681         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28682         * sysdeps/mach/configure.in: Moved to ...
28683         * sysdeps/mach/configure.ac: ... here.
28684         * sysdeps/mach/hurd/configure.in: Moved to ...
28685         * sysdeps/mach/hurd/configure.ac: ... here.
28686         * sysdeps/powerpc/configure.in: Moved to ...
28687         * sysdeps/powerpc/configure.ac: ... here.
28688         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28689         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28690         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28691         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28692         * sysdeps/s390/s390-32/configure.in: Moved to ...
28693         * sysdeps/s390/s390-32/configure.ac: ... here.
28694         * sysdeps/s390/s390-64/configure.in: Moved to ...
28695         * sysdeps/s390/s390-64/configure.ac: ... here.
28696         * sysdeps/sh/configure.in: Moved to ...
28697         * sysdeps/sh/configure.ac: ... here.
28698         * sysdeps/sparc/configure.in: Moved to ...
28699         * sysdeps/sparc/configure.ac: ... here.
28700         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28701         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28702         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28703         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28704         * sysdeps/x86_64/configure.in: Moved to ...
28705         * sysdeps/x86_64/configure.ac: ... here.
28706         * sysdeps/x86_64/preconfigure.in: Moved to ...
28707         * sysdeps/x86_64/preconfigure.ac: ... here.
28708         * aclocal.m4: Change reference to configure.in to configure.ac.
28709         * config.h.in: Likewise.
28710         * manual/install.texi: Likewise.
28711         * manual/maint.texi: Likewise.
28712         * Makefile: Likewise.
28713         * malloc/Makefile: Likewise.
28714         * nscd/Makefile: Likewise.
28715         * Makeconfig: Change reference to configure.in and
28716         preconfigure.in to configure.ac and preconfigure.ac
28717         respectively.
28718         * INSTALL: Regenerated.
28719         * configure: Likewise.
28720         * sysdeps/gnu/configure: Likewise.
28721         * sysdeps/i386/configure: Likewise.
28722         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28723         * sysdeps/mach/configure: Likewise.
28724         * sysdeps/mach/hurd/configure: Likewise.
28725         * sysdeps/powerpc/configure: Likewise.
28726         * sysdeps/powerpc/powerpc32/configure: Likewise.
28727         * sysdeps/powerpc/powerpc64/configure: Likewise.
28728         * sysdeps/s390/s390-32/configure: Likewise.
28729         * sysdeps/s390/s390-64/configure: Likewise.
28730         * sysdeps/sh/configure: Likewise.
28731         * sysdeps/sparc/configure: Likewise.
28732         * sysdeps/unix/sysv/linux/configure: Likewise.
28733         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28734         * sysdeps/x86_64/configure: Likewise.
28735         * sysdeps/x86_64/preconfigure: Likewise.
28737 2013-10-29  Andreas Schwab  <schwab@suse.de>
28739         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28741 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28743         * benchtests/pow-inputs: Add new inputs.
28745         * benchtests/exp-inputs: Add new inputs.
28747         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28748         conditional check for return value.
28749         (__cos32): Likewise.
28751 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28753         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28754         to provide a boost for large inputs with word alignment.
28755         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28756         implementation based on optimized PPC64 strcpy.
28757         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28758         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28759         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28760         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28762 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28764         [BZ #2801]
28765         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28767 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28769         [BZ #14876]
28770         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28771         * time/tst-strptime.c (day_tests): Add testcase.
28773 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28775         [BZ #14029]
28776         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28778 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28780         [BZ #16074]
28781         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28782         MAP_FAILED on error.
28784 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28786         [BZ #16072]
28787         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28788         heap for large requests.
28790 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28792         [BZ #9954]
28793         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28794         result if the result has no associated interface.
28795         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28796         interface for all 127.X.Y.Z addresses.
28798 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28800         * locale/iso-639.def: Add Ligurian (lij)
28802 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28804         [BZ #15825]
28805         * sunrpc/rpc_main.c: Document rpcgen -5.
28807 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28809         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28811 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28813         [BZ #10278]
28814         * posix/glob.c: Match only directories when trailing slash is present.
28815         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28816         (main): Add testcase.
28818 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28820         [BZ #15670]
28821         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28823 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28825         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28826         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28827         AUTH_DES and cindex for FIPS 140-2.
28828         (DES Encryption): Add cindex FIPS 46-3.
28830         * locale/locarchive.h (struct locarhandle): Add fname.
28831         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28832         if an optional argument was specified to --list-archive,
28833         otherwise NULL.
28834         * locale/programs/locarchive.c (show_archive_content): Take new
28835         argument fname and pass it via ah.fname to open_archive.
28836         * locale/programs/localedef.h: Update decl.
28837         (open_archive): If AH->fname is non-null, open that file
28838         rather than the default file name, and don't ignore ENOENT.
28839         (create_archive): Set AH.fname to NULL.
28840         (delete_locales_from_archive): Likewise.
28841         (add_locales_to_archive): Likewise.
28842         * locale/programs/locfile.c (write_all_categories): Likewise.
28844 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28845             Aldy Hernandez  <aldyh@redhat.com>
28847         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28848         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28849         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28850         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28851         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28852         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28853         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28854         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28855         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28856         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28857         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28858         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28859         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28860         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28861         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28862         Likewise.
28863         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28864         Likewise.
28865         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28866         Likewise.
28867         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28868         Likewise.
28869         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28870         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28871         Likewise.
28872         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28873         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28874         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28875         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28876         Likewise.
28877         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28878         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28879         * sysdeps/powerpc/preconfigure: Likewise.
28880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28881         Likewise.
28882         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28883         Replace contents of file by #include of <fenv_libc.h>.
28884         * sysdeps/powerpc/soft-fp/sfp-machine.h
28885         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28886         and <sys/prctl.h>.
28887         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28889         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28890         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28891         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28892         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28893         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28894         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28895         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28896         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28897         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28898         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28900         Allow copysignl PLT reference to be missing.
28902 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28903             Joseph Myers  <joseph@codesourcery.com
28905         [BZ #15948]
28906         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28907         single character.
28908         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28910 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28912         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28913         * elf/tst-tls1.c: Likewise.
28914         * elf/tst-tls10.h: Likewise.
28915         * elf/tst-tls14.c: Likewise.
28916         * elf/tst-tls2.c: Likewise.
28917         * elf/tst-tls3.c: Likewise.
28918         * elf/tst-tls4.c: Likewise.
28919         * elf/tst-tls5.c: Likewise.
28920         * elf/tst-tls6.c: Likewise.
28921         * elf/tst-tls7.c: Likewise.
28922         * elf/tst-tls8.c: Likewise.
28923         * elf/tst-tls9.c: Likewise.
28924         * elf/tst-tlsmod1.c: Likewise.
28925         * elf/tst-tlsmod13.c: Likewise.
28926         * elf/tst-tlsmod13a.c: Likewise.
28927         * elf/tst-tlsmod14a.c: Likewise.
28928         * elf/tst-tlsmod16a.c: Likewise.
28929         * elf/tst-tlsmod16b.c: Likewise.
28930         * elf/tst-tlsmod2.c: Likewise.
28931         * elf/tst-tlsmod3.c: Likewise.
28932         * elf/tst-tlsmod4.c: Likewise.
28933         * elf/tst-tlsmod5.c: Likewise.
28934         * elf/tst-tlsmod6.c: Likewise.
28936 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28938         [BZ #12486]
28939         * malloc/malloc.c: remove checks for statistics.
28941 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28943         [BZ #15277]
28944         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28945         * inet/tst-network.c: Add testcase.
28947 2013-10-17  Andreas Schwab  <schwab@suse.de>
28949         [BZ #15218]
28950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28951         to determine canonical name.
28953 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28955         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28956         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28957         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28958         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28959         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28960         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28961         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28962         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28963         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28964         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28965         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28966         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28967         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28968         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28969         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28970         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28971         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28972         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28973         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28974         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28975         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28976         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28977         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28978         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28979         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28980         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28981         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28982         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28983         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28984         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28985         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28986         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28987         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28988         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28989         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28990         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28991         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28992         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28993         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28994         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28995         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28996         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28997         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28998         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28999         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29000         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29001         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29002         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29003         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29004         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29005         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29006         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29007         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29008         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29009         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29010         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29011         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29012         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29014 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29016         [BZ #16041]
29017         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29018         make result into a quiet NaN.
29020 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29022         * soft-fp/adddf3.c: Fix horizontal whitespace.
29023         * soft-fp/addsf3.c: Likewise.
29024         * soft-fp/addtf3.c: Likewise.
29025         * soft-fp/divdf3.c: Likewise.
29026         * soft-fp/divsf3.c: Likewise.
29027         * soft-fp/divtf3.c: Likewise.
29028         * soft-fp/double.h: Likewise.
29029         * soft-fp/eqdf2.c: Likewise.
29030         * soft-fp/eqsf2.c: Likewise.
29031         * soft-fp/eqtf2.c: Likewise.
29032         * soft-fp/extenddftf2.c: Likewise.
29033         * soft-fp/extended.h: Likewise.
29034         * soft-fp/extendsfdf2.c: Likewise.
29035         * soft-fp/extendsftf2.c: Likewise.
29036         * soft-fp/extendxftf2.c: Likewise.
29037         * soft-fp/fixdfdi.c: Likewise.
29038         * soft-fp/fixdfsi.c: Likewise.
29039         * soft-fp/fixdfti.c: Likewise.
29040         * soft-fp/fixsfdi.c: Likewise.
29041         * soft-fp/fixsfsi.c: Likewise.
29042         * soft-fp/fixsfti.c: Likewise.
29043         * soft-fp/fixtfdi.c: Likewise.
29044         * soft-fp/fixtfsi.c: Likewise.
29045         * soft-fp/fixtfti.c: Likewise.
29046         * soft-fp/fixunsdfdi.c: Likewise.
29047         * soft-fp/fixunsdfsi.c: Likewise.
29048         * soft-fp/fixunsdfti.c: Likewise.
29049         * soft-fp/fixunssfdi.c: Likewise.
29050         * soft-fp/fixunssfsi.c: Likewise.
29051         * soft-fp/fixunssfti.c: Likewise.
29052         * soft-fp/fixunstfdi.c: Likewise.
29053         * soft-fp/fixunstfsi.c: Likewise.
29054         * soft-fp/fixunstfti.c: Likewise.
29055         * soft-fp/floatdidf.c: Likewise.
29056         * soft-fp/floatdisf.c: Likewise.
29057         * soft-fp/floatditf.c: Likewise.
29058         * soft-fp/floatsidf.c: Likewise.
29059         * soft-fp/floatsisf.c: Likewise.
29060         * soft-fp/floatsitf.c: Likewise.
29061         * soft-fp/floattidf.c: Likewise.
29062         * soft-fp/floattisf.c: Likewise.
29063         * soft-fp/floattitf.c: Likewise.
29064         * soft-fp/floatundidf.c: Likewise.
29065         * soft-fp/floatundisf.c: Likewise.
29066         * soft-fp/floatunditf.c: Likewise.
29067         * soft-fp/floatunsidf.c: Likewise.
29068         * soft-fp/floatunsisf.c: Likewise.
29069         * soft-fp/floatunsitf.c: Likewise.
29070         * soft-fp/floatuntidf.c: Likewise.
29071         * soft-fp/floatuntisf.c: Likewise.
29072         * soft-fp/floatuntitf.c: Likewise.
29073         * soft-fp/fmadf4.c: Likewise.
29074         * soft-fp/fmasf4.c: Likewise.
29075         * soft-fp/fmatf4.c: Likewise.
29076         * soft-fp/gedf2.c: Likewise.
29077         * soft-fp/gesf2.c: Likewise.
29078         * soft-fp/getf2.c: Likewise.
29079         * soft-fp/ledf2.c: Likewise.
29080         * soft-fp/lesf2.c: Likewise.
29081         * soft-fp/letf2.c: Likewise.
29082         * soft-fp/muldf3.c: Likewise.
29083         * soft-fp/mulsf3.c: Likewise.
29084         * soft-fp/multf3.c: Likewise.
29085         * soft-fp/negdf2.c: Likewise.
29086         * soft-fp/negsf2.c: Likewise.
29087         * soft-fp/negtf2.c: Likewise.
29088         * soft-fp/op-1.h: Likewise.
29089         * soft-fp/op-2.h: Likewise.
29090         * soft-fp/op-4.h: Likewise.
29091         * soft-fp/op-8.h: Likewise.
29092         * soft-fp/op-common.h: Likewise.
29093         * soft-fp/quad.h: Likewise.
29094         * soft-fp/single.h: Likewise.
29095         * soft-fp/soft-fp.h: Likewise.
29096         * soft-fp/sqrtdf2.c: Likewise.
29097         * soft-fp/sqrtsf2.c: Likewise.
29098         * soft-fp/sqrttf2.c: Likewise.
29099         * soft-fp/subdf3.c: Likewise.
29100         * soft-fp/subsf3.c: Likewise.
29101         * soft-fp/subtf3.c: Likewise.
29102         * soft-fp/truncdfsf2.c: Likewise.
29103         * soft-fp/trunctfdf2.c: Likewise.
29104         * soft-fp/trunctfsf2.c: Likewise.
29105         * soft-fp/trunctfxf2.c: Likewise.
29106         * soft-fp/unorddf2.c: Likewise.
29107         * soft-fp/unordsf2.c: Likewise.
29108         * soft-fp/unordtf2.c: Likewise.
29110 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29112         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29113         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29115 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29117         * elf/dl-libc.c: Clear initfini list after freeing.
29119 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29121         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29122         * soft-fp/addsf3.c: Likewise.
29123         * soft-fp/addtf3.c: Likewise.
29124         * soft-fp/divdf3.c: Likewise.
29125         * soft-fp/divsf3.c: Likewise.
29126         * soft-fp/divtf3.c: Likewise.
29127         * soft-fp/double.h: Likewise.
29128         * soft-fp/eqdf2.c: Likewise.
29129         * soft-fp/eqsf2.c: Likewise.
29130         * soft-fp/eqtf2.c: Likewise.
29131         * soft-fp/extenddftf2.c: Likewise.
29132         * soft-fp/extended.h: Likewise.
29133         * soft-fp/extendsfdf2.c: Likewise.
29134         * soft-fp/extendsftf2.c: Likewise.
29135         * soft-fp/extendxftf2.c: Likewise.
29136         * soft-fp/fixdfdi.c: Likewise.
29137         * soft-fp/fixdfsi.c: Likewise.
29138         * soft-fp/fixdfti.c: Likewise.
29139         * soft-fp/fixsfdi.c: Likewise.
29140         * soft-fp/fixsfsi.c: Likewise.
29141         * soft-fp/fixsfti.c: Likewise.
29142         * soft-fp/fixtfdi.c: Likewise.
29143         * soft-fp/fixtfsi.c: Likewise.
29144         * soft-fp/fixtfti.c: Likewise.
29145         * soft-fp/fixunsdfdi.c: Likewise.
29146         * soft-fp/fixunsdfsi.c: Likewise.
29147         * soft-fp/fixunsdfti.c: Likewise.
29148         * soft-fp/fixunssfdi.c: Likewise.
29149         * soft-fp/fixunssfsi.c: Likewise.
29150         * soft-fp/fixunssfti.c: Likewise.
29151         * soft-fp/fixunstfdi.c: Likewise.
29152         * soft-fp/fixunstfsi.c: Likewise.
29153         * soft-fp/fixunstfti.c: Likewise.
29154         * soft-fp/floatdidf.c: Likewise.
29155         * soft-fp/floatdisf.c: Likewise.
29156         * soft-fp/floatditf.c: Likewise.
29157         * soft-fp/floatsidf.c: Likewise.
29158         * soft-fp/floatsisf.c: Likewise.
29159         * soft-fp/floatsitf.c: Likewise.
29160         * soft-fp/floattidf.c: Likewise.
29161         * soft-fp/floattisf.c: Likewise.
29162         * soft-fp/floattitf.c: Likewise.
29163         * soft-fp/floatundidf.c: Likewise.
29164         * soft-fp/floatundisf.c: Likewise.
29165         * soft-fp/floatunsidf.c: Likewise.
29166         * soft-fp/floatunsisf.c: Likewise.
29167         * soft-fp/floatuntidf.c: Likewise.
29168         * soft-fp/floatuntisf.c: Likewise.
29169         * soft-fp/floatuntitf.c: Likewise.
29170         * soft-fp/fmadf4.c: Likewise.
29171         * soft-fp/fmasf4.c: Likewise.
29172         * soft-fp/fmatf4.c: Likewise.
29173         * soft-fp/gedf2.c: Likewise.
29174         * soft-fp/gesf2.c: Likewise.
29175         * soft-fp/getf2.c: Likewise.
29176         * soft-fp/ledf2.c: Likewise.
29177         * soft-fp/lesf2.c: Likewise.
29178         * soft-fp/letf2.c: Likewise.
29179         * soft-fp/muldf3.c: Likewise.
29180         * soft-fp/mulsf3.c: Likewise.
29181         * soft-fp/multf3.c: Likewise.
29182         * soft-fp/negdf2.c: Likewise.
29183         * soft-fp/negsf2.c: Likewise.
29184         * soft-fp/negtf2.c: Likewise.
29185         * soft-fp/op-1.h: Likewise.
29186         * soft-fp/op-2.h: Likewise.
29187         * soft-fp/op-4.h: Likewise.
29188         * soft-fp/op-8.h: Likewise.
29189         * soft-fp/op-common.h: Likewise.
29190         * soft-fp/quad.h: Likewise.
29191         * soft-fp/single.h: Likewise.
29192         * soft-fp/soft-fp.h: Likewise.
29193         * soft-fp/sqrtdf2.c: Likewise.
29194         * soft-fp/sqrtsf2.c: Likewise.
29195         * soft-fp/sqrttf2.c: Likewise.
29196         * soft-fp/subdf3.c: Likewise.
29197         * soft-fp/subsf3.c: Likewise.
29198         * soft-fp/subtf3.c: Likewise.
29199         * soft-fp/truncdfsf2.c: Likewise.
29200         * soft-fp/trunctfdf2.c: Likewise.
29201         * soft-fp/trunctfsf2.c: Likewise.
29202         * soft-fp/trunctfxf2.c: Likewise.
29203         * soft-fp/unorddf2.c: Likewise.
29204         * soft-fp/unordsf2.c: Likewise.
29205         * soft-fp/unordtf2.c: Likewise.
29207 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29209         [BZ #15672]
29210         * misc/error.c (error_tail): Fix possible buffer overflow.
29212 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29214         [BZ #13028]
29215         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29216         address.
29218 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29220         [BZ #832]
29221         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29222         testing pipefail option.
29224 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29226         * soft-fp/double.h: Indent preprocessor directives inside #if.
29227         * soft-fp/extended.h: Likewise.
29228         * soft-fp/op-2.h: Likewise.
29229         * soft-fp/op-4.h: Likewise.
29230         * soft-fp/op-common.h: Likewise.
29231         * soft-fp/quad.h: Likewise.
29232         * soft-fp/single.h: Likewise.
29233         * soft-fp/soft-fp.h: Likewise.
29235 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29237         * iconv/iconv_prog.c: Fix typos.
29238         * stdio-common/psiginfo-data.h: Likewise.
29240 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29242         [BZ #15764]
29243         * locale/setlocale.c: Fix typo.
29245 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29247         [BZ #16036]
29248         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29249         signaling NaN arguments.
29250         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29251         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29253         [BZ #14910]
29254         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29255         unordered operands.
29256         * soft-fp/gesf2.c (__gesf2): Likewise.
29257         * soft-fp/getf2.c (__getf2): Likewise.
29258         * soft-fp/ledf2.c (__ledf2): Likewise.
29259         * soft-fp/lesf2.c (__lesf2): Likewise.
29260         * soft-fp/letf2.c (__letf2): Likewise.
29262         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29263         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29264         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29265         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29266         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29267         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29268         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29269         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29270         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29271         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29272         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29273         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29274         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29275         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29276         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29277         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29278         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29279         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29280         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29281         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29282         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29283         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29284         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29285         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29286         * soft-fp/floattidf.c (__floattidf): Likewise.
29287         * soft-fp/floattisf.c (__floattisf): Likewise.
29288         * soft-fp/floattitf.c (__floattitf): Likewise.
29289         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29290         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29291         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29292         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29293         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29294         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29295         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29296         * soft-fp/gesf2.c (__gesf2): Likewise.
29297         * soft-fp/getf2.c (__getf2): Likewise.
29298         * soft-fp/ledf2.c (__ledf2): Likewise.
29299         * soft-fp/lesf2.c (__lesf2): Likewise.
29300         * soft-fp/letf2.c (__letf2): Likewise.
29302         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29303         Undefine and redefine.
29304         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29305         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29306         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29307         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29308         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29309         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29310         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29311         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29312         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29313         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29314         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29315         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29316         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29317         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29318         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29320         [BZ #16032]
29321         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29322         without decrementing exponent if mantissa >= that for the
29323         denominator, not >.
29324         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29325         denominator, not >.  Decrement exponent in < case instead of
29326         incrementing in >= case.
29327         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29328         without decrementing exponent if mantissa >= that for the
29329         denominator, not >.
29331         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29332         computing saturated result for unsigned overflow.
29334 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29335             Jeff Law  <law@redhat.com>
29337         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29338         (atan2Mp): Add systemtap probe marker.
29339         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29340         (__ieee754_log): Add systemtap probe marker.
29341         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29342         (atanMp): Add systemtap probe marker.
29343         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29344         (tanMp): Add systemtap probe marker.
29345         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29346         (__slowexp): Add systemtap probe marker.
29347         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29348         (__slowpow): Add systemtap probe marker.
29349         * manual/probes.texi: Document probes.
29351 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29353         [BZ #15362]
29354         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29355         written.
29356         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29357         written.
29358         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29359         written to buffer but not flushed.
29360         * libio/iofwrite_u.c:  Likewise.
29361         * libio/iopadn.c:  Return bytes returned even if EOF was
29362         encountered.
29363         * libio/iowpadn.c:  Likewise.
29364         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29365         if _IO_padn does not write the whole buffer.
29366         [!COMPILE_WPRINTF] (PAD): Likewise.
29368 2013-10-10  David S. Miller  <davem@davemloft.net>
29370         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29371         directory block.
29373 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29375         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29376         instead of FSF address.
29377         * soft-fp/fixdfti.c: Likewise.
29378         * soft-fp/fixsfti.c: Likewise.
29379         * soft-fp/fixtfti.c: Likewise.
29380         * soft-fp/fixunsdfti.c: Likewise.
29381         * soft-fp/fixunssfti.c: Likewise.
29382         * soft-fp/fixunstfti.c: Likewise.
29383         * soft-fp/floattidf.c: Likewise.
29384         * soft-fp/floattisf.c: Likewise.
29385         * soft-fp/floattitf.c: Likewise.
29386         * soft-fp/floatuntidf.c: Likewise.
29387         * soft-fp/floatuntisf.c: Likewise.
29388         * soft-fp/floatuntitf.c: Likewise.
29389         * soft-fp/trunctfxf2.c: Likewise.
29391         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29392         * soft-fp/fixdfti.c: Likewise.
29393         * soft-fp/fixsfti.c: Likewise.
29394         * soft-fp/fixtfti.c: Likewise.
29395         * soft-fp/fixunsdfti.c: Likewise.
29396         * soft-fp/fixunssfti.c: Likewise.
29397         * soft-fp/fixunstfti.c: Likewise.
29398         * soft-fp/floattidf.c: Likewise.
29399         * soft-fp/floattisf.c: Likewise.
29400         * soft-fp/floattitf.c: Likewise.
29401         * soft-fp/floatuntidf.c: Likewise.
29402         * soft-fp/floatuntisf.c: Likewise.
29403         * soft-fp/floatuntitf.c: Likewise.
29404         * soft-fp/trunctfxf2.c: Likewise.
29406 2013-10-10  David S. Miller  <davem@davemloft.net>
29408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29410 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29412         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29413         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29414         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29415         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29416         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29417         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29418         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29420         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29421         for NaNs before doing comparisons on argument.
29422         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29423         Likewise.
29425 2013-10-10  Will Newton  <will.newton@linaro.org>
29427         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29428         passed to _int_memalign does not overflow.
29430 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29432         * scripts/bench.pl: Add include-sources directive.
29433         * benchtests/README: Update documentation.
29435 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29437         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29438         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29439         instead of FP_INIT_ROUNDMODE.
29440         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29441         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29443         [BZ #16034]
29444         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29445         copy class of input value.
29446         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29447         not handle exceptions.
29448         * soft-fp/negsf2.c (__negsf2): Likewise.
29449         * soft-fp/negtf2.c (__negtf2): Likewise.
29450         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29452 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29454         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29455         semicolon.  From Linux kernel.
29457 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29459         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29461 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29463         [BZ #156]
29464         * manual/socket.texi: Added statement about buffer
29465         for gethostbyname2_r.
29467 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29469         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29470         Use .p2align directive instead, throughout.
29471         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29472         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29473         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29474         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29475         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29476         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29477         * sysdeps/x86_64/strchr.S: Likewise.
29478         * sysdeps/x86_64/strrchr.S: Likewise.
29480 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29482         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29484         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29486         * sysdeps/generic/math_private.h (__mpsin1): Remove
29487         declaration.
29488         (__mpcos1): Likewise.
29489         (__mpsin): New argument __range_reduce.
29490         (__mpcos): Likewise.
29491         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29492         (slow): Use __mpsin and __mpcos.
29493         (slow1): Likewise.
29494         (slow2): Likewise.
29495         (sloww): Likewise.
29496         (sloww1): Likewise.
29497         (sloww2): Likewise.
29498         (bsloww): Likewise.
29499         (bsloww1): Likewise.
29500         (bsloww2): Likewise.
29501         (cslow2): Likewise.
29502         (csloww): Likewise.
29503         (csloww1): Likewise.
29504         (csloww2): Likewise.
29505         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29506         range_reduce.  Merge in __mpsin1.
29507         (__mpcos): Likewise.
29508         (__mpsin1): Remove.
29509         (__mpcos1): Likewise.
29511 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29513         * locale/loadlocale.c (_nl_intern_locale_data): Use
29514         LOCFILE_ALIGNED_P.
29515         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29516         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29517         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29518         obstack data is appropriately aligned.
29519         (obstack_int32_grow_fast): Likewise.
29520         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29521         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29522         (add_locale_uint32_array): Likewise.
29524 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29526         * benchtests/Makefile: Remove ARGLIST and RET variables.
29527         ($(objpfx)bench-%.c): Pass only function name to the script.
29528         * benchtests/README: Update documentation.
29529         * benchtests/acos-inputs: Add new directives.
29530         * benchtests/acosh-inputs: Likewise.
29531         * benchtests/asin-inputs: Likewise.
29532         * benchtests/asinh-inputs: Likewise.
29533         * benchtests/atan-inputs: Likewise.
29534         * benchtests/atanh-inputs: Likewise.
29535         * benchtests/cos-inputs: Likewise.
29536         * benchtests/cosh-inputs: Likewise.
29537         * benchtests/exp-inputs: Likewise.
29538         * benchtests/log-inputs: Likewise.
29539         * benchtests/pow-inputs: Likewise.
29540         * benchtests/rint-inputs: Likewise.
29541         * benchtests/sin-inputs: Likewise.
29542         * benchtests/sinh-inputs: Likewise.
29543         * benchtests/tan-inputs: Likewise.
29544         * benchtests/tanh-inputs: Likewise.
29545         * scripts/bench.pl: Add support for new directives.
29547 2013-10-07  Alan Modra  <amodra@gmail.com>
29549         * README: Fix careless merge.
29551 2013-10-05  Alan Modra  <amodra@gmail.com>
29553         * NEWS: Mention powerpc64le support and bugs fixed.
29554         * README: Both big-endian and little-endian powerpc64 supported.
29556 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29558         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29559         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29560         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29561         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29563 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29565         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29566         match prototype.
29568 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29570         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29571         Move -mhard-float appending from
29572         ports/sysdeps/powerpc/powerpc32/Makefile.
29573         [$(with-fp) = yes] (ASFLAGS): Likewise.
29574         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29575         * sysdeps/powerpc/nofpu: Move directory from
29576         ports/sysdeps/powerpc/nofpu.
29577         * sysdeps/powerpc/soft-fp: Move directory from
29578         ports/sysdeps/powerpc/soft-fp.
29579         * sysdeps/powerpc/powerpc32/405: Move directory from
29580         ports/sysdeps/powerpc/powerpc32/405.
29581         * sysdeps/powerpc/powerpc32/440: Move directory from
29582         ports/sysdeps/powerpc/powerpc32/440.
29583         * sysdeps/powerpc/powerpc32/464: Move directory from
29584         ports/sysdeps/powerpc/powerpc32/464.
29585         * sysdeps/powerpc/powerpc32/476: Move directory from
29586         ports/sysdeps/powerpc/powerpc32/476.
29587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29588         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29590         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29592         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29594         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29596         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29597         * README: Update for powerpc-*-linux-gnu software floating point
29598         support in libc.
29600         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29601         case to powerpc/powerpc32*.
29602         * sysdeps/unix/sysv/linux/configure: Regenerated.
29604         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29605         (_FPU_MASK_OM): Define as 0x04.
29606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29608         0x00c10080.
29609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29610         0x0000003c.
29611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29614         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29615         getcontext_e500.
29616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29617         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29618         setcontext_e500.
29619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29620         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29621         and setcontext_e500.
29623 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29625         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29627 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29629         * manual/threads.texi (Default Thread Attributes): Fix typo.
29631 2013-10-04  Will Newton  <will.newton@linaro.org>
29633         * malloc/Makefile: Add tst-memalign.
29634         * malloc/tst-memalign.c: New file.
29636         * malloc/tst-posix_memalign.c: Add comments.
29637         (do_test): Add comments and call free on all potentially
29638         allocated pointers. Add space after cast.
29640         * malloc/tst-pvalloc.c: Add comments.
29641         (do_test): Add comments and call free on all potentially
29642         allocated pointers. Remove duplicate check for NULL pointer.
29643         Add space after cast.
29645         * malloc/tst-valloc.c: Add comments.
29646         (do_test): Add comments and call free on all potentially
29647         allocated pointers. Remove duplicate check for NULL pointer.
29648         Add space after cast.
29650 2013-10-04  Alan Modra  <amodra@gmail.com>
29652         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29653         Use stdint types in rather than __attribute__((mode())).
29654         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29656 2013-10-04  Alan Modra  <amodra@gmail.com>
29658         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29659         Correct handling of unaligned relocs for little-endian.
29660         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29662 2013-10-04  Alan Modra  <amodra@gmail.com>
29664         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29665         * configure: Regenerate.
29666         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29667         * shlib-versions: Likewise.
29669 2013-10-04  Alan Modra  <amodra@gmail.com>
29671         * string/tester.c (test_memrchr): Increment reported test cycle.
29673 2013-10-04  Alan Modra  <amodra@gmail.com>
29675         * string/test-memcpy.c (do_one_test): When reporting errors, print
29676         string address and don't overrun end of string.
29678 2013-10-04  Alan Modra  <amodra@gmail.com>
29680         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29681         insrdi.  Make better use of reg selection to speed exit slightly.
29682         Schedule entry path a little better.  Remove useless "are we done"
29683         checks on entry to main loop.  Handle wrapping around zero address.
29684         Correct main loop count.  Handle single left-over word from main
29685         loop inline rather than by using loop_small.  Remove extra word
29686         case in loop_small caused by wrong loop count.  Add little-endian
29687         support.
29688         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29689         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29690         cache hint.
29691         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29692         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29693         support.  Avoid rlwimi.
29694         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29696 2013-10-04  Alan Modra  <amodra@gmail.com>
29698         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29699         insrdi.  Formatting.
29700         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29701         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29702         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29703         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29704         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29705         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29707 2013-10-04  Alan Modra  <amodra@gmail.com>
29709         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29710         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29711         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29712         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29713         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29714         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29715         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29716         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29717         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29718         use of regs.  Use power7 mtocrf.  Tidy function tails.
29720 2013-10-04  Alan Modra  <amodra@gmail.com>
29722         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29723         Formatting.  Consistently use rXXX register defines or rN defines.
29724         Use early exit labels that avoid restoring unused non-volatile regs.
29725         Make cr field use more consistent with rWORDn compares.  Rename
29726         regs used as shift registers for unaligned loop, using rN defines
29727         for short lifetime/multiple use regs.
29728         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29729         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29730         addi 1,1,64 to pop stack frame.  Simplify return value code.
29731         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29733 2013-10-04  Alan Modra  <amodra@gmail.com>
29735         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29736         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29737         rather than rlwimi.
29738         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29739         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29740         little-endian support.  Correct typos.
29741         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29742         rather than rlwimi.
29743         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29744         in loop and entry code to keep "and." results.
29745         (strchr): Add little-endian support.  Comment.  Move cntlzd
29746         earlier in tail.
29747         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29749 2013-10-04  Alan Modra  <amodra@gmail.com>
29751         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29752         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29753         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29754         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29756 2013-10-04  Alan Modra  <amodra@gmail.com>
29758         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29759         (rTMP): Define as r11.
29760         (strcmp): Add little-endian support.  Optimise tail.
29761         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29762         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29763         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29764         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29765         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29766         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29767         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29769 2013-10-04  Alan Modra  <amodra@gmail.com>
29771         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29772         little-endian support.  Remove unnecessary "are we done" tests.
29773         Handle "s" wrapping around zero and extremely large "size".
29774         Correct main loop count.  Handle single left-over word from main
29775         loop inline rather than by using small_loop.  Correct comments.
29776         Delete "zero" tail, use "end_max" instead.
29777         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29779 2013-10-04  Alan Modra  <amodra@gmail.com>
29781         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29782         support.  Don't branch over align.
29783         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29784         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29785         support.  Rearrange tmp reg use to suit.  Comment.
29786         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29788 2013-10-04  Alan Modra  <amodra@gmail.com>
29790         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29792 2013-10-04  Alan Modra  <amodra@gmail.com>
29794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29795         conditional form of branch and link when obtaining pc.
29796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29798 2013-10-04  Alan Modra  <amodra@gmail.com>
29800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29801         HIWORD/LOWORD.
29802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29805 2013-10-04  Alan Modra  <amodra@gmail.com>
29807         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29808         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29809         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29810         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29811         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29812         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29813         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29814         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29815         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29816         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29818 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29819             Alistair Popple <alistair@ozlabs.au.ibm.com>
29820             Alan Modra <amodra@gmail.com>
29822         [BZ #15723]
29823         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29824         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29825         _dl_hwcap access for little-endian.
29826         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29827         destroy vmx regs when saving unaligned.
29828         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29829         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29830         destroy vmx regs when saving unaligned.
29832 2013-10-04  Alan Modra  <amodra@gmail.com>
29834         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29835         Don't use a union to pack hi/low value.
29837 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29839         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29840         for little-endian.
29841         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29842         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29843         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29844         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29845         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29847 2013-10-04  Alan Modra  <amodra@gmail.com>
29849         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29850         constants to usual value for .cst8 section, and remove redundant
29851         high address load.
29852         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29853         constant for 0x1p52.  Load little-endian words of double from
29854         correct stack offsets.
29856 2013-10-04  Alan Modra  <amodra@gmail.com>
29858         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29859         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29860         words of double from correct stack offsets.
29861         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29862         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29863         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29864         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29865         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29866         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29867         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29868         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29869         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29870         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29871         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29872         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29873         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29874         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29875         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29876         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29877         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29879 2013-10-04  Alan Modra  <amodra@gmail.com>
29881         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29882         64-bit int/double union.
29883         (_FPU_SETCW): Likewise.
29884         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29885         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29887 2013-10-04  Alan Modra  <amodra@gmail.com>
29889         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29890         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29892 2013-10-04  Alan Modra  <amodra@gmail.com>
29894         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29895         use vector int constants.
29896         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29898 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29900         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29901         array with long long.
29902         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29903         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29904         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29905         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29906         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29907         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29908         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29909         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29910         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29911         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29912         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29913         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29914         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29916 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29918         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29919         (__signbit): Likewise.  Correct for little-endian.
29920         (__signbitl): Call __signbit.
29921         (lrint): Correct for little-endian.
29922         (lrintf): Call lrint.
29924 2013-10-04  Alan Modra  <amodra@gmail.com>
29926         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29927         union 32-bit int array member with 64-bit int array.
29928         (t515, tm256): Double rather than long double.
29929         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29931 2013-10-04  Alan Modra  <amodra@gmail.com>
29933         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29934         Delete.
29935         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29936         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29937         version of math_ldbl.h.
29939 2013-10-04  Alan Modra  <amodra@gmail.com>
29941         [BZ #15734], [BZ #15735]
29942         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29943         all uses of ieee875 long double macros and unions.  Simplify test
29944         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29945         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29946         normalize after ldbl_extract_mantissa, and don't add hidden bit
29947         already handled.  Don't treat low word of ieee854 mantissa like
29948         low word of IBM long double and mask off bit when testing for
29949         zero.
29950         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29951         all uses of ieee875 long double macros and unions.  Simplify tests
29952         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29953         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29954         two1022, instead use their values.  Recognise that tests for large
29955         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29956         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29957         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29958         test for 0.0L and nan.  Correct negation.
29959         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29960         ieee875 long double macros and unions.  Correct output for large
29961         magnitude x.  Correct absolute value calculation.
29962         (__erfcl): Likewise.
29963         * math/libm-test.inc: Add tests for errors discovered in IBM long
29964         double versions of fmodl, remainderl, erfl and erfcl.
29966 2013-10-04  Alan Modra  <amodra@gmail.com>
29968         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29969         all uses of ieee854 long double macros and unions.  Simplify tests
29970         for long doubles that are fully specified by the high double.
29971         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29972         Likewise.
29973         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29974         Remove dead code too.
29975         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29976         (__ieee754_ynl): Likewise.
29977         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29978         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29979         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29980         Remove dead code too.
29981         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29982         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29983         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29984         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29985         Simplify.
29986         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29987         Simplify.
29988         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29989         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29990         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29991         Comment on variable precision.
29992         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29993         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29994         Likewise.
29995         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29996         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29997         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29998         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29999         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30001 2013-10-04  Alan Modra  <amodra@gmail.com>
30003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30004         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30005         all uses of ieee854 long double macros and unions.
30006         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30007         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30008         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30009         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30010         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30011         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30012         Likewise.
30013         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30014         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30015         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30016         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30017         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30018         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30019         Simplify sign and nan test too.
30020         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30021         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30022         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30023         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30024         Likewise.
30025         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30026         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30027         Likewise.
30028         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30029         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30030         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30031         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30032         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30033         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30035 2013-10-04  Alan Modra  <amodra@gmail.com>
30037         * stdio-common/printf_size.c (__printf_size): Don't use
30038         union ieee854_long_double in fpnum union.
30039         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30040         signbit macro to retrieve sign from long double.
30041         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30042         retrieve sign from long double.
30043         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30044         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30045         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30046         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30047         * math/test-misc.c (main): Don't use union ieee854_long_double.
30049 2013-10-04  Alan Modra  <amodra@gmail.com>
30051         [BZ #15680]
30052         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30053         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30054         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30055         calculation.  Remove unnecessary test for denormal exponent.
30056         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30057         Correct handling of denormals.  Avoid undefined shift behaviour.
30058         Correct normalisation of low mantissa when low double is denormal.
30059         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30060         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30061         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30062         Correct normalisation of low mantissa.  Test for overflow of high
30063         mantissa and normalise.
30064         (ldbl_nearbyint): Use more readable constant for two52.
30065         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30066         (__mpn_construct_long_double): Fix test for overflow of high
30067         mantissa and correct normalisation.  Avoid undefined shift.
30069 2013-10-04  Alan Modra  <amodra@gmail.com>
30071         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30072         (union ibm_extended_long_double): Define as an array of ieee754_double.
30073         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30074         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30075         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30076         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30077         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30078         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30079         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30080         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30081         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30082         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30083         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30085 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30087         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30088         page size instead of calling getpagesize.
30090         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30091         (LOCFILE_ALIGN_MASK): Likewise.
30092         (LOCFILE_ALIGN_UP): Likewise.
30093         (LOCFILE_ALIGNED_P): Likewise.
30094         * locale/programs/ld-collate.c (collate_output): Use the new
30095         macros instead of __alignof__ (int32_t).
30096         * locale/weight.h (findidx): Likewise.
30098 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30100         [BZ #431]
30101         * manual/string.texi: Fix strncat and wcsncat.
30103 2013-10-03  Brooks Moses  <bmoses@google.com>
30105         [BZ #15915]
30106         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30107         * Makerules: ...here, and adjust associated comments.
30109 2013-10-02  Will Newton  <will.newton@linaro.org>
30111         * malloc/Makefile: Add tst-pvalloc.
30112         * malloc/tst-pvalloc.c: New file.
30114 2013-10-02  Will Newton  <will.newton@linaro.org>
30116         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30117         improve test coverage.
30119 2013-10-02  Will Newton  <will.newton@linaro.org>
30121         * malloc/Makefile: Add tst-posix_memalign.
30122         * malloc/tst-posix_memalign.c: New file.
30124 2013-10-01  Eric Blake  <eblake@redhat.com>
30126         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30127         Use __THROWNL rather than __THROW on static functions.
30129 2013-09-30  Petr Machata  <pmachata@redhat.com>
30131         * elf/elf.h (R_AARCH64_ABS16): New macro.
30132         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30133         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30134         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30135         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30136         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30137         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30138         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30139         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30140         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30141         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30142         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30143         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30144         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30145         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30146         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30147         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30148         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30149         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30150         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30151         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30152         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30153         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30154         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30155         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30156         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30157         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30158         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30159         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30160         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30161         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30162         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30163         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30164         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30165         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30166         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30167         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30168         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30169         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30170         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30171         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30172         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30173         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30174         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30175         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30176         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30177         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30178         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30179         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30180         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30181         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30182         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30183         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30184         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30185         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30186         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30187         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30188         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30189         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30190         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30191         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30192         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30193         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30194         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30195         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30196         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30197         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30198         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30199         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30200         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30201         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30202         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30203         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30204         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30205         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30206         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30207         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30208         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30209         (R_AARCH64_TLSDESC_LDR): Likewise.
30210         (R_AARCH64_TLSDESC_ADD): Likewise.
30211         (R_AARCH64_TLSDESC_CALL): Likewise.
30213 2013-09-30  Andreas Schwab  <schwab@suse.de>
30215         [BZ #15048]
30216         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30217         the nss database lookup.
30218         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30221 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30223         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30225 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30227         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30228         ${Bash-specific parameter/pattern/string} parameter expansion.
30229         * sysdeps/unix/make-syscalls.sh: Likewise.
30231 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30233         * sysdeps/sh/stackguard-macros.h: New file.
30235 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30237         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30239         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30240         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30241         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30242         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30244 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30246         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30247         Fix thread ID register.
30249 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30251         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30252         [POSIX || UNIX98]: Require rather than permitting all symbols from
30253         <time.h>.
30254         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30255         element of struct sched_param.
30256         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30257         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30258         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30259         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30260         constant.
30262 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30264         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30265         argument calculation.
30267 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30269         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30270         Expect macro.
30271         [POSIX] (pthread_attr_t): Do not require type.
30272         [POSIX] (pthread_cond_t): Likewise.
30273         [POSIX] (pthread_condattr_t): Likewise.
30274         [POSIX] (pthread_key_t): Likewise.
30275         [POSIX] (pthread_mutex_t): Likewise.
30276         [POSIX] (pthread_mutexattr_t): Likewise.
30277         [POSIX] (pthread_once_t): Likewise.
30278         [POSIX] (pthread_t): Likewise.
30279         [POSIX-based standards] (pthread_atfork): Expect function.
30281 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30282             Richard Sandiford  <richard@codesourcery.com>
30284         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30285         (swap_endianness_p): New extern variable.
30286         (set_big_endian): New inline function.
30287         (maybe_swap_uint32): Likewise.
30288         (maybe_swap_uint32_array): Likewise.
30289         (maybe_swap_uint32_obstack): Likewise.
30290         * locale/programs/locfile.c: Include <stdbool.h>.
30291         (swap_endianness_p): New variable.
30292         (add_locale_uint32): Call maybe_swap_uint32.
30293         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30294         (write_locale_data): Call maybe_swap_uint32_array.
30295         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30296         maybe_swap_uint32.
30297         (obstack_int32_grow_fast): Likewise.
30298         (output_weightwc): Call maybe_swap_uint32_obstack.
30299         (collate_output): Likewise.
30300         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30301         (OPT_LITTLE_ENDIAN): Likewise.
30302         (options): Add --little-endian and --big-endian options.
30303         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30304         * locale/programs/locarchive.c: Include "locfile.h".
30305         (GET): New macro.
30306         (SET): Likewise.
30307         (INC): Likewise.
30308         (create_archive): Use the new macros to access fields of
30309         structures directly mapped from or written to locale archives.
30310         (oldlocrecentcmp): Likewise.
30311         (enlarge_archive): Likewise.
30312         (insert_name): Likewise.
30313         (add_alias): Likewise.
30314         (add_locale): Likewise.
30315         (delete_locales_from_archive): Likewise.
30316         (show_archive_content): Likewise.
30317         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30318         locale data.
30320 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30322         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30323         http://www.gnu.org/doc/freemanuals.texi.
30324         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30326 2013-09-24  Will Newton  <will.newton@linaro.org>
30328         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30329         macro.
30331 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30333         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30334         unsigned char.
30336 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30338         * manual/threads.texi (POSIX Threads): Fix a typo.
30340 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30342         [BZ #14547]
30343         * string/tst-strcoll-overflow.c: New test case.
30344         * string/Makefile (xtests): Add tst-strcoll-overflow.
30345         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30346         cache if string sizes may cause integer overflow.
30348         [BZ #14547]
30349         * string/strcoll_l.c (coll_seq): New members rule, idx,
30350         save_idx and back_us.
30351         (get_next_seq_nocache): New function.
30352         (do_compare_nocache): New function.
30353         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30354         when malloc fails.
30356 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30358         [BZ #15754]
30359         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30360         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30361         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30363         [BZ #15754]
30364         * elf/Makefile (tests): Add tst-ptrguard1.
30365         (tests-static): Add tst-ptrguard1-static.
30366         (tst-ptrguard1-ARGS): Define.
30367         (tst-ptrguard1-static-ARGS): Define.
30368         * elf/tst-ptrguard1.c: New file.
30369         * elf/tst-ptrguard1-static.c: New file.
30370         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30371         * sysdeps/i386/stackguard-macros.h: Likewise.
30372         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30373         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30374         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30375         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30376         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30377         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30379 2013-09-23  Hector Marco  <hecmargi@upv.es>
30380             Ismael Ripoll  <iripoll@disca.upv.es>
30381             Carlos O'Donell  <carlos@redhat.com>
30383         [BZ #15754]
30384         * sysdeps/generic/stackguard-macros.h: Define
30385         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30386         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30387         Define __pointer_chk_guard_local.
30388         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30389         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30391 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30393         [BZ #15859]
30394         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30396 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30398         * include/string.h (__ffs): Declare as hidden.
30399         * string/ffs.c (__ffs): Define as hidden.
30400         * sysdeps/i386/ffs.c (__ffs): Likewise.
30401         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30402         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30403         * sysdeps/s390/ffs.c (__ffs): Likewise.
30404         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30406 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30408         * NEWS: Mention malloc probes.
30410         * malloc/arena.c (new_heap): New memory_heap_new probe.
30411         (grow_heap): New memory_heap_more probe.
30412         (shrink_heap): New memory_heap_less probe.
30413         (heap_trim): New memory_heap_free probe.
30414         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30415         (systrim): New memory_sbrk_less probe.
30416         * manual/probes.texi: Document them.
30418         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30419         * manual/probes.texi: Document it.
30421         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30422         (__libc_realloc): Add memory_realloc_retry probe.
30423         (__libc_memalign): Add memory_memalign_retry probe.
30424         (__libc_valloc): Add memory_valloc_retry probe.
30425         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30426         (__libc_calloc): Add memory_calloc_retry probe.
30427         * manual/probes.texi: Document them.
30429         * malloc/arena.c (get_free_list): Add probe
30430         memory_arena_reuse_free_list.
30431         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30432         and memory_arena_reuse.
30433         (arena_get2) [!PER_THREAD]: Likewise.
30434         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30435         memory_arena_reuse_realloc.
30436         * manual/probes.texi: Document them.
30438         * malloc/malloc.c (__libc_free): Add
30439         memory_mallopt_free_dyn_thresholds probe.
30440         (__libc_mallopt): Add multiple memory_mallopt probes.
30441         * manual/probes.texi: Document them.
30443         * malloc/malloc.c: Include stap-probe.h.
30444         (__libc_mallopt): Add memory_mallopt probe.
30445         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30446         * manual/probes.texi: New.
30447         * manual/Makefile (chapters): Add probes.
30448         * manual/threads.texi: Set next node.
30450 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30452         [BZ #15963, #13985]
30453         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30454         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30455         Add `Chinese' to `nan' entry name.
30457 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30459         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30460         (POLYNOMIAL): Likewise.
30461         (TAYLOR_SINCOS): Likewise.
30462         (TAYLOR_SLOW): Likewise.
30463         (__sin): Use TAYLOR_SINCOS.
30464         (__cos): Likewise.
30465         (slow): Use TAYLOR_SLOW.
30466         (sloww): Likewise.
30467         (bsloww): Likewise.
30468         (csloww): Likewise.
30470 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30472         * stdlib/strtod_l.c: Fix buffer overrun.
30474 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30476         * benchtests/Makefile (bench): Add sincos.
30477         * benchtests/bench-sincos.c: New file.
30479         * math/libm-test.inc (cos_test_data): New test inputs.
30480         (sin_test_data): Likewise.
30482         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30483         macro.
30484         (__sin): Use it.
30485         (__cos): Likewise.
30486         (slow1): Likewise.
30487         (slow2): Likewise.
30488         (sloww1): Likewise.
30489         (sloww2): Likewise.
30490         (bsloww1): Likewise.
30491         (bsloww2): Likewise.
30492         (cslow2): Likewise.
30493         (csloww1): Likewise.
30494         (csloww2): Likewise.
30496         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30497         function.
30498         (__sin): Use it.
30499         (__cos): Likewise.
30501         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30502         gotos.
30503         (__cos): Likewise.
30505 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30507         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30508         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30509         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30510         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30511         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30512         * elf/cache.c (print_entry): Handle the new cache flags.
30514 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30515             Aldy Hernandez  <aldyh@redhat.com>
30517         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30518         Change condition to [_SOFT_FLOAT].
30519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30529         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30530         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30531         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30534         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30535         declaration.
30537 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30539         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30540         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30541         (__longjmp): Use LOAD_GP to load saved GPRs.
30542         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30543         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30544         (__sigsetjmp): Use SAVE_GP to save GPRs.
30546         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30547         Do not append -msoft-float.
30548         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30550 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30552         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30554 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30556         [BZ #15966]
30557         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30558         (_FPU_GETCW): Use initial "__" on variable and field names but not
30559         on macro parameter name.
30560         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30561         parentheses around reference to macro parameter.
30563 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30565         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30566         prototype.
30567         (ctype_startup): Use uint32_t in cast and sizeof for
30568         ctype->charnames.
30570 2013-09-11  Jia Liu  <proljc@gmail.com>
30572         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30573         __daddr_t_defined.
30574         [__FreeBSD__]: Likewise.
30576 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30578         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30579         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30580         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30581         (strchr): Remove __strchr_sse42 ifunc selection.
30582         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30583         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30585 2013-09-11  Will Newton  <will.newton@linaro.org>
30587         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30588         parameter to RES. Remove hardcoded 1000 value.
30589         * benchtests/bench-skeleton.c (main): Pass RES parameter
30590         to TIMING_INIT and multiply result by 1000.
30592 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30596 2013-09-11  Andreas Schwab  <schwab@suse.de>
30598         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30599         if not defined.
30600         (O_TMPFILE) [__USE_GNU]: Define.
30601         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30602         Define.
30604 2013-09-11  Will Newton  <will.newton@linaro.org>
30606         [BZ #15857]
30607         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30608         does not overflow.
30610 2013-09-11  Will Newton  <will.newton@linaro.org>
30612         [BZ #15856]
30613         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30614         does not overflow.
30616 2013-09-11  Will Newton  <will.newton@linaro.org>
30618         [BZ #15855]
30619         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30620         does not overflow.
30622 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30624         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30625         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30626         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30627         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30628         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30630 2013-09-10  Allan McRae  <allan@archlinux.org>
30632         [BZ #15748]
30633         * manual/arith.texi (Parsing of Floats): Clarify
30634         cross-reference.
30636         [BZ #15849]
30637         * manual/install.texi (Running make install): Mention
30638         --enable-pt-chown.
30639         * INSTALL: Regenerated.
30641 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30643         * csu/init-first.c (_init): Remove the !SHARED condition around
30644         FPU control word initialization.
30645         * elf/dl-support.c (_dl_fpu_control): New variable.
30646         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30647         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30648         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30649         * math/test-fpucw-static.c: New file.
30650         * math/test-fpucw-ieee.c: New file.
30651         * math/test-fpucw-ieee-static.c: New file.
30652         * math/Makefile (tests): Add `test-fpucw-ieee' and
30653         `$(tests-static)'.
30654         (tests-static): New variable.
30655         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30656         dependency to...
30657         [($(build-shared),yes)]
30658         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30659         ... this.
30660         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30661         New dependency.
30663 2013-09-09  Allan McRae  <allan@archlinux.org>
30665         [BZ #15939]
30666         * manual/string.texi (Collation Functions): Fix typo in
30667         strcoll example.
30668         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30670         [BZ #15893]
30671         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30673         [BZ #15892]
30674         * libio/memstream.c (open_memstream): Fix memory leak.
30675         * libio/wmemstream.c (open_wmemstream): Likewise.
30677         [BZ #15895]
30678         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30680 2013-09-09  Will Newton  <will.newton@linaro.org>
30682         * malloc/Makefile: Add tst-realloc to tests.
30683         * malloc/tst-realloc.c: New file.
30685 2013-09-09  Allan McRae  <allan@archlinux.org>
30687         [BZ #15844]
30688         * COPYING: Update from GNU website to fix FSF address.
30689         * COPYING.LIB: Likewise.
30691 2013-09-06  David S. Miller  <davem@davemloft.net>
30693         * po/zh_TW.po: Update Chinese (traditional) translation from
30694         translation project.
30696 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30697             Joseph Myers  <joseph@codesourcery.com>
30699         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30700         "localeinfo.h".
30701         (obstack_chunk_alloc): New macro.
30702         (obstack_chunk_free): Likewise.
30703         (record_offset): New function.
30704         (init_locale_data): Likewise.
30705         (align_locale_data): Likewise.
30706         (add_locale_empty): Likewise.
30707         (add_locale_raw_data): Likewise.
30708         (add_locale_raw_obstack): Likewise.
30709         (add_locale_string): Likewise.
30710         (add_locale_wstring): Likewise.
30711         (add_locale_uint32): Likewise.
30712         (add_locale_uint32_array): Likewise.
30713         (add_locale_char): Likewise.
30714         (start_locale_structure): Likewise.
30715         (end_locale_structure): Likewise.
30716         (start_locale_prelude): Likewise.
30717         (end_locale_prelude): Likewise.
30718         (write_locale_data): Take locale_file structure rather than an
30719         iovec.
30720         * locale/programs/locfile.h: Include "obstack.h".
30721         (struct locale_file): Change to store locale file contents instead
30722         of header.
30723         (init_locale_data): New prototype.
30724         (align_locale_data): Likewise.
30725         (add_locale_empty): Likewise.
30726         (add_locale_raw_data): Likewise.
30727         (add_locale_raw_obstack): Likewise.
30728         (add_locale_string): Likewise.
30729         (add_locale_wstring): Likewise.
30730         (add_locale_uint32): Likewise.
30731         (add_locale_uint32_array): Likewise.
30732         (add_locale_char): Likewise.
30733         (start_locale_structure): Likewise.
30734         (end_locale_structure): Likewise.
30735         (start_locale_prelude): Likewise.
30736         (end_locale_prelude): Likewise.
30737         (write_locale_data): Update prototype.
30738         * locale/programs/3level.h (struct TABLE): Remove result field.
30739         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30740         Use new locale_file interface.
30741         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30742         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30743         * locale/programs/ld-address.c (address_output): Use new
30744         locale_file interface.
30745         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30746         NO_ADD_LOCALE.
30747         (collate_finish): Don't call collseq_table_finalize.
30748         (collate_output): Use new locale_file interface.
30749         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30750         in file.
30751         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30752         (TABLE): Move defines earlier in file.
30753         (ELEMENT): Likewise.
30754         (DEFAULT): Likewise.
30755         (wctrans_table_add): Move macro and inline function earlier in
30756         file.
30757         (struct wctype_table): Move type earlier in file.
30758         (add_locale_wctype_table): New static prototype.
30759         (struct locale_ctype_t): Use logical types instead of struct iovec
30760         pointers for members.
30761         (ctype_output): Use new locale_file interface.
30762         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30763         new locale_file interface.
30764         (allocate_arrays): Update for use of new locale_file interface.
30765         * locale/programs/ld-identification.c (identification_output): Use
30766         new locale_file interface.
30767         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30768         * locale/programs/ld-messages.c (messages_output): Likewise.
30769         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30770         * locale/programs/ld-name.c (name_output): Likewise.
30771         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30772         * locale/programs/ld-paper.c (paper_output): Likewise.
30773         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30774         * locale/programs/ld-time.c (time_output): Likewise.
30776 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30778         * benchtests/Makefile: Add memrchr benchmark.
30779         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30780         benchmark as memrchr.
30781         * benchtests/bench-memrchr-ifunc.c: New file.
30782         * benchtests/bench-memrchr.c: New file.
30784 2013-09-06   Will Newton  <will.newton@linaro.org>
30786         * benchtests/Makefile (string-bench): Add memcpy.
30788 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30789             Cong Wang  <amwang@redhat.com>
30791         [BZ #15850]
30792         * sysdeps/unix/sysv/linux/bits/in.h
30793         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30794         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30795         before __USE_KERNEL_IPV6_DEFS uses.
30796         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30797         IPPROTO_BEETPH.
30798         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30799         sockaddr_in6, or ipv6_mreq.
30801 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30803         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30804         memory access for final bytes in some large inputs.
30805         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30807 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30809         * string/test-memrchr.c: New file.
30810         * string/test-memrchr-ifunc.c: New file.
30811         * string/Makefile: Add new memrchr testcase.
30813 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30815         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30816         fanotify_init returns EPERM.
30818 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30820         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30821         errors.
30822         (top level): Treat second token from macro or constant entries for
30823         allowed headers as allowed.
30824         * include/complex.h: Condition internal declarations on
30825         [!_ISOMAC].
30826         * include/fenv.h: Condition include of <stdbool.h> and internal
30827         declarations on [!_ISOMAC].
30829 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30831         [BZ #15923]
30832         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30834 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30836         * configure.in (--enable-versioning): Remove configure option.
30837         (libc_cv_asm_symver_directive): Remove configure test.
30838         (libc_cv_ld_version_script_option): Likewise.
30839         (VERSIONING): Remove variable and AC_SUBST.
30840         (DO_VERSIONING): Remove AC_DEFINE.
30841         * configure: Regenerated.
30842         * config.h.in (DO_VERSIONING): Remove macro.
30843         * Makerules [$(versioning) = yes]: Change conditionals to
30844         [$(build-shared) = yes].
30845         * config.make.in (versioning): Remove variable.
30846         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30847         [$(build-shared) = yes].
30848         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30849         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30850         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30851         [$(build-shared) = yes].
30852         * extra-lib.mk [$(versioning) = yes]: Likewise.
30853         * hurd/Makefile [$(versioning) = yes]: Likewise.
30854         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30855         [SHARED].
30856         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30857         [SHARED].
30858         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30859         [SHARED && !NO_HIDDEN].
30860         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30861         [SHARED].
30862         [SHARED && DO_VERSIONING]: Likewise..
30863         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30864         [$(build-shared) = yes].
30865         * manual/install.texi (--disable-versioning): Remove
30866         documentation.
30867         * INSTALL: Regenerated.
30868         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30869         to [SHARED].
30870         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30871         [$(build-shared) = yes].
30872         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30873         * sysdeps/i386/i686/multiarch/strstr-c.c
30874         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30875         [SHARED && !NO_HIDDEN].
30876         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30877         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30878         * sysdeps/powerpc/powerpc32/dl-machine.c
30879         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30880         * sysdeps/powerpc/powerpc32/sysdep.h
30881         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30882         to [SHARED && PIC && !NO_HIDDEN].
30883         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30884         conditional to [SHARED].
30886 2013-09-04   Will Newton  <will.newton@linaro.org>
30888         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30889         * benchtests/bench-string.h: Include bench-timing.h instead
30890         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30891         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30892         call to HP_TIMING_DIFF_INIT.
30893         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30894         instead of hp-timing.h macros.
30895         * benchtests/bench-memchr.c: Likewise.
30896         * benchtests/bench-memcmp.c: Likewise.
30897         * benchtests/bench-memcpy.c: Likewise.
30898         * benchtests/bench-memmem.c: Likewise.
30899         * benchtests/bench-memmove.c: Likewise.
30900         * benchtests/bench-memset.c: Likewise.
30901         * benchtests/bench-rawmemchr.c: Likewise.
30902         * benchtests/bench-strcasecmp.c: Likewise.
30903         * benchtests/bench-strcasestr.c: Likewise.
30904         * benchtests/bench-strcat.c: Likewise.
30905         * benchtests/bench-strchr.c: Likewise.
30906         * benchtests/bench-strcmp.c: Likewise.
30907         * benchtests/bench-strcpy.c: Likewise.
30908         * benchtests/bench-strcpy_chk.c: Likewise.
30909         * benchtests/bench-strlen.c: Likewise.
30910         * benchtests/bench-strncasecmp.c: Likewise.
30911         * benchtests/bench-strncat.c: Likewise.
30912         * benchtests/bench-strncmp.c: Likewise.
30913         * benchtests/bench-strncpy.c: Likewise.
30914         * benchtests/bench-strnlen.c: Likewise.
30915         * benchtests/bench-strpbrk.c: Likewise.
30916         * benchtests/bench-strrchr.c: Likewise.
30917         * benchtests/bench-strspn.c: Likewise.
30918         * benchtests/bench-strstr.c: Likewise.
30920 2013-09-04  Will Newton  <will.newton@linaro.org>
30922         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30924 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30926         [BZ #15427]
30927         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30928         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30929         * math/libm-test.inc (lgamma_test_data): Add more tests.
30930         * sysdeps/i386/fpu/libm-test-ulps: Update.
30931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30933 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30935         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30936         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30937         Add ifunc.
30938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30939         Add strcmp-sse2-unaligned
30940         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30942 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30944         * Versions.def (libc): Add GLIBC_2.19.
30946 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30948         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30949         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30951 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30953         [BZ #14155]
30954         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30955         intermediate calculations in recurrence.
30956         (__ieee754_ynf): Likewise.
30957         * math/libm-test.inc (jn_test_data): Do not allow spurious
30958         underflow exception.  Add more tests.
30959         (yn_test_data): Add more tests.
30960         * sysdeps/i386/fpu/libm-test-ulps: Update.
30961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30963 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30965         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30967 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30969         * csu/init-first.c: Fix then/than typos.
30970         * locale/programs/ld-collate.c: Likewise.
30971         * locale/programs/linereader.h: Likewise.
30972         * manual/charset.texi: Likewise.
30973         * manual/filesys.texi: Likewise.
30974         * manual/stdio.texi: Likewise.
30975         * manual/string.texi: Likewise.
30976         * stdlib/fmtmsg.c: Likewise.
30977         * sysdeps/i386/stpncpy.S: Likewise.
30978         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30979         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30980         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30981         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30983 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30985         * elf/dl-open.c: Fix typos.
30986         * iconvdata/gbbig5.c: Likewise.
30987         * iconvdata/iso-2022-jp.c: Likewise.
30988         * iconv/gconv_int.h: Likewise.
30989         * iconv/loop.c: Likewise.
30990         * nis/rpcsvc/nis.h: Likewise.
30991         * resolv/ns_name.c: Likewise.
30992         * stdio-common/vfscanf.c: Likewise.
30993         * streams/stropts.h: Likewise.
30994         * sunrpc/rpc_thread.c: Likewise.
30995         * sysdeps/i386/strpbrk.S: Likewise.
30996         * sysdeps/ieee754/k_standard.c: Likewise.
30997         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30998         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30999         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31000         * sysdeps/mach/hurd/profil.c: Likewise.
31001         * sysdeps/s390/dl-procinfo.h: Likewise.
31002         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31003         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31004         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31005         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31006         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31008 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31010         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31011         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31013 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31015         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31016         aix specific files.
31017         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31018         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31019         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31020         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31021         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31022         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31023         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31024         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31026 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31027             Roland McGrath  <roland@hack.frob.com>
31029         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31030         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31032 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31034         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31035         __executable_start symbol instead of _start.
31037 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31039         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31040         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31041         Move macros to...
31042         * sysdeps/gnu/ldsodefs.h: ... this new file.
31044         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31045         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31046         instead of ELFOSABI_LINUX.
31048         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31049         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31050         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31051         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31052         Likewise.
31053         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31054         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31055         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31056         Likewise.
31057         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31058         (ibm_extended_long_double): Add ieee_nan member.
31059         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31060         (do_test): New function.
31062         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31063         TEST_TRUNC.
31064         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31065         functions, renamed from truncdfsf_test, trunctfsf_test,
31066         trunctfdf_test.
31067         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31068         functions.
31069         (do_test): Run all these.
31071 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31073         * argp/argp-help.c: Fix typos.
31074         * argp/argp-parse.c: Likewise.
31075         * debug/backtracesyms.c: Likewise.
31076         * elf/elf.h: Likewise.
31077         * malloc/malloc.c: Likewise.
31078         * nis/nis_print.c: Likewise.
31079         * resolv/res_comp.c: Likewise.
31080         * stdlib/stdlib.h: Likewise.
31081         * sunrpc/clnt_tcp.c: Likewise.
31082         * sunrpc/clnt_udp.c: Likewise.
31083         * sunrpc/clnt_unix.c: Likewise.
31084         * sysdeps/unix/bsd/ptsname.c: Likewise.
31085         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31086         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31088         Likewise.
31089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31090         Likewise.
31091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31092         Likewise.
31093         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31095 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31097         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31098         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31100 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31102         [BZ #15897]
31103         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31104         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31105         ($(objpfx)bug-dl-leaf): New rule.
31106         ($(objpfx)bug-dl-leaf.so): Likewise.
31107         ($(objpfx)bug-dl-leaf.out): Likewise.
31108         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31109         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31110         * dlfcn/bug-dl-leaf.c: New test.
31111         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31112         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31113         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31114         (dlclose): Likewise.
31115         (dlmopen): Likewise.
31117 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31119         * include/netdb.h [!_ISOMAC]:
31120         Don't include <tls.h>.
31121         (h_errno, __libc_h_errno): Move declaration and macros out of
31122         [_LIBC_REENTRANT].
31124         * include/resolv.h [_RESOLV_H_]:
31125         Don't include <tls.h>.
31126         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31127         * resolv/res_libc.c: Don't include <tls.h>.
31128         (_res): Use __attribute__ ((nocommon)) in place of
31129         __attribute__ ((section (".bss"))).
31131         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31132         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31134         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31136         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31137         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31139         * resolv/res_mkquery.c: Include <sys/time.h>.
31141         * inet/ifreq.c: Moved to ...
31142         * sysdeps/unix/ifreq.c: ... here.
31143         * inet/ifreq.c: New file, true stub version.
31145         * socket/sa_len.c: New file.
31146         * socket/Makefile (aux): Add it.
31147         * sysdeps/unix/sysv/linux/Makefile
31148         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31149         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31150         and #include <socket/sa_len.c>.
31151         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31152         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31154         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31155         * bits/socket.h: ... here.
31157         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31158         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31159         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31161 2013-08-27  Andreas Schwab  <schwab@suse.de>
31163         [BZ #15736]
31164         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31165         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31166         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31167         * string/test-strcasecmp.c (test_main): Run tests in several
31168         locales.
31169         * string/test-strncasecmp.c (test_main): Likewise.
31171         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31172         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31173         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31174         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31175         (__strncasecmp_ssse3) [PIC]: Likewise.
31177 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31179         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31181         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31182         instead of explicitly declaring xdecrypt.
31183         * nis/nss_nis/nis-publickey.c: Likewise.
31185 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31187         [BZ #15890]
31188         * nscd/aicache.c: Include res_hconf.h.
31189         (addhstaiX): Initialize res_hconf.
31191 2013-08-26  Andreas Schwab  <schwab@suse.de>
31193         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31194         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31196 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31198         * nscd/aicache.c (addhstaiX): Fix indentation.
31200 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31202         * configure.ac: Quote $build_pt_chown test.
31203         * configure: Regenerated.
31205 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31207         [BZ #15532]
31208         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31209         * math/s_cexpf.c (__cexpf): Likewise.
31210         * math/s_cexpl.c (__cexpl): Likewise.
31211         * math/libm-test.inc (cexp_test_data): Correct expected return
31212         value for NaN + i0.  Add another test.
31214 2013-08-22  David S. Miller  <davem@davemloft.net>
31216         * po/ca.po: Update Catalan translation from translation project.
31217         * po/uk.po: Add Ukrainian translations from translation project.
31219 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31221         [BZ #15797]
31222         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31223         is infinite, not alongside NaN test.
31224         * math/s_fdimf.c (__fdimf): Likewise.
31225         * math/s_fdiml.c (__fdiml): Likewise.
31226         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31227         errno is unchanged.
31229 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31231         * argp/argp-help.c: Fix typos.
31232         * crypt/speeds.c: Likewise.
31233         * csu/check_fds.c: Likewise.
31234         * elf/dl-load.c: Likewise.
31235         * elf/dl-open.c: Likewise.
31236         * elf/reldep3.c: Likewise.
31237         * elf/reldep.c: Likewise.
31238         * elf/sprof.c: Likewise.
31239         * iconv/iconv_charmap.c: Likewise.
31240         * iconv/skeleton.c: Likewise.
31241         * iconv/strtab.c: Likewise.
31242         * io/lockf64.c: Likewise.
31243         * libio/libioP.h: Likewise.
31244         * resolv/gai_notify.c: Likewise.
31245         * resolv/ns_name.c: Likewise.
31246         * resolv/ns_samedomain.c: Likewise.
31247         * resolv/res_send.c: Likewise.
31248         * stdlib/random.c: Likewise.
31249         * sunrpc/rpc/xdr.h: Likewise.
31250         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31251         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31252         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31253         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31254         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31255         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31256         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31257         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31258         * sysdeps/mach/hurd/check_fds.c: Likewise.
31259         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31260         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31261         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31262         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31263         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31264         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31265         * sysdeps/pthread/aio_notify.c: Likewise.
31266         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31267         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31268         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31269         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31270         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31272 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31274         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31275         version if bit_Slow_SSE4_2 is set.
31276         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31277         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31279 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31281         [BZ #15867]
31282         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31283         trampoline stack frame information.
31284         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31285         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31286         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31287         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31288         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31289         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31290         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31291         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31292         sa_flags value.
31293         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31294         interrupting a syscall and set with option SA_SIGINFO.
31296 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31298         [BZ #15531]
31299         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31300         argument is infinite.
31301         * math/s_cprojf.c (__cprojf): Likewise.
31302         * math/s_cprojl.c (__cprojl): Likewise.
31303         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31304         * math/libm-test.inc (cproj_test_data): Add more tests.
31306         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31308         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31309         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31310         size.  Use __ffs to determine corresponding shift.
31312 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31313             Roland McGrath  <roland@hack.frob.com>
31315         * Makefile (INSTALL): Remove trailing blank lines from output of
31316         makeinfo.
31318 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31320         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31321         Align 32 bit compat elf_greg to 8 bytes.
31323 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31325         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31327 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31329         * string/strcoll_l.c (coll_seq): New structure.
31330         (get_next_seq_cached): New function.
31331         (get_next_seq): New function.
31332         (do_compare): New function.
31333         (STRCOLL): Use GNU style definition.  Simplify implementation
31334         by using get_next_seq, get_next_seq_cached and do_compare.
31336 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31338         [BZ #14699]
31339         CVE-2013-4237
31340         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31341         member.
31342         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31343         member.
31344         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31345         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31346         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31347         conditional.
31348         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31349         GETDENTS_64BIT_ALIGNED.
31350         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31351         * manual/filesys.texi (Reading/Closing Directory): Document
31352         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31353         strongly.
31354         * manual/conf.texi (Limits for Files): Add portability note to
31355         NAME_MAX, PATH_MAX.
31356         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31358 2013-08-13  Andreas Schwab  <schwab@suse.de>
31360         [BZ #15749]
31361         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31362         of fabs.
31363         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31364         LDBL_MAX_EXP >= 16384]: Add tests for it.
31366 2013-08-12  David S. Miller  <davem@davemloft.net>
31368         * version.h (RELEASE): Set to "development".
31369         (VERSION): Set to "2.18.90".
31370         * NEWS: Add 2.19 section.
31372 2013-08-03  David S. Miller  <davem@davemloft.net>
31374         * po/ko.po: Update Korean translation from translation project.
31376 2013-08-01  David S. Miller  <davem@davemloft.net>
31378         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31379         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31380         Bilka.
31382 2013-07-30  David S. Miller  <davem@davemloft.net>
31384         * po/fr.po: Update French translation from translation project.
31386 2013-07-28  David S. Miller  <davem@davemloft.net>
31388         * po/cs.po: Update Czech translation from translation project.
31390         * po/sv.po: Update Swedish translation from translation project.
31392 2013-07-27  David S. Miller  <davem@davemloft.net>
31394         * po/eo.po: Update Esperanto translation from translation project.
31396         * po/vi.po: Update Vietnamese translation from translation project.
31398         * po/de.po: Update German translation from translation project.
31400 2013-07-26  David S. Miller  <davem@davemloft.net>
31402         * po/bg.po: Update Bulgarian translation from translation project.
31404         * po/nl.po: Update Dutch translation from translation project.
31405         * po/pl.po: Update Polish translation from translation project.
31406         * po/ru.po: Update Russian translation from translation project.
31408 2013-07-24  David S. Miller  <davem@davemloft.net>
31410         * po/libc.pot: Update.
31412 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31414         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31415         variable page size.
31416         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31417         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31418         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31420 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31422         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31424 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31425             Andreas Schwab  <schwab@suse.de>
31426             Roland McGrath  <roland@hack.frob.com>
31427             Joseph Myers  <joseph@codesourcery.com>
31428             Carlos O'Donell  <carlos@redhat.com>
31430         [BZ #15755]
31431         * config.h.in: Define HAVE_PT_CHOWN.
31432         * config.make.in (build-pt-chown): New variable.
31433         * configure.in (--enable-pt_chown): New configure option.
31434         * configure: Regenerate.
31435         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31436         build-pt-chown is enabled.
31437         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31438         pt_chown to fix pty ownership.
31439         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31440         CLOSE_ALL_FDS.
31441         * manual/install.texi (Configuring and compiling): Mention
31442         --enable-pt_chown. Add @findex for grantpt.
31443         * INSTALL: Regenerate.
31445 2013-07-20  David S. Miller  <davem@davemloft.net>
31447         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31448         difference between 32-bit and 64-bit.
31450 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31452         [BZ #15711]
31453         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31454         Avoid system header dependency with -ffreestanding.
31455         ($(objpfx)bits/syscall%d): Likewise.
31457 2013-07-13  David S. Miller  <davem@davemloft.net>
31459         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31460         underflows from atanl/atan2l due to bug 15319.
31461         (casinh_test_data): Likewise.
31463 2013-07-07  David S. Miller  <davem@davemloft.net>
31465         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31467 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31469         * sysdeps/i386/fpu/libm-test-ulps: Update.
31470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31472 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31474         * configure.in (--enable-lock-elision): Fix message text.
31475         * INSTALL: Regenerate.
31476         * configure: Regenerate.
31478 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31482 2013-07-03  Andreas Jaeger  <aj@suse.de>
31484         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31485         define.
31486         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31487         (ptrace_peeksiginfo_args): Add.
31488         (__ptrace_peeksiginfo_flags): Add.
31489         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31490         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31491         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31493 2013-07-03  Allan McRae  <allan@archlinux.org>
31495         * sysdeps/i386/fpu/libm-test-ulps: Update.
31497 2013-07-02  David S. Miller  <davem@davemloft.net>
31499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31501 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31505 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31507         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31510 2013-07-02  Andi Kleen <ak@linux.intel.com>
31512         * config.h.in (ENABLE_LOCK_ELISION): Add.
31513         * configure.in (--enable-lock-elision): Add option.
31514         * manual/install.texi: Document --enable lock elision.
31515         * configure: Regenerate
31516         * INSTALL: Regenerate.
31518 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31520         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31521         SSE4.2 strcasecmp for libc.a.
31522         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31524 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31526         [BZ #13304]
31527         * soft-fp/op-common.h (_FP_FMA): New macro.
31528         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31529         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31530         (_FP_MUL_MEAT_1_imm): ... here.
31531         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31532         (_FP_MUL_MEAT_1_wide): ... here.
31533         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31534         (_FP_MUL_MEAT_1_hard): ... here.
31535         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31536         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31537         (_FP_MUL_MEAT_2_wide): ... here.
31538         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31539         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31540         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31541         (_FP_MUL_MEAT_2_gmp): ... here.
31542         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31543         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31544         (_FP_MUL_MEAT_4_wide): ... here.
31545         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31546         (_FP_MUL_MEAT_4_gmp): ... here.
31547         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31548         (_FP_WFRACBITS_DW_S): Likewise.
31549         (_FP_WFRACXBITS_DW_S): Likewise.
31550         (_FP_HIGHBIT_DW_S): Likewise.
31551         (FP_FMA_S): Likewise.
31552         (_FP_FRAC_HIGH_DW_S): Likewise.
31553         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31554         (_FP_WFRACBITS_DW_D): Likewise.
31555         (_FP_WFRACXBITS_DW_D): Likewise.
31556         (_FP_HIGHBIT_DW_D): Likewise.
31557         (FP_FMA_D): Likewise.
31558         (_FP_FRAC_HIGH_DW_D): Likewise.
31559         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31560         (_FP_WFRACBITS_DW_E): Likewise.
31561         (_FP_WFRACXBITS_DW_E): Likewise.
31562         (_FP_HIGHBIT_DW_E): Likewise.
31563         (FP_FMA_E): Likewise.
31564         (_FP_FRAC_HIGH_DW_E): Likewise.
31565         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31566         (_FP_WFRACBITS_DW_Q): Likewise.
31567         (_FP_WFRACXBITS_DW_Q): Likewise.
31568         (_FP_HIGHBIT_DW_Q): Likewise.
31569         (FP_FMA_Q): Likewise.
31570         (_FP_FRAC_HIGH_DW_Q): Likewise.
31571         * soft-fp/fmasf4.c: New file.
31572         * soft-fp/fmadf4.c: Likewise.
31573         * soft-fp/fmatf4.c: Likewise.
31575 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31578         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31579         Silvermont.
31580         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31581         macro.
31582         (index_Slow_SSE4_2): Likewise.
31583         (index_Prefer_PMINUB_for_stringop): Likewise.
31584         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31585         bit_Slow_SSE4_2 is set.
31586         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31587         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31589 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31591         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31592         rtld_global._dl_hwcap2.
31593         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31594         POWER8.
31595         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31596         POWER8 feature descriptions defined in _dl_hwcap2.
31597         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31598         string handling for POWER8 feature bits.
31599         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31600         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31601         _dl_powerpc_cap_flags.
31602         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31603         * sysdeps/powerpc/rtld-global-offsets.sym
31604         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31605         _dl_hwcap2 in the rtld_global_ro structure.
31607 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31609         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31610         hardware capabilities in support of AT_HWCAP2.
31611         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31612         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31613         GLRO(dl_hwcap2).
31614         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31615         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31616         explicitly the unknown a_type display mechanism is used.
31617         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31618         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31619         struct member.
31620         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31621         to macro prototype for AT_HWCAP2 support.
31622         * sysdeps/i386/dl-procinfo.h: Likewise.
31623         * sysdeps/s390/dl-procinfo.h: Likewise.
31624         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31625         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31626         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31627         return -1 for unknown a_type display fallback.
31628         * sysdeps/sparc/dl-procinfo.h: Likewise.
31629         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31630         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31632 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31634         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31635         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31637 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31639         [BZ #12492]
31640         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31641         mprotect making __stack_prot writable.
31643 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31644             Joseph Myers  <joseph@codesourcery.com>
31646         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31647         as being properly aligned.
31649 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31651         * dlfcn/modstatic5.c: New file.
31652         * dlfcn/tststatic5.c: New file.
31653         * dlfcn/Makefile (tests): Add tststatic5.
31654         (tests-static): Likewise.
31655         (modules-names): Add modstatic5.
31656         (tststatic5-ENV): New variable.
31657         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31659         [BZ #15022]
31660         * elf/dl-support.c (_dl_main_map): New variable.
31661         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31662         (_dl_nns, _dl_load_adds): Set to 1.
31663         (_dl_initial_searchlist): Refer to _dl_main_map.
31664         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31665         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31666         call to _dl_get_origin.
31667         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31668         around call_map.
31669         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31670         * dlfcn/modstatic3.c: New file.
31671         * dlfcn/tststatic3.c: New file.
31672         * dlfcn/tststatic4.c: New file.
31673         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31674         (tests-static): Likewise.
31675         (modules-names): Add modstatic3.
31676         (tststatic3-ENV, tststatic4-ENV): New variables.
31677         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31678         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31680 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31682         * configure.in (CC): Require GCC version 4.4 or later.
31683         * configure: Regenerated.
31684         * manual/install.texi (Tools for Compilation): Update GCC version
31685         requirement.
31686         * INSTALL: Regenerated.
31688 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31690         [BZ #15674]
31691         * string/test-memcmp.c (check2): New.
31692         (main): Call check2.
31694         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31696 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31698         [BZ #15022]
31699         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31700         over to...
31701         (dl_open_worker) [!SHARED]: ... here.
31703 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31705         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31707 2013-06-25  Richard Henderson  <rth@redhat.com>
31709         * locale/programs/locarchive.c: Include <libc-internal.h>
31711 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31713         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31714         trailing whitespace removed.
31716 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31718         [BZ #10283]
31719         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31720         * locale/programs/locarchive.c: Include libc-mmap.h.
31721         (prepare_address_space): Take two new outputs (the mmap base and len).
31722         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31723         values.
31724         (create_archive): Declare new mmap base and len values for
31725         prepare_address_space, and store the result in ah.
31726         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31727         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31728         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31729         Declare new mmap base and len values for
31730         prepare_address_space, and store the result in new_ah.
31731         (open_archive): Declare new mmap base and len values for
31732         prepare_address_space, and store the result in ah.
31733         (close_archive): If ah->mmap_base is not NULL, use that and
31734         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31735         * sysdeps/generic/libc-mmap.h: New file.
31737 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31739         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31740         (ALIGN_UP): Likewise.
31741         (PTR_ALIGN_DOWN): Likewise.
31742         (PTR_ALIGN_UP): Likewise.
31744 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31746         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31747         entry mapped to PPC_PLATFORM_POWER8.
31748         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31749         POWER8.
31750         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31751         (_dl_string_platform): Add case for exporting platform position for
31752         POWER8.
31753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31754         search path to sysdeps/powerpc/powerpc32/power8 directory.
31755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31756         search path to sysdeps/powerpc/powerpc64/power8 directory.
31757         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31758         power7 directories.
31759         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31760         power7 directories.
31762 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31764         * INSTALL: Regenerate.
31766         * nscd/connections.c (nscd_init): Fix comment.
31768 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31770         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31772         [BZ #15667]
31773         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31774         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31776 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31778         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31779         DL_DST_REQ_STATIC.
31780         (DL_DST_REQ_STATIC): Remove macro.
31782 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31784         [BZ #7006]
31785         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31786         with a shift of 0 bits.
31788 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31790         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31791         $(tststatic-ENV).
31793 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31795         [BZ #15655]
31796         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31798 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31800         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31801         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31802         accepts -fno-tree-loop-distribute-patterns.
31803         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31804         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31805         recursive call.
31806         * string/memset.c (memset): Likewise.
31807         * string/test-memmove.c (simple_memmove): Disable loop transformation
31808         to library calls.
31809         * string/test-memset.c (simple_memset): Likewise.
31810         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31811         * benchtests/bench-memset.c (simple_memset): Likewise.
31812         * configure: Regenerated.
31814 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31816         * math/test-misc.c (main): Ignore fesetround failure when failures
31817         of subsequent rounding tests would be ignored.
31819         [BZ #15654]
31820         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31821         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31822         * math/fegetenv.c (__fegetenv): Return 0.
31823         * math/fegetexcept.c (fegetexcept): Return 0.
31824         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31825         FE_TONEAREST.
31826         * math/feholdexcpt.c (feholdexcept): Return 0.
31827         * math/fesetenv.c (__fesetenv): Return 0.
31828         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31829         argument FE_TONEAREST.
31830         * math/feupdateenv.c (__feupdateenv): Return 0.
31831         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31833 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31835         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31836         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31837         ($(objpfx)rtld-%.os rules): Use them.
31839 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31841         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31842         fields.
31844 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31846         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31847         length of target pattern, then descending length of dependency pattern.
31848         * configure.in (AWK): Require gawk 3.1.2 or newer.
31849         * manual/install.texi (Tools for Compilation): Say that we do.
31850         * configure: Regenerated.
31852         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31853         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31854         * scripts/sysd-rules.awk: ... this new script.
31855         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31856         than a glob-style pattern.
31858 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31860         * math/test-misc.c (main): Do not treat incorrectly rounded
31861         conversions as failure unless ROUNDING_TESTS passes.
31863 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31865         [BZ #15631]
31866         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31867         restore exception state around main square root computation, then
31868         check for inexactness explicitly.
31870         * math/libm-test.inc (fma_test_data): Add another test.
31872 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31874         * manual/threads.texi (Non-POSIX Extensions): New document
31875         node.  Document pthread_getattr_default_np and
31876         pthread_setattr_default_np.
31878         * Versions.def (libpthread): Add GLIBC_2.18.
31879         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31881         Likewise.
31882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31883         Likewise.
31884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31885         Likewise.
31886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31887         Likewise.
31888         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31889         Likewise.
31890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31891         Likewise.
31892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31893         Likewise.
31894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31895         Likewise.
31896         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31897         Likewise.
31899 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31902         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31904 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31905             H.J. Lu  <hjl.tools@gmail.com>
31907         [BZ #15627]
31908         * sysdeps/x86_64/rtld-memset.c: Remove file.
31909         * sysdeps/x86_64/rtld-memset.S: New file.
31911 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31913         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31914         (test_in_one_mode): Take arguments for whether the rounding mode
31915         is supported for each floating-point type.
31916         (do_test): Pass new arguments to test_in_one_mode using
31917         ROUNDING_TESTS.
31919 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31921         * posix/tst-waitid.c (do_test): Distinguish different instances of
31922         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31923         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31924         before entering the kernel for waitpid.
31926 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31928         * NEWS: Fix note on clock function precision.  Text by Roland
31929         McGrath.
31931 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31933         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31934         it into place only when and if the sanity check passes.
31936 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31938         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31939         output for whether conversion result is exact.  Take argument
31940         indicating whether type is IBM long double.
31941         (round_for_all): Change need_exact field to ibm_ld.
31942         * stdlib/tst-strtod-round.c (struct exactness): New type.
31943         (struct test): Change bool ld_ok field to struct exactness exact.
31944         (TEST): Update all definitions for change to field.
31945         (tests): Regenerate array contents.
31946         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31947         field value.  Check for IBM long double here.
31948         (do_test): Update calls to test_in_one_mode.
31950 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31952         [BZ #12515]
31953         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31954         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31956 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31958         [BZ #15605]
31959         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31960         generated by the compiler on loop optimizations.
31961         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31962         general definitions.
31964 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31966         * math/bug-nextafter.c: Include <math-tests.h>.
31967         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31968         the relevant type.
31969         * math/bug-nexttoward.c: Include <math-tests.h>.
31970         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31971         the relevant type.
31972         * math/test-misc.c: Include <math-tests.h>.
31973         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31974         the relevant type.
31976 2013-06-12  Andreas Jaeger  <aj@suse.de>
31978         * po/ia.po: Update Interlingua translation from translation
31979         project.
31981 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31983         * include/fenv.h: Include stdbool.h.
31984         (struct rm_ctx): New structure.
31985         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31986         Define macro.
31987         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31988         (SET_RESTORE_ROUNDF): Likewise.
31989         (SET_RESTORE_ROUNDL): Likewise.
31990         (SET_RESTORE_ROUND_NOEX): Likewise.
31991         (SET_RESTORE_ROUND_NOEXF): Likewise.
31992         (SET_RESTORE_ROUND_NOEXL): Likewise.
31993         (SET_RESTORE_ROUND_53BIT): Likewise.
31994         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31995         (libc_feresetround_noexf_ctx): Likewise.
31996         (libc_feresetround_noexl_ctx): Likewise.
31997         (libc_feholdsetround_53bit_ctx): Likewise.
31998         (libc_feresetround_53bit_ctx): Likewise.
31999         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32000         (libc_feholdexcept_setround_sse_ctx): New function.
32001         (libc_fesetenv_sse_ctx): Likewise.
32002         (libc_feupdateenv_sse_ctx): Likewise.
32003         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32004         (libc_feholdexcept_setround_387_ctx): Likewise.
32005         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32006         (libc_feholdsetround_387_prec_ctx): Likewise.
32007         (libc_feholdsetround_387_ctx): Likewise.
32008         (libc_feholdsetround_387_53bit_ctx): Likewise.
32009         (libc_feholdsetround_sse_ctx): Likewise.
32010         (libc_feresetround_sse_ctx): Likewise.
32011         (libc_feresetround_387_ctx): Likewise.
32012         (libc_feupdateenv_387_ctx): Likewise.
32013         (libc_feholdexcept_setroundf_ctx): Define macro.
32014         (libc_fesetenvf_ctx): Likewise.
32015         (libc_feupdateenvf_ctx): Likewise.
32016         (libc_feholdsetroundf_ctx): Likewise.
32017         (libc_feresetroundf_ctx): Likewise.
32018         (libc_feholdexcept_setround_ctx): Likewise.
32019         (libc_fesetenv_ctx): Likewise.
32020         (libc_feupdateenv_ctx): Likewise.
32021         (libc_feholdsetround_ctx): Likewise.
32022         (libc_feresetround_ctx): Likewise.
32023         (libc_feholdexcept_setroundl_ctx): Likewise.
32024         (libc_feupdateenvl_ctx): Likewise.
32025         (libc_feholdsetroundl_ctx): Likewise.
32026         (libc_feresetroundl_ctx): Likewise.
32027         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32028         (libc_feresetround_53bit_ctx): Likewise.
32030 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32032         * locale/iso-639.def: Convert to UTF-8.
32034 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32036         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32037         (EXCEPTION_TESTS_double): Likewise.
32038         (EXCEPTION_TESTS_long_double): Likewise.
32039         (EXCEPTION_TESTS): Likewise.
32040         * math/libm-test.inc (test_exceptions): Only test exceptions if
32041         EXCEPTION_TESTS (FLOAT).
32043 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32045         * benchtests/Makefile (string-bench): Add strcpy_chk and
32046         stpcpy_chk.
32047         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32048         * benchtests/bench-stpcpy_chk.c: New file.
32049         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32050         * benchtests/bench-strcpy_chk.c: New file.
32051         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32052         code.
32053         (do_test): Likewise.
32055 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32057         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32058         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32059         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32060         with tabs where appropriate.
32061         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32062         dl-procinfo.h.
32063         [PPC_PLATFORM_PPC440]: Likewise.
32064         [PPC_PLATFORM_PPC464]: Likewise.
32065         [PPC_PLATFORM_PPC476]: Likewise.
32066         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32067         ppc464, and ppc476 platform strings merging from ports/
32068         dl-procinfo.h.
32070 2013-06-11  Andreas Schwab  <schwab@suse.de>
32072         [BZ #14991]
32073         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32074         (from_ucs4_idx): Regenerate.
32075         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32076         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32077         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32078         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32079         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32080         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32081         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32082         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32083         from FROM_LOOP and TO_LOOP specific macros.
32084         (BODY): Handle combining characters.
32085         * iconvdata/BIG5HKSCS.irreversible: Update.
32086         * iconvdata/BIG5HKSCS.precomposed: New file.
32087         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32088         characters.
32089         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32091 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32093         * include/sys/time.h: Fix indentation and add copyright header.
32095         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32096         (do_test): Likewise.
32097         * string/test-memchr.c (do_one_test): Likewise.
32098         (do_test): Likewise.
32099         * string/test-memcmp.c (do_one_test): Likewise.
32100         (do_test): Likewise.
32101         * string/test-memcpy.c (do_one_test): Likewise.
32102         (do_test): Likewise.
32103         * string/test-memmem.c (do_one_test): Likewise.
32104         (do_test): Likewise.
32105         (do_random_tests): Likewise.
32106         * string/test-memmove.c (do_one_test): Likewise.
32107         (do_test): Likewise.
32108         * string/test-memset.c (do_one_test): Likewise.
32109         (do_test): Likewise.
32110         * string/test-rawmemchr.c (do_one_test): Likewise.
32111         (do_test): Likewise.
32112         * string/test-strcasecmp.c (do_one_test): Likewise.
32113         (do_test): Likewise.
32114         * string/test-strcasestr.c (do_one_test): Likewise.
32115         (do_test): Likewise.
32116         * string/test-strcat.c (do_one_test): Likewise.
32117         (do_test): Likewise.
32118         * string/test-strchr.c (do_one_test): Likewise.
32119         (do_test): Likewise.
32120         * string/test-strcmp.c (do_one_test): Likewise.
32121         (do_test): Likewise.
32122         * string/test-strcpy.c (do_one_test): Likewise.
32123         (do_test): Likewise.
32124         * string/test-string.h: Likewise.
32125         (test_init): Likewise.
32126         * string/test-strlen.c (do_one_test): Likewise.
32127         (do_test): Likewise.
32128         * string/test-strncasecmp.c (do_one_test): Likewise.
32129         (do_test): Likewise.
32130         * string/test-strncat.c (do_one_test): Likewise.
32131         (do_test): Likewise.
32132         * string/test-strncmp.c (do_one_test): Likewise.
32133         (do_test_limit): Likewise.
32134         (do_test): Likewise.
32135         * string/test-strncpy.c (do_one_test): Likewise.
32136         (do_test): Likewise.
32137         * string/test-strnlen.c (do_one_test): Likewise.
32138         (do_test): Likewise.
32139         * string/test-strpbrk.c (do_one_test): Likewise.
32140         (do_test): Likewise.
32141         * string/test-strrchr.c (do_one_test): Likewise.
32142         (do_test): Likewise.
32143         * string/test-strspn.c (do_one_test): Likewise.
32144         (do_test): Likewise.
32145         * string/test-strstr.c (do_one_test): Likewise.
32146         (do_test): Likewise.
32148         * benchtests/Makefile (string-bench): Add string benchmarks.
32149         * benchtests/bench-bcopy-ifunc.c: New file.
32150         * benchtests/bench-bcopy.c: New file.
32151         * benchtests/bench-bzero-ifunc.c: New file.
32152         * benchtests/bench-bzero.c: New file.
32153         * benchtests/bench-memccpy-ifunc.c: New file.
32154         * benchtests/bench-memccpy.c: New file.
32155         * benchtests/bench-memchr-ifunc.c: New file.
32156         * benchtests/bench-memchr.c: New file.
32157         * benchtests/bench-memcmp-ifunc.c: New file.
32158         * benchtests/bench-memcmp.c: New file.
32159         * benchtests/bench-memmem-ifunc.c: New file.
32160         * benchtests/bench-memmem.c: New file.
32161         * benchtests/bench-memmove-ifunc.c: New file.
32162         * benchtests/bench-memmove.c: New file.
32163         * benchtests/bench-mempcpy-ifunc.c: New file.
32164         * benchtests/bench-mempcpy.c: New file.
32165         * benchtests/bench-memset-ifunc.c: New file.
32166         * benchtests/bench-memset.c: New file.
32167         * benchtests/bench-rawmemchr-ifunc.c: New file.
32168         * benchtests/bench-rawmemchr.c: New file.
32169         * benchtests/bench-stpcpy-ifunc.c: New file.
32170         * benchtests/bench-stpcpy.c: New file.
32171         * benchtests/bench-stpncpy-ifunc.c: New file.
32172         * benchtests/bench-stpncpy.c: New file.
32173         * benchtests/bench-strcasecmp-ifunc.c: New file.
32174         * benchtests/bench-strcasecmp.c: New file.
32175         * benchtests/bench-strcasestr-ifunc.c: New file.
32176         * benchtests/bench-strcasestr.c: New file.
32177         * benchtests/bench-strcat-ifunc.c: New file.
32178         * benchtests/bench-strcat.c: New file.
32179         * benchtests/bench-strchr-ifunc.c: New file.
32180         * benchtests/bench-strchr.c: New file.
32181         * benchtests/bench-strchrnul-ifunc.c: New file.
32182         * benchtests/bench-strchrnul.c: New file.
32183         * benchtests/bench-strcmp-ifunc.c: New file.
32184         * benchtests/bench-strcmp.c: New file.
32185         * benchtests/bench-strcpy-ifunc.c: New file.
32186         * benchtests/bench-strcpy.c: New file.
32187         * benchtests/bench-strcspn-ifunc.c: New file.
32188         * benchtests/bench-strcspn.c: New file.
32189         * benchtests/bench-strlen-ifunc.c: New file.
32190         * benchtests/bench-strlen.c: New file.
32191         * benchtests/bench-strncasecmp-ifunc.c: New file.
32192         * benchtests/bench-strncasecmp.c: New file.
32193         * benchtests/bench-strncat-ifunc.c: New file.
32194         * benchtests/bench-strncat.c: New file.
32195         * benchtests/bench-strncmp-ifunc.c: New file.
32196         * benchtests/bench-strncmp.c: New file.
32197         * benchtests/bench-strncpy-ifunc.c: New file.
32198         * benchtests/bench-strncpy.c: New file.
32199         * benchtests/bench-strnlen-ifunc.c: New file.
32200         * benchtests/bench-strnlen.c: New file.
32201         * benchtests/bench-strpbrk-ifunc.c: New file.
32202         * benchtests/bench-strpbrk.c: New file.
32203         * benchtests/bench-strrchr-ifunc.c: New file.
32204         * benchtests/bench-strrchr.c: New file.
32205         * benchtests/bench-strspn-ifunc.c: New file.
32206         * benchtests/bench-strspn.c: New file.
32207         * benchtests/bench-strstr-ifunc.c: New file.
32208         * benchtests/bench-strstr.c: New file.
32210         * benchtests/Makefile: Disable parallel execution of targets.
32211         (string-bench): Add memcpy.
32212         (benchset): New variable to store a list of benchmark sets.
32213         (bench-func): Renamed from bench.
32214         (bench-set): New target.
32215         (bench): Depend on bench-func and bench-set.
32216         * benchtests/README: Add section on benchmark sets.
32217         * benchtests/bench-memcpy-ifunc.c: New file.
32218         * benchtests/bench-memcpy.c: New file.
32219         * benchtests/bench-string.h: New file.
32221 2013-06-11  Andreas Schwab  <schwab@suse.de>
32223         [BZ #15577]
32224         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32225         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32226         values in the triple.
32227         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32228         terminator in the group key.
32230 2013-06-11  Andreas Jaeger  <aj@suse.de>
32232         * po/zh_TW.po: Update Chinese (traditional) translation from
32233         translation project.
32235 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32237         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32238         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32239         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32240         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32241         (clock_getcpuclockid): Likewise.
32242         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32243         Add weak_alias and libc_hidden_def.
32244         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32245         * rt/clock_gettime.c (clock_gettime): Rename to
32246         __clock_gettime.  Add weak_alias and libc_hidden_def.
32247         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32248         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32249         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32250         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32251         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32252         Likewise.
32253         * rt/clock_settime.c (clock_settime): Rename to
32254         __clock_settime.  Add weak_alias and libc_hidden_def.
32255         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32257 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32259         * mach/err_boot.sub: Remove trailing whitespace.
32260         * mach/err_ipc.sub: Likewise.
32261         * mach/err_mach.sub: Likewise.
32263         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32264         (ROUNDING_TESTS_double): Likewise.
32265         (ROUNDING_TESTS_long_double): Likewise.
32266         (ROUNDING_TESTS): Likewise.
32267         * math/libm-test.inc: Include <math-tests.h>.
32268         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32269         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32270         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32271         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32273 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32275         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32276         of assigning.
32278 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32280         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32281         otherwise empty TRANS lines.
32282         * sysdeps/gnu/errlist.c: Regenerated.
32284         * catgets/gencat.c (error_print): Use (void) in function
32285         definition.
32286         * crypt/crypt_util.c (__init_des): Likewise.
32287         * crypt/speeds.c (Stop): Likewise.
32288         (main): Likewise.
32289         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32290         * inet/ruserpass.c (token): Likewise.
32291         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32292         * intl/localealias.c (extend_alias_table): Likewise.
32293         * intl/plural-exp.c (init_germanic_plural): Likewise.
32294         * libio/fcloseall.c (__fcloseall): Likewise.
32295         * libio/genops.c (_IO_flush_all): Likewise.
32296         (_IO_flush_all_linebuffered): Likewise.
32297         (_IO_cleanup): Likewise.
32298         (_IO_iter_begin): Likewise.
32299         (_IO_iter_end): Likewise.
32300         (_IO_list_lock): Likewise.
32301         (_IO_list_unlock): Likewise.
32302         (_IO_list_resetlock): Likewise.
32303         * libio/getchar.c (getchar): Likewise.
32304         * libio/getchar_u.c (getchar_unlocked): Likewise.
32305         * libio/getwchar.c (getwchar): Likewise.
32306         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32307         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32308         * login/getpt.c (__getpt): Likewise.
32309         * login/tst-utmp.c (main): Likewise.
32310         * malloc/hooks.c (__malloc_check_init): Likewise.
32311         * malloc/malloc.c (__malloc_stats): Likewise.
32312         * malloc/mtrace.c (tr_break): Likewise.
32313         (mtrace): Likewise.
32314         (muntrace): Likewise.
32315         * misc/fstab.c (endfsent): Likewise.
32316         * misc/getclktck.c (__getclktck): Likewise.
32317         * misc/getdtsz.c (__getdtablesize): Likewise.
32318         * misc/gethostid.c (gethostid): Likewise.
32319         * misc/getpagesize.c (__getpagesize): Likewise.
32320         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32321         (__get_nprocs): Likewise.
32322         (__get_phys_pages): Likewise.
32323         (__get_avphys_pages): Likewise.
32324         * misc/getttyent.c (getttyent): Likewise.
32325         (setttyent): Likewise.
32326         (endttyent): Likewise.
32327         * misc/getusershell.c (getusershell): Likewise.
32328         (endusershell): Likewise.
32329         (setusershell): Likewise.
32330         (initshells): Likewise.
32331         * misc/hsearch.c (__hdestroy): Likewise.
32332         * misc/sync.c (sync): Likewise.
32333         * misc/syslog.c (closelog_internal): Likewise.
32334         (closelog): Likewise.
32335         * misc/ttyslot.c (ttyslot): Likewise.
32336         * misc/vhangup.c (vhangup): Likewise.
32337         * posix/fork.c (__fork): Likewise.
32338         * posix/getegid.c (__getegid): Likewise.
32339         * posix/geteuid.c (__geteuid): Likewise.
32340         * posix/getgid.c (__getgid): Likewise.
32341         * posix/getpid.c (__getpid): Likewise.
32342         * posix/getppid.c (__getppid): Likewise.
32343         * posix/getuid.c (__getuid): Likewise.
32344         * posix/pause.c (pause): Likewise.
32345         * posix/setpgrp.c (setpgrp): Likewise.
32346         * posix/setsid.c (__setsid): Likewise.
32347         * posix/test-vfork.c (noop): Likewise.
32348         * resolv/gethnamaddr.c (_endhtent): Likewise.
32349         (_gethtent): Likewise.
32350         (ht_endhostent): Likewise.
32351         (gethostent): Likewise.
32352         (dns_service): Likewise.
32353         * stdlib/drand48.c (drand48): Likewise.
32354         * stdlib/lrand48.c (lrand48): Likewise.
32355         * stdlib/mrand48.c (mrand48): Likewise.
32356         * stdlib/rand.c (rand): Likewise.
32357         * stdlib/random.c (__random): Likewise.
32358         * stdlib/setenv.c (clearenv): Likewise.
32359         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32360         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32361         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32362         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32363         (__get_nprocs): Likewise.
32364         (__get_phys_pages): Likewise.
32365         (__get_avphys_pages): Likewise.
32366         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32367         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32368         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32369         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32370         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32371         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32372         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32373         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32374         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32375         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32376         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32377         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32378         * sysdeps/posix/clock.c (clock): Likewise.
32379         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32380         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32381         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32382         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32383         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32384         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32385         (__get_nprocs_conf): Likewise.
32386         (__get_phys_pages): Likewise.
32387         (__get_avphys_pages): Likewise.
32388         * time/clock.c (clock): Likewise.
32389         * time/tzset.c (__tzname_max): Likewise.
32391 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32393         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32394         (__bswap_32): Do not use "register".
32395         * crypt/crypt.c (_ufc_doit_r): Likewise.
32396         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32397         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32398         * gmon/gmon.c (__monstartup): Likewise.
32399         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32400         * hurd/hurdmalloc.c (more_memory): Likewise.
32401         (malloc): Likewise.
32402         (free): Likewise.
32403         (realloc): Likewise.
32404         (malloc_fork_prepare): Likewise.
32405         (malloc_fork_parent): Likewise.
32406         (malloc_fork_child): Likewise.
32407         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32408         (_svcauth_des): Likewise.
32409         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32410         * inet/inet_net.c (inet_network): Likewise.
32411         * inet/inet_netof.c (inet_netof): Likewise.
32412         * inet/rcmd.c (__validuser2_sa): Likewise.
32413         * io/fts.c (fts_open): Likewise.
32414         (fts_load): Likewise.
32415         (fts_close): Likewise.
32416         (fts_read): Likewise.
32417         (fts_children): Likewise.
32418         (fts_build): Likewise.
32419         (fts_stat): Likewise.
32420         (fts_sort): Likewise.
32421         (fts_alloc): Likewise.
32422         (fts_lfree): Likewise.
32423         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32424         (_IO_file_xsgetn): Likewise.
32425         (_IO_file_xsgetn_mmap): Likewise.
32426         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32427         (_IO_cookie_write): Likewise.
32428         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32429         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32430         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32431         * malloc/obstack.c (_obstack_begin): Likewise.
32432         (_obstack_begin_1): Likewise.
32433         (_obstack_newchunk): Likewise.
32434         (_obstack_allocated_p): Likewise.
32435         (obstack_free): Likewise.
32436         (_obstack_memory_used): Likewise.
32437         * misc/getttyent.c (getttynam): Likewise.
32438         (getttyent): Likewise.
32439         (skip): Likewise.
32440         (value): Likewise.
32441         * misc/getusershell.c (initshells): Likewise.
32442         * misc/syslog.c (__vsyslog_chk): Likewise.
32443         * misc/ttyslot.c (ttyslot): Likewise.
32444         * nis/nis_hash.c (__nis_hash): Likewise.
32445         * posix/fnmatch_loop.c (FCT): Likewise.
32446         * posix/getconf.c (print_all): Likewise.
32447         (main): Likewise.
32448         * posix/getopt.c (exchange): Likewise.
32449         * posix/glob.c (globfree): Likewise.
32450         (prefix_array): Likewise.
32451         (__glob_pattern_type): Likewise.
32452         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32453         (NS_GET32): Likewise.
32454         (NS_PUT16): Likewise.
32455         (NS_PUT32): Likewise.
32456         * resolv/gethnamaddr.c (getanswer): Likewise.
32457         (gethostbyname2): Likewise.
32458         (gethostbyaddr): Likewise.
32459         (_gethtent): Likewise.
32460         (_gethtbyname2): Likewise.
32461         (_gethtbyaddr): Likewise.
32462         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32463         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32464         * resolv/res_init.c (__res_vinit): Likewise.
32465         (net_mask): Likewise.
32466         * resolv/res_mkquery.c (outchar): Likewise.
32467         (PRINT): Likewise.
32468         * stdio-common/printf_fp.c (outchar): Likewise.
32469         (PRINT): Likewise.
32470         * stdio-common/printf_fphex.c (outchar): Likewise.
32471         (PRINT): Likewise.
32472         * stdio-common/printf_size.c (outchar): Likewise.
32473         (PRINT): Likewise.
32474         * stdio-common/test_rdwr.c (main): Likewise.
32475         * stdio-common/tfformat.c (matches): Likewise.
32476         * stdio-common/vfprintf.c (outchar): Likewise.
32477         (printf_unknown): Likewise.
32478         (buffered_vfprintf): Likewise.
32479         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32480         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32481         (ReadFile): Likewise.
32482         * stdlib/qsort.c (SWAP): Likewise.
32483         (_quicksort): Likewise.
32484         * stdlib/setenv.c (__add_to_environ): Likewise.
32485         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32486         * stdlib/strtol_l.c (__strtol_l): Likewise.
32487         * stdlib/tst-strtod.c (main): Likewise.
32488         * stdlib/tst-strtol.c (main): Likewise.
32489         * stdlib/tst-strtoll.c (main): Likewise.
32490         * string/bits/string2.h (__strcmp_cc): Likewise.
32491         (__strcmp_cg): Likewise.
32492         (__strcspn_c1): Likewise.
32493         (__strcspn_c2): Likewise.
32494         (__strcspn_c3): Likewise.
32495         (__strspn_c1): Likewise.
32496         (__strspn_c2): Likewise.
32497         (__strspn_c3): Likewise.
32498         (__strsep_1c): Likewise.
32499         (__strsep_2c): Likewise.
32500         (__strsep_3c): Likewise.
32501         * string/memccpy.c (__memccpy): Likewise.
32502         * string/stpcpy.c (__stpcpy): Likewise.
32503         * string/strcmp.c (strcmp): Likewise.
32504         * string/strrchr.c (strrchr): Likewise.
32505         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32506         Likewise.
32507         * sysdeps/mach/hurd/getcwd.c
32508         (_hurd_canonicalize_directory_name_internal): Likewise.
32509         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32510         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32511         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32512         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32513         Likewise, in both definitions.
32514         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32515         definitions.
32516         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32517         64] (__bswap_64): Likewise.
32518         * time/test_time.c (main): Likewise.
32519         * time/tzfile.c (__tzfile_read): Likewise.
32520         (__tzfile_compute): Likewise.
32521         * time/tzset.c (__tzset_parse_tz): Likewise.
32522         (tzset_internal): Likewise.
32523         (compute_change): Likewise.
32524         * wcsmbs/wcscat.c (__wcscat): Likewise.
32525         * wcsmbs/wcschr.c (wcschr): Likewise.
32526         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32527         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32528         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32529         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32530         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32531         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32532         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32533         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32534         * wcsmbs/wmemset.c (wmemset): Likewise.
32536 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32538         * scripts/config.guess: Update to version 2013-05-16.
32539         * scripts/config.sub: Update to version 2013-04-24.
32540         * scripts/install-sh: Update to version 2011-11-20.07.
32541         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32542         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32544 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32546         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32547         * elf/sln.c: Likewise.
32548         * hurd/hurd/ioctl.h: Likewise.
32549         * hurd/hurdmalloc.c: Likewise.
32550         * hurd/xattr.c: Likewise.
32551         * include/shlib-compat.h: Likewise.
32552         * inet/ruserpass.c: Likewise.
32553         * libio/iofgets_u.c: Likewise.
32554         * libio/iofgetws_u.c: Likewise.
32555         * locale/programs/ld-identification.c: Likewise.
32556         * locale/programs/ld-time.c: Likewise.
32557         * mach/msg-destroy.c: Likewise.
32558         * nss/nss_files/files-netgrp.c: Likewise.
32559         * resolv/res_data.c: Likewise.
32560         * soft-fp/op-1.h: Likewise.
32561         * soft-fp/op-2.h: Likewise.
32562         * soft-fp/op-4.h: Likewise.
32563         * soft-fp/op-common.h: Likewise.
32564         * stdio-common/printf_fphex.c: Likewise.
32565         * stdlib/strtod_l.c: Likewise.
32566         * sunrpc/rpc/clnt.h: Likewise.
32567         * sysdeps/generic/framestate.c: Likewise.
32568         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32569         * sysdeps/i386/bsd-setjmp.S: Likewise.
32570         * sysdeps/i386/__longjmp.S: Likewise.
32571         * sysdeps/i386/setjmp.S: Likewise.
32572         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32573         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32574         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32575         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32576         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32577         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32578         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32579         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32580         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32581         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32582         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32583         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32584         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32585         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32586         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32587         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32588         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32589         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32590         * sysdeps/ieee754/support.c: Likewise.
32591         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32592         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32593         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32594         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32595         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32596         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32597         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32598         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32599         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32600         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32601         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32602         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32603         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32604         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32605         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32606         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32607         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32610 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32612         * posix/transbug.c: Remove executable mode.
32614 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32616         * crypt/speeds.c: Remove trailing whitespace.
32617         * dlfcn/default.c: Likewise.
32618         * elf/ifuncdep2.c: Likewise.
32619         * elf/ifuncmain1.c: Likewise.
32620         * elf/ifuncmain1vis.c: Likewise.
32621         * elf/testobj.h: Likewise.
32622         * elf/tst-stackguard1.c: Likewise.
32623         * gmon/sys/gmon.h: Likewise.
32624         * hurd/hurdmsg.c: Likewise.
32625         * hurd/new-fd.c: Likewise.
32626         * hurd/ports-get.c: Likewise.
32627         * iconvdata/ibm1008_420.c: Likewise.
32628         * inet/tst-getni1.c: Likewise.
32629         * inet/tst-getni2.c: Likewise.
32630         * libio/ioungetc.c: Likewise.
32631         * libio/wfiledoalloc.c: Likewise.
32632         * manual/libm-err-tab.pl: Likewise.
32633         * math/w_dremf.c: Likewise.
32634         * misc/ftruncate.c: Likewise.
32635         * posix/bug-glob2.c: Likewise.
32636         * posix/tst-pcre.c: Likewise.
32637         * posix/wait4.c: Likewise.
32638         * resolv/README: Likewise.
32639         * resolv/res_debug.h: Likewise.
32640         * resolv/tst-inet_ntop.c: Likewise.
32641         * setjmp/bug269-setjmp.c: Likewise.
32642         * soft-fp/extended.h: Likewise.
32643         * soft-fp/op-1.h: Likewise.
32644         * soft-fp/op-2.h: Likewise.
32645         * soft-fp/op-4.h: Likewise.
32646         * soft-fp/op-8.h: Likewise.
32647         * soft-fp/testit.c: Likewise.
32648         * stdio-common/bug16.c: Likewise.
32649         * stdlib/random.c: Likewise.
32650         * sunrpc/rpcsvc/rquota.x: Likewise.
32651         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32652         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32653         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32654         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32655         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32656         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32657         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32658         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32659         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32660         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32661         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32662         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32663         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32664         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32665         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32666         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32667         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32668         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32669         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32670         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32671         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32672         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32673         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32674         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32675         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32676         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32677         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32678         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32679         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32680         * sysdeps/ieee754/s_lib_version.c: Likewise.
32681         * sysdeps/mach/hurd/check_fds.c: Likewise.
32682         * sysdeps/mach/hurd/getsockname.c: Likewise.
32683         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32684         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32685         * sysdeps/powerpc/bits/link.h: Likewise.
32686         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32687         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32688         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32689         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32690         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32691         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32692         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32693         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32694         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32695         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32696         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32697         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32698         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32699         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32700         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32701         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32702         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32703         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32704         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32705         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32706         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32707         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32708         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32709         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32710         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32711         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32712         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32713         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32714         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32715         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32716         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32717         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32718         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32719         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32720         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32721         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32722         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32723         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32724         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32725         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32726         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32727         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32728         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32729         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32730         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32731         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32732         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32733         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32734         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32735         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32736         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32737         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32738         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32739         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32740         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32741         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32742         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32743         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32744         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32745         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32746         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32747         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32748         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32749         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32750         * sysdeps/powerpc/sysdep.h: Likewise.
32751         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32752         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32753         * sysdeps/sh/dl-trampoline.S: Likewise.
32754         * sysdeps/sh/memset.S: Likewise.
32755         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32756         * sysdeps/sh/strlen.S: Likewise.
32757         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32758         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32759         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32760         * sysdeps/sparc/sparc32/rem.S: Likewise.
32761         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32762         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32763         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32764         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32765         * sysdeps/sparc/sparc32/urem.S: Likewise.
32766         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32767         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32768         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32769         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32770         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32771         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32772         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32773         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32774         * sysdeps/unix/bsd/times.c: Likewise.
32775         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32776         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32780         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32781         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32782         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32783         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32784         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32785         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32786         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32787         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32788         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32789         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32790         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32791         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32792         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32793         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32794         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32795         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32796         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32797         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32798         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32799         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32800         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32801         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32802         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32803         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32804         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32805         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32806         * sysdeps/x86_64/strcspn.S: Likewise.
32808 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32810         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32811         generated file.  Regenerate properly from gen-translit.pl.
32812         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32813         locale/C-translit.h.
32815 2013-06-05  Andreas Schwab  <schwab@suse.de>
32817         [BZ #15100]
32818         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32819         week as 6 instead of -1.
32820         * time/tst-strptime.c (day_tests): Add test case.
32822 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32824         * sysdeps/generic/math_private.h
32825         (libc_feholdexcept_setround_53bit): Replace with
32826         libc_feholdsetround_53bit.
32827         (libc_feupdateenv_53bit): Replace with
32828         libc_feresetround_53bit.
32829         (SET_RESTORE_ROUND_53BIT): Adjust.
32831 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32833         * string/test-strchrnul.c: Add copyright header.
32835         * posix/tst-getaddrinfo4.c: Increase test timeout.
32837 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32839         [BZ #15536]
32840         * math/libm-test.inc (MAX_EXP): Remove
32841         (MIN_EXP): Define.
32842         (ulp): Use MIN_EXP - MANT_DIG.
32843         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32845 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32847         * po/be.po: Revert last change.
32848         * po/zh_CN.po: Likewise.
32849         * po/header.pot: Likewise.
32851 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32853         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32854         link-libc-deps to empty as target-specific variable.
32855         * Makerules (link-libc-args): New variable.
32856         (libc-for-link): Likewise.
32857         (link-libc-deps): Likewise.
32858         (lib%.so): Depend on $(link-libc-deps).  Link with
32859         $(link-libc-args).
32860         (build-module): Link with $(link-libc-args).
32861         (build-module-asneeded): Likewise.
32862         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32863         list of objects.
32864         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32865         target-specific variable.
32866         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32867         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32868         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32869         libc.
32870         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32871         libc and ld.so.
32872         ($(objpfx)libpcprofile.so): Likewise.
32873         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32874         libc_nonshared.a.
32875         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32876         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32877         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32878         $(link-libc-deps).
32879         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32880         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32881         * login/Makefile ($(objpfx)libutil.so): Likewise.
32882         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32883         * math/Makefile ($(objpfx)libm.so): Likewise.
32884         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32885         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32886         variable instead of depending directly on libc.
32887         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32888         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32889         $(link-libc-deps).
32890         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32891         libc.
32892         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32893         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32894         ($(objpfx)libanl.so): Likewise.
32895         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32896         ld.so.
32897         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32898         $(link-libc-deps).
32899         * sysdeps/i386/fpu/Makefile: Remove file.
32900         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32901         ($(objpfx)libm.so): Remove dependency on ld.so.
32903 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32905         [BZ # 15553]
32906         * nis/yp_xdr.c (XDRMAXNAME): Define.
32907         (XDRMAXRECORD): Define.
32908         (xdr_domainname): Use XDRMAXNAME.
32909         (xdr_mapname): Likewise.
32910         (xdr_peername): Likewise.
32911         (xdr_keydat): Use XDRMAXRECORD.
32912         (xdr_valdat): Likewise.
32914 2013-05-30  Jeff Law  <law@redhat.com>
32916         [BZ #14256]
32917         * manual/errno.texi (ESTALE): Update to account for more than
32918         just NFS file systems.
32919         * sysdeps/gnu/errlist.c: Regenerated.
32921 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32923         [BZ #15465]
32924         * elf/Makefile (tests): Add tst-null-argv.
32925         (modules-names):  Add tst-null-argv-lib.
32926         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32927         (tst-null-argv-ENV): Set environment for tst-null-argv.
32928         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32929         (RTLD_PROGNAME): New macro.
32930         * elf/tst-null-argv.c: New test case.
32931         * elf/tst-null-argv-lib.c: Library for test case.
32932         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32933         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32934         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32935         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32936         * elf/dl-init.c (call_init): Likewise.
32937         (_dl_init): Likewise.
32938         * elf/dl-load.c (print_search_path): Likewise.
32939         (_dl_map_object): Likewise.
32940         * elf/dl-lookup.c (do_lookup_x): Likewise.
32941         (add_dependency): Likewise.
32942         (_dl_lookup_symbol_x): Likewise.
32943         (_dl_debug_bindings): Likewise.
32944         * elf/dl-open.c (_dl_show_scope): Likewise.
32945         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32946         * elf/dl-version.c (match_symbol): Likewise.
32947         (_dl_check_map_versions): Likewise.
32948         * elf/rtld.c (dl_main): Likewise.
32949         (print_unresolved): Use RTLD_PROGNAME.
32950         (print_missing_version): Likewise.
32951         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32952         (elf_machine_rela): Likewise.
32953         * sysdeps/powerpc/powerpc32/dl-machine.c
32954         (__process_machine_rela): Likewise.
32955         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32956         Likewise.
32957         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32958         Likewise.
32959         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32960         Likewise.
32961         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32962         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32963         Likewise.
32964         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32965         Likewise.
32966         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32968 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32970         * po/be.po: Add descriptive title.
32971         * po/zh_CN.po: Likewise.
32972         * po/header.pot: Likewise.
32974 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32976         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32977         error message.
32978         (enlarge_archive): Likewise.
32980 2013-05-28  Ben North  <ben@redfrontdoor.org>
32982         * manual/arith.texi (frexp): It is the magnitude of the return
32983         value which lies in [0.5, 1), not the return value itself.
32985 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32989 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32991         * stdio-common/bug26.c (main): Correct fscanf template.
32993         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32994         declare _dl_skip_args.
32996         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32997         Don't declare.
32999         * manual/platform.texi: Add missing @end deftypefun.
33001 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33003         [BZ #15529]
33004         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33005         bit of mantissa of 2^16382.
33006         * math/libm-test.inc (hypot_test_data): Add more tests.
33008         * math/libm-test.inc: Add drem and pow10 to list of tested
33009         functions.
33010         (pow10_test): New function.
33011         (drem_test): Likewise.
33012         (drem_test_tonearest): Likewise.
33013         (drem_test_towardzero): Likewise.
33014         (drem_test_downward): Likewise.
33015         (drem_test_upward): Likewise.
33016         (main): Call the new functions.
33018         * math/libm-test.inc (finite_test_data): Remove.
33019         (finite_test): Run tests from isfinite_test_data.
33020         (gamma_test_data): Remove.
33021         (gamma_test): Run tests from lgamma_test_data.
33022         * sysdeps/i386/fpu/libm-test-ulps: Update.
33023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33025 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33027         * manual/platform.texi: Add PowerPC PPR function set documentation.
33028         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33029         implementation.
33031 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33033         * math/libm-test.inc (MAX_EXP): Define.
33034         (ULPDIFF): Define.
33035         (ulp): New function.
33036         (check_float_internal): Use ULPDIFF.
33037         (cpow_test): Disable failing test.
33038         (check_ulp): Test ulp() implemetnation.
33039         (main): Call check_ulp before starting tests.
33041 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33043         * math/gen-libm-test.pl (generate_testfile): Do not handle
33044         START_DATA and END_DATA.
33045         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33046         END_DATA.
33047         (acos_tonearest_test_data): Likewise.
33048         (acos_towardzero_test_data): Likewise.
33049         (acos_downward_test_data): Likewise.
33050         (acos_upward_test_data): Likewise.
33051         (acosh_test_data): Likewise.
33052         (asin_test_data): Likewise.
33053         (asin_tonearest_test_data): Likewise.
33054         (asin_towardzero_test_data): Likewise.
33055         (asin_downward_test_data): Likewise.
33056         (asin_upward_test_data): Likewise.
33057         (asinh_test_data): Likewise.
33058         (atan_test_data): Likewise.
33059         (atanh_test_data): Likewise.
33060         (atan2_test_data): Likewise.
33061         (cabs_test_data): Likewise.
33062         (cacos_test_data): Likewise.
33063         (cacosh_test_data): Likewise.
33064         (carg_test_data): Likewise.
33065         (casin_test_data): Likewise.
33066         (casinh_test_data): Likewise.
33067         (catan_test_data): Likewise.
33068         (catanh_test_data): Likewise.
33069         (cbrt_test_data): Likewise.
33070         (ccos_test_data): Likewise.
33071         (ccosh_test_data): Likewise.
33072         (ceil_test_data): Likewise.
33073         (cexp_test_data): Likewise.
33074         (cimag_test_data): Likewise.
33075         (clog_test_data): Likewise.
33076         (clog10_test_data): Likewise.
33077         (conj_test_data): Likewise.
33078         (copysign_test_data): Likewise.
33079         (cos_test_data): Likewise.
33080         (cos_tonearest_test_data): Likewise.
33081         (cos_towardzero_test_data): Likewise.
33082         (cos_downward_test_data): Likewise.
33083         (cos_upward_test_data): Likewise.
33084         (cosh_test_data): Likewise.
33085         (cosh_tonearest_test_data): Likewise.
33086         (cosh_towardzero_test_data): Likewise.
33087         (cosh_downward_test_data): Likewise.
33088         (cosh_upward_test_data): Likewise.
33089         (cpow_test_data): Likewise.
33090         (cproj_test_data): Likewise.
33091         (creal_test_data): Likewise.
33092         (csin_test_data): Likewise.
33093         (csinh_test_data): Likewise.
33094         (csqrt_test_data): Likewise.
33095         (ctan_test_data): Likewise.
33096         (ctan_tonearest_test_data): Likewise.
33097         (ctan_towardzero_test_data): Likewise.
33098         (ctan_downward_test_data): Likewise.
33099         (ctan_upward_test_data): Likewise.
33100         (ctanh_test_data): Likewise.
33101         (ctanh_tonearest_test_data): Likewise.
33102         (ctanh_towardzero_test_data): Likewise.
33103         (ctanh_downward_test_data): Likewise.
33104         (ctanh_upward_test_data): Likewise.
33105         (erf_test_data): Likewise.
33106         (erfc_test_data): Likewise.
33107         (exp_test_data): Likewise.
33108         (exp_tonearest_test_data): Likewise.
33109         (exp_towardzero_test_data): Likewise.
33110         (exp_downward_test_data): Likewise.
33111         (exp_upward_test_data): Likewise.
33112         (exp10_test_data): Likewise.
33113         (exp2_test_data): Likewise.
33114         (expm1_test_data): Likewise.
33115         (fabs_test_data): Likewise.
33116         (fdim_test_data): Likewise.
33117         (finite_test_data): Likewise.
33118         (floor_test_data): Likewise.
33119         (fma_test_data): Likewise.
33120         (fma_towardzero_test_data): Likewise.
33121         (fma_downward_test_data): Likewise.
33122         (fma_upward_test_data): Likewise.
33123         (fmax_test_data): Likewise.
33124         (fmin_test_data): Likewise.
33125         (fmod_test_data): Likewise.
33126         (fpclassify_test_data): Likewise.
33127         (frexp_test_data): Likewise.
33128         (gamma_test_data): Likewise.
33129         (hypot_test_data): Likewise.
33130         (ilogb_test_data): Likewise.
33131         (isfinite_test_data): Likewise.
33132         (isgreater_test_data): Likewise.
33133         (isgreaterequal_test_data): Likewise.
33134         (isinf_test_data): Likewise.
33135         (isless_test_data): Likewise.
33136         (islessequal_test_data): Likewise.
33137         (islessgreater_test_data): Likewise.
33138         (isnan_test_data): Likewise.
33139         (isnormal_test_data): Likewise.
33140         (issignaling_test_data): Likewise.
33141         (isunordered_test_data): Likewise.
33142         (j0_test_data): Likewise.
33143         (j1_test_data): Likewise.
33144         (jn_test_data): Likewise.
33145         (ldexp_test_data): Likewise.
33146         (lgamma_test_data): Likewise.
33147         (lrint_test_data): Likewise.
33148         (lrint_tonearest_test_data): Likewise.
33149         (lrint_towardzero_test_data): Likewise.
33150         (lrint_downward_test_data): Likewise.
33151         (lrint_upward_test_data): Likewise.
33152         (llrint_test_data): Likewise.
33153         (llrint_tonearest_test_data): Likewise.
33154         (llrint_towardzero_test_data): Likewise.
33155         (llrint_downward_test_data): Likewise.
33156         (llrint_upward_test_data): Likewise.
33157         (log_test_data): Likewise.
33158         (log10_test_data): Likewise.
33159         (log1p_test_data): Likewise.
33160         (log2_test_data): Likewise.
33161         (logb_test_data): Likewise.
33162         (logb_downward_test_data): Likewise.
33163         (lround_test_data): Likewise.
33164         (llround_test_data): Likewise.
33165         (modf_test_data): Likewise.
33166         (nearbyint_test_data): Likewise.
33167         (nextafter_test_data): Likewise.
33168         (nexttoward_test_data): Likewise.
33169         (pow_test_data): Likewise.
33170         (pow_tonearest_test_data): Likewise.
33171         (pow_towardzero_test_data): Likewise.
33172         (pow_downward_test_data): Likewise.
33173         (pow_upward_test_data): Likewise.
33174         (remainder_test_data): Likewise.
33175         (remainder_tonearest_test_data): Likewise.
33176         (remainder_towardzero_test_data): Likewise.
33177         (remainder_downward_test_data): Likewise.
33178         (remainder_upward_test_data): Likewise.
33179         (remquo_test_data): Likewise.
33180         (rint_test_data): Likewise.
33181         (rint_tonearest_test_data): Likewise.
33182         (rint_towardzero_test_data): Likewise.
33183         (rint_downward_test_data): Likewise.
33184         (rint_upward_test_data): Likewise.
33185         (round_test_data): Likewise.
33186         (scalb_test_data): Likewise.
33187         (scalbn_test_data): Likewise.
33188         (scalbln_test_data): Likewise.
33189         (signbit_test_data): Likewise.
33190         (sin_test_data): Likewise.
33191         (sin_tonearest_test_data): Likewise.
33192         (sin_towardzero_test_data): Likewise.
33193         (sin_downward_test_data): Likewise.
33194         (sin_upward_test_data): Likewise.
33195         (sincos_test_data): Likewise.
33196         (sinh_test_data): Likewise.
33197         (sinh_tonearest_test_data): Likewise.
33198         (sinh_towardzero_test_data): Likewise.
33199         (sinh_downward_test_data): Likewise.
33200         (sinh_upward_test_data): Likewise.
33201         (sqrt_test_data): Likewise.
33202         (tan_test_data): Likewise.
33203         (tan_tonearest_test_data): Likewise.
33204         (tan_towardzero_test_data): Likewise.
33205         (tan_downward_test_data): Likewise.
33206         (tan_upward_test_data): Likewise.
33207         (tanh_test_data): Likewise.
33208         (tgamma_test_data): Likewise.
33209         (trunc_test_data): Likewise.
33210         (y0_test_data): Likewise.
33211         (y1_test_data): Likewise.
33212         (yn_test_data): Likewise.
33213         (significand_test_data): Likewise.
33215         * math/gen-libm-test.pl (@functions): Remove variable.
33216         (generate_testfile): Don't handle START and END lines.
33217         * math/libm-test.inc (START): New macro.
33218         (END): Likewise.
33219         (END_COMPLEX): Likewise.
33220         (acos_test): Use END macro without arguments.
33221         (acos_test_tonearest): Likewise.
33222         (acos_test_towardzero): Likewise.
33223         (acos_test_downward): Likewise.
33224         (acos_test_upward): Likewise.
33225         (acosh_test): Likewise.
33226         (asin_test): Likewise.
33227         (asin_test_tonearest): Likewise.
33228         (asin_test_towardzero): Likewise.
33229         (asin_test_downward): Likewise.
33230         (asin_test_upward): Likewise.
33231         (asinh_test): Likewise.
33232         (atan_test): Likewise.
33233         (atanh_test): Likewise.
33234         (atan2_test): Likewise.
33235         (cabs_test): Likewise.
33236         (cacos_test): Use END_COMPLEX macro without arguments.
33237         (cacosh_test): Likewise.
33238         (carg_test): Use END macro without arguments.
33239         (casin_test): Use END_COMPLEX macro without arguments.
33240         (casinh_test): Likewise.
33241         (catan_test): Likewise.
33242         (catanh_test): Likewise.
33243         (cbrt_test): Use END macro without arguments.
33244         (ccos_test): Use END_COMPLEX macro without arguments.
33245         (ccosh_test): Likewise.
33246         (ceil_test): Use END macro without arguments.
33247         (cexp_test): Use END_COMPLEX macro without arguments.
33248         (cimag_test): Use END macro without arguments.
33249         (clog_test): Use END_COMPLEX macro without arguments.
33250         (clog10_test): Likewise.
33251         (conj_test): Likewise.
33252         (copysign_test): Use END macro without arguments.
33253         (cos_test): Likewise.
33254         (cos_test_tonearest): Likewise.
33255         (cos_test_towardzero): Likewise.
33256         (cos_test_downward): Likewise.
33257         (cos_test_upward): Likewise.
33258         (cosh_test): Likewise.
33259         (cosh_test_tonearest): Likewise.
33260         (cosh_test_towardzero): Likewise.
33261         (cosh_test_downward): Likewise.
33262         (cosh_test_upward): Likewise.
33263         (cpow_test): Use END_COMPLEX macro without arguments.
33264         (cproj_test): Likewise.
33265         (creal_test): Use END macro without arguments.
33266         (csin_test): Use END_COMPLEX macro without arguments.
33267         (csinh_test): Likewise.
33268         (csqrt_test): Likewise.
33269         (ctan_test): Likewise.
33270         (ctan_test_tonearest): Likewise.
33271         (ctan_test_towardzero): Likewise.
33272         (ctan_test_downward): Likewise.
33273         (ctan_test_upward): Likewise.
33274         (ctanh_test): Likewise.
33275         (ctanh_test_tonearest): Likewise.
33276         (ctanh_test_towardzero): Likewise.
33277         (ctanh_test_downward): Likewise.
33278         (ctanh_test_upward): Likewise.
33279         (erf_test): Use END macro without arguments.
33280         (erfc_test): Likewise.
33281         (exp_test): Likewise.
33282         (exp_test_tonearest): Likewise.
33283         (exp_test_towardzero): Likewise.
33284         (exp_test_downward): Likewise.
33285         (exp_test_upward): Likewise.
33286         (exp10_test): Likewise.
33287         (exp2_test): Likewise.
33288         (expm1_test): Likewise.
33289         (fabs_test): Likewise.
33290         (fdim_test): Likewise.
33291         (finite_test): Likewise.
33292         (floor_test): Likewise.
33293         (fma_test): Likewise.
33294         (fma_test_towardzero): Likewise.
33295         (fma_test_downward): Likewise.
33296         (fma_test_upward): Likewise.
33297         (fmax_test): Likewise.
33298         (fmin_test): Likewise.
33299         (fmod_test): Likewise.
33300         (fpclassify_test): Likewise.
33301         (frexp_test): Likewise.
33302         (gamma_test): Likewise.
33303         (hypot_test): Likewise.
33304         (ilogb_test): Likewise.
33305         (isfinite_test): Likewise.
33306         (isgreater_test): Likewise.
33307         (isgreaterequal_test): Likewise.
33308         (isinf_test): Likewise.
33309         (isless_test): Likewise.
33310         (islessequal_test): Likewise.
33311         (islessgreater_test): Likewise.
33312         (isnan_test): Likewise.
33313         (isnormal_test): Likewise.
33314         (issignaling_test): Likewise.
33315         (isunordered_test): Likewise.
33316         (j0_test): Likewise.
33317         (j1_test): Likewise.
33318         (jn_test): Likewise.
33319         (ldexp_test): Likewise.
33320         (lgamma_test): Likewise.
33321         (lrint_test): Likewise.
33322         (lrint_test_tonearest): Likewise.
33323         (lrint_test_towardzero): Likewise.
33324         (lrint_test_downward): Likewise.
33325         (lrint_test_upward): Likewise.
33326         (llrint_test): Likewise.
33327         (llrint_test_tonearest): Likewise.
33328         (llrint_test_towardzero): Likewise.
33329         (llrint_test_downward): Likewise.
33330         (llrint_test_upward): Likewise.
33331         (log_test): Likewise.
33332         (log10_test): Likewise.
33333         (log1p_test): Likewise.
33334         (log2_test): Likewise.
33335         (logb_test): Likewise.
33336         (logb_test_downward): Likewise.
33337         (lround_test): Likewise.
33338         (llround_test): Likewise.
33339         (modf_test): Likewise.
33340         (nearbyint_test): Likewise.
33341         (nextafter_test): Likewise.
33342         (nexttoward_test): Likewise.
33343         (pow_test): Likewise.
33344         (pow_test_tonearest): Likewise.
33345         (pow_test_towardzero): Likewise.
33346         (pow_test_downward): Likewise.
33347         (pow_test_upward): Likewise.
33348         (remainder_test): Likewise.
33349         (remainder_test_tonearest): Likewise.
33350         (remainder_test_towardzero): Likewise.
33351         (remainder_test_downward): Likewise.
33352         (remainder_test_upward): Likewise.
33353         (remquo_test): Likewise.
33354         (rint_test): Likewise.
33355         (rint_test_tonearest): Likewise.
33356         (rint_test_towardzero): Likewise.
33357         (rint_test_downward): Likewise.
33358         (rint_test_upward): Likewise.
33359         (round_test): Likewise.
33360         (scalb_test): Likewise.
33361         (scalbn_test): Likewise.
33362         (scalbln_test): Likewise.
33363         (signbit_test): Likewise.
33364         (sin_test): Likewise.
33365         (sin_test_tonearest): Likewise.
33366         (sin_test_towardzero): Likewise.
33367         (sin_test_downward): Likewise.
33368         (sin_test_upward): Likewise.
33369         (sincos_test): Likewise.
33370         (sinh_test): Likewise.
33371         (sinh_test_tonearest): Likewise.
33372         (sinh_test_towardzero): Likewise.
33373         (sinh_test_downward): Likewise.
33374         (sinh_test_upward): Likewise.
33375         (sqrt_test): Likewise.
33376         (tan_test): Likewise.
33377         (tan_test_tonearest): Likewise.
33378         (tan_test_towardzero): Likewise.
33379         (tan_test_downward): Likewise.
33380         (tan_test_upward): Likewise.
33381         (tanh_test): Likewise.
33382         (tgamma_test): Likewise.
33383         (trunc_test): Likewise.
33384         (y0_test): Likewise.
33385         (y1_test): Likewise.
33386         (yn_test): Likewise.
33387         (significand_test): Likewise.
33389 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33391         [BZ #15381]
33392         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33394 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33396         [BZ #14894]
33397         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33398         __ppc_mdoio and __ppc_mdoom.
33399         * manual/platform.texi: Document new functions __ppc_yield,
33400         __ppc_mdoio and __ppc_mdoom.
33402 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33404         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33405         (main): Mention "tls" pseudo-hwcap is legacy.
33406         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33408 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33410         * math/gen-libm-test.pl (parse_args): Output only string of
33411         arguments as text for test name, not full call or descriptions of
33412         tests for extra outputs.
33413         (generate_testfile): Do not pass function name to parse_args.
33414         Generate this_func variable from START.
33415         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33416         field to arg_str.
33417         (struct test_ff_f_data): Likewise.
33418         (test_ff_f_data_nexttoward): Likewise.
33419         (struct test_fi_f_data): Likewise.
33420         (struct test_fl_f_data): Likewise.
33421         (struct test_if_f_data): Likewise.
33422         (struct test_fff_f_data): Likewise.
33423         (struct test_c_f_data): Likewise.
33424         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33425         (struct test_fF_f1_data): Likewise.
33426         (struct test_ffI_f1_data): Likewise.
33427         (struct test_c_c_data): Rename test_name field to arg_str.
33428         (struct test_cc_c_data): Likewise.
33429         (struct test_f_i_data): Likewise.
33430         (struct test_ff_i_data): Likewise.
33431         (struct test_f_l_data): Likewise.
33432         (struct test_f_L_data): Likewise.
33433         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33434         and extra2_name.
33435         (COMMON_TEST_SETUP): New macro.
33436         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33437         (COMMON_TEST_CLEANUP): Likewise.
33438         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33439         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33440         macros.
33441         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33442         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33443         macros.
33444         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33445         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33446         cleanup macros.
33447         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33448         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33449         macros.
33450         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33451         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33452         macros.
33453         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33454         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33455         cleanup macros.
33456         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33457         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33458         cleanup macros.
33459         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33460         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33461         cleanup macros.
33462         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33463         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33464         macros.
33465         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33466         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33467         macros.
33468         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33469         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33470         macros.
33471         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33472         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33473         cleanup macros.
33474         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33475         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33476         cleanup macros.
33477         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33478         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33479         macros.
33480         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33481         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33482         cleanup macros.
33483         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33484         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33485         macros.
33486         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33487         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33488         macros.
33489         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33490         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33491         cleanup macros.
33492         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33494 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33496         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33497         to _sifields.sigfault.
33498         (si_addr_lsb): Define new macro.
33499         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33500         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33501         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33503 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33505         [BZ #15441]
33506         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33507         returns -1.
33508         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33509         null return -1.
33510         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33511         loading the domain.
33513 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33515         * math/gen-libm-test.pl (parse_args): Do not include expected
33516         result in test name.
33517         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33518         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33519         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33520         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33521         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33524 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33526         * benchtests/Makefile: Sort function entries.
33528         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33529         tanh, asinh, acosh, atanh.
33530         * benchtests/acos-inputs: New file.
33531         * benchtests/acosh-inputs: New file.
33532         * benchtests/asin-inputs: New file.
33533         * benchtests/asinh-inputs: New file.
33534         * benchtests/atanh-inputs: New file.
33535         * benchtests/cosh-inputs: New file.
33536         * benchtests/log-inputs: New file.
33537         * benchtests/sinh-inputs: New file.
33538         * benchtests/tanh-inputs: New file.
33540 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33542         [BZ #15339]
33543         * posix/tst-getaddrinfo4.c: New test.
33544         * posix/Makefile (tests): Add it.
33546 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33548         [BZ #15339]
33549         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33550         when no services were used.
33551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33552         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33554 2013-05-21  Andreas Schwab  <schwab@suse.de>
33556         [BZ #15014]
33557         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33558         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33559         successful.
33560         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33561         redundant variable declarations and reallocation of buffer when
33562         parsing as IPv6 address.  Always set NSS status when called from
33563         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33564         buffer too small.  Correct computation of needed size.
33565         * nss/Makefile (tests): Add test-digits-dots.
33566         * nss/test-digits-dots.c: New test.
33568 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33570         * benchtests/Makefile: Remove instructions for adding
33571         benchmark tests.
33572         * benchtests/README: New file to explain how to execute and
33573         enhance the benchmark tests.
33575 2013-05-21  Andreas Schwab  <schwab@suse.de>
33577         [BZ #15493]
33578         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33579         * setjmp/tst-sigsetjmp.c: New test.
33581 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33583         * sysdeps/x86_64/memset.S (memset): New implementation.
33584         (__bzero): Likewise.
33585         (__memset_tail): New function.
33587 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33589         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33590         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33591         __memcpy_sse2_unaligned ifunc selection.
33592         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33593         Add memcpy-sse2-unaligned.S.
33594         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33595         Add: __memcpy_sse2_unaligned.
33597 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33599         [BZ #15490]
33600         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33601         math_force_eval before restoring floating-point envrionment.
33602         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33603         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33604         Likewise.
33605         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33606         <math_private.h>.
33607         (__nearbyintl): Use math_force_eval before restoring
33608         floating-point environment.
33609         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33611         * math/gen-libm-test.pl (special_functions): Remove.
33612         (parse_args): Don't handle TEST_extra.  Handle functions with no
33613         return value.
33614         * math/libm-test.inc (struct test_sincos_data): Replace with
33615         struct test_fFF_11_data.
33616         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33617         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33618         (sincos_test_data): Change element type to struct
33619         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33620         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33621         RUN_TEST_LOOP_sincos.
33622         * math/README.libm-test: Don't mention special handling of
33623         individual functions.
33624         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33625         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33626         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33627         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33628         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33631         * math/gen-libm-test.pl (get_variable): Remove function.
33632         (parse_args): Don't show pointer parameters to call in test
33633         names.  Use "extra output N" in test names for extra outputs
33634         rather than naming variables.
33636 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33638         [BZ #15488]
33639         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33640         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33641         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33642         double tests.
33643         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33644         disable.
33645         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33646         check_long_double.
33648         * math/gen-libm-test.pl (@tests): Remove variable.
33649         ($count): Likewise.
33650         (new_test): Remove function.
33651         (show_exceptions): New function.
33652         (special_functions): Use show_exceptions instead of new_test.
33653         (parse_args): Likewise.
33654         (generate_testfile): Pass only function name in generated call to
33655         print_max_error or print_complex_max_error.
33656         (get_ulps): Do not handle complex tests specially.
33657         (output_test): Rename to ...
33658         (get_all_ulps_for_test): ... this.  Return a string rather than
33659         printing to a file.  Require ulps to be present.
33660         (output_ulps): Generate arrays rather than #defines.
33661         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33662         (struct ulp_data): New type.
33663         (BUILD_COMPLEX_ULP): Remove macro.
33664         (compare_ulp_data): New function.
33665         (find_ulps): Likewise.
33666         (find_test_ulps): Likewise.
33667         (find_function_ulps): Likewise.
33668         (find_complex_function_ulps): Likewise.
33669         (print_max_error): Determine allowed ulps using
33670         find_function_ulps.
33671         (print_complex_max_error): Determine allowed ulps using
33672         find_complex_function_ulps.
33673         (check_float_internal): Determine max ulps using find_test_ulps.
33674         (check_float): Do not take max_ulp parameter.  Update call to
33675         check_float_internal.
33676         (check_complex): Likewise.
33677         (check_int): Do not take max_ulp parameter.
33678         (check_long): Likewise.
33679         (check_bool): Likewise.
33680         (check_longlong): Likewise.
33681         (struct test_f_f_data): Remove max_ulp field.
33682         (struct test_ff_f_data): Likewise.
33683         (struct test_ff_f_data_nexttoward): Likewise.
33684         (struct test_fi_f_data): Likewise.
33685         (struct test_fl_f_data): Likewise.
33686         (struct test_if_f_data): Likewise.
33687         (struct test_fff_f_data): Likewise.
33688         (struct test_c_f_data): Likewise.
33689         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33690         (struct test_fF_f1_data): Likewise.
33691         (struct test_ffI_f1_data): Likewise.
33692         (struct test_c_c_data): Remove max_ulp field.
33693         (struct test_cc_c_data): Likewise.
33694         (struct test_f_i_data): Likewise.
33695         (struct test_ff_i_data): Likewise.
33696         (struct test_f_l_data): Likewise.
33697         (struct test_f_L_data): Likewise.
33698         (struct test_sincos_data): Likewise.
33699         (RUN_TEST_f_f): Do not handle ulps.
33700         (RUN_TEST_LOOP_f_f): Likewise.
33701         (RUN_TEST_2_f): Likewise.
33702         (RUN_TEST_LOOP_2_f): Likewise.
33703         (RUN_TEST_fff_f): Likewise.
33704         (RUN_TEST_LOOP_fff_f): Likewise.
33705         (RUN_TEST_c_f): Likewise.
33706         (RUN_TEST_LOOP_c_f): Likewise.
33707         (RUN_TEST_f_f1): Likewise.
33708         (RUN_TEST_LOOP_f_f1): Likewise.
33709         (RUN_TEST_fF_f1): Likewise.
33710         (RUN_TEST_LOOP_fF_f1): Likewise.
33711         (RUN_TEST_fI_f1): Likewise.
33712         (RUN_TEST_LOOP_fI_f1): Likewise.
33713         (RUN_TEST_ffI_f1): Likewise.
33714         (RUN_TEST_LOOP_ffI_f1): Likewise.
33715         (RUN_TEST_c_c): Likewise.
33716         (RUN_TEST_LOOP_c_c): Likewise.
33717         (RUN_TEST_cc_c): Likewise.
33718         (RUN_TEST_LOOP_cc_c): Likewise.
33719         (RUN_TEST_f_i): Likewise.
33720         (RUN_TEST_LOOP_f_i): Likewise.
33721         (RUN_TEST_f_i_tg): Likewise.
33722         (RUN_TEST_LOOP_f_i_tg): Likewise.
33723         (RUN_TEST_ff_i_tg): Likewise.
33724         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33725         (RUN_TEST_f_b): Likewise.
33726         (RUN_TEST_LOOP_f_b): Likewise.
33727         (RUN_TEST_f_b_tg): Likewise.
33728         (RUN_TEST_LOOP_f_b_tg): Likewise.
33729         (RUN_TEST_f_l): Likewise.
33730         (RUN_TEST_LOOP_f_l): Likewise.
33731         (RUN_TEST_f_L): Likewise.
33732         (RUN_TEST_LOOP_f_L): Likewise.
33733         (RUN_TEST_sincos): Likewise.
33734         (RUN_TEST_LOOP_sincos): Likewise.
33736 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33738         [BZ #15480]
33739         [BZ #15485]
33740         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33741         main case of finite arguments, set rounding mode to FE_TONEAREST
33742         and discard exceptions.
33743         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33744         exceptions.
33745         (remainder_tonearest_test_data): New variable.
33746         (remainder_test_tonearest): New function.
33747         (remainder_towardzero_test_data): New variable.
33748         (remainder_test_towardzero): New function.
33749         (remainder_downward_test_data): New variable.
33750         (remainder_test_downward): New function.
33751         (remainder_upward_test_data): New variable.
33752         (remainder_test_upward): New function.
33753         (main): Call the new test functions.
33755         * math/libm-test.inc (struct test_f_f1_data): Remove field
33756         extra_init.
33757         (struct test_fF_f1_data): Likewise.
33758         (struct test_ffI_f1_data): Likewise.
33759         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33760         based on value of EXTRA_EXPECTED.
33761         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33762         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33763         EXTRA_VAR based on value of EXTRA_EXPECTED.
33764         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33765         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33766         EXTRA_VAR based on value of EXTRA_EXPECTED.
33767         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33768         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33769         EXTRA_VAR based on value of EXTRA_EXPECTED.
33770         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33771         * math/gen-libm-test.pl (parse_args): Don't output initializers
33772         for extra output values.
33774         * math/libm-test.inc (check_int): Expect result to be exactly
33775         equal to expected value and do not handle ulps.
33776         (check_long): Likewise.
33777         (check_longlong): Likewise.
33779         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33780         exceptions.
33781         (cimag_test_data): Likewise.
33782         (conj_test_data): Likewise.
33783         (copysign_test_data): Likewise.
33784         (cproj_test_data): Likewise.
33785         (creal_test_data): Likewise.
33786         (fabs_test_data): Likewise.
33787         (fdim_test_data): Likewise.
33788         (finite_test_data): Likewise.
33789         (floor_test_data): Likewise.
33790         (fmax_test_data): Likewise.
33791         (fmin_test_data): Likewise.
33792         (fmod_test_data): Likewise.
33793         (fpclassify_test_data): Likewise.
33794         (frexp_test_data): Likewise.
33795         (ilogb_test_data): Likewise.
33796         (isfinite_test_data): Likewise.
33797         (isgreater_test_data): Likewise.
33798         (isgreaterequal_test_data): Likewise.
33799         (isinf_test_data): Likewise.
33800         (isless_test_data): Likewise.
33801         (islessequal_test_data): Likewise.
33802         (islessgreater_test_data): Likewise.
33803         (isnan_test_data): Likewise.
33804         (isnormal_test_data): Likewise.
33805         (issignaling_test_data): Likewise.
33806         (isunordered_test_data): Likewise.
33807         (ldexp_test_data): Likewise.
33808         (lrint_test_data): Likewise.
33809         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33810         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33811         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33812         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33813         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33814         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33815         test input.
33816         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33817         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33818         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33819         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33820         that test input.
33821         (lrint_downward_test_data): Test for "inexact" exceptions.
33822         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33823         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33824         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33825         test input.
33826         (lrint_upward_test_data): Test for "inexact" exceptions.
33827         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33828         test input.
33829         (llrint_test_data): Test for "inexact" exceptions.
33830         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33831         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33832         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33833         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33834         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33835         (llrint_downward_test_data): Test for "inexact" exceptions.
33836         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33837         (llrint_upward_test_data): Test for "inexact" exceptions.
33838         (logb_test_data): Likewise.
33839         (logb_downward_test_data): Likewise.
33840         (nextafter_test_data): Likewise.
33841         (nexttoward_test_data): Likewise.
33842         (remainder_test_data): Likewise.
33843         (remquo_test_data): Likewise.
33844         (scalbn_test_data): Likewise.
33845         (scalbln_test_data): Likewise.
33846         (signbit_test_data): Likewise.
33847         (sqrt_test_data): Likewise.
33848         (significand_test_data): Likewise.
33850 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33852         [BZ #15424]
33853         * benchtests/bench-modf.c (struct args): Mark arg0 as
33854         volatile.
33855         * scripts/bench.pl: Mark members of struct args as volatile.
33857 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33859         [BZ # 15497]
33860         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33861         negative infinity on POWER6 or lower.
33862         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33864 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33866         [BZ #15442]
33867         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33868         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33869         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33870         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33871         (_FP_SETQNAN): New macro.
33872         (_FP_SETQNAN_SEMIRAW): Likewise.
33873         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33874         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33875         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33876         (FP_EXTEND): Use _FP_FRAC_SNANP.
33877         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33878         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33879         into account.
33880         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33881         New macro.
33882         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33883         Likewise.
33885 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33887         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33888         with DIVIDE_BY_ZERO_EXCEPTION.
33889         (gamma_test_data): Likewise.
33890         (lgamma_test_data): Likewise.
33891         (log_test_data): Likewise.
33892         (log10_test_data): Likewise.
33893         (log2_test_data): Likewise.
33894         (tgamma_test_data): Likewise.
33896         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33897         (acos_test_tonearest): Likewise.
33898         (acos_test_towardzero): Likewise.
33899         (acos_test_downward): Likewise.
33900         (acos_test_upward): Likewise.
33901         (acosh_test): Likewise.
33902         (asin_test): Likewise.
33903         (asin_test_tonearest): Likewise.
33904         (asin_test_towardzero): Likewise.
33905         (asin_test_downward): Likewise.
33906         (asin_test_upward): Likewise.
33907         (asinh_test): Likewise.
33908         (atan_test): Likewise.
33909         (atanh_test): Likewise.
33910         (atan2_test): Likewise.
33911         (cabs_test): Likewise.
33912         (cacos_test): Likewise.
33913         (cacosh_test): Likewise.
33914         (casin_test): Likewise.
33915         (casinh_test): Likewise.
33916         (catan_test): Likewise.
33917         (catanh_test): Likewise.
33918         (cbrt_test): Likewise.
33919         (ccos_test): Likewise.
33920         (ccosh_test): Likewise.
33921         (cexp_test): Likewise.
33922         (clog_test): Likewise.
33923         (clog10_test): Likewise.
33924         (cos_test): Likewise.
33925         (cos_test_tonearest): Likewise.
33926         (cos_test_towardzero): Likewise.
33927         (cos_test_downward): Likewise.
33928         (cos_test_upward): Likewise.
33929         (cosh_test): Likewise.
33930         (cosh_test_tonearest): Likewise.
33931         (cosh_test_towardzero): Likewise.
33932         (cosh_test_downward): Likewise.
33933         (cosh_test_upward): Likewise.
33934         (cpow_test): Likewise.
33935         (csin_test): Likewise.
33936         (csinh_test): Likewise.
33937         (csqrt_test): Likewise.
33938         (ctan_test): Likewise.
33939         (ctan_test_tonearest): Likewise.
33940         (ctan_test_towardzero): Likewise.
33941         (ctan_test_downward): Likewise.
33942         (ctan_test_upward): Likewise.
33943         (ctanh_test): Likewise.
33944         (ctanh_test_tonearest): Likewise.
33945         (ctanh_test_towardzero): Likewise.
33946         (ctanh_test_downward): Likewise.
33947         (ctanh_test_upward): Likewise.
33948         (erf_test): Likewise.
33949         (erfc_test): Likewise.
33950         (exp_test): Likewise.
33951         (exp_test_tonearest): Likewise.
33952         (exp_test_towardzero): Likewise.
33953         (exp_test_downward): Likewise.
33954         (exp_test_upward): Likewise.
33955         (exp10_test): Likewise.
33956         (exp2_test): Likewise.
33957         (expm1_test): Likewise.
33958         (fmod_test): Likewise.
33959         (gamma_test): Likewise.
33960         (hypot_test): Likewise.
33961         (j0_test): Likewise.
33962         (j1_test): Likewise.
33963         (jn_test): Likewise.
33964         (lgamma_test): Likewise.
33965         (log_test): Likewise.
33966         (log10_test): Likewise.
33967         (log1p_test): Likewise.
33968         (log2_test): Likewise.
33969         (logb_test_downward): Likewise.
33970         (pow_test): Likewise.
33971         (pow_test_tonearest): Likewise.
33972         (pow_test_towardzero): Likewise.
33973         (pow_test_downward): Likewise.
33974         (pow_test_upward): Likewise.
33975         (remainder_test): Likewise.
33976         (remquo_test): Likewise.
33977         (sin_test): Likewise.
33978         (sin_test_tonearest): Likewise.
33979         (sin_test_towardzero): Likewise.
33980         (sin_test_downward): Likewise.
33981         (sin_test_upward): Likewise.
33982         (sincos_test): Likewise.
33983         (sinh_test): Likewise.
33984         (sinh_test_tonearest): Likewise.
33985         (sinh_test_towardzero): Likewise.
33986         (sinh_test_downward): Likewise.
33987         (sinh_test_upward): Likewise.
33988         (sqrt_test): Likewise.
33989         (tan_test): Likewise.
33990         (tan_test_tonearest): Likewise.
33991         (tan_test_towardzero): Likewise.
33992         (tan_test_downward): Likewise.
33993         (tan_test_upward): Likewise.
33994         (tanh_test): Likewise.
33995         (tgamma_test): Likewise.
33996         (y0_test): Likewise.
33997         (y1_test): Likewise.
33998         (yn_test): Likewise.
34000         * math/gen-libm-test.pl (adjust_arg): Remove function.
34001         (special_function): Remove argument $in_func.  Only handle
34002         generating output for tables of tests, not inside functions.
34003         (parse_args): Likewise.
34004         (generate_testfile): Remove variable $in_func.  Update call to
34005         parse_args.
34006         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34007         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34008         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34009         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34010         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34011         (MAX_VALUE_INIT): Rename macro to max_value.
34012         (MIN_VALUE_INIT): Rename macro to min_value.
34013         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34014         (plus_zero): Remove variable.
34015         (minus_zero): Likewise.
34016         (plus_infty): Likewise.
34017         (minus_infty): Likewise.
34018         (qnan_value): Likewise.
34019         (max_value): Likewise.
34020         (min_value): Likewise.
34021         (min_subnorm_value): Likewise.
34023 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34025         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34026         uint64_t or uint32_t usage.
34027         * crypt/sha256-block.c: Likewise.
34028         * crypt/sha256-crypt.c: Likewise.
34029         * crypt/sha256.c: Likewise.
34030         * crypt/sha512-block.c: Likewise.
34031         * crypt/sha512-crypt.c: Likewise.
34032         * crypt/sha512.c: Likewise.
34033         * debug/backtrace-tst.c: Likewise.
34034         * debug/pcprofiledump.c: Likewise.
34035         * elf/cache.c: Likewise.
34036         * elf/dl-cache.c: Likewise.
34037         * elf/dl-misc.c: Likewise.
34038         * elf/dl-profile.c: Likewise.
34039         * elf/dl-support.c: Likewise.
34040         * elf/ldconfig.c: Likewise.
34041         * elf/sprof.c: Likewise.
34042         * iconv/dummy-repertoire.c: Likewise.
34043         * iconv/iconv_charmap.c: Likewise.
34044         * iconv/skeleton.c: Likewise.
34045         * iconvdata/8bit-generic.c: Likewise.
34046         * iconvdata/cp737.h: Likewise.
34047         * iconvdata/cp775.h: Likewise.
34048         * iconvdata/ibm1008.h: Likewise.
34049         * iconvdata/ibm1025.h: Likewise.
34050         * iconvdata/ibm1046.h: Likewise.
34051         * iconvdata/ibm1097.h: Likewise.
34052         * iconvdata/ibm1112.h: Likewise.
34053         * iconvdata/ibm1122.h: Likewise.
34054         * iconvdata/ibm1123.h: Likewise.
34055         * iconvdata/ibm1124.h: Likewise.
34056         * iconvdata/ibm1129.h: Likewise.
34057         * iconvdata/ibm1130.h: Likewise.
34058         * iconvdata/ibm1132.h: Likewise.
34059         * iconvdata/ibm1133.h: Likewise.
34060         * iconvdata/ibm1137.h: Likewise.
34061         * iconvdata/ibm1140.h: Likewise.
34062         * iconvdata/ibm1141.h: Likewise.
34063         * iconvdata/ibm1142.h: Likewise.
34064         * iconvdata/ibm1143.h: Likewise.
34065         * iconvdata/ibm1144.h: Likewise.
34066         * iconvdata/ibm1145.h: Likewise.
34067         * iconvdata/ibm1146.h: Likewise.
34068         * iconvdata/ibm1147.h: Likewise.
34069         * iconvdata/ibm1148.h: Likewise.
34070         * iconvdata/ibm1149.h: Likewise.
34071         * iconvdata/ibm1153.h: Likewise.
34072         * iconvdata/ibm1154.h: Likewise.
34073         * iconvdata/ibm1155.h: Likewise.
34074         * iconvdata/ibm1156.h: Likewise.
34075         * iconvdata/ibm1157.h: Likewise.
34076         * iconvdata/ibm1158.h: Likewise.
34077         * iconvdata/ibm1160.h: Likewise.
34078         * iconvdata/ibm1161.h: Likewise.
34079         * iconvdata/ibm1162.h: Likewise.
34080         * iconvdata/ibm1163.h: Likewise.
34081         * iconvdata/ibm1164.h: Likewise.
34082         * iconvdata/ibm1166.h: Likewise.
34083         * iconvdata/ibm1167.h: Likewise.
34084         * iconvdata/ibm12712.h: Likewise.
34085         * iconvdata/ibm1390.h: Likewise.
34086         * iconvdata/ibm1399.h: Likewise.
34087         * iconvdata/ibm16804.h: Likewise.
34088         * iconvdata/ibm4517.h: Likewise.
34089         * iconvdata/ibm4899.h: Likewise.
34090         * iconvdata/ibm4909.h: Likewise.
34091         * iconvdata/ibm4971.h: Likewise.
34092         * iconvdata/ibm5347.h: Likewise.
34093         * iconvdata/ibm803.h: Likewise.
34094         * iconvdata/ibm856.h: Likewise.
34095         * iconvdata/ibm901.h: Likewise.
34096         * iconvdata/ibm902.h: Likewise.
34097         * iconvdata/ibm9030.h: Likewise.
34098         * iconvdata/ibm9066.h: Likewise.
34099         * iconvdata/ibm921.h: Likewise.
34100         * iconvdata/ibm922.h: Likewise.
34101         * iconvdata/ibm9448.h: Likewise.
34102         * iconvdata/isiri-3342.h: Likewise.
34103         * iconvdata/jis0201.h: Likewise.
34104         * include/link.h: Likewise.
34105         * include/netdb.h: Likewise.
34106         * inet/check_native.c: Likewise.
34107         * inet/check_pf.c: Likewise.
34108         * inet/getipv4sourcefilter.c: Likewise.
34109         * inet/getnameinfo.c: Likewise.
34110         * inet/getsourcefilter.c: Likewise.
34111         * inet/htonl.c: Likewise.
34112         * inet/setipv4sourcefilter.c: Likewise.
34113         * inet/setsourcefilter.c: Likewise.
34114         * inet/test-inet6_opt.c: Likewise.
34115         * inet/tst-network.c: Likewise.
34116         * locale/C-collate.c: Likewise.
34117         * locale/C-ctype.c: Likewise.
34118         * locale/C-time.c: Likewise.
34119         * locale/C-translit.h: Likewise.
34120         * locale/loadarchive.c: Likewise.
34121         * locale/programs/3level.h: Likewise.
34122         * locale/programs/charmap.c: Likewise.
34123         * locale/programs/charmap.h: Likewise.
34124         * locale/programs/ld-address.c: Likewise.
34125         * locale/programs/ld-collate.c: Likewise.
34126         * locale/programs/ld-ctype.c: Likewise.
34127         * locale/programs/ld-identification.c: Likewise.
34128         * locale/programs/ld-measurement.c: Likewise.
34129         * locale/programs/ld-messages.c: Likewise.
34130         * locale/programs/ld-monetary.c: Likewise.
34131         * locale/programs/ld-name.c: Likewise.
34132         * locale/programs/ld-numeric.c: Likewise.
34133         * locale/programs/ld-paper.c: Likewise.
34134         * locale/programs/ld-telephone.c: Likewise.
34135         * locale/programs/ld-time.c: Likewise.
34136         * locale/programs/linereader.c: Likewise.
34137         * locale/programs/locale.c: Likewise.
34138         * locale/programs/locarchive.c: Likewise.
34139         * locale/programs/locfile.h: Likewise.
34140         * locale/programs/repertoire.c: Likewise.
34141         * locale/programs/simple-hash.c: Likewise.
34142         * locale/programs/simple-hash.h: Likewise.
34143         * malloc/memusage.c: Likewise.
34144         * malloc/memusagestat.c: Likewise.
34145         * nis/nis_defaults.c: Likewise.
34146         * nis/nis_hash.c: Likewise.
34147         * nis/nis_print.c: Likewise.
34148         * nis/nis_xdr.c: Likewise.
34149         * nscd/connections.c: Likewise.
34150         * nscd/hstcache.c: Likewise.
34151         * nscd/nscd_gethst_r.c: Likewise.
34152         * nscd/nscd_getserv_r.c: Likewise.
34153         * nscd/nscd_helper.c: Likewise.
34154         * nscd/servicescache.c: Likewise.
34155         * nss/makedb.c: Likewise.
34156         * nss/nss_db/db-XXX.c: Likewise.
34157         * nss/nss_db/db-initgroups.c: Likewise.
34158         * nss/nss_db/db-netgrp.c: Likewise.
34159         * nss/nss_files/files-network.c: Likewise.
34160         * nss/nss_files/files-parse.c: Likewise.
34161         * posix/bug-regex5.c: Likewise.
34162         * posix/fnmatch_loop.c: Likewise.
34163         * posix/regcomp.c: Likewise.
34164         * posix/regexec.c: Likewise.
34165         * posix/tst-rfc3484-2.c: Likewise.
34166         * posix/tst-rfc3484-3.c: Likewise.
34167         * posix/tst-rfc3484.c: Likewise.
34168         * resolv/nss_dns/dns-canon.c: Likewise.
34169         * resolv/nss_dns/dns-network.c: Likewise.
34170         * resolv/res_init.c: Likewise.
34171         * resolv/res_mkquery.c: Likewise.
34172         * resolv/tst-aton.c: Likewise.
34173         * stdlib/cxa_atexit.c: Likewise.
34174         * stdlib/cxa_finalize.c: Likewise.
34175         * stdlib/gen-fpioconst.c: Likewise.
34176         * stdlib/strtol_l.c: Likewise.
34177         * string/tst-endian.c: Likewise.
34178         * sunrpc/auth_des.c: Likewise.
34179         * sunrpc/clnt_udp.c: Likewise.
34180         * sunrpc/rtime.c: Likewise.
34181         * sunrpc/svcauth_des.c: Likewise.
34182         * sunrpc/xdr.c: Likewise.
34183         * sunrpc/xdr_intXX_t.c: Likewise.
34184         * sunrpc/xdr_rec.c: Likewise.
34185         * sysdeps/generic/ldconfig.h: Likewise.
34186         * sysdeps/generic/ldsodefs.h: Likewise.
34187         * sysdeps/generic/memusage.h: Likewise.
34188         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34189         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34190         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34191         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34192         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34193         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34194         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34195         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34196         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34197         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34198         * sysdeps/posix/getaddrinfo.c: Likewise.
34199         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34200         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34201         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34202         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34203         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34204         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34205         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34206         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34207         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34208         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34209         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34210         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34211         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34212         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34213         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34214         * sysdeps/x86_64/dl-tls.h: Likewise.
34215         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34216         * time/alt_digit.c: Likewise.
34217         * time/era.c: Likewise.
34218         * wcsmbs/tst-c16c32-1.c: Likewise.
34220 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34222         * math/libm-test.inc (struct test_sincos_data): New type.
34223         (RUN_TEST_LOOP_sincos): New macro.
34224         (sincos_test_data): New variable.
34225         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34227 2013-05-16  Richard Henderson  <rth@redhat.com>
34229         * math/atest-exp2.c (LIMB64): New macro.
34230         (CONSTSZ): New macro.
34231         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34232         (hexdig): Move ...
34233         (print_mpn_fp): ... to function scope.
34234         (read_mpn_hex): Remove.
34235         (get_log2): Remove.
34236         (exp2_mpn): Use mp_log2.
34237         (main): Use mp_exp1.
34239 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34241         * math/libm-test.inc: Remove comment about not testing "inexact"
34242         exceptions.
34243         (INEXACT_EXCEPTION): New macro.
34244         (NO_INEXACT_EXCEPTION): Likewise.
34245         (INVALID_EXCEPTION_OK): Update value.
34246         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34247         (OVERFLOW_EXCEPTION_OK): Likewise.
34248         (UNDERFLOW_EXCEPTION_OK): Likewise.
34249         (IGNORE_ZERO_INF_SIGN): Likewise.
34250         (ERRNO_UNCHANGED): Likewise.
34251         (ERRNO_EDOM): Likewise.
34252         (ERRNO_ERANGE): Likewise.
34253         (test_exceptions): Handle testing "inexact" exceptions.
34254         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34255         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34256         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34257         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34258         INEXACT_EXCEPTION.
34259         (rint_towardzero_test_data): Likewise.
34260         (rint_downward_test_data): Likewise.
34261         (rint_upward_test_data): Likewise.
34263         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34264         with OVERFLOW_EXCEPTION.
34265         (exp10_test_data): Likewise.
34266         (exp2_test_data): Likewise.
34267         (expm1_test_data): Likewise.
34268         (lgamma_test_data): Likewise.
34269         (pow_test_data): Likewise.
34270         (tgamma_test_data): Likewise.
34271         (yn_test_data): Remove duplicate test of overflow.
34273         * math/libm-test.inc (struct test_cc_c_data): New type.
34274         (RUN_TEST_LOOP_cc_c): New macro.
34275         (cpow_test_data): New variable.
34276         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34278         * math/libm-test.inc (struct test_f_L_data): New type.
34279         (RUN_TEST_LOOP_f_L): New macro.
34280         (llrint_test_data): New variable.
34281         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34282         (llrint_tonearest_test_data): New variable.
34283         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34284         (llrint_towardzero_test_data): New variable.
34285         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34286         (llrint_downward_test_data): New variable.
34287         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34288         (llrint_upward_test_data): New variable.
34289         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34290         (llround_test_data): New variable.
34291         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34293 2013-05-13  Peter Collingbourne  <pcc@google.com>
34295         * math/atest-exp2.c (get_log2): Remove const attribute.
34297 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34299         * math/libm-test.inc (struct test_f_l_data): New type.
34300         (RUN_TEST_LOOP_f_l): New macro.
34301         (lrint_test_data): New variable.
34302         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34303         (lrint_tonearest_test_data): New variable.
34304         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34305         (lrint_towardzero_test_data): New variable.
34306         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34307         (lrint_downward_test_data): New variable.
34308         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34309         (lrint_upward_test_data): New variable.
34310         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34311         (lround_test_data): New variable.
34312         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34314 2013-05-15  Peter Collingbourne  <pcc@google.com>
34316         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34317         (EXTRACT_WORDS64) Use where appropriate.
34318         (INSERT_WORDS64) Likewise.
34320         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34321         constraints with x constraints.
34322         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34324         * malloc/obstack.c (_obstack_compat): Add initializer.
34326 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34328         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34329         si_trapno and add si_addr_lsb to _sifields.sigfault.
34330         (si_trapno): Remove macro.
34331         (si_addr_lsb): Define new macro.
34332         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34334 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34336         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34337         instead of TEST_f_l.
34338         (llrint_test_tonearest): Likewise.
34339         (llrint_test_towardzero): Likewise.
34340         (llrint_test_downward): Likewise.
34341         (llrint_test_upward): Likewise.
34342         (llround_test): Likewise.
34344         * math/libm-test.inc (struct test_f_i_data): Add comment.
34345         (RUN_TEST_LOOP_f_b): New macro.
34346         (RUN_TEST_LOOP_f_b_tg): Likewise.
34347         (finite_test_data): New variable.
34348         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34349         (isfinite_test_data): New variable.
34350         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34351         (isinf_test_data): New variable.
34352         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34353         (isnan_test_data): New variable.
34354         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34355         (isnormal_test_data): New variable.
34356         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34357         (issignaling_test_data): New variable.
34358         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34359         (signbit_test_data): New variable.
34360         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34362         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34363         with INVALID_EXCEPTION.
34364         (acosh_test_data): Likewise.
34365         (asin_test_data): Likewise.
34366         (atanh_test_data): Likewise.
34367         (fmod_test_data): Likewise.
34368         (log_test_data): Likewise.
34369         (log10_test_data): Likewise.
34370         (log2_test_data): Likewise.
34371         (pow_test_data): Likewise.
34372         (sqrt_test_data): Likewise.
34373         (y0_test_data): Likewise.
34374         (y1_test_data): Likewise.
34375         (yn_test_data): Likewise.
34377         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34378         function contents.
34380         * math/libm-test.inc (struct test_ff_i_data): New type.
34381         (RUN_TEST_LOOP_ff_i_tg): New macro.
34382         (isgreater_test_data): New variable.
34383         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34384         (isgreaterequal_test_data): New variable.
34385         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34386         (isless_test_data): New variable.
34387         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34388         (islessequal_test_data): New variable.
34389         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34390         (islessgreater_test_data): New variable.
34391         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34392         (isunordered_test_data): New variable.
34393         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34395 2013-05-14  David S. Miller  <davem@davemloft.net>
34397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34399 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34401         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34403         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34404         extra_test to int.
34405         (struct test_f_i_data): Change type of max_ulp to int.
34407         * math/libm-test.inc (test_ffI_f1_data): New type.
34408         (RUN_TEST_LOOP_ffI_f1): New macro.
34409         (remquo_test_data): New variable.
34410         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34412         * setjmp/tst-setjmp-fp.c: New file.
34413         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34414         (link-libm): New variable.
34415         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34417         * math/libm-test.inc (struct test_f_i_data): New type.
34418         (RUN_TEST_LOOP_f_i): New macro.
34419         (RUN_TEST_LOOP_f_i_tg): Likewise.
34420         (fpclassify_test_data): New variable.
34421         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34422         (ilogb_test_data): New variable.
34423         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34425         * math/libm-test.inc (scalbln_test): Correct function name in END
34426         call.
34428         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34429         (RUN_TEST_LOOP_fI_f1): New macro.
34430         (frexp_test_data): New variable.
34431         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34433         * math/libm-test.inc (struct test_fF_f1_data): New type.
34434         (RUN_TEST_LOOP_fF_f1): New macro.
34435         (modf_test_data): New variable.
34436         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34438         * math/libm-test.inc (struct test_f_f1_data): New type.
34439         (RUN_TEST_LOOP_f_f1): New macro.
34440         (gamma_test_data): New variable.
34441         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34442         (lgamma_test_data): New variable.
34443         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34445 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34447         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34448         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34449         (main): Comment "tls" pseudo-hwcap.
34451 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34453         * math/libm-test.inc (struct test_fl_f_data): New type.
34454         (RUN_TEST_LOOP_fl_f): New variable.
34455         (scalbln_test_data): New variable.
34456         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34458         * math/libm-test.inc (struct test_fi_f_data): New type.
34459         (RUN_TEST_LOOP_fi_f): New macro.
34460         (ldexp_test_data): New variable.
34461         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34462         (scalbn_test_data): New variable.
34463         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34465         * math/libm-test.inc (struct test_c_f_data): New type.
34466         (RUN_TEST_LOOP_c_f): New macro.
34467         (cabs_test_data): New variable.
34468         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34469         (carg_test_data): New variable.
34470         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34471         (cimag_test_data): New variable.
34472         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34473         (creal_test_data): New variable.
34474         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34476         * math/libm-test.inc (struct test_if_f_data): New type.
34477         (RUN_TEST_LOOP_if_f): New macro.
34478         (jn_test_data): New variable.
34479         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34480         (yn_test_data): New variable.
34481         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34483         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34485 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34487         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34488         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34490 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34492         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34493         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34494         (bench-deps): Add bench-timing.h.
34495         * benchtests-bench-skeleton.c: Include bench-timing.h.
34496         (main): Use TIMING_* macros instead of clock_gettime.
34497         * benchtests/bench-timing.h: New file.
34499         [BZ #14582]
34500         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34501         Renamed from _LIB_VERSION.
34502         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34504 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34506         * math/libm-test.inc (struct test_fff_f_data): New type.
34507         (RUN_TEST_LOOP_fff_f): New macro.
34508         (fma_test_data): New variable.
34509         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34510         (fma_towardzero_test_data): New variable.
34511         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34512         (fma_downward_test_data): New variable.
34513         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34514         (fma_upward_test_data): New variable.
34515         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34517         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34518         (struct test_c_c_data): New type.
34519         (RUN_TEST_LOOP_c_c): New macro.
34520         (cacos_test_data): New variable.
34521         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34522         (cacosh_test_data): New variable.
34523         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34524         (casin_test_data): New variable.
34525         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34526         (casinh_test_data): New variable.
34527         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34528         (catan_test_data): New variable.
34529         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34530         (catanh_test_data): New variable.
34531         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34532         (ccos_test_data): New variable.
34533         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34534         (ccosh_test_data): New variable.
34535         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34536         (cexp_test_data): New variable.
34537         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34538         (clog_test_data): New variable.
34539         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34540         (clog10_test_data): New variable.
34541         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34542         (conj_test_data): New variable.
34543         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34544         (cproj_test_data): New variable.
34545         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34546         (csin_test_data): New variable.
34547         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34548         (csinh_test_data): New variable.
34549         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34550         (csqrt_test_data): New variable.
34551         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34552         (ctan_test_data): New variable.
34553         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34554         (ctan_tonearest_test_data): New variable.
34555         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34556         (ctan_towardzero_test_data): New variable.
34557         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34558         (ctan_downward_test_data): New variable.
34559         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34560         (ctan_upward_test_data): New variable.
34561         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34562         (ctanh_test_data): New variable.
34563         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34564         (ctanh_tonearest_test_data): New variable.
34565         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34566         (ctanh_towardzero_test_data): New variable.
34567         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34568         (ctanh_downward_test_data): New variable.
34569         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34570         (ctanh_upward_test_data): New variable.
34571         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34572         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34573         of BUILD_COMPLEX.
34575         * math/libm-test.inc (struct test_ff_f_data): New type.
34576         (struct test_ff_f_data_nexttoward): Likewise.
34577         (RUN_TEST_LOOP_2_f): New macro.
34578         (RUN_TEST_LOOP_ff_f): Likewise.
34579         (atan2_test_data): New variable.
34580         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34581         (copysign_test_data): New variable.
34582         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34583         (fdim_test_data): New variable.
34584         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34585         (fmax_test_data): New variable.
34586         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34587         (fmin_test_data): New variable.
34588         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34589         (fmod_test_data): New variable.
34590         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34591         (hypot_test_data): New variable.
34592         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34593         (nextafter_test_data): New variable.
34594         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34595         (nexttoward_test_data): New variable.
34596         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34597         (pow_test_data): New variable.
34598         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34599         (pow_tonearest_test_data): New variable.
34600         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34601         (pow_towardzero_test_data): New variable.
34602         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34603         (pow_downward_test_data): New variable.
34604         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34605         (pow_upward_test_data): New variable.
34606         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34607         (remainder_test_data): New variable.
34608         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34609         (scalb_test_data): New variable.
34610         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34611         * sysdeps/i386/fpu/libm-test-ulps: Update.
34613 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34615         * math/libm-test.inc (fma_test): Use max_value instead of local
34616         variable fltmax.
34617         (nextafter_test): Likewise.
34619         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34620         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34621         (acos_downward_test_data): New variable.
34622         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34623         (acos_upward_test_data): New variable.
34624         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34625         (acosh_test_data): New variable.
34626         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34627         (asin_test_data): New variable.
34628         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34629         (asin_tonearest_test_data): New variable.
34630         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34631         (asin_towardzero_test_data): New variable.
34632         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34633         (asin_downward_test_data): New variable.
34634         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34635         (asin_upward_test_data): New variable.
34636         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34637         (asinh_test_data): New variable.
34638         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34639         (atan_test_data): New variable.
34640         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34641         (atanh_test_data): New variable.
34642         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34643         (cbrt_test_data): New variable.
34644         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34645         (ceil_test_data): New variable.
34646         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34647         (cos_test_data): New variable.
34648         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34649         (cos_tonearest_test_data): New variable.
34650         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34651         (cos_towardzero_test_data): New variable.
34652         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34653         (cos_downward_test_data): New variable.
34654         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34655         (cos_upward_test_data): New variable.
34656         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34657         (cosh_test_data): New variable.
34658         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34659         (cosh_tonearest_test_data): New variable.
34660         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34661         (cosh_towardzero_test_data): New variable.
34662         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34663         (cosh_downward_test_data): New variable.
34664         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34665         (cosh_upward_test_data): New variable.
34666         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34667         (erf_test_data): New variable.
34668         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34669         (erfc_test_data): New variable.
34670         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34671         (exp_test_data): New variable.
34672         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34673         (exp_tonearest_test_data): New variable.
34674         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34675         (exp_towardzero_test_data): New variable.
34676         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34677         (exp_downward_test_data): New variable.
34678         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34679         (exp_upward_test_data): New variable.
34680         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34681         (exp10_test_data): New variable.
34682         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34683         (exp2_test_data): New variable.
34684         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34685         (expm1_test_data): New variable.
34686         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34687         (fabs_test_data): New variable.
34688         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34689         (floor_test_data): New variable.
34690         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34691         (j0_test_data): New variable.
34692         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34693         (j1_test_data): New variable.
34694         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34695         (log_test_data): New variable.
34696         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34697         (log10_test_data): New variable.
34698         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34699         (log1p_test_data): New variable.
34700         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34701         (log2_test_data): New variable.
34702         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34703         (logb_test_data): New variable.
34704         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34705         (logb_downward_test_data): New variable.
34706         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34707         (nearbyint_test_data): New variable.
34708         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34709         (rint_test_data): New variable.
34710         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34711         (rint_tonearest_test_data): New variable.
34712         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34713         (rint_towardzero_test_data): New variable.
34714         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34715         (rint_downward_test_data): New variable.
34716         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34717         (rint_upward_test_data): New variable.
34718         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34719         (round_test_data): New variable.
34720         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34721         (sin_test_data): New variable.
34722         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34723         (sin_tonearest_test_data): New variable.
34724         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34725         (sin_towardzero_test_data): New variable.
34726         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34727         (sin_downward_test_data): New variable.
34728         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34729         (sin_upward_test_data): New variable.
34730         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34731         (sinh_test_data): New variable.
34732         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34733         (sinh_tonearest_test_data): New variable.
34734         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34735         (sinh_towardzero_test_data): New variable.
34736         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34737         (sinh_downward_test_data): New variable.
34738         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34739         (sinh_upward_test_data): New variable.
34740         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34741         (sqrt_test_data): New variable.
34742         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34743         (tan_test_data): New variable.
34744         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34745         (tan_tonearest_test_data): New variable.
34746         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34747         (tan_towardzero_test_data): New variable.
34748         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34749         (tan_downward_test_data): New variable.
34750         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34751         (tan_upward_test_data): New variable.
34752         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34753         (tanh_test_data): New variable.
34754         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34755         (tgamma_test_data): New variable.
34756         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34757         (trunc_test_data): New variable.
34758         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34759         (y0_test_data): New variable.
34760         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34761         (y1_test_data): New variable.
34762         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34763         (significand_test_data): New variable.
34764         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34766 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34768         [BZ #12387]
34769         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34771 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34773         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34775 2013-05-10  Andreas Jaeger  <aj@suse.de>
34777         [BZ #15448]
34778         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34779         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34781 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34783         * math/gen-libm-test.pl (adjust_arg): New function.
34784         (special_functions): Handle generating output in both functions
34785         and arrays.
34786         (parse_args): Likewise.
34787         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34788         $in_func argument to parse_args.
34789         * math/libm-test.inc (struct test_f_f_data): New type.
34790         (IF_ROUND_INIT_): New macro.
34791         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34792         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34793         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34794         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34795         (ROUND_RESTORE_): Likewise.
34796         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34797         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34798         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34799         (ROUND_RESTORE_FE_UPWARD): Likewise.
34800         (RUN_TEST_LOOP_f_f): New macro.
34801         (acos_test_data): New variable.
34802         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34803         (acos_tonearest_test_data): New variable.
34804         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34806 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34808         * benchtests/bench-skeleton.c (startup): Fix coding style.
34810 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34812         [BZ #6809]
34813         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34814         negative infinity argument.
34815         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34816         negative infinity argument.
34817         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34818         negative infinity argument.
34819         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34820         domain errors.
34822 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34824         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34825         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34826         * iconv/iconv_prog.c (main): Likewise.
34827         * locale/programs/charmap-dir.c (charmap_readdir)
34828         (fopen_uncompressed): Likewise.
34829         * locale/programs/locfile.c (siblings_uncached)
34830         (write_locale_data): Use lstat64 instead of lstat.
34831         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34832         stat.
34834 2013-05-10  Andreas Jaeger  <aj@suse.de>
34836         [BZ #15395]
34837         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34838         localization.
34839         Include <locale.h>.
34841 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34843         * elf/dl-close.c (_dl_close_worker): Add comments.
34845 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34847         [BZ #15359]
34848         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34849         high part of pi/2.
34850         (__ieee754_rem_pio2l): Update comments.
34852         [BZ #15429]
34853         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34854         high part of pi/2.
34855         (__ieee754_rem_pio2l): Update comments.
34857         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34858         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34860         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34861         M_PI_4l.
34863         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34864         (M_PI_34_LOG10El): Likewise.
34865         (M_PI2_LOG10El): Likewise.
34866         (M_PI4_LOG10El): Likewise.
34867         (M_PI_LOG10El): Likewise.
34869 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34873 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34875         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34876         (MINUS_ZERO_INIT): Likewise.
34877         (PLUS_INFTY_INIT): Likewise.
34878         (MINUS_INFTY_INIT): Likewise.
34879         (QNAN_VALUE_INIT): Likewise.
34880         (MAX_VALUE_INIT): Likewise.
34881         (MIN_VALUE_INIT): Likewise.
34882         (MIN_SUBNORM_VALUE_INIT): Likewise.
34883         (plus_zero): Initialize with PLUS_ZERO_INIT.
34884         (minus_zero): Initialize with MINUS_ZERO_INIT.
34885         (plus_infty): Initialize with PLUS_INFTY_INIT.
34886         (minus_infty): Initialize with MINUS_INFTY_INIT.
34887         (qnan_value): Initialize with QNAN_VALUE_INIT.
34888         (max_value): Initialize with MAX_VALUE_INIT.
34889         (min_value): Initialize with MIN_VALUE_INIT.
34890         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34892         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34893         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34894         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34895         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34897         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34898         (RUN_TEST_2_f): Likewise.
34899         (RUN_TEST_ff_f): Likewise.
34900         (RUN_TEST_fi_f): Likewise.
34901         (RUN_TEST_fl_f): Likewise.
34902         (RUN_TEST_fff_f): Likewise.
34903         (RUN_TEST_c_f): Likewise.
34904         (RUN_TEST_f_f1): Likewise.
34905         (RUN_TEST_fF_f1): Likewise.
34906         (RUN_TEST_fI_f1): Likewise.
34907         (RUN_TEST_ffI_f1): Likewise.
34908         (RUN_TEST_c_c): Likewise.
34909         (RUN_TEST_cc_c): Likewise.
34910         (RUN_TEST_f_i): Likewise.
34911         (RUN_TEST_f_i_tg): Likewise.
34912         (RUN_TEST_ff_i_tg): Likewise.
34913         (RUN_TEST_f_b): Likewise.
34914         (RUN_TEST_f_b_tg): Likewise.
34915         (RUN_TEST_f_l): Likewise.
34916         (RUN_TEST_f_L): Likewise.
34917         (RUN_TEST_sincos): Likewise.
34918         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34919         whether to show exceptions.  Do not include ");\n" in return
34920         value.
34921         (special_functions): Output call to RUN_TEST_sincos instead of
34922         check_float calls.  Update calls to new_test.
34923         (parse_args): Output call to single RUN_TEST_* macro instead of
34924         check_* calls and other assignments.  Update calls to new_test.
34926         [BZ #2546]
34927         [BZ #2560]
34928         [BZ #5159]
34929         [BZ #15426]
34930         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34931         input to result for tgamma overflow.
34932         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34933         (gamma_coeff): New variable.
34934         (NCOEFF): New macro.
34935         (gamma_positive): New function.
34936         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34937         underflow here.  Use gamma_positive instead of exp (lgamma) for
34938         other arguments.
34939         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34940         (gamma_coeff): New variable.
34941         (NCOEFF): New macro.
34942         (gammaf_positive): New function.
34943         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34944         underflow here.  Use gamma_positive instead of exp (lgamma) for
34945         other arguments.
34946         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34947         (gamma_coeff): New variable.
34948         (NCOEFF): New macro.
34949         (gammal_positive): New function.
34950         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34951         underflow here.  Use gamma_positive instead of exp (lgamma) for
34952         other arguments.
34953         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34954         (gamma_coeff): New variable.
34955         (NCOEFF): New macro.
34956         (gammal_positive): New function.
34957         (__ieee754_gammal_r): Handle positive infinity, overflow and
34958         underflow here.  Handle NaN the same as positive infinity.  Remove
34959         check x < 0xffffffff for negative integers.  Use gamma_positive
34960         instead of exp (lgamma) for other arguments.
34961         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34962         (gamma_coeff): New variable.
34963         (NCOEFF): New macro.
34964         (gammal_positive): New function.
34965         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34966         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34967         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34968         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34969         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34970         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34971         * sysdeps/generic/math_private.h (__gamma_productf): New
34972         prototype.
34973         (__gamma_product): Likewise.
34974         (__gamma_productl): Likewise.
34975         * math/Makefile (libm-calls): Add gamma_product.
34976         * math/libm-test.inc (tgamma_test): Add more tests.
34977         * sysdeps/i386/fpu/libm-test-ulps: Update.
34978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34980 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34982         * benchtests/bench-skeleton.c (main): Preheat CPU.
34984 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34986         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34988 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34990         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34991         and _dl_skip_args_internal.
34993 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34995         * manual/message.texi (Message Translation): Talk about users.
34996         Message to key mapping impacts design.
34998 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35000         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35002         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35004         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35005         * sysdeps/wordsize-64/glob64.c: ... here.
35007         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35008         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35009         New macros.
35011         * debug/getlogin_r_chk.c: Moved to ...
35012         * login/getlogin_r_chk.c: ... here.
35013         * debug/Makefile (routines): Move getlogin_r_chk to ...
35014         * login/Makefile (routines): ... here.
35015         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35016         * login/Versions (libc: GLIBC_2.4): ... here.
35018         * io/poll.c (__poll): Renamed from poll.
35019         Add libc_hidden_def.
35020         (poll): Define as weak alias.
35022         * debug/ptsname_r_chk.c: Moved to ...
35023         * login/ptsname_r_chk.c: ... here.
35024         * debug/Makefile (routines): Move ptsname_r_chk to ...
35025         * login/Makefile (routines): ... here.
35026         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35027         * login/Versions (libc: GLIBC_2.4): ... here.
35029         * posix/getlogin.c: Moved to ...
35030         * login/getlogin.c: ... here.
35031         * posix/getlogin_r.c: Moved to ...
35032         * login/getlogin_r.c: ... here.
35033         * posix/getlogin_r.c: Moved to ...
35034         * login/getlogin_r.c: ... here.
35035         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35036         * login/Makefile (routines): ... here.
35037         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35038         * login/Versions (libc: GLIBC_2.0): ... here.
35040         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35041         (setrlimit): Define as weak alias.
35043         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35044         Call __ names for open, ftruncate, and close.
35045         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35046         (truncate): Define as weak alias.
35048 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35050         * math/gen-libm-test.pl (parse_args): Initialize x before each
35051         test of frexp, modf and remquo.
35053         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35054         test signgam value.
35056 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35058         [BZ #15418]
35059         [BZ #15419]
35060         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35061         internal tests.
35062         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35064 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35066         * elf/dl-writev.h: New file.
35067         * elf/dl-misc.c: Include it.
35068         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35069         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35071 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35073         * math/libm-test.inc (noXFails): Remove variable.
35074         (noXPasses): Likewise.
35075         (BUILD_COMPLEX_INT): Remove macro.
35076         (print_screen): Remove xfail argument.
35077         (print_screen_max_error): Likewise.
35078         (update_stats): Likewise.
35079         (print_max_error): Likewise.  Update calls to other affected
35080         functions.
35081         (print_complex_max_error): Likewise.
35082         (test_single_exception): Update calls to print_screen.
35083         (test_single_errno): Likewise.
35084         (check_float_internal): Remove xfail argument.  Update calls to
35085         other affected functions.
35086         (check_float): Likewise.
35087         (check_complex): Likewise.
35088         (check_int): Likewise.
35089         (check_long): Likewise.
35090         (check_bool): Likewise.
35091         (check_longlong): Likewise.
35092         (main): Don't print noXFails and noXPasses.
35093         * math/gen-libm-test.pl (top level): Don't mention expected
35094         failure handling in comment.
35095         (new_test): Don't handle expected failures.
35096         (parse_args): Don't mention expected failure handling in comment.
35097         (generate_testfile): Don't handle expected failures.
35098         (parse_ulps): Likewise.
35099         (print_ulps_file): Likewise.
35100         (get_failure): Remove function.
35101         (output_test): Don't handle expected failures.
35102         * make/README.libm-test: Don't mention expected failure handling.
35104         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35105         (minus_zero): Likewise.
35106         (plus_infty): Likewise.
35107         (minus_infty): Likewise.
35108         (qnan_value): Likewise.
35109         (max_value): Likewise.
35110         (min_value): Likewise.
35111         (min_subnorm_value): Likewise.
35112         (initialize): Do not initialize those variables dynamically.
35114 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35116         * io/open.c (__open_2): Moved to ...
35117         * io/open_2.c: ... this new file.
35118         * io/open64.c (__open64_2): Moved to ...
35119         * io/open64_2.c: ... this new file.
35120         * io/openat.c (__openat_2): Moved to ...
35121         * io/openat_2.c: ... this new file.
35122         * io/openat64.c (__openat64_2): Moved to ...
35123         * io/openat64_2.c: ... this new file.
35124         * io/Makefile (routines): Add them.
35125         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35126         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35127         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35128         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35129         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35130         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35131         (__openat64): Add hidden_ver.
35132         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35133         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35135         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35136         Separately conditionalize setting of GLRO(dl_sysinfo) so
35137         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35138         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35140 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35142         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35143         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35144         definition.
35145         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35146         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35147         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35148         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35149         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35151 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35153         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35154         test signgam value.
35156         * math/libm-test.inc (hypot_test): Do not use
35157         IGNORE_ZERO_INF_SIGN.
35159 2013-05-03  Andreas Jaeger  <aj@suse.de>
35161         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35162         Linux 3.9.
35163         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35164         (PF_MAX): Adjust for VSOCK change.
35166 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35170 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35172         [BZ #15264]
35173         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35174         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35175         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35177 2013-05-02  David S. Miller  <davem@davemloft.net>
35179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35181 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35183         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35185 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35187         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35189 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35191         [BZ #14952]
35192         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35193         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35194         Use __attribute__ ((__gnu_inline__)).
35195         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35196         Don't use __attribute__ ((__gnu_inline__)).
35198 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35200         [BZ #15423]
35201         * math/s_catan.c (__catan): Handle small real or imaginary part of
35202         input specially to avoid spurious underflow.
35203         * math/s_catanf.c (__catanf): Likewise.
35204         * math/s_catanh.c (__catanh): Likewise.
35205         * math/s_catanhf.c (__catanhf): Likewise.
35206         * math/s_catanhl.c (__catanhl): Likewise.
35207         * math/s_catanl.c (__catanl): Likewise.
35208         * math/libm-test.inc (catan_test): Add more tests.
35209         (catanh_test): Likewise.
35210         * sysdeps/i386/fpu/libm-test-ulps: Update.
35211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35213 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35217 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35219         [BZ #15416]
35220         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35221         accurately for denominator in atan2.
35222         * math/s_catanf.c (__catanf): Likewise.
35223         * math/s_catanh.c (__catanh): Likewise.
35224         * math/s_catanhf.c (__catanhf): Likewise.
35225         * math/s_catanhl.c (__catanhl): Likewise.
35226         * math/s_catanl.c (__catanl): Likewise.
35227         * math/libm-test.inc (catan_test): Add more tests.
35228         (catanh_test): Likewise.
35229         * sysdeps/i386/fpu/libm-test-ulps: Update.
35230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35232 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35234         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35236         * benchtests/Makefile (bench): Remove slow benchmarks.
35237         * benchtests/atan-inputs: Add slow benchmark inputs.
35238         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35239         (BENCH_FUNC): Accept variant offset.
35240         (VARIANT): Define.
35241         * benchtests/bench-skeleton.c (main): Run benchmark for each
35242         variant.
35243         * benchtests/cos-inputs: Add slow benchmark inputs.
35244         * benchtests/exp-inputs: Likewise.
35245         * benchtests/pow-inputs: Likewise.
35246         * benchtests/sin-inputs: Likewise.
35247         * benchtests/slowatan-inputs: Remove.
35248         * benchtests/slowatan.c: Remove.
35249         * benchtests/slowcos-inputs: Remove.
35250         * benchtests/slowcos.c: Remove.
35251         * benchtests/slowexp-inputs: Remove.
35252         * benchtests/slowexp.c: Remove.
35253         * benchtests/slowpow-inputs: Remove.
35254         * benchtests/slowpow.c: Remove.
35255         * benchtests/slowsin-inputs: Remove.
35256         * benchtests/slowsin.c: Remove.
35257         * benchtests/slowtan-inputs: Remove.
35258         * benchtests/slowtan.c: Remove.
35259         * benchtests/tan-inputs: Add slow benchmark inputs.
35260         * scripts/bench.pl: Parse comments and directives.
35262         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35263         in CPPFLAGS.
35264         ($(objpfx)bench-%.c): Remove *-ITER.
35265         * benchtests/bench-modf.c: Remove definition of ITER.
35266         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35267         (main): Loop for DURATION seconds instead of fixed number of
35268         iterations.
35269         * scripts/bench.pl: Don't expect iterations in parameters.
35271 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35273         * io/fchdir.c (__fchdir): Renamed from fchdir.
35274         (fchdir): Define as weak alias.
35276 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35278         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35279         (ERRNO_EDOM): Likewise.
35280         (ERRNO_ERANGE): Likewise.
35281         (noErrnoTests): New variable.
35282         (init_max_error): Set errno to 0.
35283         (test_single_errno): New function.
35284         (test_errno): Likewise.
35285         (check_float_internal): Call test_errno.  Set errno to 0.
35286         (check_complex): Refer to errno tests in comment.
35287         (check_int): Call test_errno.  Set errno to 0.
35288         (check_long): Likewise.
35289         (check_bool): Likewise.
35290         (check_longlong): Likewise.
35291         (cos_test): Use ERRNO_* flags for errno tests instead of
35292         check_int.
35293         (expm1_test): Likewise.
35294         (fmod_test): Likewise.
35295         (ilogb_test): Likewise.
35296         (lgamma_test): Likewise.
35297         (pow_test): Likewise.
35298         (remainder_test): Likewise.
35299         (sin_test): Likewise.
35300         (tan_test): Likewise.
35301         (yn_test): Likewise.
35302         (initialize): Set errno to 0.
35303         (main): Print number of errno tests.
35304         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35306 2013-04-29  Andreas Jaeger  <aj@suse.de>
35308         [BZ #15084]
35309         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35310         and RES_USEVC.
35312         [BZ #15085]
35313         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35314         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35315         unimplemented.
35317         [BZ #15380]
35318         * stdlib/random.c (__initstate): Return NULL if
35319         __initstate fails.
35321         [BZ #15086]
35322         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35323         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35324         RES_SNGLKUPREOP.
35326 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35330 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35332         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35333         of individual tests.
35334         (casin_test): Likewise.
35335         (casinh_test): Likewise.
35337 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35339         [BZ #15409]
35340         * math/s_catan.c (__catan): Handle arguments with large real or
35341         imaginary part separately without squaring.
35342         * math/s_catanf.c (__catanf): Likewise.
35343         * math/s_catanh.c (__catanh): Likewise.
35344         * math/s_catanhf.c (__catanhf): Likewise.
35345         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35346         and redefine.
35347         (__catanhl): Handle arguments with large real or imaginary part
35348         separately without squaring.
35349         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35350         and redefine.
35351         (__catanl): Handle arguments with large real or imaginary part
35352         separately without squaring.
35353         * math/libm-test.inc (catan_test): Add more tests.
35354         (catanh_test): Likewise.
35355         * sysdeps/i386/fpu/libm-test-ulps: Update.
35356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35358 2013-04-27  Andreas Jaeger  <aj@suse.de>
35360         [BZ #15007]
35361         * stdlib/stdlib.h: Update guards for qecvt.
35362         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35363         <stdlib.h>.
35365 2013-04-27  Allan McRae  <allan@archlinux.org>
35367         * sysdeps/i386/fpu/libm-test-ulps: Update.
35369 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35371         [BZ #15406]
35372         * math/s_catan.c: Include <float.h>.
35373         (__catan): Ensure underflow exception occurs for underflowed
35374         result.
35375         * math/s_catanf.c: Include <float.h>.
35376         (__catanf): Ensure underflow exception occurs for underflowed
35377         result.
35378         * math/s_catanh.c: Include <float.h>.
35379         (__catanh): Ensure underflow exception occurs for underflowed
35380         result.
35381         * math/s_catanhf.c: Include <float.h>.
35382         (__catanhf): Ensure underflow exception occurs for underflowed
35383         result.
35384         * math/s_catanhl.c: Include <float.h>.
35385         (__catanhl): Ensure underflow exception occurs for underflowed
35386         result.
35387         * math/s_catanl.c: Include <float.h>.
35388         (__catanl): Ensure underflow exception occurs for underflowed
35389         result.
35390         * math/libm-test.inc (catan_test): Add more tests.
35391         (catanh_test): Likewise.
35393         [BZ #15405]
35394         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35395         underflowed result.
35396         * math/s_ccoshf.c (__ccoshf): Likewise.
35397         * math/s_ccoshl.c (__ccoshl): Likewise.
35398         * math/s_csin.c (__csin): Likewise.
35399         * math/s_csinf.c (__csinf): Likewise.
35400         * math/s_csinh.c (__csinh): Likewise.
35401         * math/s_csinhf.c (__csinhf): Likewise.
35402         * math/s_csinhl.c (__csinhl): Likewise.
35403         * math/s_csinl.c (__csinl): Likewise.
35404         * math/libm-test.inc (ccos_test): Add more tests.
35405         (ccosh_test): Likewise.
35406         (csin_test): Likewise.
35407         (csinh_test): Likewise.
35409 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35411         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35412         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35413         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35414         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35415         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35416         powerpc/power5+/fpu folders.
35417         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35420 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35424 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35426         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35427         additions to variable.
35428         [$(config-machine) = x86_64] (modules-names): Likewise.
35429         ($(objpfx)tst-audit3): Remove dependency.
35430         ($(objpfx)tst-audit3.out): Likewise.
35431         ($(objpfx)tst-audit4): Likewise.
35432         ($(objpfx)tst-audit4.out): Likewise.
35433         ($(objpfx)tst-audit5): Likewise.
35434         ($(objpfx)tst-audit5.out): Likewise.
35435         ($(objpfx)tst-audit6): Likewise.
35436         ($(objpfx)tst-audit6.out): Likewise.
35437         ($(objpfx)tst-audit7): Likewise.
35438         ($(objpfx)tst-audit7.out): Likewise.
35439         (tst-audit3-ENV): Remove variable.
35440         (tst-audit4-ENV): Likewise.
35441         (tst-audit5-ENV): Likewise.
35442         (tst-audit6-ENV): Likewise.
35443         (tst-audit7-ENV): Likewise.
35444         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35445         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35446         addition to variable.
35447         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35448         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35449         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35450         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35451         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35452         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35453         tst-audit3, tst-audit4 and tst-audit5.
35454         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35455         tst-audit6 and tst-audit7.
35456         [$(subdir) = elf] (modules-names): Add audit modules for those
35457         tests.
35458         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35459         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35460         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35461         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35462         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35463         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35464         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35465         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35466         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35467         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35468         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35469         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35470         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35471         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35472         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35473         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35474         Likewise.
35475         [$(subdir) = elf && $(config-cflags-avx) = yes]
35476         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35477         [$(subdir) = elf && $(config-cflags-avx) = yes]
35478         (CFLAGS-tst-auditmod4a.c): Likewise.
35479         [$(subdir) = elf && $(config-cflags-avx) = yes]
35480         (CFLAGS-tst-auditmod4b.c): Likewise.
35481         [$(subdir) = elf && $(config-cflags-avx) = yes]
35482         (CFLAGS-tst-auditmod6b.c): Likewise.
35483         [$(subdir) = elf && $(config-cflags-avx) = yes]
35484         (CFLAGS-tst-auditmod6c.c): Likewise.
35485         [$(subdir) = elf && $(config-cflags-avx) = yes]
35486         (CFLAGS-tst-auditmod7b.c): Likewise.
35487         * elf/tst-audit3.c: Move to ...
35488         * sysdeps/x86_64/tst-audit3.c: ... here.
35489         * elf/tst-audit4.c: Move to ...
35490         * sysdeps/x86_64/tst-audit4.c: ... here.
35491         * elf/tst-audit5.c: Move to ...
35492         * sysdeps/x86_64/tst-audit5.c: ... here.
35493         * elf/tst-audit6.c: Move to ...
35494         * sysdeps/x86_64/tst-audit6.c: ... here.
35495         * elf/tst-audit7.c: Move to ...
35496         * sysdeps/x86_64/tst-audit7.c: ... here.
35497         * elf/tst-auditmod3a.c: Move to ...
35498         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35499         * elf/tst-auditmod3b.c: Move to ...
35500         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35501         * elf/tst-auditmod4a.c: Move to ...
35502         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35503         * elf/tst-auditmod4b.c: Move to ...
35504         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35505         * elf/tst-auditmod5a.c: Move to ...
35506         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35507         * elf/tst-auditmod5b.c: Move to ...
35508         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35509         * elf/tst-auditmod6a.c: Move to ...
35510         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35511         * elf/tst-auditmod6b.c: Move to ...
35512         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35513         * elf/tst-auditmod6c.c: Move to ...
35514         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35515         * elf/tst-auditmod7a.c: Move to ...
35516         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35517         * elf/tst-auditmod7b.c: Move to ...
35518         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35520 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35522         [BZ #15366]
35523         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35524         define unconditionally.
35525         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35526         define unconditionally.
35527         (INT8_C, INT16_C, etc.): Likewise.
35529 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35531         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35532         __ehdr_start with hidden visibility.
35534         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35536 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35538         * math/libm-test.inc (cos_test): Use accurate hex constants.
35539         (sincost_test): Likewise.
35541 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35543         * math/libm-test.inc (catan_test): Add more tests.
35544         (catanh_test): Likewise.
35546         * math/s_catanf.c (__catanf): Use suffixed floating-point
35547         constants.
35548         * math/s_catanhf.c (__catanhf): Likewise.
35549         * math/s_catanhl.c (__catanhl): Likewise.
35550         * math/s_catanl.c (__catanl): Likewise.
35552         [BZ #15394]
35553         * math/s_catan.c (__catan): Calculate imaginary part of result
35554         with log1p not log unless computing log of number close to 0.
35555         * math/s_catanf.c (__catanf): Likewise.
35556         * math/s_catanl.c (__catanl): Likewise.
35557         * math/s_catanh.c (__catanh): Calculate real part of result with
35558         log1p not log unless computing log of number close to 0.
35559         * math/s_catanhf.c (__catanhf): Likewise.
35560         * math/s_catanhl.c (__catanhl): Likewise.
35561         * math/libm-test.inc (catan_test): Add more tests.
35562         (catanh_test): Likewise.
35563         * sysdeps/i386/fpu/libm-test-ulps: Update.
35564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35566 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35568         * benchtests/Makefile: Mention files in which fast and slow
35569         paths of math functions are implemented.
35571 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35573         * sysdeps/posix/timespec_get.c: New file.
35575 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35577         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35578         POWER.
35579         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35580         for POWER.
35581         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35582         powerpc/power5/fpu folders.
35583         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35584         * benchtests/Makefile: Add modf testcase.
35585         * benchtests/bench-modf.c: New file: Benchmark test for mo
35587 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35589         [BZ #14888]
35590         * time/Makefile (tests): Add tst-strptime-whitespace.
35591         * time/strptime_l.c (get_number): Use ISSPACE.
35592         (__strptime_internal): Likewise.
35593         * time/tst-strptime-whitespace.c: New test case.
35595 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35597         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35598         member.
35599         (_nss_files_init): Set it here.
35601 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35603         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35604         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35605         unsigned.
35607 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35609         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35611 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35613         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35614         size just once.
35616 2013-04-21  David S. Miller  <davem@davemloft.net>
35618         * po/ru.po: Update Russion translation from translation project.
35620 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35622         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35623         and setfsgid.
35625 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35627         * configure.in: Remove i386 configure warning. Remove i386 case.
35628         * configure: Regenerate.
35629         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35630         Add example to error message.
35631         * sysdeps/i386/configure: Regenerate.
35633 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35635         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35636         slowtan.
35637         * benchtests/cos-inputs: New file.
35638         * benchtests/slowcos-inputs: New file.
35639         * benchtests/slowcos.c: New file.
35640         * benchtests/slowtan-inputs: New file.
35641         * benchtests/slowtan.c: New file.
35642         * benchtests/tan-inputs: New file.
35644 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35646         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35647         considered kosher.
35649 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35651         * benchtests/Makefile: Include cppflags-iterator.mk to add
35652         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35654         * Makefile.in (bench-clean): New target.
35655         * benchtests/Makefile (bench-clean): Likewise.
35657 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35659         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35661 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35663         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35665 2013-04-15  Andreas Schwab  <schwab@suse.de>
35667         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35668         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35669         * nscd/pwdcache.c (cache_addpw): Likewise.
35670         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35671         more than recsize.
35673 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35675         * benchtests/Makefile (bench): Write all output to
35676         bench-out.tmp together.
35678 2013-04-15  Andreas Schwab  <schwab@suse.de>
35680         * nscd/nscd.c (main): Don't fork again after closing files.
35682 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35684         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35686         * benchtests/Rules (bench-deps): Collect dependencies into a
35687         single variable.  Add Makefile to dependencies.
35688         ($(objpfx)bench-%.c): Depend on bench-deps.
35690 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35691             Xavier Roche  <roche+kml2@exalead.com>
35693         [BZ #15361]
35694         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35695         just that it's a file descriptor.
35696         * manual/llio.texi (Synchronizing AIO Operations): Update description
35697         for EBADF error from aio_fsync.
35699 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35701         * Rules (bench): Move target definition...
35702         * benchtests/Makefile: ... here.
35704 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35706         * math/libm-test.inc (cos_test): Fix PI/2 test.
35707         (sincos_test): Likewise.
35708         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35709         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35711 2013-04-11  Andreas Schwab  <schwab@suse.de>
35713         [BZ #13988]
35714         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35715         accept exponent character only when digits were seen.
35716         * stdio-common/Makefile (tests): Add bug26.
35717         * stdio-common/bug26.c: New file.
35719         [BZ #14293]
35720         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35721         non-freeable.
35723 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35725         * Makeconfig (rtld-prefix): Define built linker prefix.
35726         * Rules (run-bench): Use it.
35727         * math/Makefile (run-regen-ulps): Likewise.
35729         * Rules (bench): Remove eval.
35731 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35732             Roland McGrath  <roland@hack.frob.com>
35733             Ondrej Bilka  <neleai@seznam.cz>
35735         [BZ #15346]
35736         * time/getdate.c: Include ctype.h and alloca.h.
35737         (__getdate_r): Trim leading and trailing spaces of input.
35738         * time/tst-getdate.c (tests): Add tests with leading and
35739         trailing spaces.
35741 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35743         [BZ #14280]
35744         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35745         when computing value.
35747 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35749         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35750         Use testrun.sh to run libm tests.
35752         [BZ #15309]
35753         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35755 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35757         [BZ #15264]
35758         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35760 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35762         * Makefile.in (regen-ulps): New target.
35763         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35764         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35765         [ifneq (no,$(PERL)] (regen-ulps): New target.
35766         [ifeq (no,$(PERL)] (regen-ulps): New target.
35767         * math/libm-test.inc (ulps_file_name): Define.
35768         (output_dir): New variable.
35769         (options): Add "output-dir" option.
35770         (parse_opt): Handle 'o' case.
35771         (main): If output_dir is non-NULL use it as a prefix
35772         otherwise use "".
35773         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35775 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35777         [BZ #10060, #10062]
35778         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35779         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35780         fail configure if __sync_val_compare_and_swap is not inlined.
35781         * sysdeps/i386/configure: Regenerate.
35782         * configure.in: Build for i686 when configured for i386.
35783         * configure: Regenerate.
35784         * README: Remove i386 reference.
35786 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35788         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35789         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35791 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35793         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35794         (lmsnanval): New variables.
35795         (F): Add conversion tests.
35796         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35797         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35799         * stdio-common/tstdiomisc.c (F): Properly collect individual
35800         tests' results.
35802         [BZ #14686, #15336]
35803         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35804         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35805         Instead, use input NaN values or generate a qNaN by arithmetic
35806         operation.  Also fix bugs to comply with the standard.
35807         * math/libm-test.inc (remainder_test): Add more tests.
35809         [BZ #15335, #15342]
35810         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35811         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35812         input NaN values or generate a qNaN by arithmetic operation.
35814         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35815         unreachable code.
35817         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35818         definitions.
35820 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35822         [BZ #14478]
35823         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35824         underflowed result.
35825         * math/s_cexpf.c (__cexpf): Likewise.
35826         * math/s_cexpl.c (__cexpl): Likewise.
35827         * math/libm-test.inc (cexp_test): Add more tests.
35829 2013-04-03  Andreas Schwab  <schwab@suse.de>
35831         [BZ #15330]
35832         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35833         order arrays from heap if bigger than alloca cutoff.
35835 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35837         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35838         (SNAN_TESTS_double): Refer to GCC PR56831.
35839         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35840         GCC PR56828.
35842 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35844         * Rules (bench): Move bench.out after the run is complete.
35846         * Rules (bench): Echo currently running benchmark.
35848         * benchtests/Makefile (bench): Add atan and slowatan.
35849         * benchtests/atan-inputs: New file.
35850         * benchtests/slowatan-inputs: New file.
35851         * benchtests/slowatan.c: New file.
35853         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35854         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35855         its value.
35857         [BZ #15305]
35858         * sysdeps/unix/sysv/linux/kernel-features.h
35859         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35860         __ASSUME_XFS_RESTRICTED_CHOWN.
35861         * sysdeps/unix/sysv/linux/pathconf.c
35862         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35863         Save and restore errno.
35865 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35867         [BZ #15327]
35868         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35869         arguments using __kernel_casinh.
35870         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35871         arguments using __kernel_casinhf.
35872         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35873         arguments using __kernel_casinhl.
35874         * math/libm-test.inc (cacosh_test): Add more tests.
35875         * sysdeps/i386/fpu/libm-test-ulps: Update.
35876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35878 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35880         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35881         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35883         * bench/Makefile (bench): Add sin and slowsin.
35884         * benchtests/sin-inputs: New file.
35885         * benchtests/slowsin-inputs: New file.
35886         * benchtests/slowsin.c: New file.
35888         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35889         (bench): Add slowexp and slowpow.
35890         (exp-ITER): Increase iterations.
35891         (pow-ITER): Likewise.
35892         * benchtests/exp-inputs: Change input.
35893         * benchtests/pow-inputs: Likewise.
35894         * benchtests/slowexp-inputs: New file.
35895         * benchtests/slowexp.c: New file.
35896         * benchtests/slowpow-inputs: New file.
35897         * benchtests/slowpow.c: New file.
35899 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35901         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35902         instructions.
35903         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35904         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35905         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35906         * benchtests/Makefile: Add rint benchtest.
35907         * benchtests/rint-inputs: Input for rint benchtest.
35909 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35911         * Versions.def (libm): Add GLIBC_2.18.
35912         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35913         hidden libm prototypes.
35914         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35915         * math/Makefile (libm-calls): Add s_issignaling.
35916         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35917         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35918         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35919         declaration.
35920         * math/math.h [__USE_GNU] (issignaling): New macro.
35921         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35922         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35923         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35924         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35925         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35926         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35927         * manual/arith.texi (issignaling): New section.
35928         * manual/libm-err-tab.pl (@all_functions): Update comment.
35929         * math/gen-libm-test.pl (parse_args): Apply special handling for
35930         issignaling.
35931         * math/libm-test.inc (print_float, issignaling_test): New
35932         functions.
35933         (check_float_internal): Add issignaling checks.
35934         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35935         default definition.
35936         * sysdeps/powerpc/math-tests.h: New file.
35937         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35938         tests.
35939         * math/test-snan.c (TEST_FUNC): Likewise.
35941 2013-03-30  David S. Miller  <davem@davemloft.net>
35943         * po/de.po: Update from translation team.
35945 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35947         [BZ #10357]
35948         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35949         imaginary part less than 1.0 and real part less than 0.5
35950         specially.
35951         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35952         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35953         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35954         (cacos_test): Add more tests.
35955         (casin_test): Likewise.
35956         (casinh_test): Likewise.
35957         * sysdeps/i386/fpu/libm-test-ulps: Update.
35958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35960 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35962         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35963         ONE with its value.
35965         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35966         (__pow_mp): Replace ONE and MONE with their values.
35967         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35968         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35969         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35970         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35971         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35972         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35974         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35976         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35977         (__pow_mp): Replace ZERO and MZERO with their values.
35978         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35979         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35980         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35981         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35982         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35983         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35984         (__sqr): Likewise.
35986         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35988         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35990 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35992         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35993         Declare with __attribute__ ((weak)).
35994         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35995         Call __call_tls_dtors only if it's not NULL.
35997 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35999         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36000         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36001         magic __ehdr_start linker symbol if it's defined.
36002         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36003         them up here if it was already done.
36005         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36006         (_dl_aux_init): Use const in cast when setting it.
36007         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36008         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36009         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36011         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36012         Declare them here.
36013         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36014         * csu/libc-tls.c: Nor here.
36015         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36017         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36018         (__libc_message): Never call vsyslog.
36020 2013-03-28  Alan Modra  <amodra@gmail.com>
36022         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36023         Define as empty.
36024         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36025         Likewise.
36027 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36029         [BZ #15214]
36030         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36031         underflow.
36032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36034 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36036         [BZ #15304]
36037         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36038         Don't add gid passed as argument.
36040         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36042 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36044         [BZ #15307]
36045         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36046         imaginary part between 1.0 and 1.5 and real part less than 0.5
36047         specially.
36048         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36049         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36050         * math/libm-test.inc (cacos_test): Add more tests.
36051         (casin_test): Likewise.
36052         (casinh_test): Likewise.
36053         * sysdeps/i386/fpu/libm-test-ulps: Update.
36054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36056 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36058         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36059         constants.
36060         (norm): Likewise.
36061         (denorm): Likewise.
36062         (__dbl_mp): Likewise.
36063         (add_magnitudes): Likewise.
36064         (sub_magnitudes): Likewise.
36065         (__add): Likewise.
36066         (__sub): Likewise.
36067         (__mul): Likewise.
36068         (__sqr): Likewise.
36069         (__inv): Likewise.
36070         (__dvd): Likewise.
36072         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36073         commented code.
36074         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36075         (__dubcos): Likewise.
36076         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36077         (__ieee754_acos): Likewise.
36078         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36079         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36080         (__exp1): Likewise.
36081         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36082         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36083         (log1): Likewise.
36084         (my_log2): Likewise.
36085         (checkint): Likewise.
36086         * sysdeps/ieee754/dbl-64/e_remainder.c
36087         (__ieee754_remainder): Likewise.
36088         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36089         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36090         (bsloww): Likewise.
36091         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36093         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36094         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36095         MANTISSA_STORE_T to store computations on mantissa.  Use
36096         macros for rounding and division.
36097         (denorm): Likewise.
36098         (__dbl_mp): Likewise.
36099         (add_magnitudes): Likewise.
36100         (sub_magnitudes): Likewise.
36101         (__mul): Likewise.
36102         (__sqr): Likewise.
36103         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36104         powers of two in terms of TWOPOW macro.
36105         (mp_no): Make type of mantissa as MANTISSA_T.
36106         [!RADIXI]: Define RADIXI.
36107         [!TWO52]: Define TWO52.
36108         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36110 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36112         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36113         llroundl symbol when building for PPC32.
36115 2013-03-24  Mark H Weaver  <mhw@netris.org>
36117         * manual/arith.texi (Normalization Functions): Fix prototypes for
36118         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36120 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36122         [BZ #13889]
36123         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36124         high value to check if expl overflow.
36125         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36126         to check for underflow and overflow.
36127         * math/libm-test.inc: Add exp test.
36129 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36131         [BZ #11120]
36132         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36133         with NOT_IN_libc.
36135 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36137         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36138         symbol.
36140 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36142         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36143         wrap blocks consisting of several statements.
36145         * sysdeps/generic/math-tests.h: New file.
36146         * sysdeps/i386/fpu/math-tests.h: Likewise.
36147         * math/test-snan.c: Include it.
36148         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36150 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36152         [BZ #15285]
36153         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36154         (__ieee754_j0l): Do not improve calculations using cos of twice
36155         input for inputs above LDBL_MAX / 2.0L.
36156         (__ieee754_y0l): Likewise.
36157         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36158         (__ieee754_j1l): Do not improve calculations using cos of twice
36159         input for inputs above LDBL_MAX / 2.0L.
36160         (__ieee754_y1l): Likewise.
36161         * math/libm-test.inc (j0_test): Add another test.
36162         (j1_test): Likewise.
36163         (y0_test): Likewise.
36164         (y1_test): Likewise.
36165         * sysdeps/i386/fpu/libm-test-ulps: Update.
36167 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36169         * Rules ($(objpfx)bench-%.c): Include code from a C source
36170         file.
36172 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36174         [BZ #15287]
36175         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36176         imaginary part 1.0 and real part less than 0.5 specially.
36177         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36178         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36179         * math/libm-test.inc (cacos_test): Add more tests.
36180         (casin_test): Likewise.
36181         (casinh_test): Likewise.
36182         * sysdeps/i386/fpu/libm-test-ulps: Update.
36183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36185 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36187         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36188         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36190 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36192         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36193         * config.make.in (config-cflags-sse4): Remove variable.
36194         (config-cflags-avx): Likewise.
36195         (config-cflags-sse2avx): Likewise.
36196         (config-cflags-novzeroupper): Likewise.
36197         (config-asflags-i686): Likewise.
36198         (have-mfma4): Likewise.
36199         (have-as-vis3): Likewise.
36200         (MIG): Likewise.
36201         * configure.in (MIG): Do not AC_SUBST.
36202         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36203         (libc_cv_cc_sse4): Do not AC_SUBST.
36204         (libc_cv_cc_avx): Likewise.
36205         (libc_cv_cc_sse2avx): Likewise.
36206         (libc_cv_cc_novzeroupper): Likewise.
36207         (libc_cv_cc_fma4): Likewise.
36208         (libc_cv_as_i686): Likewise.
36209         (libc_cv_sparc_as_vis3): Likewise.
36210         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36211         LIBC_CONFIG_VAR.
36212         (config-asflags-i686): Likewise.
36213         (config-cflags-avx): Likewise.
36214         (config-cflags-sse2avx): Likewise.
36215         (have-mfma4): Likewise.
36216         (config-cflags-novzeroupper): Likewise.
36217         * sysdeps/mach/configure.in (MIG): Likewise.
36218         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36219         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36220         LIBC_CONFIG_VAR.
36221         (config-cflags-avx): Likewise.
36222         (config-cflags-sse2avx): Likewise.
36223         (have-mfma4): Likewise.
36224         (config-cflags-novzeroupper): Likewise.
36225         * configure: Regenerated.
36226         * sysdeps/i386/configure: Likewise.
36227         * sysdeps/mach/configure: Likewise.
36228         * sysdeps/sparc/configure: Likewise.
36229         * sysdeps/x86_64/configure: Likewise.
36231 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36233         [BZ #14812]
36234         * locale/programs/localedef.c (options): Put N_ translation marker
36235         on argument names, not just descriptions.
36237 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36239         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36241 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36243         [BZ #14176]
36244         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36246 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36248         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36249         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36250         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36251         [!BEFORE_ABORT] (before_abort): New function.
36252         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36253         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36254         (writev_for_fatal): New function.
36255         (WRITEV_FOR_FATAL): New macro; call that.
36256         (backtrace_and_maps): New function.
36257         (BEFORE_ABORT): New macro; call that.
36258         (struct str_list): Type removed.
36259         (__libc_message, __libc_fatal): Functions removed.
36260         Include <sysdeps/posix/libc_fatal.c> instead.
36262 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36264         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36265         constants.
36266         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36267         double constants.
36269 2013-03-19  Andreas Schwab  <schwab@suse.de>
36271         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36272         * sysdeps/gnu/configure: Regenerate.
36274         * configure.in: Substitute libc_cv_rtlddir.
36275         * configure: Regenerate.
36276         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36277         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36278         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36279         * elf/Makefile (install-others, CFLAGS-interp.c)
36280         (ldso_install, common-ldd-rewrite): Likewise.
36281         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36282         $(inst_slibdir)/$(rtld-installed-name).
36283         * scripts/rellns-sh: Add -p option.
36284         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36285         for source.
36287 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36289         * manual/nptl.texi: Renamed to ...
36290         * manual/threads.texi: ... this.
36291         * manual/Makefile (chapters): Update.
36293 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36295         [BZ #14812]
36296         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36297         on argument names, not just descriptions.
36298         * malloc/memusagestat.c (options): Likewise.
36299         * nss/getent.c (options): Likewise.
36301 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36303         [BZ #14812]
36304         * iconv/iconv_prog.c (options): Put N_ translation marker
36305         on argument names, not just descriptions.
36306         * iconv/iconvconfig.c (options): Likewise.
36308 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36310         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36311         implementation which is faster on all x86_64 architectures.
36312         Tested on AMD, Intel Nehalem, SNB, IVB.
36313         * sysdeps/x86_64/strnlen.S: Likewise.
36315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36316         Remove all multiarch strlen and strnlen versions.
36317         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36318         Remove strlen and strnlen related parts.
36320         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36321         Inline strlen part.
36322         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36324         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36325         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36326         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36327         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36328         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36329         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36331 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36333         * manual/memory.texi (Malloc Tunable Parameters):
36334         Sort parameters alphabetically. Add comments for missing entries.
36336 2013-03-17  David S. Miller  <davem@davemloft.net>
36338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36340 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36342         [BZ #15283]
36343         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36344         for arguments at most half maximum finite value.
36345         * math/libm-test.inc (j0_test): Add more tests.
36346         (j1_test): Likewise.
36347         (y0_test): Likewise.
36348         (y1_test): Likewise.
36349         * sysdeps/i386/fpu/libm-test-ulps: Update.
36350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36352         [BZ #14155]
36353         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36354         1 / x and functions P and Q for arguments above 0x1p256L.
36355         (__ieee754_y0l): Likewise.
36356         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36357         (__ieee754_y1l): Likewise.
36358         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36359         (j1_test): Likewise.
36360         (y0_test): Likewise.
36361         (y1_test): Likewise.
36363 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36365         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36366         variable.
36368 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36370         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36371         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36372         zero since it's initialized to EXEC_PAGESIZE.
36374         * sysdeps/unix/sysv/linux/ldsodefs.h
36375         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36376         * sysdeps/generic/ldsodefs.h: ... here.
36378 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36380         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36382         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36383         math/test-snan.c.
36384         * math/test-snan.c: Renamed from
36385         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36386         * math/Makefile (tests): Add test-snan.
36387         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36388         test-powerpc-snan.
36390         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36391         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36392         functions.
36393         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36394         __builtin_nan family of functions.
36395         * math/libm-test.inc (initialize): Initialize qnan_value with
36396         __builtin_nan family of functions.
36397         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36398         Remove variables.
36399         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36400         Remove functions.
36401         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36402         storage class.  Initialize qNaN_var and sNaN_var with
36403         __builtin_nan and __builtin_nans families of functions,
36404         respectively.
36406         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36407         (sqrt_test): Remove duplicate test with qNaN input.
36408         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36409         (round_test, signbit_test, significand_test): Note missing +/-Inf
36410         as well as qNaN tests.
36412         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36413         qNaN_var.  Fix a few strings, too.
36414         * math/libm-test.inc (nan_value): Rename to qnan_value.
36415         * math/gen-libm-test.pl (%beautify): Adjust to that.
36416         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36417         * math/test-misc.c (main): Likewise.
36418         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36419         to __qnan_bytes, and __qnan_union, respectively.
36420         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36421         Likewise.
36422         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36423         and lqnanval, respectively.
36424         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36425         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36426         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36427         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36429         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36430         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36431         doubles.
36433         * math/test-misc.c (main): Fix copy'n'pastos.
36434         * misc/tst-efgcvt.c (special): Likewise.
36436         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36437         Remove declarations.
36439 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36441         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36442         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36443         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36444         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36446 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36448         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36449         macro to return vdso values correctly in IFUNC implementations.
36450         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36451         Optimization by using IFUNC.
36453 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36454             Richard Henderson  <rth@redhat.com>
36455             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36457         * Makefile.in (bench): New target.
36458         * NEWS: Mention the benchmark framework.
36459         * Rules (bench): Likewise.
36460         (binaries-bench): Generate binaries for functions to
36461         benchmark.
36462         * benchtests/Makefile: New makefile for benchmark tests.
36463         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36464         programs.
36465         * benchtests/exp-inputs: New input file for EXP function.
36466         * benchtests/pow-inputs: New input file for POW function.
36467         * scripts/bench.pl: New script to generate source files for
36468         benchmark programs.
36470 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36472         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36473         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36474         computations on mantissa.  Use macros for rounding and
36475         division.
36476         (denorm): Likewise.
36477         (__dbl_mp): Likewise.
36478         (add_magnitudes): Likewise.
36479         (sub_magnitudes): Likewise.
36480         (__mul): Likewise.
36481         (__sqr): Likewise.
36482         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36483         powers of two in terms of TWOPOW macro.
36484         (mp_no): Make type of mantissa as MANTISSA_T.
36485         [!RADIXI]: Define RADIXI.
36486         [!TWO52]: Define TWO52.
36487         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36489         * manual/nptl.texi (cindex): Modify threads to pthreads.
36491 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36493         * sysdeps/x86_64/preconfigure: Regenerated.
36495 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36497         [BZ #14155]
36498         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36499         0x1p28 and above.
36500         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36501         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36502         0x1p28 and above.
36503         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36504         * math/libm-test.inc (j0_test): Do not allow one spurious
36505         underflow exception.
36506         (y1_test): Likewise.
36508 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36510         * manual/Makefile (chapters): Add nptl.
36511         * manual/debug.texi (Debugging Support): Add link to Threads
36512         chapter.
36513         * manual/nptl.texi: New file.
36515         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36517 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36519         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36520         for non-NULL pointer before the memory validity test. Pointed
36521         out by Holger Brunck <holger.brunck@keymile.com>.
36523 2013-03-13  Andreas Schwab  <schwab@suse.de>
36525         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36526         instead of .os.
36528 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36530         * timezone/zic.c: Update from tzcode 2013b.
36532 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36534         * manual/install.texi (Configuring and compiling):
36535         Mention i686 and i586.
36536         * INSTALL: Regenerate.
36538 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36540         * sysdeps/init_array/elf-init.c: New file.
36541         * csu/elf-init.c
36542         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36543         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36545         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36546         __gmon_start__ as global, but as static with a .preinit_array pointer.
36547         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36548         * sysdeps/init_array/crti.S: New file, empty except for comments.
36549         * sysdeps/init_array/crtn.S: Likewise.
36551 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36553         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36554         definining bcopy.
36555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36556         Remove Prefer_SSE_for_memop.
36557         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36558         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36559         HAS_PREFER_SSE_FOR_MEMOP.
36560         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36561         memset-x86-64.
36562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36563         Remove bzero, memset ifunc support.
36564         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36565         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36566         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36567         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36569 2013-03-11  Andreas Schwab  <schwab@suse.de>
36571         [BZ #15234]
36572         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36573         by SHLIB_COMPAT.
36574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36575         (GLIBC_2.16): Remove pthread_atfork.
36577 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36579         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36580         (ptestcases.h): Likewise.
36582 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36584         * Makeconfig ($(common-objpfx)config.status): Depend on
36585         sysdeps/*/preconfigure{,.in} too.
36587 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36589         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36590         (__free_hook): Use void * instead of __malloc_ptr_t.
36591         (__malloc_hook): Likewise.
36592         (__realloc_hook): Likewise.
36593         (__memalign_hook): Likewise.
36594         (__after_morecore_hook): Likewise.
36595         * malloc/arena.c (save_malloc_hook): Likewise.
36596         (save_free_hook): Likewise.
36597         * malloc/hooks.c (malloc_hook_ini): Likewise.
36598         (realloc_hook_ini): Likewise.
36599         (memalign_hook_ini): Likewise.
36600         * malloc/malloc.c (malloc_hook_ini): Likewise.
36601         (realloc_hook_ini): Likewise.
36602         (memalign_hook_ini): Likewise.
36603         (__free_hook): Likewise.
36604         (__malloc_hook): Likewise.
36605         (__realloc_hook): Likewise.
36606         (__memalign_hook): Likewise.
36607         (__libc_malloc): Likewise.
36608         (__libc_free): Likewise.
36609         (__libc_realloc): Likewise.
36610         (__libc_memalign): Likewise.
36611         (__libc_valloc): Likewise.
36612         (__libc_pvalloc): Likewise.
36613         (__libc_calloc): Likewise.
36614         (__posix_memalign): Likewise.
36615         * malloc/morecore.c (__sbrk): Likewise.
36616         (__default_morecore): Likewise.
36618         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36620         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36621         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36622         __malloc_ptrdiff_t.
36624         * malloc/malloc.h (__malloc_size_t): Remove macro.
36625         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36626         __malloc_size_t.
36627         (old_memalign_hook): Likewise.
36628         (old_realloc_hook): Likewise.
36629         (struct hdr): Likewise.
36630         (flood): Likewise.
36631         (mallochook): Likewise.
36632         (memalignhook): Likewise.
36633         (reallochook): Likewise.
36634         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36635         (tr_old_realloc_hook): Likewise.
36636         (tr_old_memalign_hook): Likewise.
36637         (tr_mallochook): Likewise.
36638         (tr_reallochook): Likewise.
36639         (tr_memalignhook): Likewise.
36641 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36643         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36644         default_ldbl_pack and using as default implementation.
36645         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36646         implementation.
36647         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36648         redundant definition.
36649         (ldbl_insert_mantissa): Likewise.
36650         (ldbl_canonicalize): Likewise.
36651         (ldbl_nearbyint): Likewise.
36652         (ldbl_pack): Rename to ldbl_pack_ppc.
36653         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36654         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36655         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36657 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36659         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36660         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36661         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36662         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36663         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36664         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36665         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36666         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36668 2013-03-07  Andreas Jaeger  <aj@suse.de>
36670         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36671         bits/mman-linux.h.
36673 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36675         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36676         Include mpa.h and declare __MPEXP.
36677         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36678         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36679         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36680         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36681         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36682         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36683         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36685         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36686         (__slowpow): Use long double EXPL and LOGL functions to
36687         compute POW.
36688         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36689         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36690         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36691         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36692         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36693         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36696         intermediate variable to calculate exponent.
36697         (__sqr): Likewise.
36698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36699         Likewise.
36700         (__sqr): Likewise.
36702         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36703         [!NO__SQR]: Define __sqr.
36704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36705         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36706         sysdeps/ieee754/dbl-64/mpa.c.
36707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36709         [BZ #12723]
36710         * posix/Makefile (tests): Add tst-pathconf.
36711         * posix/tst-pathconf.c: New test case.
36712         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36713         _PC_PIPE_BUF.
36714         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36716 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36718         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36720 2013-03-06  Andreas Jaeger  <aj@suse.de>
36722         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36723         definition via __MAP_ANONYMOUS.
36725         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36726         it's not part of Linux headers.
36728         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36729         (MAP_HUGE_MASK): Define.
36731         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36732         Define.
36733         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36734         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36735         Define.
36736         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36737         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36738         Define.
36739         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36740         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36741         Define.
36742         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36744         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36745         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36746         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36747         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36748         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36749         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36751         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36752         Handle f2fs.
36754         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36755         Handle f2fs and efivarfs.
36757         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36758         f2fs.
36760         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36761         (EFIVARFS_MAGIC): Add.
36762         (F2FS_LINK_MAX): Add.
36764 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36766         * stdio-common/vfprintf.c: Replace __builtin_expect with
36767         __glibc_unlikely.
36769 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36771         [BZ #13550]
36772         * sysdeps/generic/bp-sym.h: Remove file.
36773         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36774         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36775         <bp-sym.h> and <bp-asm.h>.
36776         (__longjmp): Don't use BP_SYM.
36777         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36778         and <bp-asm.h>.
36779         (memcpy): Don't use BP_SYM.
36780         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36781         <bp-sym.h> and <bp-asm.h>.
36782         (memcpy): Don't use BP_SYM.
36783         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36784         <bp-asm.h>.
36785         (memcpy): Don't use BP_SYM.
36786         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36787         <bp-asm.h>.
36788         (memset): Don't use BP_SYM.
36789         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36790         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36791         (__bzero): Don't use BP_SYM.
36792         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36793         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36794         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36795         <bp-sym.h> and <bp-asm.h>.
36796         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36797         pointers.
36798         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36799         <bp-sym.h> and <bp-asm.h>.
36800         (memcpy): Don't use BP_SYM.
36801         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36802         <bp-sym.h> and <bp-asm.h>.
36803         (memset): Don't use BP_SYM.
36804         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36805         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36806         (__bzero): Don't use BP_SYM.
36807         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36808         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36809         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36810         <bp-sym.h> and <bp-asm.h>.
36811         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36812         pointers.
36813         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36814         <bp-sym.h> and <bp-asm.h>.
36815         (memcpy): Don't use BP_SYM.
36816         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36817         <bp-sym.h> and <bp-asm.h>.
36818         (memset): Don't use BP_SYM.
36819         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36820         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36821         (__bzero): Don't use BP_SYM.
36822         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36823         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36824         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36825         <bp-sym.h> and <bp-asm.h>.
36826         (__memchr): Don't use BP_SYM.
36827         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36828         <bp-sym.h> and <bp-asm.h>.
36829         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36830         pointers.
36831         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36832         <bp-sym.h> and <bp-asm.h>.
36833         (memcpy): Don't use BP_SYM.
36834         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36835         <bp-sym.h> and <bp-asm.h>.
36836         (__mempcpy): Don't use BP_SYM.
36837         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36838         <bp-sym.h> and <bp-asm.h>.
36839         (__memrchr): Don't use BP_SYM.
36840         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36841         <bp-sym.h> and <bp-asm.h>.
36842         (memset): Don't use BP_SYM.
36843         (__bzero): Likewise.
36844         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36845         <bp-sym.h> and <bp-asm.h>.
36846         (__rawmemchr): Don't use BP_SYM.
36847         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36848         <bp-sym.h> and <bp-asm.h>.
36849         (__STRCMP): Don't use BP_SYM.
36850         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36851         <bp-sym.h> and <bp-asm.h>.
36852         (strchr): Don't use BP_SYM.
36853         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36854         <bp-sym.h> and <bp-asm.h>.
36855         (__strchrnul): Don't use BP_SYM.
36856         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36857         <bp-sym.h> and <bp-asm.h>.
36858         (strlen): Don't use BP_SYM.
36859         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36860         <bp-sym.h> and <bp-asm.h>.
36861         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36862         pointers.
36863         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36864         <bp-sym.h> and <bp-asm.h>.
36865         (__strnlen): Don't use BP_SYM.
36866         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36867         <bp-sym.h> and <bp-asm.h>.
36868         (__GI__setjmp): Don't use BP_SYM.
36869         (_setjmp): Likewise.
36870         (__sigsetjmp): Likewise.
36871         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36872         (L(start_addresses)): Don't use BP_SYM.
36873         (_start): Likewise.
36874         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36875         <bp-asm.h>.
36876         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36877         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36878         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36879         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36880         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36881         <bp-asm.h>.
36882         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36883         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36884         about bounded pointers.
36885         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36886         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36887         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36888         <bp-asm.h>.
36889         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36890         about bounded pointers.  Remove GKM FIXME comments.
36891         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36892         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36893         <bp-asm.h>.
36894         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36895         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36896         Remove GKM FIXME comments.
36897         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36898         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36899         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36900         <bp-asm.h>.
36901         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36902         about bounded pointers.  Remove GKM FIXME comment.
36903         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36904         and <bp-asm.h>.
36905         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36906         pointers.
36907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36908         <bp-sym.h> and <bp-asm.h>.
36909         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36911         <bp-sym.h> and <bp-asm.h>.
36912         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36913         comment.
36915 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36917         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36918         call free(NULL).
36920 2013-03-05  David S. Miller  <davem@davemloft.net>
36922         * po/es.po: Update from translation team.
36924 2013-03-05  Andreas Jaeger  <aj@suse.de>
36926         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36927         <bits/mman-linux.h>.
36928         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36929         is fine.
36930         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36931         <bits/mman-linux.h> to end of file.
36932         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36933         is fine.
36934         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36935         <bits/mman-linux.h> to end of file.
36936         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36937         is fine.
36938         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36939         <bits/mman-linux.h> to end of file.
36941         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36942         (MCL_CURRENT, MCL_FUTURE): Define here.
36944 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36946         [BZ #15232]
36947         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36948         attribute_hidden.
36949         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36951 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36953         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36954         fourth parameter needed for rt_sigprocmask syscall.
36955         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36956         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36957         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36958         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36959         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36960         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36962 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36964         [BZ #13550]
36965         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36966         comment about bounded pointers.
36967         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36968         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36970 2013-03-04  Andreas Jaeger  <aj@suse.de>
36972         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36973         common definitions.
36975         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36976         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36977         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36978         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36979         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36980         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36982 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36984         [BZ #15055]
36985         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36986         __ieee754_sqrl instead of __sqrl.
36988 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36990         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36991         * sysdeps/powerpc/fpu_control.h: ... here.
36992         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36993         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36994         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36995         * sysdeps/powerpc/bits/mathinline.h: ... here.
36997 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36999         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37000         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37001         to just [NEED_DL_SYSINFO_DSO].
37002         * elf/dl-support.c: Likewise.
37003         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37004         * elf/rtld.c (dl_main): Likewise.
37005         * elf/setup-vdso.h (setup_vdso): Likewise.
37006         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37007         * sysdeps/unix/sysv/linux/dl-sysdep.c
37008         (_dl_discover_osversion): Likewise.
37010 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37012         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37013         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37015 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37017         * NEWS: Mention libm performance improvements and non-x86 PI
37018         futex support.
37020         * csu/libc-start.c (__pthread_initialize_minimal): Change
37021         function arguments.
37022         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37024 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37026         [BZ #13550]
37027         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37028         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37029         <bp-sym.h> and <bp-asm.h>.
37030         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37031         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37032         and <bp-asm.h>.
37033         (memcpy): Don't use BP_SYM.
37034         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37035         <bp-asm.h>.
37036         (__mpn_add_n): Don't use BP_SYM.
37037         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37038         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37039         and <bp-asm.h>.
37040         (__mpn_addmul_1): Don't use BP_SYM.
37041         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37042         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37043         <bp-sym.h>.
37044         (_setjmp): Don't use BP_SYM.
37045         (__novmx_setjmp): Likewise.
37046         (__GI__setjmp): Likewise.
37047         (__vmx_setjmp): Likewise.
37048         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37049         <bp-sym.h>.
37050         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37051         (__bzero): Don't use BP_SYM.
37052         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37053         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37054         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37055         <bp-sym.h> and <bp-asm.h>.
37056         (memcpy): Don't use BP_SYM.
37057         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37058         <bp-sym.h> and <bp-asm.h>.
37059         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37060         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37061         <bp-sym.h> and <bp-asm.h>.
37062         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37063         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37064         <bp-asm.h>.
37065         (__mpn_lshift): Don't use BP_SYM.
37066         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37067         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37068         <bp-asm.h>.
37069         (memset): Don't use BP_SYM.
37070         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37071         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37072         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37073         <bp-asm.h>.
37074         (__mpn_mul_1): Don't use BP_SYM.
37075         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37076         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37077         <bp-sym.h> and <bp-asm.h>.
37078         (memcmp): Don't use BP_SYM.
37079         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37080         <bp-sym.h> and <bp-asm.h>.
37081         (memcpy): Don't use BP_SYM.
37082         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37083         <bp-sym.h> and <bp-asm.h>.
37084         (memset): Don't use BP_SYM.
37085         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37086         <bp-sym.h> and <bp-asm.h>.
37087         (strncmp): Don't use BP_SYM.
37088         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37089         <bp-sym.h> and <bp-asm.h>.
37090         (memcpy): Don't use BP_SYM.
37091         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37092         <bp-sym.h> and <bp-asm.h>.
37093         (memset): Don't use BP_SYM.
37094         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37095         <bp-sym.h> and <bp-asm.h>.
37096         (__memchr): Don't use BP_SYM.
37097         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37098         <bp-sym.h> and <bp-asm.h>.
37099         (memcmp): Don't use BP_SYM.
37100         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37101         <bp-sym.h> and <bp-asm.h>.
37102         (memcpy): Don't use BP_SYM.
37103         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37104         <bp-sym.h> and <bp-asm.h>.
37105         (__mempcpy): Don't use BP_SYM.
37106         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37107         <bp-sym.h> and <bp-asm.h>.
37108         (__memrchr): Don't use BP_SYM.
37109         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37110         <bp-sym.h> and <bp-asm.h>.
37111         (memset): Don't use BP_SYM.
37112         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37113         <bp-sym.h> and <bp-asm.h>.
37114         (__rawmemchr): Don't use BP_SYM.
37115         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37116         <bp-sym.h> and <bp-asm.h>.
37117         (__STRCMP): Don't use BP_SYM.
37118         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37119         <bp-sym.h> and <bp-asm.h>.
37120         (strchr): Don't use BP_SYM.
37121         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37122         <bp-sym.h> and <bp-asm.h>.
37123         (__strchrnul): Don't use BP_SYM.
37124         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37125         <bp-sym.h> and <bp-asm.h>.
37126         (strlen): Don't use BP_SYM.
37127         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37128         <bp-sym.h> and <bp-asm.h>.
37129         (strncmp): Don't use BP_SYM.
37130         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37131         <bp-sym.h> and <bp-asm.h>.
37132         (__strnlen): Don't use BP_SYM.
37133         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37134         <bp-asm.h>.
37135         (__mpn_rshift): Don't use BP_SYM.
37136         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37137         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37138         <bp-sym.h> and <bp-asm.h>.
37139         (__sigsetjmp): Don't use BP_SYM.
37140         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37141         (L(start_addresses)): Don't use BP_SYM.
37142         (_start): Likewise.
37143         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37144         <bp-asm.h>.
37145         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37146         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37147         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37148         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37149         <bp-asm.h>.
37150         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37151         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37152         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37153         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37154         <bp-asm.h>.
37155         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37156         comments.
37157         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37158         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37159         <bp-asm.h>.
37160         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37161         FIXME comments.
37162         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37163         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37164         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37165         <bp-asm.h>.
37166         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37167         comment.
37168         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37169         and <bp-asm.h>.
37170         (strncmp): Don't use BP_SYM,
37171         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37172         <bp-asm.h>.
37173         (__mpn_sub_n): Don't use BP_SYM.
37174         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37175         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37176         and <bp-asm.h>.
37177         (__mpn_submul_1): Don't use BP_SYM.
37178         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37180         <bp-sym.h> and <bp-asm.h>.
37181         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37183         <bp-sym.h> and <bp-asm.h>.
37184         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37185         comment.
37187 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37190         Use ZK to minimize writes to Z.
37191         (sub_magnitudes): Simplify code a bit.
37192         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37193         Use ZK to minimize writes to Z.
37194         (sub_magnitudes): Simplify code a bit.
37196 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37198         * csu/gmon-start.c: Add special exception to license text.
37200 2013-02-27  Richard Henderson  <rth@redhat.com>
37202         * scripts/config.guess: Update from config.git.
37203         * scripts/config.sub: Likewise.
37205 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37207         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37209         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37211         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37213         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37215         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37217 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37219         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37220         [$(build-shared = yes].
37222 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37224         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37225         (__mul): Reduce iterations for calculating mantissa.
37227         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37228         MPTWO.
37229         (__mpranred): Likewise.
37231         [BZ #15160]
37232         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37233         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37235 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37237         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37238         Define __attribute__.
37240 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37242         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37243         unused.
37244         * posix/regex_internal.h (__attribute): Remove.
37245         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37246         (re_string_context_at): Likewise.
37247         (bitset_not): Use __attribute__ and mark function as possibly
37248         unused.
37249         (bitset_merge): Likewise.
37250         (bitset_mask): Likewise.
37251         (re_string_char_size_at): Likewise.
37252         (re_string_wchar_at): Likewise.
37253         (re_string_elem_size_at): Likewise.
37255 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37257         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37258         code.
37259         (cc32): Likewise.
37261         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37262         (__acr): Likewise.
37263         (__cpy): Likewise.
37264         (norm): Likewise.
37265         (denorm): Likewise.
37266         (__dbl_mp): Likewise.
37267         (add_magnitudes): Likewise.
37268         (sub_magnitudes): Likewise.
37269         (__mul): Likewise.
37270         (__inv): Likewise.
37272         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37273         style.
37275         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37276         style.
37278         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37279         code.
37281         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37282         up changes with default code.
37283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37284         Likewise.
37286 2013-02-24  Allan McRae  <allan@archlinux.org>
37288         * manual/socket.texi (The Internet Namespace): Order menu items
37289         to match that in the file.
37291         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37292         node listing of the info page menu.
37294 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37296         [BZ #13550]
37297         * sysdeps/i386/bp-asm.h: Remove file.
37298         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37299         (PARMS): Do not use macros from bp-asm.h.
37300         (S1): Likewise.
37301         (S2): Likewise.
37302         (SIZE): Likewise.
37303         (__mpn_add_n): Do not use BP_SYM
37304         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37305         "bp-asm.h".
37306         (PARMS): Do not use macros from bp-asm.h.
37307         (S1): Likewise.
37308         (SIZE): Likewise.
37309         (__mpn_addmul_1): Do not use BP_SYM
37310         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37311         "bp-asm.h".
37312         (PARMS): Do not use macros from bp-asm.h.
37313         (SIGMSK): Likewise.
37314         (_setjmp): Likewise.  Do not use BP_SYM.
37315         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37316         "bp-asm.h".
37317         (PARMS): Do not use macros from bp-asm.h.
37318         (SIGMSK): Likewise.
37319         (setjmp): Likewise.  Do not use BP_SYM.
37320         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37321         "bp-asm.h".
37322         (PARMS): Do not use macros from bp-asm.h.
37323         (__frexp): Do not use BP_SYM.
37324         (frexp): Likewise.
37325         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37326         "bp-asm.h".
37327         (PARMS): Do not use macros from bp-asm.h.
37328         (__frexpf): Do not use BP_SYM.
37329         (frexpf): Likewise.
37330         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37331         "bp-asm.h".
37332         (PARMS): Do not use macros from bp-asm.h.
37333         (__frexpl): Do not use BP_SYM.
37334         (frexpl): Likewise.
37335         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37336         "bp-asm.h".
37337         (PARMS): Do not use macros from bp-asm.h.
37338         (__remquo): Do not use BP_SYM.
37339         (remquo): Likewise.
37340         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37341         "bp-asm.h".
37342         (PARMS): Do not use macros from bp-asm.h.
37343         (__remquof): Do not use BP_SYM.
37344         (remquof): Likewise.
37345         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37346         "bp-asm.h".
37347         (PARMS): Do not use macros from bp-asm.h.
37348         (__remquol): Do not use BP_SYM.
37349         (remquol): Likewise.
37350         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37351         "bp-asm.h".
37352         (PARMS): Do not use macros from bp-asm.h.
37353         (DEST): Likewise.
37354         (SRC): Likewise.
37355         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37356         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37357         "bp-asm.h".
37358         (PARMS): Do not use macros from bp-asm.h.
37359         (strlen): Do not use BP_SYM.
37360         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37361         "bp-asm.h".
37362         (PARMS): Do not use macros from bp-asm.h.
37363         (S1): Likewise.
37364         (S2): Likewise.
37365         (SIZE): Likewise.
37366         (__mpn_add_n): Do not use BP_SYM.
37367         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37368         "bp-asm.h".
37369         (PARMS): Do not use macros from bp-asm.h.
37370         (S1): Likewise.
37371         (SIZE): Likewise.
37372         (__mpn_addmul_1): Do not use BP_SYM.
37373         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37374         weak_alias.
37375         (bzero): Likewise.
37376         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37377         "bp-asm.h".
37378         (PARMS): Do not use macros from bp-asm.h.
37379         (S): Likewise.
37380         (SIZE): Likewise.
37381         (__mpn_lshift): Do not use BP_SYM.
37382         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37383         "bp-asm.h".
37384         (PARMS): Do not use macros from bp-asm.h.
37385         (DEST): Likewise.
37386         (SRC): Likewise.
37387         (LEN): Likewise.
37388         (memcpy): Likewise.  Do not use BP_SYM.
37389         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37390         libc_hidden_def and weak_alias.
37391         (mempcpy): Do not use BP_SYM in weak_alias.
37392         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37393         "bp-asm.h".
37394         (PARMS): Do not use macros from bp-asm.h.
37395         (DEST): Likewise.
37396         (LEN): Likewise.
37397         [!BZERO_P] (CHR): Likewise.
37398         (memset): Likewise.  Do not use BP_SYM.
37399         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37400         "bp-asm.h".
37401         (PARMS): Do not use macros from bp-asm.h.
37402         (S1): Likewise.
37403         (SIZE): Likewise.
37404         (__mpn_mul_1): Do not use BP_SYM.
37405         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37406         "bp-asm.h".
37407         (PARMS): Do not use macros from bp-asm.h.
37408         (S): Likewise.
37409         (SIZE): Likewise.
37410         (__mpn_rshift): Do not use BP_SYM.
37411         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37412         "bp-asm.h".
37413         (PARMS): Do not use macros from bp-asm.h.
37414         (STR): Likewise.
37415         (CHR): Likewise.
37416         (strchr): Likewise.  Do not use BP_SYM.
37417         (index): Do not use BP_SYM in weak_alias.
37418         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37419         "bp-asm.h".
37420         (PARMS): Do not use macros from bp-asm.h.
37421         (DEST): Likewise.
37422         (SRC): Likewise.
37423         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37424         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37425         "bp-asm.h".
37426         (PARMS): Do not use macros from bp-asm.h.
37427         (strlen): Do not use BP_SYM.
37428         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37429         "bp-asm.h".
37430         (PARMS): Do not use macros from bp-asm.h.
37431         (S1): Likewise.
37432         (S2): Likewise.
37433         (SIZE): Likewise.
37434         (__mpn_sub_n): Do not use BP_SYM.
37435         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37436         "bp-asm.h".
37437         (PARMS): Do not use macros from bp-asm.h.
37438         (S1): Likewise.
37439         (SIZE): Likewise.
37440         (__mpn_submul_1): Do not use BP_SYM.
37441         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37442         "bp-asm.h".
37443         (PARMS): Do not use macros from bp-asm.h.
37444         (S1): Likewise.
37445         (S2): Likewise.
37446         (SIZE): Likewise.
37447         (__mpn_add_n): Do not use BP_SYM.
37448         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37449         weak_alias.
37450         (bzero): Likewise.
37451         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37452         "bp-asm.h".
37453         (PARMS): Do not use macros from bp-asm.h.
37454         (BLK2): Likewise.
37455         (LEN): Likewise.
37456         (memcmp): Do not use BP_SYM.
37457         (bcmp): Do not use BP_SYM in weak_alias.
37458         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37459         "bp-asm.h".
37460         (PARMS): Do not use macros from bp-asm.h.
37461         (DEST): Likewise.
37462         (SRC): Likewise.
37463         (LEN): Likewise.
37464         (memcpy): Likewise.  Do not use BP_SYM.
37465         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37466         "bp-asm.h".
37467         (PARMS): Do not use macros from bp-asm.h.
37468         (DEST): Likewise.
37469         (SRC): Likewise.
37470         (LEN): Likewise.
37471         (memmove): Likewise.  Do not use BP_SYM.
37472         * sysdeps/i386/i686/mempcpy.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         (__mempcpy): Likewise.  Do not use BP_SYM.
37479         (mempcpy): Do not use BP_SYM in weak_alias.
37480         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37481         "bp-asm.h".
37482         (PARMS): Do not use macros from bp-asm.h.
37483         (DEST): Likewise.
37484         (LEN): Likewise.
37485         [!BZERO_P] (CHR): Likewise.
37486         (memset): Likewise.  Do not use BP_SYM.
37487         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37488         "bp-asm.h".
37489         (PARMS): Do not use macros from bp-asm.h.
37490         (STR2): Likewise.
37491         (strcmp): Do not use BP_SYM.
37492         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37493         "bp-asm.h".
37494         (PARMS): Do not use macros from bp-asm.h.
37495         (STR): Likewise.
37496         (DELIM): Likewise.
37497         [USE_AS_STRTOK_R] (SAVE): Likewise.
37498         (FUNCTION): Likewise.  Do not use BP_SYM.
37499         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37500         aliases.
37501         (strtok_r): Likewise.
37502         (__GI___strtok_r): Likewise.
37503         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37504         (PARMS): Do not use macros from bp-asm.h.
37505         (S): Likewise.
37506         (SIZE): Likewise.
37507         (__mpn_lshift): Do not use BP_SYM.
37508         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37509         (PARMS): Do not use macros from bp-asm.h.
37510         (STR): Likewise.
37511         (CHR): Likewise.
37512         (__memchr): Do not use BP_SYM.
37513         (memchr): Do not use BP_SYM in weak_alias.
37514         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37515         (PARMS): Do not use macros from bp-asm.h.
37516         (BLK2): Likewise.
37517         (LEN): Likewise.
37518         (memcmp): Do not use BP_SYM.
37519         (bcmp): Do not use BP_SYM in weak_alias.
37520         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37521         (PARMS): Do not use macros from bp-asm.h.
37522         (S1): Likewise.
37523         (SIZE): Likewise.
37524         (__mpn_mul_1): Do not use BP_SYM.
37525         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37526         "bp-asm.h".
37527         (PARMS): Do not use macros from bp-asm.h.
37528         (STR): Likewise.
37529         (CHR): Likewise.
37530         (__rawmemchr): Do not use BP_SYM.
37531         (rawmemchr): Do not use BP_SYM in weak_alias.
37532         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37533         (PARMS): Do not use macros from bp-asm.h.
37534         (S): Likewise.
37535         (SIZE): Likewise.
37536         (__mpn_rshift): Do not use BP_SYM.
37537         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37538         (PARMS): Do not use macros from bp-asm.h.
37539         (SIGMSK): Likewise.
37540         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37541         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37542         (_start): Do not use BP_SYM.
37543         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37544         (PARMS): Do not use macros from bp-asm.h.
37545         (DEST): Likewise.
37546         (SRC): Likewise.
37547         (__stpcpy): Likewise.  Do not use BP_SYM.
37548         (stpcpy): Do not use BP_SYM in weak_alias.
37549         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37550         "bp-asm.h".
37551         (PARMS): Do not use macros from bp-asm.h.
37552         (DEST): Likewise.
37553         (SRC): Likewise.
37554         (LEN): Likewise.
37555         (__stpncpy): Likewise.  Do not use BP_SYM.
37556         (stpncpy): Do not use BP_SYM in weak_alias.
37557         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37558         (PARMS): Do not use macros from bp-asm.h.
37559         (STR): Likewise.
37560         (CHR): Likewise.
37561         (strchr): Likewise.  Do not use BP_SYM.
37562         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37563         "bp-asm.h".
37564         (PARMS): Do not use macros from bp-asm.h.
37565         (STR): Likewise.
37566         (CHR): Likewise.
37567         (__strchrnul): Likewise.  Do not use BP_SYM.
37568         (strchrnul): Do not use BP_SYM in weak_alias.
37569         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37570         "bp-asm.h".
37571         (PARMS): Do not use macros from bp-asm.h.
37572         (STOP): Likewise.
37573         (strcspn): Do not use BP_SYM.
37574         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37575         "bp-asm.h".
37576         (PARMS): Do not use macros from bp-asm.h.
37577         (STR): Likewise.
37578         (STOP): Likewise.
37579         (strpbrk): Likewise.  Do not use BP_SYM.
37580         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37581         "bp-asm.h".
37582         (PARMS): Do not use macros from bp-asm.h.
37583         (STR): Likewise.
37584         (CHR): Likewise.
37585         (strrchr): Likewise.  Do not use BP_SYM.
37586         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37587         (PARMS): Do not use macros from bp-asm.h.
37588         (SKIP): Likewise.
37589         (strspn): Do not use BP_SYM.
37590         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37591         (PARMS): Do not use macros from bp-asm.h.
37592         (STR): Likewise.
37593         (DELIM): Likewise.
37594         (SAVE): Likewise.
37595         (FUNCTION): Likewise.  Do not use BP_SYM.
37596         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37597         aliases.
37598         (strtok_r): Likewise.
37599         (__GI___strtok_r): Likewise.
37600         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37601         (PARMS): Do not use macros from bp-asm.h.
37602         (S1): Likewise.
37603         (S2): Likewise.
37604         (SIZE): Likewise.
37605         (__mpn_sub_n): Do not use BP_SYM.
37606         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37607         "bp-asm.h".
37608         (PARMS): Do not use macros from bp-asm.h.
37609         (S1): Likewise.
37610         (SIZE): Likewise.
37611         (__mpn_submul_1): Do not use BP_SYM.
37612         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37613         <bp-sym.h>.
37614         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37615         and <bp-asm.h>.
37616         (PARMS): Do not use macros from bp-asm.h.
37617         (FLAGS): Likewise.
37618         (PTID): Likewise.
37619         (TLS): Likewise.
37620         (CTID): Likewise.
37621         (__clone): Do not use BP_SYM.
37622         (clone): Do not use BP_SYM in weak_alias.
37623         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37624         and <bp-asm.h>.
37625         (PARMS): Do not use macros from bp-asm.h.
37626         (LEN): Likewise.
37627         (__mmap64): Do not use BP_SYM.
37628         (mmap64): Do not use BP_SYM in weak_alias.
37629         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37630         <bp-sym.h> and <bp-asm.h>.
37631         (PARMS): Do not use macros from bp-asm.h.
37632         (__posix_fadvise64_l64): Do not use BP_SYM.
37633         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37634         (PARMS): Do not use macros from bp-asm.h.
37635         (NSOPS): Likewise.
37636         (semtimedop): Do not use BP_SYM.
37637         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37638         and <bp-asm.h>.
37640 2013-02-21  Allan McRae  <allan@archlinux.org>
37642         * manual/message.texi (Charset conversion in gettext):
37643         Move @end statement to beginning of line.
37645 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37648         static.
37649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37650         Likewise.
37652         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37653         (denorm): Likewise.
37654         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37657 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37659         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37660         tail-call to the resolved function if pltexit isn't needed.
37662 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37665         or Y being zero as being unlikely.
37666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37667         Likewise.
37669 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37671         * manual/nss.texi (System Databases and Name Service Switch):
37672         Remove frobnicate @pxref.
37674 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37676         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37677         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37679 2013-02-20  Petr Machata  <pmachata@redhat.com>
37681         * elf/elf.h (R_ARM_TARGET1): New macro.
37682         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37683         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37684         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37685         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37686         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37687         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37688         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37689         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37690         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37691         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37692         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37693         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37694         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37695         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37696         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37697         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37698         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37699         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37700         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37701         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37702         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37703         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37704         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37705         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37706         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37707         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37708         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37709         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37710         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37711         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37712         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37713         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37714         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37715         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37716         (R_ARM_THM_GOT_BREL12): Likewise.
37717         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37718         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37719         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37720         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37721         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37722         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37723         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37724         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37725         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37727 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37729         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37730         __attribute_used__ to __attribute__ ((unused)).
37732 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37734         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37735         powerpc mpa.c.
37736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37737         comment formatting.
37738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37740 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37742         [BZ #13550]
37743         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37744         Remove macro.
37745         (ENTER): Remove both macro definitions.
37746         (LEAVE): Likewise.
37747         (CHECK_BOUNDS_LOW): Likewise.
37748         (CHECK_BOUNDS_HIGH): Likewise.
37749         (CHECK_BOUNDS_BOTH): Likewise.
37750         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37751         (RETURN_BOUNDED_POINTER): Likewise.
37752         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37753         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37754         (POP_ERRNO_LOCATION_RETURN): Likewise.
37755         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37756         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37757         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37758         macros.
37759         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37760         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37761         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37762         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37763         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37764         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37765         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37766         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37767         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37768         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37769         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37770         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37771         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37772         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37773         removed macros.
37774         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37775         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37776         macros.
37777         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37778         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37779         * sysdeps/i386/i586/memset.S (memset): Likewise.
37780         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37781         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37782         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37783         macros.
37784         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37785         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37786         Change uses of L(2) to L(out).
37787         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37788         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37789         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37790         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37791         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37792         removed macros.
37793         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37794         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37795         macros.
37796         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37797         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37798         (RETURN): Do not use macro LEAVE.
37799         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37800         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37801         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37802         * sysdeps/i386/i686/memset.S (memset): Likewise.
37803         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37804         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37805         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37806         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37807         Likewise.
37808         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37809         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37810         L(1_2) and L(1_3) into L(1).
37811         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37812         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37813         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37814         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37815         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37816         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37817         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37818         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37819         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37820         macros.
37821         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37822         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37823         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37824         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37825         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37826         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37827         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37828         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37829         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37830         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37831         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37832         * sysdeps/i386/strspn.S (strspn): Likewise.
37833         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37834         conditional code.
37835         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37836         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37837         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37838         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37839         L(1_3) into L(1_1).
37840         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37841         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37842         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37843         macros.
37844         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37846 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37848         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37849         macro.
37851 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37853         * math/atest-exp.c (exp_mpn): Remove ROUND.
37854         * math/atest-exp2.c (exp_mpn): Likewise.
37855         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37857         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37858         * stdlib/tst-tls-atexit-lib.c: Likewise.
37859         * stdlib/tst-tls-atexit.c: Likewise.
37861 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37863         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37864         and __attribute_alloc_size__.
37866 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37868         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37869         __attribute_alloc_size__.
37870         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37871         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37873 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37875         * include/programs/xmalloc.h: New file.
37876         * catgets/gencat.c: Include it.
37877         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37878         * elf/pldd.c: Likewise.
37879         * iconv/iconv_charmap.c: Likewise.
37880         * iconv/iconvconfig.c: Likewise.
37881         * iconv/strtab.c: Likewise.
37882         * locale/programs/locale.c: Likewise.
37883         * locale/programs/localedef.h: Likewise.
37884         * locale/programs/simple-hash.c: Likewise.
37885         * nscd/nscd.h: Likewise.
37886         * nss/makedb.c: Likewise.
37887         * sysdeps/generic/ldconfig.h: Likewise.
37889 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37891         * Versions.def: Add GLIBC_2.18.
37892         * include/link.h (struct link_map): New member l_tls_dtor_count.
37893         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37894         (__call_tls_dtors): Likewise.
37895         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37896         __cxa_thread_atexit_impl.
37897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37898         Likewise.
37899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37900         Likewise.
37901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37902         Likewise.
37903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37904         Likewise.
37905         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37907         Likewise.
37908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37909         Likewise.
37910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37912         Likewise.
37913         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37914         (tests): Add test case tst-tls-atexit.
37915         (modules-names): Add shared library for tst-tls-atexit.
37916         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37917         (GLIBC_PRIVATE): Add __call_tls_dtors.
37918         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37919         for libstdc++.
37920         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37921         * stdlib/tst-tls-atexit.c: New test case.
37922         * stdlib/tst-tls-atexit-lib.c: New test case.
37924         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37926         * elf/Versions (ld): Add _dl_find_dso_for_object.
37927         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37928         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37929         (dl_open_worker): Use _dl_find_dso_for_object.
37930         * elf/dl-sym.c (do_sym): Likewise.
37931         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37933 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37935         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37936         Syntactic changes only.
37937         (_dl_runtime_profile): Do a tail-call to the resolved function.
37939 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37941         [BZ #13550]
37942         * sysdeps/x86_64/bp-asm.h: Remove file.
37943         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37944         <bp-sym.h> and <bp-asm.h>.
37945         (__clone): Do not use BP_SYM.
37946         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37947         <bp-sym.h> and <bp-asm.h>.
37948         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37949         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37950         "bp-asm.h".
37951         (_setjmp): Do not use BP_SYM.
37952         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37953         "bp-asm.h".
37954         (setjmp): Do not use BP_SYM.
37955         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37956         libc_hidden_def.
37957         (mempcpy): Do not use BP_SYM in weak_alias.
37958         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37959         "bp-asm.h".
37960         (strchr): Do not use BP_SYM.
37961         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37962         "bp-asm.h".
37963         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37964         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37965         (_start): Do not use BP_SYM.
37966         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37967         "bp-asm.h".
37968         (strcat): Do not use BP_SYM.
37969         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37970         "bp-asm.h".
37971         (STRCMP): Do not use BP_SYM.
37972         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37973         "bp-asm.h".
37974         (STRCPY): Do not use BP_SYM.
37975         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37976         "bp-asm.h".
37977         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37978         "bp-asm.h".
37979         (FUNCTION): Do not use BP_SYM.
37980         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37981         weak_alias.
37982         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37984 2013-02-17  Andreas Jaeger  <aj@suse.de>
37986         * time/Versions: Sort entries.
37987         * string/Versions: Likewise.
37988         * resolv/Versions: Likewise.
37989         * posix/Versions: Likewise.
37990         * iconv/Versions: Likewise.
37991         * elf/Versions: Likewise.
37992         * wcsmbs/Versions: Likewise.
37994 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37996         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37997         loop termination condition.
37999         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38000         variable to calculate EZ.
38001         (__sqr): Likewise.
38003         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38004         the lower precision input.
38006 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38008         [BZ #13550]
38009         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38010         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38011         (run-via-rtld-prefix): Do not handle %-bp tests.
38012         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38013         (all-object-suffixes): Remove .ob.
38014         (bppfx): Remove variable.
38015         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38016         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38017         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38018         [$(build-bounded) = yes] (libtype.ob): Likewise.
38019         * Makerules (elide-routines.ob): Remove variable.
38020         (do-tests-clean): Do not handle *-bp.out.
38021         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38022         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38023         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38024         (tests): Do not include $(tests-bp.out).
38025         (xtests): Do not include $(xtests-bp.out).
38026         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38027         [$(build-bounded) = yes] ($(addprefix
38028         $(objpfx),$(binaries-bounded))): Remove rule.
38029         ($(objpfx)%-bp.out): Remove rule.
38030         * config.make.in (build-bounded): Remove variable.
38031         * crypt/Makefile [$(build-bounded) = yes]
38032         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38033         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38034         append to variable.
38035         [$(build-bounded) = yes] (install-lib): Likewise.
38036         [$(build-bounded) = yes] (generated): Likewise.
38037         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38038         Remove rule.
38039         * intl/Makefile [$(build-bounded) = yes]
38040         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38041         * math/Makefile [$(build-bounded) = yes]
38042         ($(tests:%=$(objpfx)%-bp): Likewise.
38043         * misc/Makefile [$(build-bounded) = yes]
38044         ($(objpfx)tst-tsearch-bp): Likewise.
38045         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38046         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38047         Remove dependency.
38048         * string/Makefile (o-objects.ob): Remove variable.
38049         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38050         (CFLAGS-.ob): Remove variable.
38051         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38052         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38053         both definitions of variable.
38054         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38055         (ASFLAGS-.ob): Remove variable.
38057 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38059         [BZ #13550]
38060         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38061         Remove __BOUNDED_POINTERS__ from condition.
38062         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38063         * string/bits/string2.h [!__NO_STRING_INLINES &&
38064         !__BOUNDED_POINTERS__]: Likewise.
38065         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38066         Likewise.
38067         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38068         Remove conditional code.
38069         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38070         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38071         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38072         condition.
38074         [BZ #13550]
38075         * csu/libc-start.c: Do not include <bp-sym.h>.
38076         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38077         * elf/dl-open.c: Do not include <bp-sym.h>.
38078         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38079         * math/fegetenv.c: Do not include <bp-sym.h>.
38080         (fegetenv): Do not use BP_SYM in versioned symbols.
38081         * nptl/sysdeps/pthread/bits/libc-lockP.h
38082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38083         <bp-sym.h>.
38084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38085         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38087         (__pthread_mutex_destroy): Likewise.
38088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38089         (__pthread_mutex_lock): Likewise.
38090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38091         (__pthread_mutex_trylock): Likewise.
38092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38093         (__pthread_mutex_unlock): Likewise.
38094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38095         (__pthread_mutexattr_init): Likewise.
38096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38097         (__pthread_mutexattr_destroy): Likewise.
38098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38099         (__pthread_mutexattr_settype): Likewise.
38100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38101         (__pthread_rwlock_init): Likewise.
38102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38103         (__pthread_rwlock_destroy): Likewise.
38104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38105         (__pthread_rwlock_rdlock): Likewise.
38106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38107         (__pthread_rwlock_tryrdlock): Likewise.
38108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38109         (__pthread_rwlock_wrlock): Likewise.
38110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38111         (__pthread_rwlock_trywrlock): Likewise.
38112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38113         (__pthread_rwlock_unlock): Likewise.
38114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38115         (__pthread_key_create): Likewise.
38116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38117         (__pthread_setspecific): Likewise.
38118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38119         (__pthread_getspecific): Likewise.
38120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38121         Likewise.
38122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38123         (_pthread_cleanup_push_defer): Likewise.
38124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38125         (_pthread_cleanup_pop_restore): Likewise.
38126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38127         (pthread_setcancelstate): Likewise.
38128         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38129         <bp-sym.h>.
38130         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38131         (memchr): Do not use BP_SYM in weak_alias.
38132         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38133         (fegetenv): Do not use BP_SYM in versioned symbols.
38134         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38135         (fesetenv): Do not use BP_SYM in versioned symbols.
38136         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38137         (feupdateenv): Do not use BP_SYM in versioned symbols.
38138         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38139         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38140         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38141         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38142         (open64): Do not use BP_SYM in weak_alias.
38143         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38144         (fegetenv): Do not use BP_SYM in versioned symbols.
38145         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38146         (fesetenv): Do not use BP_SYM in versioned symbols.
38147         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38148         (feupdateenv): Do not use BP_SYM in versioned symbols.
38149         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38150         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38151         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38152         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38153         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38154         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38155         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38156         <bp-sym.h>.
38157         (__libc_start_main): Do not use BP_SYM.
38159 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38161         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38162         redundant return line.
38163         (norm): Likewise.
38164         (denorm): Likewise.
38165         (dbl_mp): Likewise.
38166         (sub_magnitudes): Likewise.
38167         (__add): Likewise.
38168         (__sub): Likewise.
38169         (__mul): Likewise.
38170         (__inv): Likewise.
38171         (__dvd): Likewise.
38172         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38173         (norm): Likewise.
38174         (denorm): Likewise.
38175         (dbl_mp): Likewise.
38176         (sub_magnitudes): Likewise.
38177         (__add): Likewise.
38178         (__sub): Likewise.
38179         (__mul): Likewise.
38180         (__inv): Likewise.
38181         (__dvd): Likewise.
38183         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38184         instead of __mul.
38185         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38186         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38187         (cc32): Likewise.
38189         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38190         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38191         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38192         of __mul for squares.
38193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38194         function
38195         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38196         Likewise.
38197         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38198         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38200 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38202         [BZ #13550]
38203         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38204         code.
38205         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38206         prototype or function definition.  Rename ubp_* variables and
38207         parameters.  Remove argv definitions conditional on
38208         [__BOUNDED_POINTERS__].
38209         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38210         * elf/dl-runtime.c (_dl_fixup): Likewise.
38211         * include/set-hooks.h (RUN_HOOK): Likewise.
38212         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38213         definition.
38214         * string/strcpy.c (strcpy): Do not use __unbounded.
38215         * sysdeps/generic/frame.h (struct layout): Likewise.
38216         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38217         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38218         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38219         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38220         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38221         (__backtrace): Likewise.
38222         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38223         use __ptrvalue.
38224         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38225         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38226         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38227         Likewise.
38228         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38229         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38230         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38231         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38232         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38233         Do not use __unbounded.
38234         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38235         Rename __unboundedrlimits parameter to rlimits in prototype.
38236         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38237         Do not use __unbounded.
38238         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38239         not use __ptrvalue.
38240         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38241         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38242         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38243         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38244         __ptrvalue or __unbounded.
38245         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38246         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38247         use __unbounded.
38248         (__new_msgctl): Do not use __ptrvalue.
38249         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38250         __unbounded.
38251         (__libc_msgrcv): Do not use __ptrvalue.
38252         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38253         startup_info): Do not use __unbounded.
38254         (__libc_start_main): Likewise.  Rename ubp_* variables and
38255         parameters.  Remove argv definitions conditional on
38256         [__BOUNDED_POINTERS__].
38257         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38258         __ptrvalue.
38259         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38260         use __unbounded.
38261         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38262         or __ptrvalue.
38263         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38264         use __unbounded.
38265         (__new_shmctl): Do not use __ptrvalue.
38266         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38267         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38268         Likewise.
38269         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38270         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38271         (__libc_sigaction): Likewise.
38272         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38273         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38274         Likewise.
38275         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38277 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38279         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38281         * string/mempcpy.c: Implement by calling memcpy.
38283 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38285         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38287         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38288         evaluation.
38290         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38291         values in the mantissa.
38293         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38294         minimize writes to Z.
38295         (sub_magnitudes): Simplify code a bit.
38297 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38299         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38300         from the message.  The linker prefixes all warnings with that already.
38302 2013-02-12  Andreas Schwab  <schwab@suse.de>
38304         [BZ #15078]
38305         * posix/regexec.c (extend_buffers): Add parameter min_len.
38306         (check_matching): Pass minimum needed length.
38307         (clean_state_log_if_needed): Likewise.
38308         (get_subexp): Likewise.
38309         * posix/Makefile (tests): Add bug-regex34.
38310         (bug-regex34-ENV): Define.
38311         * posix/bug-regex34.c: New file.
38313         [BZ #11561]
38314         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38315         elements compare against the byte sequence of it, not its name.
38316         * posix/Makefile (tests): Add bug-regex35.
38317         (bug-regex35-ENV): Define.
38318         * posix/bug-regex35.c: New file.
38320 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38322         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38323         comment.
38324         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38325         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38326         (CHECK_EOL): Add undef.
38328 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38330         * bits/stdlib-bsearch.h: New file.
38331         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38332         * stdlib/stdlib.h: Likewise.
38334 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38336         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38337         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38338         declaration.
38339         * manual/search.texi (Array Search Function): Add missing const in
38340         lfind prototype.
38341         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38342         declaration to use rlim_t.
38343         (Basic Scheduling Functions): Remove erroneous const from
38344         sched_getparam prototype.  Remove erroneous * from
38345         sched_get_priority_max and sched_get_priority_min prototypes.
38346         (Resource Usage): Fix summary @comment on vtimes to refer to
38347         sys/vtimes.h rather than vtimes.h.
38348         Add missing *s in vtimes prototype.
38349         (Limits on Resources): Fix ulimit prototype to return long int.
38350         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38351         prototypes to use long int rather than double.
38352         (BSD Random): Fix initstate and setstate to use char *, not void *.
38353         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38354         prototype to make second argument 'struct aiocb64 *const[]'.
38355         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38356         (Status of AIO Operations): Remove erroneous const in aio_return and
38357         aio_return64 prototypes.
38358         (Synchronizing I/O): Fix sync prototype to return void.
38359         * manual/startup.texi (Suboptions): Remove an erroneous const in
38360         getsubopt prototype.
38361         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38362         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38363         use size_t rather than int.
38364         (Scanning All Users): Likewise for getpwent_r.
38365         (Setting Groups): Add missing const to setgroups prototype.
38366         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38367         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38368         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38369         'const void *' rather than 'const char *'.
38370         (Host Address Functions): Likewise for inet_ntop.
38371         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38372         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38373         ssize_t for return value.
38374         (Sending Data): Likewise for send, sendto, sendmsg.
38375         (Socket Option Functions): Add a missing const in setsockopt prototype.
38376         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38377         use wchar_t for the argument.
38378         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38379         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38380         take no arguments.
38381         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38382         double/float/long double for second argument.
38383         Fix return types of significand, significandf, significandl.
38384         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38385         argument in fchmod prototype.
38386         (File Owner): Use uid_t and gid_t in fchown prototype.
38387         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38388         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38389         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38390         use 'const struct dirent **' as argument types to CMP function pointer
38391         argument.
38392         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38393         (File Times): Fix summary magic @comment for struct utimbuf and utime
38394         to refer to utime.h, not time.h.
38395         * manual/string.texi (Argz Functions): Add missing const in
38396         argz_extract and argz_next prototypes.
38397         (Finding Tokens in a String): Likewise for basename.
38398         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38399         (Copying and Concatenation): Fix typo in wmemmove prototype.
38400         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38401         (Signal Stack): Remove erroneous const in sigstack prototype.
38402         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38403         prototype.
38404         (Simple Calendar Time): Likewise for stime.
38405         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38406         prototype.
38407         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38408         say sys/sysctl.h instead.
38409         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38410         and vsyslog prototypes.
38412 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38414         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38415         Remove.
38417 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38419         * misc/sys/mman.h: Fix typo in mremap comment.
38421 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38423         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38424         the '\0' terminator.
38426 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38428         [BZ #13550]
38429         * debug/segfault.c: Don't include <bp-checks.h>.
38430         * sysdeps/generic/bp-checks.h: Remove file.
38431         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38432         (__GETDENTS): Don't use CHECK_N.
38433         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38434         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38435         (__getgroups): Don't use CHECK_N.
38436         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38437         (setgroups): Don't use CHECK_N.
38438         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38439         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38440         (__libc_msgrcv): Don't use CHECK_N.
38441         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38442         (__libc_msgsnd): Don't use CHECK_N.
38443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38444         <bp-checks.h>.
38445         (__libc_pread): Don't use CHECK_N.
38446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38447         include <bp-checks.h>.
38448         (__libc_pread64): Don't use CHECK_N.
38449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38450         include <bp-checks.h>.
38451         (__libc_pwrite): Don't use CHECK_N.
38452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38453         include <bp-checks.h>.
38454         (__libc_pwrite64): Don't use CHECK_N.
38455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38456         <bp-checks.h>.
38457         (__libc_pread): Don't use CHECK_N.
38458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38459         include <bp-checks.h>.
38460         (__libc_pread64): Don't use CHECK_N.
38461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38462         include <bp-checks.h>.
38463         (__libc_pwrite): Don't use CHECK_N.
38464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38465         include <bp-checks.h>.
38466         (__libc_pwrite64): Don't use CHECK_N.
38467         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38468         (do_pread): Don't use CHECK_N.
38469         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38470         (do_pread64): Don't use CHECK_N.
38471         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38472         (do_pwrite): Don't use CHECK_N.
38473         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38474         (do_pwrite64): Don't use CHECK_N.
38475         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38476         (__libc_readv): Don't use CHECK_N.
38477         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38478         (semop): Don't use CHECK_N.
38479         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38480         <bp-checks.h>.
38481         (semtimedop): Don't use CHECK_N.
38482         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38483         (__libc_pread): Don't use CHECK_N.
38484         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38485         <bp-checks.h>.
38486         (__libc_pread64): Don't use CHECK_N.
38487         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38488         <bp-checks.h>.
38489         (__libc_pwrite): Don't use CHECK_N.
38490         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38491         <bp-checks.h>.
38492         (__libc_pwrite64): Don't use CHECK_N.
38493         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38494         <bp-checks.h>.
38495         (__libc_msgrcv): Don't use CHECK_N.
38496         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38497         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38498         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38499         (__libc_writev): Don't use CHECK_N.
38501 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38503         * string/strcpy.c: Removed unused variable.
38505         * Makeconfig (+sysdep-includes): Define with := rather than =.
38506         Use an existing include/ subdir of each sysdeps dir before it.
38508 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38510         * nscd/connection.c (register_traced_file): Comment function.
38511         [HAVE_INOTIFY] (union __inev): Define.
38512         [HAVE_INOTIFY] (inotify_check_files): New function.
38513         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38514         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38515         clear_db_cache.
38516         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38518 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38520         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38521         loaded if not already and that a failure is permanent.
38523 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38525         [BZ #15006]
38526         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38527         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38529 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38531         [BZ #13550]
38532         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38533         (CHECK_1_NULL_OK): Likewise.
38534         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38535         (__fxstat): Do not use CHECK_1.
38536         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38537         <bp-checks.h>.
38538         (___fxstat64): Do not use CHECK_1.
38539         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38540         <bp-checks.h>.
38541         (__fxstatat): Do not use CHECK_1.
38542         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38543         <bp-checks.h>.
38544         (__fxstatat64): Do not use CHECK_1.
38545         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38546         <bp-checks.h>.
38547         (__fxstat): Do not use CHECK_1.
38548         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38549         <bp-checks.h>.
38550         (__fxstatat): Do not use CHECK_1.
38551         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38552         <bp-checks.h>.
38553         (__getresgid): Do not use CHECK_1.
38554         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38555         <bp-checks.h>.
38556         (__getresuid): Do not use CHECK_1.
38557         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38558         <bp-checks.h>.
38559         (__lxstat): Do not use CHECK_1.
38560         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38561         <bp-checks.h>.
38562         (__old_msgctl): Do not use CHECK_1.
38563         (__new_msgctl): Likewise.
38564         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38565         <bp-checks.h>.
38566         (__new_setrlimit): Do not use CHECK_1.
38567         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38568         <bp-checks.h>.
38569         (__old_shmctl): Do not use CHECK_1.
38570         (__new_shmctl): Likewise.
38571         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38572         <bp-checks.h>.
38573         (__xstat): Do not use CHECK_1.
38574         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38575         (__lxstat): Do not use CHECK_1.
38576         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38577         <bp-checks.h>.
38578         (___lxstat64): Do not use CHECK_1.
38579         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38580         (__old_msgctl): Do not use CHECK_1.
38581         (__new_msgctl): Likewise.
38582         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38583         <bp-checks.h>.
38584         (__gettimeofday): Do not use CHECK_1.
38585         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38586         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38587         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38588         <bp-checks.h>.
38589         (__gettimeofday): Do not use CHECK_1.
38590         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38591         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38592         (__new_shmctl): Do not use CHECK_1.
38593         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38594         <bp-checks.h>.
38595         (do_sigtimedwait): Do not use CHECK_1.
38596         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38597         <bp-checks.h>.
38598         (do_sigwaitinfo): Do not use CHECK_1.
38599         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38600         <bp-checks.h>.
38601         (msgctl): Do not use CHECK_1.
38602         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38603         <bp-checks.h>.
38604         (shmctl): Do not use CHECK_1.
38605         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38606         (ustat): Do not use CHECK_1.
38607         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38608         <bp-checks.h>.
38609         (__fxstat): Do not use CHECK_1.
38610         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38611         <bp-checks.h>.
38612         (__fxstatat): Do not use CHECK_1.
38613         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38614         <bp-checks.h>.
38615         (__lxstat): Do not use CHECK_1.
38616         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38617         <bp-checks.h>.
38618         (__xstat): Do not use CHECK_1.
38619         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38620         (__xstat): Do not use CHECK_1.
38621         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38622         (___xstat64): Do not use CHECK_1.
38624         [BZ #13550]
38625         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38626         definitions.
38627         (CHECK_BOUNDS_HIGH): Likewise.
38628         * string/strcpy.c: Do not include <bp-checks.h>.
38629         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38631 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38633         * nscd/nscd-client.h (__nscd_drop_map_ref):
38634         Add __attribute__ ((unused)).
38635         * nis/nss-nisplus.h (niserr2nss): Likewise.
38637         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38638         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38640         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38641         Remove inline keyword.
38642         * include/rounding-mode.h (round_away): Likewise.
38643         * libio/wfileops.c (adjust_wide_data): Likewise.
38644         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38645         (__m128i_strloadu_tolower): Likewise.
38646         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38647         (__m128i_strloadu_tolower): Likewise.
38648         * time/mktime.c (ydhms_diff): Likewise.
38649         * locale/elem-hash.h (elem_hash): Likewise.
38650         * locale/setlocale.c (setdata): Likewise.
38651         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38652         (re_string_wchar_at): Likewise.
38653         (bitset_not, bitset_merge, bitset_mask): Likewise.
38654         [!(__GNUC__ > 3)] (inline): Remove macro.
38655         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38656         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38657         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38658         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38659         * string/memcmp.c (memcmp_bytes): Likewise.
38660         * locale/programs/locarchive.c (compute_hashval): Likewise.
38661         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38662         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38663         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38664         * nss/getent.c (print_rpc, print_protocols): Likewise.
38665         (print_passwd, print_group, print_aliases): Likewise.
38666         * nis/nss-nisplus.h (niserr2nss): Likewise.
38667         * nscd/connections.c (restart_p): Likewise.
38668         Change return type to bool.
38670 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38672         * Makeconfig (all-Depend-files): Add existing
38673         $(sorted-subdirs:=/Depend) files.
38674         (all-subdirs): Remove nss.
38675         * sysdeps/unix/inet/Subdirs: Add it here instead.
38676         * hesiod/Depend: New file.
38678         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38679         instead of calling alloca.
38681         * io/lseek.c (__lseek): Rename to __libc_lseek.
38682         Define __lseek as an alias.
38684         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38686 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38688         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38689         else clause and remove check for non-standard endianness.
38691 2013-02-04  David S. Miller  <davem@davemloft.net>
38693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38695 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38697         [BZ #13550]
38698         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38699         (__ubp_memchr): Remove prototype.
38700         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38701         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38702         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38703         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38704         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38705         Remove alias.
38706         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38707         (__ubp_memchr): Likewise.
38708         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38709         (__ubp_memchr): Likewise.
38710         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38711         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38712         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38713         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38714         CHECK_STRING.
38715         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38716         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38717         (__getcwd): Do not use CHECK_STRING.
38718         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38719         <bp-checks.h>.
38720         (__real_chown): Do not use CHECK_STRING.
38721         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38722         <bp-checks.h>.
38723         (fchownat): Do not use CHECK_STRING.
38724         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38725         CHECK_STRING.
38726         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38727         <bp-checks.h>.
38728         (__lchown): Do not use CHECK_STRING.
38729         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38730         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38731         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38732         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38734         include <bp-checks.h>.
38735         (truncate64): Do not use CHECK_STRING.
38736         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38737         <bp-checks.h>.
38738         (__real_chown): Do not use CHECK_STRING.
38739         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38740         <bp-checks.h>.
38741         (__lchown): Do not use CHECK_STRING.
38742         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38743         <bp-checks.h>.
38744         (__chown): Do not use CHECK_STRING.
38745         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38746         <bp-checks.h>.
38747         (truncate64): Do not use CHECK_STRING.
38748         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38749         Likewise.
38750         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38751         (__xmknod): Do not use CHECK_STRING.
38752         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38753         <bp-checks.h>.
38754         (__xmknodat): Do not use CHECK_STRING.
38755         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38756         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38758 2013-02-04  Andreas Schwab  <schwab@suse.de>
38760         [BZ #14142]
38761         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38762         * include/netdb.h: Likewise for h_errno.
38763         * elf/tst-stackguard1.c: Include <tls.h>.
38765 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38767         * elf/link.h (struct link_map): Extend the l_addr comment.
38768         * include/link.h (struct link_map): Likewise.
38770 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38772         [BZ #13550]
38773         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38774         (BOUNDED_1): Remove macro.
38775         * debug/backtrace.c: Don't include <bp-checks.h>.
38776         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38777         (__backtrace): Likewise.
38778         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38779         <bp-checks.h>.
38780         (__backtrace): Don't use BOUNDED_1.
38781         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38782         <bp-checks.h>.
38783         (__backtrace): Don't use BOUNDED_1.
38784         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38785         (__backtrace): Don't use BOUNDED_1.
38786         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38787         (shmat): Don't use BOUNDED_N.
38789 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38791         [BZ #13550]
38792         * sysdeps/generic/bp-start.h: Remove file.
38793         * csu/libc-start.c: Don't include <bp-start.h>.
38794         (LIBC_START_MAIN): Set up __environ directly instead of using
38795         INIT_ARGV_and_ENVIRON.
38796         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38797         <bp-start.h>.
38799         [BZ #13550]
38800         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38801         definitions.
38802         (CHECK_FCNTL): Likewise.
38803         (CHECK_N_PAGES): Likewise.
38805         [BZ #13550]
38806         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38807         definitions.
38808         (CHECK_SIGSET_NULL_OK): Likewise.
38809         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38810         <bp-checks.h>.
38811         (sigpending): Don't use CHECK_SIGSET.
38812         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38813         <bp-checks.h>.
38814         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38815         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38816         <bp-checks.h>.
38817         (do_sigsuspend): Don't use CHECK_SIGSET.
38818         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38819         use CHECK_SIGSET.
38820         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38821         (do_sigwait): Don't use CHECK_SIGSET.
38822         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38823         use CHECK_SIGSET.
38824         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38825         include <bp-checks.h>.
38826         (sigpending): Don't use CHECK_SIGSET.
38827         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38828         include <bp-checks.h>.
38829         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38830         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38831         <bp-checks.h>.
38832         (sigpending): Don't use CHECK_SIGSET.
38833         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38834         <bp-checks.h>.
38835         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38837         [BZ #13550]
38838         * sysdeps/generic/bp-semctl.h: Remove file.
38839         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38840         <bp-checks.h> and <bp-semctl.h>.
38841         (__old_semctl): Don't use CHECK_SEMCTL.
38842         (__new_semctl): Likewise.
38843         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38844         and <bp-semctl.h>.
38845         (__old_semctl): Don't use CHECK_SEMCTL.
38846         (__new_semctl): Likewise.
38847         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38848         <bp-checks.h> and <bp-semctl.h>.
38849         (__old_semctl): Don't use CHECK_SEMCTL.
38850         (__new_semctl): Likewise.
38851         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38852         <bp-checks.h> and <bp-semctl.h>.
38853         (semctl): Don't use CHECK_SEMCTL.
38855         [BZ #13550]
38856         * Makerules (elide-bp-thunks): Remove variable.
38857         (elide-routines.oS): Don't use $(elide-bp-thunks).
38858         (elide-routines.os): Likewise.
38859         (elide-routines.o): Likewise.
38860         (elide-routines.op): Likewise.
38861         (elide-routines.og): Likewise.
38862         (objects): Don't use $(bp-thunks).
38863         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38864         include.
38865         (common-generated): Do not add s-proto-bp.d.
38866         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38867         (int): Likewise.
38868         (typ): Likewise.
38869         Do not generate makefile rules for bounded-pointer thunks.
38870         * sysdeps/generic/bp-thunks.h: Remove file.
38871         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38872         * sysdeps/unix/s-proto-bp.S: Likewise.
38874         [BZ #15062]
38875         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38876         parts of result separately when argument is not close to line from
38877         -i to i and one part of argument is small.
38878         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38879         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38880         * math/libm-test.inc (cacos_test): Add more tests.
38881         (casin_test): Likewise.
38882         (casinh_test): Likewise.
38883         * sysdeps/i386/fpu/libm-test-ulps: Update.
38884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38886 2013-01-31  David S. Miller  <davem@davemloft.net>
38888         * po/de.po: Update from translation team.
38890 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38892         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38894 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38896         * configure.in (_AC_PROG_CC_C89): New definition.
38897         * configure: Regenerate.
38899         * configure.in (AC_PROG_CPP): New definition.
38900         * configure: Regenerate.
38902 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38904         * debug/tst-backtrace.h: New file.
38905         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38906         (ret): Remove variable.
38907         (x): Likewise.
38908         (FAIL): Remove macro.
38909         (NO_INLINE): Likewise.
38910         (fn1): Use match function instead of strstr.
38911         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38912         (ret): Remove variable.
38913         (x): Likewise.
38914         (FAIL): Remove macro.
38915         (NO_INLINE): Likewise.
38916         (fn): Use match function instead of strstr.
38917         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38918         (ret): Remove variable.
38919         (x): Likewise.
38920         (FAIL): Remove macro.
38921         (NO_INLINE): Likewise.
38922         (handle_signal): Use match function instead of strstr.
38923         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38924         (ret): Remove variable.
38925         (x): Likewise.
38926         (FAIL): Remove macro.
38927         (NO_INLINE): Likewise.
38928         (handle_signal): Use match function instead of strstr.
38930 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38932         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38934 2013-01-23  David S. Miller  <davem@davemloft.net>
38936         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38937         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38938         argument of CAS if possible.
38939         * sysdeps/sparc/sparc64/bits/atomic.h
38940         (__arch_compare_and_exchange_val_32_acq): Likewise.
38941         (__arch_compare_and_exchange_val_64_acq): Likewise.
38943 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38945         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38946         * sysdeps/posix/ulimit.c: ... this.
38947         Include <limits.h>.
38948         * sysdeps/unix/bsd/ulimit.c: Remove file.
38950 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38952         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38953         (LDFLAGS-tst-array5): Likewise.
38955 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38957         [BZ #15036]
38958         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38959         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38960         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38961         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38963 2013-01-21  David S. Miller  <davem@davemloft.net>
38965         * sysdeps/sparc/backtrace.c: New file.
38966         * sysdeps/sparc/sparc32/backtrace.h: New file.
38967         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38968         * sysdeps/sparc/sparc64/backtrace.h: New file.
38969         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38970         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38971         -funwind-tables.
38973 2013-01-21  Andreas Schwab  <schwab@suse.de>
38975         [BZ #15020]
38976         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38977         closed its stdout.
38979 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38981         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38982         "mpa2.h".
38983         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38985 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38986             Mark Mitchell  <mark@codesourcery.com>
38987             Tom de Vries  <tom@codesourcery.com>
38988             Paul Pluzhnikov  <ppluzhnikov@google.com>
38990         * debug/tst-backtrace2.c: New file.
38991         * debug/tst-backtrace3.c: Likewise.
38992         * debug/tst-backtrace4.c: Likewise.
38993         * debug/tst-backtrace5.c: Likewise.
38994         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38995         (CFLAGS-tst-backtrace3.c): Likewise.
38996         (CFLAGS-tst-backtrace4.c): Likewise.
38997         (CFLAGS-tst-backtrace5.c): Likewise.
38998         (LDFLAGS-tst-backtrace2): Likewise.
38999         (LDFLAGS-tst-backtrace3): Likewise.
39000         (LDFLAGS-tst-backtrace4): Likewise.
39001         (LDFLAGS-tst-backtrace5): Likewise.
39002         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39003         tst-backtrace4 and tst-backtrace5.
39005 2013-01-18  Anton Blanchard  <anton@samba.org>
39006             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39008         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39009         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39010         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39011         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39013         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39014         "+r" and remove output regs list as redundant.  Add explicit inline
39015         asm to specify register of return val to work around compiler codegen
39016         bug.  Remove (int) cast on return value.  Add return type parameter to
39017         use in macro so that this macro does not truncate return value for
39018         64-bit values.
39019         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39020         pass to INTERNAL_VSYSCALL_NCS.
39021         (INLINE_VSYSCALL): Add 'long int' as return type to
39022         INTERNAL_VSYSCALL_NCS macro invocation.
39023         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39024         INTERNAL_VSYSCALL_NCS macro invocation.
39025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39027 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39029         [BZ #14496]
39030         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39031         Fix application of SIMD FP exception mask.
39033         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39034         mp_no from a power of two.
39035         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39036         __mpexp_twomm1.  Use __pow_mp.
39038         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39039         multiplication.
39041 2013-01-17  David S. Miller  <davem@davemloft.net>
39043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39045 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39047         [BZ #15023]
39048         * include/complex.h: Condition contents on [!_COMPLEX_H].
39049         (__kernel_casinhf): New prototype.
39050         (__kernel_casinh): Likewise.
39051         (__kernel_casinhl): Likewise.
39052         * math/Makefile (libm_calls): Add k_casinh.
39053         * math/k_casinh.c: New file.
39054         * math/k_casinhf.c: Likewise.
39055         * math/k_casinhl.c: Likewise.
39056         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39057         finite nonzero arguments.
39058         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39059         finite nonzero arguments.
39060         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39061         finite nonzero arguments.
39062         * math/s_casinh.c: Do not include <float.h>.
39063         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39064         * math/s_casinhf.c: Do not include <float.h>.
39065         (__casinhf): Move code for finite nonzero arguments to
39066         k_casinhf.c.
39067         * math/s_casinhl.c: Do not include <float.h>.
39068         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39069         redefine.
39070         (__casinhl): Move code for finite nonzero arguments to
39071         k_casinhl.c.
39072         * math/libm-test.inc (cacos_test): Add more tests.
39073         * sysdeps/i386/fpu/libm-test-ulps: Update.
39074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39076 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39078         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39079         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39080         [!HAVE_MREMAP]: Remove [defined linux] case.
39081         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39083 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39085         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39087 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39089         * elf/elf.h (R_386_SIZE32): New relocation.
39090         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39091         R_386_SIZE32.
39092         (elf_machine_rela): Likewise.
39093         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39094         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39096 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39098         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39099         (FP_FAST_FMA): Do not define.
39100         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39101         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39102         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39103         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39104         !_SOFT_FLOAT]: Likewise.
39105         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39106         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39107         value.
39108         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39109         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39110         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39111         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39112         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39113         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39114         file.
39116 2013-01-16  Andreas Schwab  <schwab@suse.de>
39118         [BZ #14327]
39119         * include/stdlib.h (__mktemp): Add declaration.
39120         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39121         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39123 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39125         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39126         definitions.
39127         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39128         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39129         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39130         definitions here.
39131         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39132         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39133         definitions.
39134         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39135         and ONE.
39136         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39137         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39138         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39139         definitions.
39140         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39141         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39142         definitions.
39143         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39145         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39147 2013-01-15  David S. Miller  <davem@davemloft.net>
39149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39150         trunc{,f} to libm-sysdep_routes.
39151         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39153         file.
39154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39156         file.
39157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39158         file.
39159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39161         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39162         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39163         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39164         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39165         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39166         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39169         nearbyint{,f} to libm-sysdep_routes.
39170         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39172         New file.
39173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39174         file.
39175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39176         New file.
39177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39178         file.
39179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39181         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39182         file.
39183         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39184         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39185         file.
39186         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39187         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39188         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39190         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39191         libc_feholdexcept and libc_fesetenv.
39193 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39195         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39197 2013-01-14  David S. Miller  <davem@davemloft.net>
39199         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39200         (SPARC_ASM_VIS2_IFUNC): Likewise.
39201         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39203         use of 'siam' instruction.
39204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39205         Likewise.
39206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39207         Likewise.
39208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39209         Likewise.
39210         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39211         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39212         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39213         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39215         file.
39216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39217         file.
39218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39219         file.
39220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39221         file.
39222         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39223         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39224         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39225         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39227         new VIS2 routines.
39228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39231         Likewise.
39232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39237         routines to libm-sysdep_routines.
39238         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39241         fdim/fdimf to libm-sysdep_routines.
39242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39243         file.
39244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39246         file.
39247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39250         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39251         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39252         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39253         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39255 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39257         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39258         to optimize copies.
39260         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39261         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39264         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39265         local variable MPTWO.
39266         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39267         Likewise.
39269 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39271         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39272         GLOB_NOESCAPE.
39274 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39276         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39278 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39280         * manual/pattern.texi (glob_t): Document gl_flags.
39281         (glob64_t): Likewise.
39283 2013-01-11  David S. Miller  <davem@davemloft.net>
39285         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39286         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39287         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39288         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39289         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39290         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39291         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39292         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39293         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39294         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39295         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39296         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39297         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39299         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39300         sparc V9 rather than using V8 code.
39301         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39302         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39304         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39305         Move to...
39306         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39307         Here.
39309 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39311         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39312         not in the main loop.
39313         * configure: Regenerated.
39315 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39317         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39318         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39319         to just #else.
39320         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39321         [!__GLIBC_HAVE_LONG_LONG] case.
39322         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39323         condition to just #else.
39324         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39325         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39326         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39327         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39328         unconditional.
39329         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39330         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39331         #elif condition to just #else.
39332         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39333         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39334         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39335         #elif condition to just #else.
39337 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39339         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39340         (EF_MIPS_ARCH_64): Fix value.
39341         (EF_MIPS_ARCH_32R2): New.
39342         (EF_MIPS_ARCH_64R2): New.
39344 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39346         * Makeconfig (+link-pie-before-libc): New.
39347         (+link-pie-after-libc): Likewise.
39348         (+link-pie-tests): Likewise.
39349         (+link-pie): Rewritten.
39350         (link-before-libc): Remove $(config-LDFLAGS).
39351         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39352         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39353         (config-LDFLAGS): Renamed to ...
39354         (rtld-LDFLAGS): This.
39355         (rtld-tests-LDFLAGS): New macro.
39356         (link-libc-rpath-link): Likewise.
39357         (link-libc-tests-rpath-link): Likewise.
39358         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39359         (link-libc): Prepand $(link-libc-rpath-link).
39360         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39361         (test-program-prefix): New macro.
39362         (test-via-rtld-prefix): Likewise.
39363         (test-program-cmd): Likewise.
39364         (host-test-program-cmd): Likewise.
39365         * Makefile ($(common-objpfx)testrun.sh): Replace
39366         $(run-program-prefix) with $(test-program-prefix).
39367         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39368         $(rtld-LDFLAGS).
39369         ($(common-objpfx)shlib.lds): Likewise.
39370         (build-module-helper): Likewise.
39371         ($(common-objpfx)format.lds): Likewise.
39372         * Rules (binaries-pie-tests): New.
39373         (binaries-pie-notests): Likewise.
39374         (binaries-pie): Rewritten.
39375         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39376         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39377         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39378         (make-test-out): Replace $(host-built-program-cmd) with
39379         $(host-test-program-cmd).
39380         * config.make.in (build-hardcoded-path-in-tests): New variable.
39381         * configure.in (--enable-hardcoded-path-in-tests): New configure
39382         option.
39383         (hardcoded_path_in_tests): New AC_SUBST.
39384         * configure: Regenerated.
39385         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39386         $(built-program-cmd) with $(test-program-cmd).
39387         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39388         (test_program_cmd): This.
39389         * elf/Makefile ($(objpfx)order.out): Run test with
39390         $(test-program-prefix).
39391         ($(objpfx)order2.out): Likewise.
39392         ($(objpfx)tst-initorder.out): Likewise.
39393         ($(objpfx)tst-initorder2.out): Likewise.
39394         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39395         $(test-program-cmd).
39396         ($(objpfx)tst-array1-static.out): Likewise.
39397         ($(objpfx)tst-array2.out): Likewise.
39398         ($(objpfx)tst-array3.out): Likewise.
39399         ($(objpfx)tst-array4.out): Likewise.
39400         ($(objpfx)tst-array5.out): Likewise.
39401         ($(objpfx)tst-array5-static.out): Likewise.
39402         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39403         $(test-program-cmd).
39404         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39405         $(run-program-prefix) with $(test-program-prefix).
39406         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39407         (test_program_prefix): This.
39408         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39409         $(run-program-prefix) with $(test-program-prefix).
39410         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39411         (test_program_prefix): This.
39412         * iconvdata/tst-tables.sh: Likewise.
39413         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39414         $(run-program-prefix) with $(test-program-prefix).
39415         ($(objpfx)tst-translit.out): Likewise.
39416         ($(objpfx)tst-gettext2.out): Likewise.
39417         ($(objpfx)tst-gettext4.out): Likewise.
39418         ($(objpfx)tst-gettext6.out): Likewise.
39419         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39420         (test_program_prefix): This.
39421         * intl/tst-gettext2.sh: Likewise.
39422         * intl/tst-gettext4.sh  Likewise.
39423         * intl/tst-gettext6.sh: Likewise.
39424         * intl/tst-translit.sh: Likewise.
39425         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39426         with $(test-program-cmd).
39427         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39428         $(run-program-prefix) with $(test-program-prefix).
39429         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39430         (test_program_prefix): This.
39431         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39432         $(run-program-prefix) with $(test-program-prefix).
39433         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39434         (test_program_prefix): This.
39435         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39436         * posix/Makefile ($(objpfx)globtest.out): Replace
39437         $(run-via-rtld-prefix) and $(test-wrapper) with
39438         $(test-program-prefix) and $(test-via-rtld-prefix).
39439         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39440         $(test-program-prefix).
39441         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39442         $(host-test-program-cmd).
39443         (tst-spawn-ARGS): Likewise.
39444         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39445         $(test-program-prefix).
39446         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39447         (test_via_rtld_prefix): This.
39448         (test_wrapper): Renamed to ...
39449         (test_program_prefix): This.
39450         (run_program_prefix): Replaced by test_program_prefix.
39451         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39452         (test_program_prefix): This.
39453         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39454         with $(host-test-program-cmd).
39455         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39456         $(run-program-prefix) with $(test-program-prefix).
39457         ($(objpfx)tst-printf.out): Likewise.
39458         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39459         $(test-program-cmd).
39460         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39461         (test_program_prefix): This.
39462         * stdio-common/tst-unbputc.sh: Likewise.
39463         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39464         $(run-program-prefix) with $(test-program-prefix).
39465         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39466         (test_program_prefix): This.
39467         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39468         $(built-program-cmd) with $(test-program-cmd).
39470 2013-01-11  Andreas Jaeger  <aj@suse.de>
39472         [BZ #15003]
39473         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39474         value. Sync with Linux 3.7.
39476 2013-01-10  David S. Miller  <davem@davemloft.net>
39478         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39479         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39480         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39482 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39484         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39485         never set.
39486         * configure: Regenerated.
39488 2013-01-10  David S. Miller  <davem@davemloft.net>
39490         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39491         sparc V9 rather than using V8 code.
39492         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39493         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39495 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39497         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39498         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39499         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39500         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39501         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39502         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39503         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39504         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39505         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39506         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39507         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39508         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39509         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39510         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39511         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39512         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39513         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39514         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39515         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39516         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39517         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39518         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39519         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39520         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39521         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39522         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39523         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39525 2013-01-10  David S. Miller  <davem@davemloft.net>
39527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39529 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39531         * posix/Makefile (tests-static): New variable.
39532         (tests): Add $(tests-static).
39533         (tst-exec-static-ARGS): New variable.
39534         (tst-spawn-static-ARGS): Likewise.
39535         * posix/tst-exec-static.c: New file.
39536         * posix/tst-spawn-static.c: Likewise.
39537         * posix/tst-exec.c: Support run directly.
39538         * posix/tst-spawn.c: Likewise.
39540 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39542         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39543         long.
39544         * math/bits/mathcalls.h (llrint): Likewise.
39545         (llround): Likewise.
39546         * stdlib/stdlib.h (struct drand48_data): Likewise.
39547         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39548         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39549         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39550         Likewise.
39551         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39552         Likewise.
39553         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39554         (elf_greg_t): Likewise.
39555         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39556         (__jmp_buf): Likewise.
39557         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39558         definitions.
39559         (llrint): Likewise, for all definitions.
39560         (llrintl): Likewise.
39562         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39563         Remove [__GNUC__] condition.
39564         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39565         condition to just [__USE_ISOC99].
39566         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39568 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39570         [BZ #14200]
39571         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39572         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39573         defined.
39574         (_POSIX_V6_ILP32_OFF32): Likewise.
39575         (_XBS5_ILP32_OFF32): Likewise.
39576         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39577         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39579 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39581         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39583         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39584         doubles __mpexp_twomm1.  Adjust usage.
39585         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39586         Remove.
39588 2013-01-10  Andreas Schwab  <schwab@suse.de>
39590         [BZ #14964]
39591         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39592         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39594 2013-01-09  David S. Miller  <davem@davemloft.net>
39596         [BZ #15003]
39597         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39598         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39599         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39600         (TCP_FASTOPEN): Define.
39601         (tcp_repair_opt): New structure.
39602         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39603         enum values.
39604         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39605         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39606         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39607         (tcp_cookie_transactions): New structure.
39609 2013-01-09  Anton Blanchard  <anton@samba.org>
39611         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39612         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39613         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39614         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39616 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39618         * include/features.h (__USE_ANSI): Remove.
39620 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39622         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39624         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39626 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39628         * sysdeps/s390/fpu/libm-test-ulps: Update.
39630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39632         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39633         (__acr): Likewise.
39634         (__cpy): Likewise.
39635         (norm): Likewise.
39636         (denorm): Likewise.
39637         (__mp_dbl): Likewise.
39638         (__dbl_mp): Likewise.
39639         (add_magnitudes): Likewise.
39640         (sub_magnitudes): Likewise.
39641         (__add): Likewise.
39642         (__sub): Likewise.
39643         (__mul): Likewise.
39644         (__inv): Likewise.
39645         (__dvd): Likewise.
39646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
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/powerpc64/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.
39675 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39677         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39678         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39679         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39680         2 && __USE_EXTERN_INLINES]: Likewise.
39682 2013-01-08  Andreas Jaeger  <aj@suse.de>
39684         [BZ# 14985]
39685         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39686         Remove.
39687         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39688         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39690 2013-01-07  Anton Blanchard  <anton@samba.org>
39692         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39693         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39694         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39695         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39696         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39697         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39698         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39699         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39701         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39702         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39703         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39704         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39705         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39706         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39707         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39708         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39709         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39710         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39711         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39712         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39713         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39714         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39715         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39716         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39717         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39718         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39719         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39720         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39721         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39722         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39723         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39724         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39725         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39726         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39727         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39728         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39729         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39730         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39731         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39732         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39733         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39734         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39736 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39738         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39739         (__MALLOC_PMT): Likewise.
39740         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39741         [__GNUC__], only on [_LIBC].
39742         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39743         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39744         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39745         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39746         forward declaration.
39747         (realloc_hook_ini): Likewise.
39748         (memalign_hook_ini): Likewise.
39749         (__libc_memalign): Do not use __MALLOC_PMT in variable
39750         declaration.
39751         (__libc_valloc): Likewise.
39752         (__libc_pvalloc): Likewise.
39753         (__libc_calloc): Likewise.
39754         (__posix_memalign): Likewise.
39756         [BZ #14996]
39757         * math/s_casinh.c: Include <float.h>.
39758         (__casinh): Do not do computation with squaring and square root
39759         for large arguments.
39760         * math/s_casinhf.c: Include <float.h>.
39761         (__casinhf): Do not do computation with squaring and square root
39762         for large arguments.
39763         * math/s_casinhl.c: Include <float.h>.
39764         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39765         (__casinhl): Do not do computation with squaring and square root
39766         for large arguments.
39767         * math/libm-test.inc (casin_test): Add more tests.
39768         (casinh_test): Likewise.
39769         * sysdeps/i386/fpu/libm-test-ulps: Update.
39770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39772 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39774         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39775         (__x86_64_raw_data_cache_size): Likewise.
39776         (__x86_64_data_cache_size_half): Likewise.
39777         (__x86_64_raw_data_cache_size_half): Likewise.
39778         (__x86_64_shared_cache_size): Likewise.
39779         (__x86_64_raw_shared_cache_size): Likewise.
39780         (__x86_64_shared_cache_size_half): Likewise.
39781         (__x86_64_raw_shared_cache_size_half): Likewise.
39782         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39783         to ...
39784         (__x86_data_cache_size): This.
39785         (__x86_64_raw_data_cache_size): Renamed to ...
39786         (__x86_raw_data_cache_size): This.
39787         (__x86_64_data_cache_size_half): Renamed to ...
39788         (__x86_data_cache_size_half): This.
39789         (__x86_64_raw_data_cache_size_half): Renamed to ...
39790         (__x86_raw_data_cache_size_half): This.
39791         (__x86_64_shared_cache_size): Renamed to ...
39792         (__x86_shared_cache_size): This.
39793         (__x86_64_raw_shared_cache_size): Renamed to ...
39794         (__x86_raw_shared_cache_size): This.
39795         (__x86_64_shared_cache_size_half): Renamed to ...
39796         (__x86_shared_cache_size_half): This.
39797         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39798         (__x86_raw_shared_cache_size_half): This.
39799         * sysdeps/x86_64/memcpy.S: Updated.
39800         * sysdeps/x86_64/memset.S: Likewise.
39801         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39802         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39803         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39805 2013-01-04  David S. Miller  <davem@davemloft.net>
39807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39809 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39811         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39812         1 to avoid redefinition warning.
39813         (__USE_GNU): Don't define.
39814         (init_signaling_nan): Protoize.
39816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39818 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39820         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39822         (__cpymn): Likewise.
39823         (norm): Remove commented code.
39824         (denorm): Likewise.
39825         (__mp_dbl): Likewise.
39826         (__inv): Likewise.
39827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39828         (__cpymn): Likewise.
39829         (norm): Remove commented code.
39830         (denorm): Likewise.
39831         (__mp_dbl): Likewise.
39832         (__inv): Likewise.
39834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39835         mp_no value for 1.0 and 2.0.
39836         (norm): Use RADIXI instead of radixi.d.
39837         (denorm): Likewise.
39838         (__mul): Use 0.0 instead of zero.d.
39839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39840         mp_no value for 1.0 and 2.0.
39841         (norm): Use RADIXI instead of radixi.d.
39842         (denorm): Likewise.
39843         (__mul): Use 0.0 instead of zero.d.
39845 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39847         [BZ #14994]
39848         * math/s_casinh.c (__casinh): Reduce finite argument to first
39849         quadrant then set signs of results at the end.
39850         * math/s_casinhf.c (__casinhf): Likewise.
39851         * math/s_casinhl.c (__casinhl): Likewise.
39852         * math/libm-test.inc (casin_test): Add more tests.
39853         (casinh_test): Likewise.
39854         * sysdeps/i386/fpu/libm-test-ulps: Update.
39855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39857 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39859         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39861         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39863         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39864         declarations.
39865         (denorm): Likewise.
39866         (__mp_dbl): Likewise.
39867         (__inv): Likewise.
39869         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39870         and adjust the header comment.
39872         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39873         variable name from declaration.
39875 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39878         Initialize COMMON_CPUID_INDEX_7 element.
39879         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39880         (CPUID_RTM): Likewise.
39881         (HAS_RTM): Likewise.
39882         (COMMON_CPUID_INDEX_7): New enum.
39884 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39886         [BZ #14981]
39887         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39888         size is zero, record memory as freed.
39890 2013-01-03  Andreas Jaeger  <aj@suse.de>
39892         * po/ia.po: Add new Interlingua translation.
39894 2012-01-03  Allan McRae  <allan@archlinux.org>
39896         * locale/programs/localedef.c: Fix description of '--posix' flag.
39898 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39900         * NEWS: Update dates in second copyright notice.
39901         * README: Update copyright dates in example.
39902         * manual/libc.texinfo: Update copyright dates.
39903         * scripts/test-installation.pl: Update copyright date in --version
39904         output.
39906         * hurd/ctty-input.c: Fix copyright notice formatting.
39907         * hurd/ctty-output.c: Likewise.
39908         * hurd/dtable.c: Likewise.
39909         * hurd/hurd-raise.c: Likewise.
39910         * hurd/hurdprio.c: Likewise.
39911         * hurd/msgportdemux.c: Likewise.
39912         * misc/sys/file.h: Likewise.
39913         * misc/sys/ioctl.h: Likewise.
39914         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39915         * sysdeps/mach/hurd/chdir.c: Likewise.
39916         * sysdeps/mach/hurd/fchdir.c: Likewise.
39917         * sysdeps/mach/hurd/rename.c: Likewise.
39918         * sysdeps/mach/hurd/rmdir.c: Likewise.
39919         * sysdeps/mach/hurd/seekdir.c: Likewise.
39920         * sysdeps/mach/hurd/setsid.c: Likewise.
39921         * sysdeps/posix/wait3.c: Likewise.
39923         * All files with FSF copyright notices: Update copyright dates
39924         using scripts/update-copyrights.
39925         * intl/plural.c: Regenerated.
39926         * locale/programs/charmap-kw.h: Likewise.
39927         * locale/programs/locfile-kw.h: Likewise.
39929 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39931         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39932         four values.
39934         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39935         calculation loop and add branch prediction.
39937         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39938         check access beyond bounds of m1np.
39940         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39941         MPTWO.
39942         (__inv): Remove local variable MPTWO to use the global
39943         constant.
39944         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39945         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39946         variable MPTWO.
39947         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39948         MP3HALFS static const.
39950 2013-01-01  David S. Miller  <davem@davemloft.net>
39952         * po/ca.po: Update from translation team.
39954 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39956         * scripts/update-copyrights: New file.
39957         * Makeconfig: Reformat copyright notice.
39958         * ctype/ctype.h: Likewise.
39959         * debug/swprintf_chk.c: Likewise.
39960         * elf/dl-cache.c: Likewise.
39961         * elf/dl-debug.c: Likewise.
39962         * elf/dl-object.c: Likewise.
39963         * grp/initgroups.c: Likewise.
39964         * hurd/Makefile: Likewise.
39965         * hurd/hurd/signal.h: Likewise.
39966         * hurd/hurdfault.c: Likewise.
39967         * hurd/hurdioctl.c: Likewise.
39968         * hurd/hurdlookup.c: Likewise.
39969         * hurd/intr-msg.c: Likewise.
39970         * iconv/gconv_open.c: Likewise.
39971         * libio/swprintf.c: Likewise.
39972         * locale/lc-ctype.c: Likewise.
39973         * locale/nl_langinfo.c: Likewise.
39974         * mach/Machrules: Likewise.
39975         * mach/Makefile: Likewise.
39976         * malloc/obstack.h: Likewise.
39977         * manual/Makefile: Likewise.
39978         * manual/tsort.awk: Likewise.
39979         * misc/bits/stab.def: Likewise.
39980         * nis/nis_print_group_entry.c: Likewise.
39981         * nis/nis_table.c: Likewise.
39982         * nis/nss_compat/compat-pwd.c: Likewise.
39983         * nis/nss_compat/compat-spwd.c: Likewise.
39984         * po/Makefile: Likewise.
39985         * posix/fnmatch.c: Likewise.
39986         * posix/regex.h: Likewise.
39987         * resolv/Makefile: Likewise.
39988         * resolv/nss_dns/dns-network.c: Likewise.
39989         * resolv/res_hconf.c: Likewise.
39990         * scripts/gen-sorted.awk: Likewise.
39991         * soft-fp/soft-fp.h: Likewise.
39992         * stdio-common/printf.h: Likewise.
39993         * stdlib/monetary.h: Likewise.
39994         * stdlib/random.c: Likewise.
39995         * stdlib/random_r.c: Likewise.
39996         * sysdeps/generic/Makefile: Likewise.
39997         * sysdeps/gnu/Makefile: Likewise.
39998         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39999         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40000         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40001         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40002         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40003         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40004         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40005         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40006         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40007         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40008         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40009         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40010         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40011         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40012         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40013         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40014         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40015         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40016         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40017         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40018         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40019         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40020         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40021         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40022         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40023         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40024         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40025         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40026         * sysdeps/mach/hurd/errnos.awk: Likewise.
40027         * sysdeps/mach/hurd/fork.c: Likewise.
40028         * sysdeps/mach/hurd/getcwd.c: Likewise.
40029         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40030         * sysdeps/mach/hurd/mmap.c: Likewise.
40031         * sysdeps/mach/hurd/utimes.c: Likewise.
40032         * sysdeps/mach/hurd/xmknod.c: Likewise.
40033         * sysdeps/posix/profil.c: Likewise.
40034         * sysdeps/posix/readdir_r.c: Likewise.
40035         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40036         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40037         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40038         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40039         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40040         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40041         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40042         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40043         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40044         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40045         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40046         * sysdeps/pthread/lio_listio.c: Likewise.
40047         * sysdeps/sparc/dl-procinfo.h: Likewise.
40048         * sysdeps/unix/i386/sysdep.S: Likewise.
40049         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40050         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40051         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40052         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40054         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40055         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40056         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40057         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40058         * sysdeps/wordsize-32/divdi3.c: Likewise.
40059         * time/sys/time.h: Likewise.
40060         * wcsmbs/Makefile: Likewise.
40062 2013-01-01  David S. Miller  <davem@davemloft.net>
40064         * po/fr.po: Update from translation team.
40066         * catgets/gencat.c: Update copyright year.
40067         * csu/version.c: Likewise.
40068         * debug/catchsegv.sh: Likewise.
40069         * debug/pcprofiledump.c: Likewise.
40070         * debug/xtrace.sh: Likewise.
40071         * elf/ldconfig.c: Likewise.
40072         * elf/ldd.bash.in: Likewise.
40073         * elf/pldd.c: Likewise.
40074         * elf/sotruss.ksh: Likewise.
40075         * elf/sprof.c: Likewise.
40076         * iconv/iconv_prog.c: Likewise.
40077         * iconv/iconvconfig.c: Likewise.
40078         * locale/programs/locale.c: Likewise.
40079         * locale/programs/localedef.c: Likewise.
40080         * login/programs/pt_chown.c: Likewise.
40081         * malloc/memusage.sh: Likewise.
40082         * malloc/memusagestat.c: Likewise.
40083         * malloc/mtrace.pl: Likewise.
40084         * nscd/nscd.c: Likewise.
40085         * nss/getent.c: Likewise.
40086         * nss/makedb.c: Likewise.
40087         * posix/getconf.c: Likewise.
40089 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40091         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40092         numbers.
40094 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40096         * math/bits/mathcalls.h (modf): Use __nonnull.
40098 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40100         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40101         (split): Use macro CN instead of the bare value.
40102         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40103         could be used.
40104         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40105         instead of the bare value.
40106         (power1): Likewise.
40108 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40110         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40111         __ATAN_TWOM.
40112         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40114         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40115         their values.
40116         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40117         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40118         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40119         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40121 2012-12-28  Andreas Jaeger  <aj@suse.de>
40123         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40124         values are from Linux 3.7.
40126         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40127         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40129 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40131         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40132         TRUE case.
40134         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40135         (norm): Likewise.
40136         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40137         variables with preprocessor constants.
40138         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40139         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40140         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40142 2012-12-27  Bruno Haible  <bruno@clisp.org>
40144         [BZ #14317]
40145         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40146         only if needed.
40148 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40150         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40151         and use variable directly.
40152         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40154         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40155         MPONE.
40156         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40157         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40158         variable MPONE.
40159         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40160         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40161         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40162         include directive.  Remove local variable MPONE.
40163         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40164         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40165         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40167 2012-12-25  David S. Miller  <davem@davemloft.net>
40169         * version.h (RELEASE): Set to "development".
40170         (VERSION): Set to "2.17.90".
40171         * NEWS: Add 2.18 section.
40173 2012-12-21  David S. Miller  <davem@davemloft.net>
40175         * po/hr.po: Update from translation team.
40177 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40179         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40181 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40183         * NEWS:  Mention new memcpy for MIPS.
40185 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40187         * manual/contrib.texi (Contributors): Spelling correction.
40189 2012-12-15  David S. Miller  <davem@davemloft.net>
40191         * po/ru.po: Update from translation team.
40193 2012-12-13  David S. Miller  <davem@davemloft.net>
40195         * NEWS: Mention IFUNC testsuite enhancements.
40197         * po/pl.po: Update from translation team.
40198         * po/bg.po: Likewise.
40200         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40201         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40203 2012-12-11  David S. Miller  <davem@davemloft.net>
40205         * po/sv.po: Update from translation team.
40207         * po/vi.po: Update from translation team.
40209         * po/cs.po: Update from translation team.
40211         * po/de.po: Update from translation team.
40212         * po/eo.po: Likewise.
40213         * po/nl.po: Likewise.
40215 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40217         [BZ #14246]
40218         * manual/argp.texi (Argp Helper Functions): Move node to follow
40219         Argp Parsing State.
40221         [BZ #14872]
40222         * manual/conf.texi (Limits on File System Capacity): Mention if
40223         terminating null is included in the max size.
40225 2012-12-10  Andreas Jaeger  <aj@suse.de>
40227         * po/cs.po: Update from translation team.
40229 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40231         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40232         void pointer and cast to uintptr_t.
40233         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40234         path.
40235         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40236         * sysdeps/s390/s390-64/memset.S: Likewise.
40238 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40240         [BZ #14833]
40241         * menual/message.texi (Message Translation): Fix typos.
40242         (Helper programs for gettext): Likewise.
40244 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40246         [BZ #14898]
40247         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40248         Change to -1.
40250 2012-12-07  David S. Miller  <davem@davemloft.net>
40252         * po/libc.pot: Update.
40254 2012-12-07  Richard Henderson  <rth@redhat.com>
40256         [BZ #10114]
40257         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40258         normal/normal case to before the switch.
40259         (_FP_DIV): Likewise.
40261 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40262             Mike Frysinger  <vapier@gentoo.org>
40264         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40265         check for __NR_fadvise64_64.
40267 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40269         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40270         0, not just to plain "0" as a statement.
40271         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40272         with cw.
40274 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40276         * NEWS: Use sourceware.org in Bugzilla URL.
40278 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40281         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40283         * stdio-common/tst-put-error.c (do_test): Add newline to the
40284         padded test to ensure flush.
40286 2012-12-05  Jeff Law  <law@redhat.com>
40288         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40290 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40292         * README: Don't refer to ports add-on as distributed separately.
40293         Mention AArch64 in list of systems supported in the ports add-on.
40295         * LICENSES: Add more non-FSF copyright and license notices.
40297         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40298         ((unused)).
40300         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40302         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40303         10000 as width of padded output.
40305 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40307         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40309         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40310         variable LX with __attribute__ ((unused)).
40311         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40312         Likewise.
40313         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40314         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40315         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40316         with __attribute__ ((unused)).
40318 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40320         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40322 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40324         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40325         (CFLAGS-nldbl-acos.c): New variable.
40326         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40327         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40328         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40329         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40330         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40331         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40332         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40333         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40334         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40335         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40336         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40337         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40338         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40339         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40340         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40341         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40342         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40343         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40344         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40345         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40346         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40347         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40348         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40349         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40350         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40351         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40352         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40353         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40354         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40355         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40356         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40357         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40358         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40359         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40360         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40361         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40362         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40363         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40364         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40365         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40366         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40367         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40368         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40369         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40370         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40371         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40372         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40373         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40374         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40375         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40376         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40377         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40378         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40379         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40380         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40381         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40382         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40383         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40384         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40385         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40386         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40387         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40388         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40389         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40390         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40391         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40392         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40393         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40394         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40395         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40396         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40397         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40398         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40399         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40400         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40401         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40402         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40403         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40404         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40405         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40406         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40407         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40408         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40409         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40410         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40411         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40412         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40413         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40414         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40415         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40416         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40417         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40418         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40419         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40420         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40421         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40422         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40425         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40427         [BZ #14914]
40428         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40429         whole low double instead of just low 47 bits when splitting values
40430         into two parts.
40432 2012-12-03  Allan McRae  <allan@archlinux.org>
40434         * manual/stdio.texi (Predefined Printf Handlers): Remove
40435         @hsep and @vsep usage.
40437 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40439         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40440         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40442 2012-12-03  Jeff Law  <law@redhat.com>
40444         * time/sys/time.h (settimeofday): Do not mark TV argument
40445         as __nonnull.
40447 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40449         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40450         when currently writing and seek to current position when not.
40451         * libio/Makefile (tests): Remove bug-fclose1.
40452         * libio/bug-fclose1.c: Delete.
40454 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40456         * manual/arith.texi (feenableexcept): Fix typo.
40457         (fedisableexcept): Likewise.
40459 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40461         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40462         second, differently-typed declaration, rather than a cast.
40464 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40466         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40467         * include/rpc/svc.h: ... here.
40469 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40471         [BZ #13013]
40472         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40473         depending n and resplen2 to catch cases where answer
40474         equals answerp2.
40476 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40478         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40479         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40481 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40483         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40485 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40487         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40489 2012-11-28  Jeff Law  <law@redhat.com>
40491         [BZ #13761]
40492         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40493         dataset_temporary.  Track alloca usage into alloca_used.
40494         If dataset is large allocate and release it via malloc/free.
40496 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40498         [BZ #14197]
40499         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40501 2012-11-28  David S. Miller  <davem@davemloft.net>
40503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40505 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40507         [BZ #14803]
40508         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40509         of pi/2 rounded to nearest to 64 bits.
40510         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40511         nearest to 64 bits.
40512         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40513         bits.
40515 2012-11-28  Jeff Law <law@redhat.com>
40516             Martin Osvald <mosvald@redhat.com>
40518         [BZ #14889]
40519         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40520         * sunrpc/svc.c: Include time.h.
40521         (__svc_accept_failed): New function.
40522         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40523         any reason other than EINTR, call __svc_accept_failed.
40524         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40525         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40527 2012-11-28  Andreas Schwab  <schwab@suse.de>
40529         * scripts/abilist.awk: Also handle indirect functions in .opd
40530         section.
40532 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40534         [BZ #13881]
40535         * sysdeps/x86/fpu/powl_helper.c: New file.
40536         * sysdeps/x86/fpu/Makefile: Likewise.
40537         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40538         (p3): New object.
40539         (__ieee754_powl): Use __powl_helper for finite arguments except
40540         integer exponents below 8.
40541         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40542         (p3): New object.
40543         (__ieee754_powl): Use __powl_helper for finite arguments except
40544         integer exponents below 8.
40545         * math/libm-test.inc (pow_test): Add more tests and enable some
40546         previously disabled tests.
40547         * sysdeps/i386/fpu/libm-test-ulps: Update.
40548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40550 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40551             Carlos O'Donell  <carlos_odonell@mentor.com>
40553         * nss/makedb.c (is_prime): Assert that input is odd and greater
40554         than 4.  Note that fact in a comment too.
40555         (next_prime): Add 4 to input.
40557 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40559         [BZ #11741]
40560         * libio/Makefile (tests): Add test case tst-fwrite-error.
40561         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40562         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40563         * libio/tst-fwrite-error.c: New test case.
40565 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40567         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40568         before casting to void *.
40569         * include/libc-internal.h (__pointer_type): New macro.
40570         (__integer_if_pointer_type_sub): Likewise.
40571         (__integer_if_pointer_type): Likewise.
40572         (cast_to_integer): Likewise.
40573         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40574         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40575         before casting to atomic64_t.
40576         (atomic_exchange_acq): Likewise.
40577         (__arch_exchange_and_add_body): Likewise.
40578         (__arch_add_body): Likewise.
40579         (atomic_add_negative): Likewise.
40580         (atomic_add_zero): Likewise.
40582 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40584         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40585         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40586         (add_fdes): Likewise.
40587         (linear_search_fdes): Likewise.
40588         (binary_search_unencoded_fdes): Likewise.
40590 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40592         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40594 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40596         * configure.in: Autodetect C++ header directories.
40597         * configure: Regenerated.
40599 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40601         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40603 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40607 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40609         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40610         LDBL_MANT_DIG == 106]: Disable some tests.
40611         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40612         Likewise.
40613         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40614         Likewise.
40616         [BZ #14871]
40617         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40618         input for small inputs.  Return +/- pi/2 for large inputs.
40619         * math/libm-test.inc (atan_test): Add more tests.
40621         * sysdeps/generic/unwind-dw2-fde-glibc.c
40622         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40623         __attribute__ ((unused)).
40625         [BZ #14645]
40626         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40627         x * y if x and y are nonzero and z is zero.
40629         [BZ #14811]
40630         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40631         nonzero exponents with absolute value below 0x1p-117 to +/-
40632         0x1p-117.
40634         [BZ #14869]
40635         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40636         up arguments below 2**-450, not just those below 2**-500.
40637         * math/libm-test.inc (hypot_test): Add another test.
40639         [BZ #14868]
40640         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40641         Return a+b for ratio over 2**120, not 2**60.
40642         * math/libm-test.inc (hypot_test): Add another test.
40644         * math/libm-test.inc (clog_test): Use
40645         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40646         (clog10_test): Likewise.
40648         [BZ #6778]
40649         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40651 2012-11-22  Andreas Schwab  <schwab@suse.de>
40653         * sysdeps/i386/fpu/libm-test-ulps: Update.
40655 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40657         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40658         printf output with newline.
40660 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40662         [BZ #14865]
40663         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40664         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40665         -z nodlopen, -z initfirst and -z execstack support.
40666         * configure: Regenerated.
40668         * elf/elf.h (DF_1_NODIRECT): New macro.
40669         (DF_1_IGNMULDEF): Likewise.
40670         (DF_1_NOKSYMS): Likewise.
40671         (DF_1_NOHDR): Likewise.
40672         (DF_1_EDITED): Likewise.
40673         (DF_1_NORELOC): Likewise.
40674         (DF_1_SYMINTPOSE): Likewise.
40675         (DF_1_GLOBAUDIT): Likewise.
40676         (DF_1_SINGLETON): Likewise.
40677         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40678         DT_1_SUPPORTED_MASK bits.
40679         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40681 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40683         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40685 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40687         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40688         macro.
40690         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40691         (sendmmsg): Move declarations...
40692         * socket/sys/socket.h: ... here.
40693         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40694         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40695         include it from...
40696         * socket/recvmmsg.c: ... this new file.
40697         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40698         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40699         definition of __sendmmsg hidden.
40700         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40701         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40702         Move ENOSYS stub into and include it from...
40703         * socket/sendmmsg.c: ... this new file.
40704         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40705         (sysdep_routines): Move recvmmsg and sendmmsg...
40706         * socket/Makefile (routines): ... here.
40707         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40708         (GLIBC_PRIVATE): Add __sendmmsg.
40709         * include/sys/socket.h (__sendmmsg): Add declarations.
40710         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40711         sendmmsg.
40713 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40715         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40716         variable I1 with __attribute__ ((unused)).
40717         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40719 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40721         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40722         DUMMY variables with __attribute__ ((unused)).
40724         * bits/byteswap.h: Include <bits/types.h>.
40725         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40727 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40729         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40730         string_t.  Do not manually set errno.
40731         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40732         length with __strnlen.  Make sure to both set errno and return it on
40733         failure.
40735 2012-11-19  David S. Miller  <davem@davemloft.net>
40737         With help from Joseph Myers.
40738         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40739         very large arguments properly.
40740         * math/libm-test.inc (atan_test): New tests.
40741         (atan2_test): New tests.
40742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40745 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40747         [BZ #14856]
40748         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40749         Define to 3.
40751         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40752         [POSIX] (EADDRNOTAVAIL): Likewise.
40753         [POSIX] (EAFNOSUPPORT): Likewise.
40754         [POSIX] (EALREADY): Likewise.
40755         [POSIX] (ECONNABORTED): Likewise.
40756         [POSIX] (ECONNREFUSED): Likewise.
40757         [POSIX] (ECONNRESET): Likewise.
40758         [POSIX] (EDESTADDRREQ): Likewise.
40759         [POSIX] (EDQUOT): Likewise.
40760         [POSIX] (EHOSTUNREACH): Likewise.
40761         [POSIX] (EIDRM): Likewise.
40762         [POSIX] (EISCONN): Likewise.
40763         [POSIX] (ELOOP): Likewise.
40764         [POSIX] (EMULTIHOP): Likewise.
40765         [POSIX] (ENETDOWN): Likewise.
40766         [POSIX] (ENETUNREACH): Likewise.
40767         [POSIX] (ENOBUFS): Likewise.
40768         [POSIX] (ENODATA): Likewise.
40769         [POSIX] (ENOLINK): Likewise.
40770         [POSIX] (ENOMSG): Likewise.
40771         [POSIX] (ENOPROTOOPT): Likewise.
40772         [POSIX] (ENOSR): Likewise.
40773         [POSIX] (ENOSTR): Likewise.
40774         [POSIX] (ENOTCONN): Likewise.
40775         [POSIX] (ENOTSOCK): Likewise.
40776         [POSIX] (EOPNOTSUPP): Likewise.
40777         [POSIX] (EOVERFLOW): Likewise.
40778         [POSIX] (EPROTO): Likewise.
40779         [POSIX] (EPROTONOSUPPORT): Likewise.
40780         [POSIX] (EPROTOTYPE): Likewise.
40781         [POSIX] (ESTALE): Likewise.
40782         [POSIX] (ETIME): Likewise.
40783         [POSIX] (ETXTBSY): Likewise.
40784         [POSIX] (EWOULDBLOCK): Likewise.
40785         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40786         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40787         [POSIX] (SEEK_CUR): Likewise.
40788         [POSIX] (SEEK_END): Likewise.
40789         [POSIX || UNIX98] (mode_t): Do not require.
40790         [POSIX] (off_t): Likewise.
40791         [POSIX] (pid_t): Likewise.
40792         [POSIX] (sys/stat.h): Do not allow header.
40793         [POSIX] (unistd.h): Likewise.
40794         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40795         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40796         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40797         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40798         require.
40799         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40800         sigevent): Specify elements.
40801         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40802         entry.
40803         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40804         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40806         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40807         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40808         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40809         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40810         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40811         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40812         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40813         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40814         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40815         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40816         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40817         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40818         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40819         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40820         Likewise.
40821         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40822         Likewise.
40823         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40824         Likewise.
40825         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40826         Likewise.
40827         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40828         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40829         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40830         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40831         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40832         Specify lower bound on value.
40833         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40834         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40835         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40836         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40837         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40838         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40839         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40840         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40841         value.
40842         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40843         as optional.
40844         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40845         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40846         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40847         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40848         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40849         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40850         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40851         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40852         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40853         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40854         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40855         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40856         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40857         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40858         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40859         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40860         entry.
40861         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40862         optional.
40863         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40864         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40865         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40866         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40867         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40868         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40869         Likewise.
40870         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40871         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40872         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40873         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40874         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40875         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40876         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40877         as optional.
40878         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40879         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40880         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40881         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40882         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40883         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40884         specify as optional.
40885         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40886         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40887         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40888         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40889         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40890         [XPG3] (NL_LANGMAX): Likewise.
40891         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40892         [POSIX || XPG3] (NL_NMAX): Likewise.
40893         [POSIX || XPG3] (NL_SETMAX): Likewise.
40894         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40895         [XPG3] (NZERO): Likewise.
40896         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40897         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40898         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40899         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40900         (REG_ERANGE): Expect.
40901         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40902         optional-constant.
40903         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40904         Use (void) in prototype.
40905         [POSIX] (*_t): Allow.
40906         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40907         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40908         (WRDE_BADVAL): Expect.
40910         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40911         expect.
40912         [XPG3 || XPG4] (O_RSYNC): Likewise.
40913         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40914         Likewise.
40915         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40916         [XPG3 || XPG4] (sigqueue): Likewise.
40917         [XPG3 || XPG4] (sigtimedwait): Likewise.
40918         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40919         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40920         [XPG3 || XPG4] (vsnprintf): Likewise.
40921         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40922         Likewise.
40923         [XPG3 || XPG4] (blksize_t): Likewise.
40924         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40925         Likewise.
40926         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40927         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40928         [XPG3 || XPG4] (struct itimerspec): Likewise.
40929         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40930         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40931         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40932         [XPG3 || XPG4] (clockid_t): Likewise.
40933         [XPG3 || XPG4] (timer_t): Likewise.
40934         [XPG3 || XPG4] (clock_getres): Likewise.
40935         [XPG3 || XPG4] (clock_gettime): Likewise.
40936         [XPG3 || XPG4] (clock_settime): Likewise.
40937         [XPG3 || XPG4] (nanosleep): Likewise.
40938         [XPG3 || XPG4] (timer_create): Likewise.
40939         [XPG3 || XPG4] (timer_delete): Likewise.
40940         [XPG3 || XPG4] (timer_gettime): Likewise.
40941         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40942         [XPG3 || XPG4] (timer_settime): Likewise.
40943         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40944         [XPG3 || XPG4] (getlogin_r): Likewise.
40945         [XPG3 || XPG4] (pread): Likewise.
40946         [XPG3 || XPG4] (pthread_atfork): Likewise.
40947         [XPG3 || XPG4] (pwrite): Likewise.
40949         [BZ #14835]
40950         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40951         <bits/siginfo.h>.
40953 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40955         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40956         finalizing MALLSTREAM.
40958         * sysdeps/mach/hurd/syncfs.c: New file.
40960 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40962         [BZ #14719]
40963         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40964         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40965         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40966         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40967         (_nss_dns_gethostbyname4_r): Likewise.
40968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40969         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40971 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40973         [BZ #13763]
40974         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40976 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40978         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40979         * elf/cache.c (print_entry): Print ",AArch64" for
40980         FLAG_AARCH64_LIB64
40982         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40983         * elf/cache.c (print_entry): Print ",hard-float" for
40984         FLAG_ARM_LIBHF.
40986 2012-11-18  David S. Miller  <davem@davemloft.net>
40988         With help from Joseph Myers.
40989         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40990         cutoff to 2**-13.
40991         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40992         cutoff to 2**-25.
40993         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40994         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40995         small.
40996         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40997         * math/libm-test.inc (y0_test): New tests.
40998         (y1_test): New tests.
40999         * sysdeps/i386/fpu/libm-test-ulps: Update.
41000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41003 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41005         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41006         64-bit targets.
41007         * configure: Regenerated.
41009 2012-11-17  David S. Miller  <davem@davemloft.net>
41011         [BZ #14811]
41012         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41013         nonzero exponents with absolute value below 0x1p-128 to +/-
41014         0x1p-128.
41016 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41018         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41020         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41022         * posix/getconf-speclist.c: New file.
41023         * posix/posix-envs.def: Likewise.
41024         * posix/confstr.c (START_ENV_GROUP): New macro.
41025         (END_ENV_GROUP): Likewise.
41026         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41027         (KNOWN_PRESENT_ENV_STRING): Likewise.
41028         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41029         (UNKNOWN_ENVIRONMENT): Likewise.
41030         (confstr): Include posix-envs.def instead of handling
41031         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41032         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41033         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41034         (END_ENV_GROUP): Likewise.
41035         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41036         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41037         (UNKNOWN_ENVIRONMENT): Likewise.
41038         (__sysconf): Include posix-envs.def instead of handling associated
41039         cases directly here.
41040         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41041         preprocessing getconf-speclist.c rather than running getconf or
41042         generating empty file.
41044 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41046         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41048 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41050         [BZ #14672]
41051         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41053 2012-11-16  David S. Miller  <davem@davemloft.net>
41055         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41056         smaller than LDBL_EPSILON/2.0L, just return xm1.
41058 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41060         * elf/tst-array1.c (init): Set constructor priority to 1000.
41061         (fini): Set destructor priority to 1000.
41062         * elf/tst-array2dep.c: Likewise.
41064 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41066         [BZ #11741]
41067         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41068         (_IO_new_file_xsputn): Also return EOF if none of the input
41069         data was written when overflow failed.
41070         * libio/iopadn.c (_IO_padn): Likewise.
41071         * libio/iowpadn.c (_IO_wpadn): Likewise.
41072         * stdio-common/tst-put-error.c: Add copyright notice.
41073         (do_test): Add case for printing padded string.
41074         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41075         _IO_padn returned error.
41076         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41077         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41078         return EOF.
41080 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41082         * libio/libioP.h: Add comment note that the references to C++
41083         bits are now obsolete.
41085 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41087         * math/libm-test.inc (check_complex): Use asprintf.
41089 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41091         * debug/pcprofiledump.c (print_version): Update copyright year.
41092         * malloc/memusagestat.c (print_version): Likewise.
41094 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41096         [BZ #14831]
41097         * elf/Makefile (tests): Add tst-audit8.
41098         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41099         ($(objpfx)tst-audit8.out): New target.
41100         (tst-audit8-ENV): New variable.
41101         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41102         audit if l_reloc_result is NULL.
41103         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41104         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41105         * elf/tst-audit8.c: New file.
41107 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41109         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41110         * misc/Makefile (CFLAGS-select.c): Define.
41111         * posix/Makefile (CFLAGS-pause.c): Define.
41113 2012-11-13  David S. Miller  <davem@davemloft.net>
41115         * crypt/Makefile: Move test targets after toplevel Rules
41116         inclusion.  Grab any necessary sysdep routines when linking.
41117         * crypt/md5.c (md5_process_block): Remove define, we will always
41118         name it __md5_process_block.
41119         (md5_finish_ctx): Update md5_process_block call.
41120         (md5_stream): Likewise.
41121         (md5_process_bytes): Likewise.
41122         (md5_process_block): Rename to __md5_process_block and move to ...
41123         * crypt/md5-block.c: ... here.
41124         * crypt/sha256.c (sha256_process_block): Move to ...
41125         * crypt/sha256-block.c: ... here.
41126         * crypt/sha512.c (sha512_process_block): Move to ...
41127         * crypt/sha512-block.c: ... here.
41128         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41129         path.
41130         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41131         * sysdeps/sparc/sparc64/multiarch/Makefile
41132         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41133         crypt subdir.
41134         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41135         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41136         multiarch changes.
41137         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41138         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41139         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41140         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41141         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41142         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41143         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41144         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41145         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41146         file.
41147         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41148         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41149         file.
41150         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41152 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41154         * timezone/tzselect.ksh: Update from tzcode git revision
41155         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41156         * timezone/zdump.c: Likewise.
41157         * timezone/zic.c: Likewise.
41158         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41159         in TZVERSION setting, not $(PKGVERSION).
41160         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41161         REPORT_BUGS_TO settings.
41163         [BZ #14838]
41164         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41165         macro.
41167 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41169         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41170         detection to immediately after _FP_ROUND().
41171         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41172         bits are 0.
41174 2012-11-11  David S. Miller  <davem@davemloft.net>
41176         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41177         inttypes.h
41178         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41179         __close rather than their public counterparts.
41181 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41183         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41184         file.
41185         [UNIX98] (sem_timedwait): Do not expect.
41186         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41187         [XPG4 || UNIX98] (sockatmark): Do not expect.
41188         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41189         (clock_getcpuclockid): Do not expect.
41190         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41191         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41192         Do not expect.
41193         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41194         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41195         [UNIX98] (vwscanf): Likewise.
41196         [UNIX98] (vswscanf): Likewise.
41198 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41200         * timezone/version.h: Remove file.
41201         * timezone/README: Do not refer to version.h.
41202         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41203         $(objpfx)version.h.
41204         ($(objpfx)zdump.o): Likewise.
41205         ($(objpfx)version.h): New target.
41207         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41208         2012i.
41209         * timezone/README: Don't mention modification to tzselect.ksh.
41210         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41211         work on unmodified tzselect.ksh.  Substitute version numbers in
41212         tzselect.ksh.
41214         * Makefile (format-me): Remove.
41215         (INSTALL): Adjust indentation.  Use commands directly instead of
41216         using $(format-me).
41218         * aclocal.m4 (ACX_PKGVERSION): New macro.
41219         (ACX_BUGURL): Likewise.
41220         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41221         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41222         (REPORT_BUGS_TO): Likewise.
41223         * configure: Regenerated.
41224         * config.h.in (PKGVERSION): New macro.
41225         (REPORT_BUGS_TO): Likewise.
41226         * config.make.in (PKGVERSION): New variable.
41227         (PKGVERSION_TEXI): Likewise.
41228         (REPORT_BUGS_TO): Likewise.
41229         (REPORT_BUGS_TEXI): Likewise.
41230         * Makefile (format-me): Use -I$(common-objpfx)manual.
41231         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41232         ($(common-objpfx)manual/%): New target.
41233         (manual/%): Remove target.
41234         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41235         (print_version): Use PKGVERSION.
41236         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41237         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41238         and REPORT_BUGS_TO.
41239         ($(objpfx)xtrace): Likewise.
41240         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41241         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41242         (print_version): Use PKGVERSION.
41243         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41244         (do_version): Use PKGVERSION.
41245         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41246         REPORT_BUGS_TO.
41247         (common-ldd-rewrite): Likewise.
41248         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41249         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41250         (print_version): Use PKGVERSION.
41251         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41252         * elf/pldd.c (argp_program_bug_address): Remove variable.
41253         (more_help): New function.
41254         (argp): Use more_help.
41255         (print_version): Use PKGVERSION.
41256         * elf/sln.c (main): Use PKGVERSION.
41257         (usage): Use REPORT_BUGS_TO.
41258         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41259         (top level): Use PKGVERSION.
41260         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41261         (print_version): Use PKGVERSION.
41262         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41263         (print_version): Use PKGVERSION.
41264         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41265         (print_version): Use PKGVERSION.
41266         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41267         (print_version): Use PKGVERSION.
41268         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41269         (print_version): Use PKGVERSION.
41270         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41271         (print_version): Use PKGVERSION.
41272         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41273         and BUGURL.
41274         ($(objpfx)memusage): Likewise.
41275         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41276         (do_version): Use PKGVERSION.
41277         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41278         (print_version): Use PKGVERSION.
41279         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41280         ($PKGVERSION): New variable.
41281         ($REPORT_BUGS_TO): Likewise.
41282         (usage): Use $REPORT_BUGS_TO.
41283         (top level): Use $PKGVERSION.
41284         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41285         ($(objpfx)pkgvers.texi): New rule.
41286         ($(objpfx)stamp-pkgvers): Likewise.
41287         * manual/install.texi: Include pkgvers.texi.
41288         (--with-pkgversion): Document new configure option.
41289         (--with-bugurl): Likewise.
41290         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41291         than necessarily for this particular distribution.  Use
41292         REPORT_BUGS_TO for where to report bugs.
41293         * INSTALL: Regenerated.
41294         * manual/libc.texinfo: Include pkgvers.texi.
41295         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41296         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41297         (print_version): Use PKGVERSION.
41298         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41299         (print_version): Use PKGVERSION.
41300         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41301         (print_version): Use PKGVERSION.
41302         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41303         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41304         macro.
41305         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41306         (print_version): Use PKGVERSION.
41307         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41308         (print_version): Use PKGVERSION.
41309         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41310         and PKGVERSION.
41312         * timezone/checktab.awk: Update from tzcode 2012i.
41313         * timezone/ialloc.c: Likewise.
41314         * timezone/private.h: Likewise.
41315         * timezone/scheck.c: Likewise.
41316         * timezone/tzfile.h: Likewise.
41317         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41318         (TZVERSION): Hardcode tzcode version number.
41319         * timezone/zdump.c: Update from tzcode 2012i.
41320         * timezone/zic.c: Likewise.
41321         * timezone/version.h: New file.
41322         * timezone/README: Describe version.h.  Update upstream location.
41324         [BZ #14824]
41325         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41326         (mktemp): Enable declaration.
41327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41328         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41329         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41330         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41331         Likewise.
41332         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41333         Likewise.
41334         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41335         Likewise.
41336         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41337         Likewise.
41338         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41339         Likewise.
41340         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41341         Likewise.
41343         [BZ #14821]
41344         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41345         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41346         for copies of such integer values.
41347         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41348         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41350 2012-11-09  Andreas Jaeger  <aj@suse.de>
41352         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41353         definitions and declarations that are provided by
41354         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41356 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41358         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41359         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41360         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41361         definition.
41363 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41365         * elf/elf.h: Update comment before AArch64 relocations.
41367 2012-11-07  David S. Miller  <davem@davemloft.net>
41369         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41370         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41371         (__start_context): Declare.
41372         (__makecontext_ret): Delete.
41373         (__makecontext): Hook up __start_context instead of
41374         __makecontext_ret.
41375         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41376         (sysdep_routines): Add __start_context when in stdlib.
41378 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41380         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41381         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41382         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41383         hardcoded "nm".
41384         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41385         (READELF): New variable.  Use it instead of hardcoded "readelf".
41387 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41389         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41390         * sysdeps/x86/Makefile: Here.
41391         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41392         * sysdeps/x86/tst-xmmymm.sh: This.
41394 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41396         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41397         expectations.
41398         [UNIX98] (pthread_barrier_t): Do not expect.
41399         [UNIX98] (pthread_barrierattr_t): Likewise.
41400         [UNIX98] (pthread_spinlock_t): Likewise.
41401         [UNIX98] (pthread_barrier_destroy): Likewise.
41402         [UNIX98] (pthread_barrier_init): Likewise.
41403         [UNIX98] (pthread_barrier_wait): Likewise.
41404         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41405         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41406         [UNIX98] (pthread_barrierattr_init): Likewise.
41407         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41408         [UNIX98] (pthread_getcpuclockid): Likewise.
41409         [UNIX98] (pthread_mutex_timedlock): Likewise.
41410         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41411         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41412         [UNIX98] (pthread_sigmask): Likewise.
41413         [UNIX98] (pthread_spin_destroy): Likewise.
41414         [UNIX98] (pthread_spin_init): Likewise.
41415         [UNIX98] (pthread_spin_lock): Likewise.
41416         [UNIX98] (pthread_spin_trylock): Likewise.
41417         [UNIX98] (pthread_spin_unlock): Likewise.
41418         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41419         Do not expect.
41420         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41421         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41422         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41423         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41424         [XPG3 || XPG4] (pthread_key_t): Likewise.
41425         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41426         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41427         [XPG3 || XPG4] (pthread_once_t): Likewise.
41428         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41429         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41430         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41431         [XPG3 || XPG4] (pthread_t): Likewise.
41433         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41434         not expect.
41435         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41437         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41438         Change function return type to int.
41440         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41441         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41442         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41443         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41444         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41445         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41446         [!POSIX] (posix_madvise): Likewise.
41447         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41448         && !UNIX98].
41449         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41450         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41451         (mode_t): Likewise.
41452         (posix_mem_offset): Likewise.
41453         (posix_typed_mem_get_info): Likewise.
41454         (posix_typed_mem_open): Likewise.
41456         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41457         Change condition to [XOPEN2K8].
41459         * conform/conformtest.pl: Preprocess allow-header data with -x c
41460         instead of from stdin.
41461         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41462         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41463         [C99-based standards] (cerfc): Likewise.
41464         [C99-based standards] (cexp2): Likewise.
41465         [C99-based standards] (cexpm1): Likewise.
41466         [C99-based standards] (clog10): Likewise.
41467         [C99-based standards] (clog1p): Likewise.
41468         [C99-based standards] (clog2): Likewise.
41469         [C99-based standards] (clgamma): Likewise.
41470         [C99-based standards] (ctgamma): Likewise.
41471         [C99-based standards] (cerff): Likewise.
41472         [C99-based standards] (cerfcf): Likewise.
41473         [C99-based standards] (cexp2f): Likewise.
41474         [C99-based standards] (cexpm1f): Likewise.
41475         [C99-based standards] (clog10f): Likewise.
41476         [C99-based standards] (clog1pf): Likewise.
41477         [C99-based standards] (clog2f): Likewise.
41478         [C99-based standards] (clgammaf): Likewise.
41479         [C99-based standards] (ctgammaf): Likewise.
41480         [C99-based standards] (cerfl): Likewise.
41481         [C99-based standards] (cerfcl): Likewise.
41482         [C99-based standards] (cexp2l): Likewise.
41483         [C99-based standards] (cexpm1l): Likewise.
41484         [C99-based standards] (clog10l): Likewise.
41485         [C99-based standards] (clog1pl): Likewise.
41486         [C99-based standards] (clog2l): Likewise.
41487         [C99-based standards] (clgammal): Likewise.
41488         [C99-based standards] (ctgammal): Likewise.
41489         * conform/data/inttypes.h-data [C99-based standards]: Include
41490         stdint.h-data.  Remove all expectations for stdint.h contents.
41491         [C99-based standards] (PRI*): Do not allow.
41492         [C99-based standards] (SCN*): Likewise.
41493         [C99-based standards] (*_t): Likewise.
41494         [C99-based-standards] (PRId8): Expect macro.
41495         [C99-based-standards] (PRIi8): Likewise.
41496         [C99-based-standards] (PRIo8): Likewise.
41497         [C99-based-standards] (PRIu8): Likewise.
41498         [C99-based-standards] (PRIx8): Likewise.
41499         [C99-based-standards] (PRIX8): Likewise.
41500         [C99-based-standards] (SCNd8): Likewise.
41501         [C99-based-standards] (SCNi8): Likewise.
41502         [C99-based-standards] (SCNo8): Likewise.
41503         [C99-based-standards] (SCNu8): Likewise.
41504         [C99-based-standards] (SCNx8): Likewise.
41505         [C99-based-standards] (PRIdLEAST8): Likewise.
41506         [C99-based-standards] (PRIiLEAST8): Likewise.
41507         [C99-based-standards] (PRIoLEAST8): Likewise.
41508         [C99-based-standards] (PRIuLEAST8): Likewise.
41509         [C99-based-standards] (PRIxLEAST8): Likewise.
41510         [C99-based-standards] (PRIXLEAST8): Likewise.
41511         [C99-based-standards] (SCNdLEAST8): Likewise.
41512         [C99-based-standards] (SCNiLEAST8): Likewise.
41513         [C99-based-standards] (SCNoLEAST8): Likewise.
41514         [C99-based-standards] (SCNuLEAST8): Likewise.
41515         [C99-based-standards] (SCNxLEAST8): Likewise.
41516         [C99-based-standards] (PRIdFAST8): Likewise.
41517         [C99-based-standards] (PRIiFAST8): Likewise.
41518         [C99-based-standards] (PRIoFAST8): Likewise.
41519         [C99-based-standards] (PRIuFAST8): Likewise.
41520         [C99-based-standards] (PRIxFAST8): Likewise.
41521         [C99-based-standards] (PRIXFAST8): Likewise.
41522         [C99-based-standards] (SCNdFAST8): Likewise.
41523         [C99-based-standards] (SCNiFAST8): Likewise.
41524         [C99-based-standards] (SCNoFAST8): Likewise.
41525         [C99-based-standards] (SCNuFAST8): Likewise.
41526         [C99-based-standards] (SCNxFAST8): Likewise.
41527         [C99-based-standards] (PRId16): Likewise.
41528         [C99-based-standards] (PRIi16): Likewise.
41529         [C99-based-standards] (PRIo16): Likewise.
41530         [C99-based-standards] (PRIu16): Likewise.
41531         [C99-based-standards] (PRIx16): Likewise.
41532         [C99-based-standards] (PRIX16): Likewise.
41533         [C99-based-standards] (SCNd16): Likewise.
41534         [C99-based-standards] (SCNi16): Likewise.
41535         [C99-based-standards] (SCNo16): Likewise.
41536         [C99-based-standards] (SCNu16): Likewise.
41537         [C99-based-standards] (SCNx16): Likewise.
41538         [C99-based-standards] (PRIdLEAST16): Likewise.
41539         [C99-based-standards] (PRIiLEAST16): Likewise.
41540         [C99-based-standards] (PRIoLEAST16): Likewise.
41541         [C99-based-standards] (PRIuLEAST16): Likewise.
41542         [C99-based-standards] (PRIxLEAST16): Likewise.
41543         [C99-based-standards] (PRIXLEAST16): Likewise.
41544         [C99-based-standards] (SCNdLEAST16): Likewise.
41545         [C99-based-standards] (SCNiLEAST16): Likewise.
41546         [C99-based-standards] (SCNoLEAST16): Likewise.
41547         [C99-based-standards] (SCNuLEAST16): Likewise.
41548         [C99-based-standards] (SCNxLEAST16): Likewise.
41549         [C99-based-standards] (PRIdFAST16): Likewise.
41550         [C99-based-standards] (PRIiFAST16): Likewise.
41551         [C99-based-standards] (PRIoFAST16): Likewise.
41552         [C99-based-standards] (PRIuFAST16): Likewise.
41553         [C99-based-standards] (PRIxFAST16): Likewise.
41554         [C99-based-standards] (PRIXFAST16): Likewise.
41555         [C99-based-standards] (SCNdFAST16): Likewise.
41556         [C99-based-standards] (SCNiFAST16): Likewise.
41557         [C99-based-standards] (SCNoFAST16): Likewise.
41558         [C99-based-standards] (SCNuFAST16): Likewise.
41559         [C99-based-standards] (SCNxFAST16): Likewise.
41560         [C99-based-standards] (PRId32): Likewise.
41561         [C99-based-standards] (PRIi32): Likewise.
41562         [C99-based-standards] (PRIo32): Likewise.
41563         [C99-based-standards] (PRIu32): Likewise.
41564         [C99-based-standards] (PRIx32): Likewise.
41565         [C99-based-standards] (PRIX32): Likewise.
41566         [C99-based-standards] (SCNd32): Likewise.
41567         [C99-based-standards] (SCNi32): Likewise.
41568         [C99-based-standards] (SCNo32): Likewise.
41569         [C99-based-standards] (SCNu32): Likewise.
41570         [C99-based-standards] (SCNx32): Likewise.
41571         [C99-based-standards] (PRIdLEAST32): Likewise.
41572         [C99-based-standards] (PRIiLEAST32): Likewise.
41573         [C99-based-standards] (PRIoLEAST32): Likewise.
41574         [C99-based-standards] (PRIuLEAST32): Likewise.
41575         [C99-based-standards] (PRIxLEAST32): Likewise.
41576         [C99-based-standards] (PRIXLEAST32): Likewise.
41577         [C99-based-standards] (SCNdLEAST32): Likewise.
41578         [C99-based-standards] (SCNiLEAST32): Likewise.
41579         [C99-based-standards] (SCNoLEAST32): Likewise.
41580         [C99-based-standards] (SCNuLEAST32): Likewise.
41581         [C99-based-standards] (SCNxLEAST32): Likewise.
41582         [C99-based-standards] (PRIdFAST32): Likewise.
41583         [C99-based-standards] (PRIiFAST32): Likewise.
41584         [C99-based-standards] (PRIoFAST32): Likewise.
41585         [C99-based-standards] (PRIuFAST32): Likewise.
41586         [C99-based-standards] (PRIxFAST32): Likewise.
41587         [C99-based-standards] (PRIXFAST32): Likewise.
41588         [C99-based-standards] (SCNdFAST32): Likewise.
41589         [C99-based-standards] (SCNiFAST32): Likewise.
41590         [C99-based-standards] (SCNoFAST32): Likewise.
41591         [C99-based-standards] (SCNuFAST32): Likewise.
41592         [C99-based-standards] (SCNxFAST32): Likewise.
41593         [C99-based-standards] (PRId64): Likewise.
41594         [C99-based-standards] (PRIi64): Likewise.
41595         [C99-based-standards] (PRIo64): Likewise.
41596         [C99-based-standards] (PRIu64): Likewise.
41597         [C99-based-standards] (PRIx64): Likewise.
41598         [C99-based-standards] (PRIX64): Likewise.
41599         [C99-based-standards] (SCNd64): Likewise.
41600         [C99-based-standards] (SCNi64): Likewise.
41601         [C99-based-standards] (SCNo64): Likewise.
41602         [C99-based-standards] (SCNu64): Likewise.
41603         [C99-based-standards] (SCNx64): Likewise.
41604         [C99-based-standards] (PRIdLEAST64): Likewise.
41605         [C99-based-standards] (PRIiLEAST64): Likewise.
41606         [C99-based-standards] (PRIoLEAST64): Likewise.
41607         [C99-based-standards] (PRIuLEAST64): Likewise.
41608         [C99-based-standards] (PRIxLEAST64): Likewise.
41609         [C99-based-standards] (PRIXLEAST64): Likewise.
41610         [C99-based-standards] (SCNdLEAST64): Likewise.
41611         [C99-based-standards] (SCNiLEAST64): Likewise.
41612         [C99-based-standards] (SCNoLEAST64): Likewise.
41613         [C99-based-standards] (SCNuLEAST64): Likewise.
41614         [C99-based-standards] (SCNxLEAST64): Likewise.
41615         [C99-based-standards] (PRIdFAST64): Likewise.
41616         [C99-based-standards] (PRIiFAST64): Likewise.
41617         [C99-based-standards] (PRIoFAST64): Likewise.
41618         [C99-based-standards] (PRIuFAST64): Likewise.
41619         [C99-based-standards] (PRIxFAST64): Likewise.
41620         [C99-based-standards] (PRIXFAST64): Likewise.
41621         [C99-based-standards] (SCNdFAST64): Likewise.
41622         [C99-based-standards] (SCNiFAST64): Likewise.
41623         [C99-based-standards] (SCNoFAST64): Likewise.
41624         [C99-based-standards] (SCNuFAST64): Likewise.
41625         [C99-based-standards] (SCNxFAST64): Likewise.
41626         [C99-based-standards] (PRIdMAX): Likewise.
41627         [C99-based-standards] (PRIiMAX): Likewise.
41628         [C99-based-standards] (PRIoMAX): Likewise.
41629         [C99-based-standards] (PRIuMAX): Likewise.
41630         [C99-based-standards] (PRIxMAX): Likewise.
41631         [C99-based-standards] (PRIXMAX): Likewise.
41632         [C99-based-standards] (SCNdMAX): Likewise.
41633         [C99-based-standards] (SCNiMAX): Likewise.
41634         [C99-based-standards] (SCNoMAX): Likewise.
41635         [C99-based-standards] (SCNuMAX): Likewise.
41636         [C99-based-standards] (SCNxMAX): Likewise.
41637         [C99-based-standards] (PRIdPTR): Likewise.
41638         [C99-based-standards] (PRIiPTR): Likewise.
41639         [C99-based-standards] (PRIoPTR): Likewise.
41640         [C99-based-standards] (PRIuPTR): Likewise.
41641         [C99-based-standards] (PRIxPTR): Likewise.
41642         [C99-based-standards] (PRIXPTR): Likewise.
41643         [C99-based-standards] (SCNdPTR): Likewise.
41644         [C99-based-standards] (SCNiPTR): Likewise.
41645         [C99-based-standards] (SCNoPTR): Likewise.
41646         [C99-based-standards] (SCNuPTR): Likewise.
41647         [C99-based-standards] (SCNxPTR): Likewise.
41648         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41649         allow.
41650         * conform/data/stdint.h-data: Update comments to clarify
41651         requirements.
41652         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41653         type.
41654         [C99-based standards] (INT8_MAX): Likewise.
41655         [C99-based standards] (INT16_MIN): Likewise.
41656         [C99-based standards] (INT16_MAX): Likewise.
41657         [C99-based standards] (INT32_MIN): Likewise.
41658         [C99-based standards] (INT32_MAX): Likewise.
41659         [C99-based standards] (INT64_MIN): Likewise.
41660         [C99-based standards] (INT64_MAX): Likewise.
41661         [C99-based standards] (UINT8_MAX): Likewise.
41662         [C99-based standards] (UINT16_MAX): Likewise.
41663         [C99-based standards] (UINT32_MAX): Likewise.
41664         [C99-based standards] (UINT64_MAX): Likewise.
41665         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41666         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41667         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41668         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41669         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41670         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41671         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41672         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41673         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41674         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41675         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41676         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41677         [C99-based standards] (INT_FAST8_MIN): Likewise.
41678         [C99-based standards] (INT_FAST8_MAX): Likewise.
41679         [C99-based standards] (INT_FAST16_MIN): Likewise.
41680         [C99-based standards] (INT_FAST16_MAX): Likewise.
41681         [C99-based standards] (INT_FAST32_MIN): Likewise.
41682         [C99-based standards] (INT_FAST32_MAX): Likewise.
41683         [C99-based standards] (INT_FAST64_MIN): Likewise.
41684         [C99-based standards] (INT_FAST64_MAX): Likewise.
41685         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41686         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41687         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41688         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41689         [C99-based standards] (INTPTR_MIN): Likewise.
41690         [C99-based standards] (INTPTR_MAX): Likewise.
41691         [C99-based standards] (UINTPTR_MAX): Likewise.
41692         [C99-based standards] (INTMAX_MIN): Likewise.
41693         [C99-based standards] (INTMAX_MAX): Likewise.
41694         [C99-based standards] (UINTMAX_MAX): Likewise.
41695         [C99-based standards] (PTRDIFF_MIN): Likewise.
41696         [C99-based standards] (PTRDIFF_MAX): Likewise.
41697         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41698         [C99-based standards] (SIZE_MAX): Likewise.
41699         [C99-based standards] (WCHAR_MAX): Likewise.
41700         [C99-based standards] (WINT_MAX): Likewise.
41701         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41702         constraint on value.
41703         [C99-based standards] (WCHAR_MIN): Likewise.
41704         [C99-based standards] (WINT_MIN): Likewise.
41705         [C99-based standards] (*_t): Allow.
41706         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41707         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41708         Include math.h-data and complex.h-data.  Remove all expectations
41709         of math.h and complex.h contents.
41710         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41711         at end of line.
41712         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41713         (struct tm): Expect tag.
41714         [C99-based-standards] (wcstof): Expect function.
41715         [C99-based-standards] (wcstold): Likewise.
41716         [C99-based-standards] (wcstoll): Likewise.
41717         [C99-based-standards] (wcstoull): Likewise.
41718         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41719         macro-int-constant.  Specify type.
41720         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41721         constraint on value.
41722         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41723         Specify type.
41724         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41725         Specify value.
41726         [ISO C standards]: Do not allow headers.
41727         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41728         wcs[abcdefghijklmnopqrstuvwxyz]*.
41729         [ISO C standards] (*_t): Do not allow.
41730         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41731         Expect function.
41732         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41733         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41734         Specify type.
41735         [ISO C standards]: Do not allow headers.
41736         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41737         is[abcdefghijklmnopqrstuvwxyz]*.
41738         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41739         to[abcdefghijklmnopqrstuvwxyz]*.
41740         [ISO C standards] (*_t): Do not allow.
41741         * conform/data/stdalign.h-data: New file.
41742         * conform/data/stdbool.h-data: Likewise.
41743         * conform/data/stdnoreturn.h-data: Likewise.
41745 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41747         [BZ #14815]
41748         * manual/filesys.texi (Directory Entries): Typo fix.
41749         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41751 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41753         * elf/elf.h (EM_AARCH64): New macro.
41754         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41755         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41756         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41757         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41758         (R_AARCH64_TLSDESC): Likewise.
41759         (NT_ARM_TLS): Likewise.
41760         (NT_ARM_HW_BREAK): Likewise.
41761         (NT_ARM_HW_WATCH): Likewise.
41763 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41765         [BZ #14811]
41766         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41767         (__ieee754_powl): Saturate nonzero exponents with absolute value
41768         below 0x1p-79 to +/- 0x1p-79.
41769         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41770         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41771         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41772         nonzero exponents with absolute value below 0x1p-32 to +/-
41773         0x1p-32.
41774         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41775         (__ieee754_powl): Saturate nonzero exponents with absolute value
41776         below 0x1p-79 to +/- 0x1p-79.
41777         * math/libm-test.inc (pow_test): Add more tests.
41779 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41781         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41782         _dl_s390_cap_flags with kernel. Increase string length.
41783         (_dl_s390_platforms): Add z196 and zEC12.
41785 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41787         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41788         Change XOPEN21K to XOPEN2K.
41790 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41792         * string/memmove.c: Use memcpy when possible.
41794 2012-11-06  Andreas Jaeger  <aj@suse.de>
41796         * po/eo.po: Update from translation team.
41798 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41800         [BZ #14793]
41801         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41802         exponent and small x and y exponents, scale x or y up.  Increase
41803         by 2 the exponent used in scaling up.
41804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41805         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41806         * math/libm-test.inc (fma_test): Add more tests.
41807         (fma_test_towardzero): Likewise.
41808         (fma_test_downward): Likewise.
41809         (fma_test_upward): Likewise.
41811 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41813         [BZ #14805]
41814         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41815         fenv_t *.
41817         [BZ #14801]
41818         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41819         namespace for names of struct fields.
41820         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41821         fenv_t fields.
41822         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41823         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41825 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41827         [BZ #3665]
41828         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41830 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41832         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41833         PTR_DEMANGLE.
41835         [BZ #5246]
41836         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41837         PTR_DEMANGLE.
41839 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41841         [BZ #14797]
41842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41843         definitely overflow as x * y not x * y + z.
41844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41846         * math/libm-test.inc (fma_test): Add more tests.
41847         (fma_test_towardzero): Likewise.
41848         (fma_test_downward): Likewise.
41849         (fma_test_upward): Likewise.
41851 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41853         [BZ #157]
41855         * include/stub-tag.h: Remove file.
41856         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41857         '#include' of it.
41858         * manual/maint.texi (Porting): Don't reference it.
41859         * Makerules ($(objpfx)stubs): Likewise.
41860         * dirent/closedir.c: Don't include <stub-tag.h>.
41861         * dirent/dirfd.c: Likewise.
41862         * dirent/fdopendir.c: Likewise.
41863         * dirent/getdents.c: Likewise.
41864         * dirent/getdents64.c: Likewise.
41865         * dirent/opendir.c: Likewise.
41866         * dirent/readdir.c: Likewise.
41867         * dirent/readdir64.c: Likewise.
41868         * dirent/readdir64_r.c: Likewise.
41869         * dirent/readdir_r.c: Likewise.
41870         * dirent/rewinddir.c: Likewise.
41871         * dirent/seekdir.c: Likewise.
41872         * dirent/telldir.c: Likewise.
41873         * gmon/profil.c: Likewise.
41874         * grp/setgroups.c: Likewise.
41875         * inet/if_index.c: Likewise.
41876         * io/access.c: Likewise.
41877         * io/chdir.c: Likewise.
41878         * io/chmod.c: Likewise.
41879         * io/chown.c: Likewise.
41880         * io/close.c: Likewise.
41881         * io/dup.c: Likewise.
41882         * io/dup2.c: Likewise.
41883         * io/dup3.c: Likewise.
41884         * io/euidaccess.c: Likewise.
41885         * io/faccessat.c: Likewise.
41886         * io/fchdir.c: Likewise.
41887         * io/fchmod.c: Likewise.
41888         * io/fchmodat.c: Likewise.
41889         * io/fchown.c: Likewise.
41890         * io/fchownat.c: Likewise.
41891         * io/fcntl.c: Likewise.
41892         * io/flock.c: Likewise.
41893         * io/fstatfs.c: Likewise.
41894         * io/fstatfs64.c: Likewise.
41895         * io/fstatvfs.c: Likewise.
41896         * io/fstatvfs64.c: Likewise.
41897         * io/futimens.c: Likewise.
41898         * io/fxstat.c: Likewise.
41899         * io/fxstat64.c: Likewise.
41900         * io/fxstatat.c: Likewise.
41901         * io/fxstatat64.c: Likewise.
41902         * io/getcwd.c: Likewise.
41903         * io/isatty.c: Likewise.
41904         * io/lchmod.c: Likewise.
41905         * io/lchown.c: Likewise.
41906         * io/link.c: Likewise.
41907         * io/linkat.c: Likewise.
41908         * io/lseek.c: Likewise.
41909         * io/lseek64.c: Likewise.
41910         * io/lxstat64.c: Likewise.
41911         * io/mkdir.c: Likewise.
41912         * io/mkdirat.c: Likewise.
41913         * io/mkfifo.c: Likewise.
41914         * io/mkfifoat.c: Likewise.
41915         * io/open.c: Likewise.
41916         * io/open64.c: Likewise.
41917         * io/openat.c: Likewise.
41918         * io/openat64.c: Likewise.
41919         * io/pipe.c: Likewise.
41920         * io/pipe2.c: Likewise.
41921         * io/poll.c: Likewise.
41922         * io/posix_fadvise.c: Likewise.
41923         * io/posix_fadvise64.c: Likewise.
41924         * io/posix_fallocate.c: Likewise.
41925         * io/posix_fallocate64.c: Likewise.
41926         * io/read.c: Likewise.
41927         * io/readlink.c: Likewise.
41928         * io/readlinkat.c: Likewise.
41929         * io/rmdir.c: Likewise.
41930         * io/sendfile.c: Likewise.
41931         * io/sendfile64.c: Likewise.
41932         * io/statfs.c: Likewise.
41933         * io/statfs64.c: Likewise.
41934         * io/statvfs.c: Likewise.
41935         * io/statvfs64.c: Likewise.
41936         * io/symlink.c: Likewise.
41937         * io/symlinkat.c: Likewise.
41938         * io/ttyname.c: Likewise.
41939         * io/ttyname_r.c: Likewise.
41940         * io/umask.c: Likewise.
41941         * io/unlink.c: Likewise.
41942         * io/unlinkat.c: Likewise.
41943         * io/utime.c: Likewise.
41944         * io/utimensat.c: Likewise.
41945         * io/write.c: Likewise.
41946         * io/xmknod.c: Likewise.
41947         * io/xmknodat.c: Likewise.
41948         * io/xstat.c: Likewise.
41949         * io/xstat64.c: Likewise.
41950         * login/getpt.c: Likewise.
41951         * login/grantpt.c: Likewise.
41952         * login/unlockpt.c: Likewise.
41953         * math/e_acoshl.c: Likewise.
41954         * math/e_acosl.c: Likewise.
41955         * math/e_asinl.c: Likewise.
41956         * math/e_atan2l.c: Likewise.
41957         * math/e_atanhl.c: Likewise.
41958         * math/e_coshl.c: Likewise.
41959         * math/e_expl.c: Likewise.
41960         * math/e_fmodl.c: Likewise.
41961         * math/e_gammal_r.c: Likewise.
41962         * math/e_hypotl.c: Likewise.
41963         * math/e_j0l.c: Likewise.
41964         * math/e_j1l.c: Likewise.
41965         * math/e_jnl.c: Likewise.
41966         * math/e_lgammal_r.c: Likewise.
41967         * math/e_log10l.c: Likewise.
41968         * math/e_log2l.c: Likewise.
41969         * math/e_logl.c: Likewise.
41970         * math/e_powl.c: Likewise.
41971         * math/e_rem_pio2l.c: Likewise.
41972         * math/e_sinhl.c: Likewise.
41973         * math/e_sqrtl.c: Likewise.
41974         * math/fclrexcpt.c: Likewise.
41975         * math/fedisblxcpt.c: Likewise.
41976         * math/feenablxcpt.c: Likewise.
41977         * math/fegetenv.c: Likewise.
41978         * math/fegetexcept.c: Likewise.
41979         * math/fegetround.c: Likewise.
41980         * math/feholdexcpt.c: Likewise.
41981         * math/fesetenv.c: Likewise.
41982         * math/fesetround.c: Likewise.
41983         * math/feupdateenv.c: Likewise.
41984         * math/fgetexcptflg.c: Likewise.
41985         * math/fraiseexcpt.c: Likewise.
41986         * math/fsetexcptflg.c: Likewise.
41987         * math/ftestexcept.c: Likewise.
41988         * math/k_cosl.c: Likewise.
41989         * math/k_rem_pio2l.c: Likewise.
41990         * math/k_sinl.c: Likewise.
41991         * math/k_tanl.c: Likewise.
41992         * math/s_asinhl.c: Likewise.
41993         * math/s_atanl.c: Likewise.
41994         * math/s_cbrtl.c: Likewise.
41995         * math/s_erfl.c: Likewise.
41996         * math/s_expm1l.c: Likewise.
41997         * math/s_log1pl.c: Likewise.
41998         * math/s_tanhl.c: Likewise.
41999         * misc/acct.c: Likewise.
42000         * misc/brk.c: Likewise.
42001         * misc/chflags.c: Likewise.
42002         * misc/chroot.c: Likewise.
42003         * misc/fchflags.c: Likewise.
42004         * misc/fgetxattr.c: Likewise.
42005         * misc/flistxattr.c: Likewise.
42006         * misc/fremovexattr.c: Likewise.
42007         * misc/fsetxattr.c: Likewise.
42008         * misc/fsync.c: Likewise.
42009         * misc/ftruncate.c: Likewise.
42010         * misc/futimes.c: Likewise.
42011         * misc/futimesat.c: Likewise.
42012         * misc/getdomain.c: Likewise.
42013         * misc/getdtsz.c: Likewise.
42014         * misc/gethostid.c: Likewise.
42015         * misc/gethostname.c: Likewise.
42016         * misc/getloadavg.c: Likewise.
42017         * misc/getpagesize.c: Likewise.
42018         * misc/getsysstats.c: Likewise.
42019         * misc/getxattr.c: Likewise.
42020         * misc/gtty.c: Likewise.
42021         * misc/ioctl.c: Likewise.
42022         * misc/lgetxattr.c: Likewise.
42023         * misc/listxattr.c: Likewise.
42024         * misc/llistxattr.c: Likewise.
42025         * misc/lremovexattr.c: Likewise.
42026         * misc/lsetxattr.c: Likewise.
42027         * misc/lutimes.c: Likewise.
42028         * misc/madvise.c: Likewise.
42029         * misc/mincore.c: Likewise.
42030         * misc/mlock.c: Likewise.
42031         * misc/mlockall.c: Likewise.
42032         * misc/mmap.c: Likewise.
42033         * misc/mprotect.c: Likewise.
42034         * misc/msync.c: Likewise.
42035         * misc/munlock.c: Likewise.
42036         * misc/munlockall.c: Likewise.
42037         * misc/munmap.c: Likewise.
42038         * misc/preadv.c: Likewise.
42039         * misc/preadv64.c: Likewise.
42040         * misc/ptrace.c: Likewise.
42041         * misc/pwritev.c: Likewise.
42042         * misc/pwritev64.c: Likewise.
42043         * misc/readv.c: Likewise.
42044         * misc/reboot.c: Likewise.
42045         * misc/remap_file_pages.c: Likewise.
42046         * misc/removexattr.c: Likewise.
42047         * misc/revoke.c: Likewise.
42048         * misc/select.c: Likewise.
42049         * misc/setdomain.c: Likewise.
42050         * misc/setegid.c: Likewise.
42051         * misc/seteuid.c: Likewise.
42052         * misc/sethostid.c: Likewise.
42053         * misc/sethostname.c: Likewise.
42054         * misc/setregid.c: Likewise.
42055         * misc/setreuid.c: Likewise.
42056         * misc/setxattr.c: Likewise.
42057         * misc/sstk.c: Likewise.
42058         * misc/stty.c: Likewise.
42059         * misc/swapoff.c: Likewise.
42060         * misc/swapon.c: Likewise.
42061         * misc/sync.c: Likewise.
42062         * misc/syncfs.c: Likewise.
42063         * misc/syscall.c: Likewise.
42064         * misc/truncate.c: Likewise.
42065         * misc/ualarm.c: Likewise.
42066         * misc/usleep.c: Likewise.
42067         * misc/ustat.c: Likewise.
42068         * misc/utimes.c: Likewise.
42069         * misc/vhangup.c: Likewise.
42070         * misc/writev.c: Likewise.
42071         * posix/_exit.c: Likewise.
42072         * posix/alarm.c: Likewise.
42073         * posix/execve.c: Likewise.
42074         * posix/fexecve.c: Likewise.
42075         * posix/fork.c: Likewise.
42076         * posix/fpathconf.c: Likewise.
42077         * posix/getaddrinfo.c: Likewise.
42078         * posix/getegid.c: Likewise.
42079         * posix/geteuid.c: Likewise.
42080         * posix/getgid.c: Likewise.
42081         * posix/getgroups.c: Likewise.
42082         * posix/getlogin.c: Likewise.
42083         * posix/getlogin_r.c: Likewise.
42084         * posix/getpgid.c: Likewise.
42085         * posix/getpid.c: Likewise.
42086         * posix/getppid.c: Likewise.
42087         * posix/getresgid.c: Likewise.
42088         * posix/getresuid.c: Likewise.
42089         * posix/getsid.c: Likewise.
42090         * posix/getuid.c: Likewise.
42091         * posix/glob64.c: Likewise.
42092         * posix/nanosleep.c: Likewise.
42093         * posix/pathconf.c: Likewise.
42094         * posix/pause.c: Likewise.
42095         * posix/posix_madvise.c: Likewise.
42096         * posix/pread.c: Likewise.
42097         * posix/pread64.c: Likewise.
42098         * posix/pwrite.c: Likewise.
42099         * posix/pwrite64.c: Likewise.
42100         * posix/sched_getaffinity.c: Likewise.
42101         * posix/sched_getp.c: Likewise.
42102         * posix/sched_gets.c: Likewise.
42103         * posix/sched_primax.c: Likewise.
42104         * posix/sched_primin.c: Likewise.
42105         * posix/sched_rr_gi.c: Likewise.
42106         * posix/sched_setaffinity.c: Likewise.
42107         * posix/sched_setp.c: Likewise.
42108         * posix/sched_sets.c: Likewise.
42109         * posix/sched_yield.c: Likewise.
42110         * posix/setgid.c: Likewise.
42111         * posix/setlogin.c: Likewise.
42112         * posix/setpgid.c: Likewise.
42113         * posix/setresgid.c: Likewise.
42114         * posix/setresuid.c: Likewise.
42115         * posix/setsid.c: Likewise.
42116         * posix/setuid.c: Likewise.
42117         * posix/sleep.c: Likewise.
42118         * posix/spawni.c: Likewise.
42119         * posix/sysconf.c: Likewise.
42120         * posix/times.c: Likewise.
42121         * posix/wait.c: Likewise.
42122         * posix/wait3.c: Likewise.
42123         * posix/wait4.c: Likewise.
42124         * posix/waitpid.c: Likewise.
42125         * resolv/gai_sigqueue.c: Likewise.
42126         * resource/getpriority.c: Likewise.
42127         * resource/getrlimit.c: Likewise.
42128         * resource/getrusage.c: Likewise.
42129         * resource/nice.c: Likewise.
42130         * resource/setpriority.c: Likewise.
42131         * resource/setrlimit.c: Likewise.
42132         * resource/ulimit.c: Likewise.
42133         * rt/aio_cancel.c: Likewise.
42134         * rt/aio_fsync.c: Likewise.
42135         * rt/aio_read.c: Likewise.
42136         * rt/aio_sigqueue.c: Likewise.
42137         * rt/aio_suspend.c: Likewise.
42138         * rt/aio_write.c: Likewise.
42139         * rt/clock_getres.c: Likewise.
42140         * rt/clock_gettime.c: Likewise.
42141         * rt/clock_nanosleep.c: Likewise.
42142         * rt/clock_settime.c: Likewise.
42143         * rt/lio_listio.c: Likewise.
42144         * rt/mq_close.c: Likewise.
42145         * rt/mq_getattr.c: Likewise.
42146         * rt/mq_notify.c: Likewise.
42147         * rt/mq_open.c: Likewise.
42148         * rt/mq_receive.c: Likewise.
42149         * rt/mq_send.c: Likewise.
42150         * rt/mq_setattr.c: Likewise.
42151         * rt/mq_timedreceive.c: Likewise.
42152         * rt/mq_timedsend.c: Likewise.
42153         * rt/mq_unlink.c: Likewise.
42154         * rt/shm_open.c: Likewise.
42155         * rt/shm_unlink.c: Likewise.
42156         * rt/timer_create.c: Likewise.
42157         * rt/timer_delete.c: Likewise.
42158         * rt/timer_getoverr.c: Likewise.
42159         * rt/timer_gettime.c: Likewise.
42160         * rt/timer_settime.c: Likewise.
42161         * setjmp/__longjmp.c: Likewise.
42162         * setjmp/setjmp.c: Likewise.
42163         * signal/kill.c: Likewise.
42164         * signal/killpg.c: Likewise.
42165         * signal/raise.c: Likewise.
42166         * signal/sigaction.c: Likewise.
42167         * signal/sigaltstack.c: Likewise.
42168         * signal/sigblock.c: Likewise.
42169         * signal/sigignore.c: Likewise.
42170         * signal/sigintr.c: Likewise.
42171         * signal/signal.c: Likewise.
42172         * signal/sigpause.c: Likewise.
42173         * signal/sigpending.c: Likewise.
42174         * signal/sigqueue.c: Likewise.
42175         * signal/sigreturn.c: Likewise.
42176         * signal/sigset.c: Likewise.
42177         * signal/sigsetmask.c: Likewise.
42178         * signal/sigstack.c: Likewise.
42179         * signal/sigsuspend.c: Likewise.
42180         * signal/sigtimedwait.c: Likewise.
42181         * signal/sigvec.c: Likewise.
42182         * signal/sigwait.c: Likewise.
42183         * signal/sigwaitinfo.c: Likewise.
42184         * signal/sysv_signal.c: Likewise.
42185         * socket/accept.c: Likewise.
42186         * socket/accept4.c: Likewise.
42187         * socket/bind.c: Likewise.
42188         * socket/connect.c: Likewise.
42189         * socket/getpeername.c: Likewise.
42190         * socket/getsockname.c: Likewise.
42191         * socket/getsockopt.c: Likewise.
42192         * socket/isfdtype.c: Likewise.
42193         * socket/listen.c: Likewise.
42194         * socket/recv.c: Likewise.
42195         * socket/recvfrom.c: Likewise.
42196         * socket/recvmsg.c: Likewise.
42197         * socket/send.c: Likewise.
42198         * socket/sendmsg.c: Likewise.
42199         * socket/sendto.c: Likewise.
42200         * socket/setsockopt.c: Likewise.
42201         * socket/shutdown.c: Likewise.
42202         * socket/sockatmark.c: Likewise.
42203         * socket/socket.c: Likewise.
42204         * socket/socketpair.c: Likewise.
42205         * stdio-common/ctermid.c: Likewise.
42206         * stdio-common/cuserid.c: Likewise.
42207         * stdio-common/remove.c: Likewise.
42208         * stdio-common/rename.c: Likewise.
42209         * stdio-common/renameat.c: Likewise.
42210         * stdio-common/tempname.c: Likewise.
42211         * stdlib/getcontext.c: Likewise.
42212         * stdlib/makecontext.c: Likewise.
42213         * stdlib/setcontext.c: Likewise.
42214         * stdlib/swapcontext.c: Likewise.
42215         * stdlib/system.c: Likewise.
42216         * streams/fattach.c: Likewise.
42217         * streams/fdetach.c: Likewise.
42218         * streams/getmsg.c: Likewise.
42219         * streams/getpmsg.c: Likewise.
42220         * streams/putmsg.c: Likewise.
42221         * streams/putpmsg.c: Likewise.
42222         * sysdeps/unix/bsd/getpt.c: Likewise.
42223         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42224         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42225         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42227         Likewise.
42228         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42229         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42230         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42231         * sysvipc/msgctl.c: Likewise.
42232         * sysvipc/msgget.c: Likewise.
42233         * sysvipc/msgrcv.c: Likewise.
42234         * sysvipc/msgsnd.c: Likewise.
42235         * sysvipc/semctl.c: Likewise.
42236         * sysvipc/semget.c: Likewise.
42237         * sysvipc/semop.c: Likewise.
42238         * sysvipc/semtimedop.c: Likewise.
42239         * sysvipc/shmat.c: Likewise.
42240         * sysvipc/shmctl.c: Likewise.
42241         * sysvipc/shmdt.c: Likewise.
42242         * sysvipc/shmget.c: Likewise.
42243         * termios/tcdrain.c: Likewise.
42244         * termios/tcflow.c: Likewise.
42245         * termios/tcflush.c: Likewise.
42246         * termios/tcgetattr.c: Likewise.
42247         * termios/tcgetpgrp.c: Likewise.
42248         * termios/tcsendbrk.c: Likewise.
42249         * termios/tcsetattr.c: Likewise.
42250         * termios/tcsetpgrp.c: Likewise.
42251         * time/adjtime.c: Likewise.
42252         * time/clock.c: Likewise.
42253         * time/getitimer.c: Likewise.
42254         * time/gettimeofday.c: Likewise.
42255         * time/setitimer.c: Likewise.
42256         * time/settimeofday.c: Likewise.
42257         * time/stime.c: Likewise.
42258         * time/time.c: Likewise.
42260 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42262         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42263         /usr/old/bin.
42265         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42266         instead of spaces.
42267         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42269 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42271         [BZ #14796]
42272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42273         FE_TONEAREST before applying Dekker multiplication and Knuth
42274         addition.  Clear inexact exceptions and check for exact zero
42275         results afterwards.
42276         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42277         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42278         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42279         * math/libm-test.inc (fma_test): Add more tests.
42280         (fma_test_towardzero): Likewise.
42281         (fma_test_downward): Likewise.
42282         (fma_test_upward): Likewise.
42283         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42284         function.
42285         (libc_fesetround): New macro.
42286         (libc_fesetroundf): Likewise.
42287         (libc_fesetroundl): Likewise.
42288         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42289         function.
42290         (libc_fesetround_387): Likewise.
42291         (libc_fesetroundf): New macro.
42292         (libc_fesetround): Likewise.
42293         (libc_fesetroundl): Likewise.
42294         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42295         function.
42296         (libc_fesetroundf): New macro.
42297         (libc_fesetround): Likewise.
42298         (libc_fesetroundl): Likewise.
42299         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42300         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42301         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42302         libm_hidden_ver.
42303         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42304         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42305         libm_hidden_def.
42306         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42307         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42308         libm_hidden_ver.
42309         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42310         libm_hidden_def.
42312         [BZ #3439]
42313         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42314         integer constant usable in #if and use that to give value to enum
42315         constant.
42316         (FE_DIVBYZERO): Likewise.
42317         (FE_UNDERFLOW): Likewise.
42318         (FE_OVERFLOW): Likewise.
42319         (FE_INVALID): Likewise.
42320         (FE_INVALID_SNAN): Likewise.
42321         (FE_INVALID_ISI): Likewise.
42322         (FE_INVALID_IDI): Likewise.
42323         (FE_INVALID_ZDZ): Likewise.
42324         (FE_INVALID_IMZ): Likewise.
42325         (FE_INVALID_COMPARE): Likewise.
42326         (FE_INVALID_SOFTWARE): Likewise.
42327         (FE_INVALID_SQRT): Likewise.
42328         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42329         (FE_TONEAREST): Likewise.
42330         (FE_TOWARDZERO): Likewise.
42331         (FE_UPWARD): Likewise.
42332         (FE_DOWNWARD): Likewise.
42333         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42334         (FE_DIVBYZERO): Likewise.
42335         (FE_OVERFLOW): Likewise.
42336         (FE_UNDERFLOW): Likewise.
42337         (FE_INEXACT): Likewise.
42338         (FE_TONEAREST): Likewise.
42339         (FE_DOWNWARD): Likewise.
42340         (FE_UPWARD): Likewise.
42341         (FE_TOWARDZERO): Likewise.
42342         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42343         (FE_UNDERFLOW): Likewise.
42344         (FE_OVERFLOW): Likewise.
42345         (FE_DIVBYZERO): Likewise.
42346         (FE_INVALID): Likewise.
42347         (FE_TONEAREST): Likewise.
42348         (FE_TOWARDZERO): Likewise.
42349         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42350         (FE_OVERFLOW): Likewise.
42351         (FE_UNDERFLOW): Likewise.
42352         (FE_DIVBYZERO): Likewise.
42353         (FE_INEXACT): Likewise.
42354         (FE_TONEAREST): Likewise.
42355         (FE_TOWARDZERO): Likewise.
42356         (FE_UPWARD): Likewise.
42357         (FE_DOWNWARD): Likewise.
42358         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42359         (FE_DIVBYZERO): Likewise.
42360         (FE_OVERFLOW): Likewise.
42361         (FE_UNDERFLOW): Likewise.
42362         (FE_INEXACT): Likewise.
42363         (FE_TONEAREST): Likewise.
42364         (FE_DOWNWARD): Likewise.
42365         (FE_UPWARD): Likewise.
42366         (FE_TOWARDZERO): Likewise.
42368 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42370         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42372 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42374         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42375         commands.  Quote $PWD.
42376         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42377         -x" by "export".
42378         (remove_newlines): Remove.
42380 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42382         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42383         * stdlib/stdlib.h (atof): Moved to ...
42384         * include/bits/stdlib-float.h: Here.  New file.
42385         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42386         * stdlib/bits/stdlib-float.h: New file.
42387         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42388         -mno-sse -mno-mmx.
42389         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42390         <xmmintrin.h>.
42392 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42394         * conform/conformtest.pl (@headers): Add fenv.h.
42395         * conform/data/fenv.h-data: New file.
42396         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42397         include of <math/fenv.h>.
42399         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42400         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42401         && !UNIX98].  Enables tests for XOPEN2K8.
42402         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42403         POSIX2008]: Likewise.
42405         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42406         (struct rusage): Do not expect type or its members.
42408         [BZ #3439]
42409         * math/math.h (FP_NAN): Define macro to integer constant usable in
42410         #if and use that to give value to enum constant.
42411         (FP_INFINITE): Likewise.
42412         (FP_ZERO): Likewise.
42413         (FP_SUBNORMAL): Likewise.
42414         (FP_NORMAL): Likewise.
42416 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42418         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42419         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42420         arguments.
42422 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42424         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42425         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42426         autoconf-time if not.
42427         * configure.in: Remove AC_PREREQ.
42429 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42431         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42432         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42433         of the internal implementation.
42435 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42437         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42438         except include of <misc/sys/syslog.h>.
42440 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42443         function returns with a NULL context exit with zero.
42445 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42447         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42449 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42451         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42452         (run_program_cmd): This.
42453         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42454         (tst_langinfo): New variable.  Use it.
42456 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42458         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42459         floating point opcodes.
42461 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42463         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42464         variable.
42466         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42468         * sysdeps/mach/hurd/powerpc: Remove directory.
42469         * sysdeps/mach/powerpc: Likewise.
42471 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42473         * scripts/check-local-headers.sh: Ignore c++ headers.
42475 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42477         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42478         __libc_cleanup_region_start argument.
42480 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42482         [BZ #14784]
42483         [BZ #14785]
42484         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42485         x * y using scaling, not as x * y + z.
42486         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42487         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42488         * math/libm-test.inc (fma_test): Add more tests.
42489         (fma_test_towardzero): Likewise.
42490         (fma_test_downward): Likewise.
42491         (fma_test_upward): Likewise.
42493 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42495         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42497 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42499         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42500         New variable.
42502 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42504         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42506 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42509         Fix sort order.
42510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42511         Likewise.
42513 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42516         Fix the order of the list for glibc 2.17.
42517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42518         Likewise.
42520 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42524 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42526         [BZ #14610]
42527         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42528         for low part of x being zero before using __atanl (y).
42529         * math/libm-test.inc (atan2_test): Add another test.
42531         * manual/install.texi (Configuring and compiling): Document
42532         general use of test-wrapper and test-wrapper-env.
42533         * INSTALL: Regenerated.
42535         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42536         (__fma): Do not extract and scale down low bits on after-rounding
42537         systems when result rounded to normal precision would have normal
42538         exponent.
42539         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42540         (__fmal): Do not extract and scale down low bits on after-rounding
42541         systems when result rounded to normal precision would have normal
42542         exponent.
42543         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42544         (__fmal): Do not extract and scale down low bits on after-rounding
42545         systems when result rounded to normal precision would have normal
42546         exponent.
42547         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42548         macro.
42549         (fma_test): Add more tests.
42550         (fma_test_towardzero): Likewise.
42551         (fma_test_downward): Likewise.
42552         (fma_test_upward): Likewise.
42554 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42556         * sysdeps/i386/tininess.h: Renamed to ...
42557         * sysdeps/x86/tininess.h: This.
42558         * sysdeps/x86_64/tininess.h: Removed.
42560 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42562         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42563         input.  Use $(build-program-cmd).
42564         ($(objpfx)tst-array1-static.out): Likewise.
42565         ($(objpfx)tst-array2.out): Likewise.
42566         ($(objpfx)tst-array3.out): Likewise.
42567         ($(objpfx)tst-array4.out): Likewise.
42568         ($(objpfx)tst-array5.out): Likewise.
42569         ($(objpfx)tst-array5-static.out): Likewise.
42571 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42573         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42574         if defined.
42576         * nss/nsswitch.h (nss_interface_function): Provide new
42577         macro for use with NSS functions.
42578         * grp/initgroups.c: Use new macro.
42579         * nss/getXXbyYY.c: Likewise.
42580         * nss/getXXbyYY_r.c: Likewise.
42581         * nss/getXXent.c: Likewise.
42582         * nss/getXXent_r.c: Likewise.
42583         * sysdeps/posix/getaddrinfo.c: Likewise.
42585 2012-10-30  Andreas Jaeger  <aj@suse.de>
42587         * po/ru.po: Update Russion translation from translation project.
42589 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42591         [BZ #14152]
42592         [BZ #14783]
42593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42594         result and shift together with sticky bit instead of replicating
42595         round-to-nearest rounding.
42596         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42597         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42598         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42599         missing underflow exceptions.
42600         (fma_test_towardzero): Add more tests.
42601         (fma_test_downward): Likewise.
42602         (fma_test_upward): Likewise.
42604         [BZ #14047]
42605         * sysdeps/generic/tininess.h: New file.
42606         * sysdeps/i386/tininess.h: Likewise.
42607         * sysdeps/sh/tininess.h: Likewise.
42608         * sysdeps/x86_64/tininess.h: Likewise.
42609         * stdlib/tst-strtod-underflow.c: Likewise.
42610         * stdlib/tst-tininess.c: Likewise.
42611         * stdlib/strtod_l.c: Include <tininess.h>.
42612         (round_and_return): Do not set errno for exact underflow cases.
42613         Force an underflow exception when setting errno for underflow.
42614         Determine underflow based on rounding to normal precision if
42615         TININESS_AFTER_ROUNDING.
42616         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42617         ERANGE for exact underflow cases.
42618         * stdlib/Makefile (tests): Add tst-tininess and
42619         tst-strtod-underflow.
42620         ($(objpfx)tst-tininess): Use $(link-libm).
42621         ($(objpfx)tst-strtod-underflow): Likewise.
42623 2012-10-30  Andreas Jaeger  <aj@suse.de>
42625         [BZ#14767]
42626         * elf/Makefile (tests): Remove conditional for have-initfini-array
42627         since this is now always required and the variable does not exist
42628         anymore.
42629         (tests-static): Likewise.
42630         (modules-names): Likewise.
42632         * po/eo.po: Add Esperanto translation from translation project.
42634         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42635         merged with constructor/destructor.
42636         (init_array): Likewise.
42637         * elf/tst-array2dep.c (fini_array): Likewise.
42638         (init_array): Likewise.
42640 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42642         * manual/message.texi: Delete @cartouche tags.
42644 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42646         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42647         EOPNOTSUPP.
42648         * sysdeps/mach/hurd/fsync.c: Likewise.
42650         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42651         [_POSIX_REALTIME_SIGNALS]: Change condition to
42652         [_POSIX_REALTIME_SIGNALS > 0].
42654 2012-10-27  Andreas Jaeger  <aj@suse.de>
42656         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42657         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42658         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42659         [__WORDSIZE != 64]: Likewise.
42661 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42663         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42664         *  iconvdata/tst-tables.sh: Likewise.
42666 2012-10-25  David S. Miller  <davem@davemloft.net>
42668         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42669         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42670         of strtoull.
42672         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42673         ifunc-impl-list.c
42674         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42675         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42676         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42677         file.
42679 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42681         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42682         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42683         __getdirentries.
42685 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42686             Jim Blandy  <jimb@codesourcery.com>
42688         * scripts/cross-test-ssh.sh: New file.
42689         * manual/install.texi (Configuring and compiling): Document use of
42690         cross-test-ssh.sh.
42691         * INSTALL: Regenerated.
42693 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42695         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42696         EOPNOTSUPP.
42698 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42700         * Makeconfig (run-program-prefix): Fix comment.
42702 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42703             Jim Blandy  <jimb@codesourcery.com>
42705         * Makeconfig (test-wrapper): New variable,
42706         (test-wrapper-env): Likewise.
42707         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42708         (run-built-tests): Define to yes.
42709         (run-program-prefix): Use $(test-wrapper).
42710         (built-program-cmd): Likewise.
42711         * Rules (make-test-out): Use $(test-wrapper-env) and
42712         $(host-built-program-cmd).
42713         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42714         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42715         tst-pathopt.sh.
42716         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42717         $(test-wrapper-env) to tst-rtld-load-self.sh.
42718         ($(objpfx)order2.out): Use $(test-wrapper).
42719         ($(objpfx)tst-initorder.out): Likewise.
42720         ($(objpfx)tst-initorder2.out): Likewise.
42721         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42722         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42723         (test_wrapper_env): New variable.  Use it to run ld.so.
42724         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42725         Use it to run ld.so.
42726         (test_wrapper_env): Likewise.
42727         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42728         $(test-wrapper) to run-iconv-test.sh.
42729         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42730         (ICONV): Use $test_wrapper.
42731         * posix/Makefile ($(objpfx)globtest.out): Pass
42732         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42733         globtest.sh, not $(run-program-prefix).
42734         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42735         (test_wrapper): Likewise.
42736         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42737         set together with run_via_rtld_prefix.
42738         (run_program_prefix): Define in terms of test_wrapper and
42739         run_via_rtld_prefix.
42741 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42743         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42744         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42745         Targets removed.
42747         [BZ #14743]
42748         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42749         Declare __clock_getres, __clock_gettime, __clock_settime,
42750         __clock_nanosleep, and __clock_getcpuclockid.
42751         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42752         Remove librt_hidden_def (clock_gettime).
42753         * sysdeps/unix/clock_gettime.c: Likewise.
42754         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42755         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42756         * rt/clock_getres.c: Define __clock_getres as an alias.
42757         * sysdeps/posix/clock_getres.c: Likewise.
42758         * rt/clock_settime.c: Define __clock_settime as an alias.
42759         * sysdeps/unix/clock_settime.c: Likewise.
42760         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42761         * sysdeps/unix/clock_nanosleep.c: Likewise.
42762         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42763         * rt/clock-compat.c: New file.
42764         * rt/Makefile (librt-routines): Add clock-compat and move
42765         $(clock-routines) to ...
42766         (routines): ... here, new variable.
42767         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42768         Don't add get_clockfreq here.
42769         * rt/Versions (libc: GLIBC_2.17): New version set.
42770         Add clock_* symbols here.
42771         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42772         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42773         (GLIBC_2.17): Add clock_* symbols.
42774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42776         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42778         Likewise.
42779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42780         Likewise.
42781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42785         * NEWS: Mention the move.
42787         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42788         Use __open, __read, __close rather than their public counterparts.
42789         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42790         (__get_clockfreq_via_cpuinfo): Likewise.
42791         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42792         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42794         * config.h.in (HAVE_IFUNC): New #undef.
42795         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42796         was successful.
42797         * configure: Regenerated.
42799 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42801         * configure.in: Move READELF check to start of file.
42802         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42803         libc_cv_asm_gnu_indirect_function in the process.
42804         * configure: Regenerated.
42806 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42808         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42809         send the output to /dev/null.
42810         (libc_cv_cc_with_libunwind): Likewise.
42811         (libc_cv_as_noexecstack): Likewise.
42812         * configure: Regenerate.
42814 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42816         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42818         * posix/globtest.sh (TMPDIR): Do not set.
42819         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42820         (testout): Likewise.
42822 2012-10-24  Andreas Jaeger  <aj@suse.de>
42824         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42825         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42826         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42827         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42828         posix_fadvise64, posix_fallocate64.
42830         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42831         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42832         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42833         Likewise.
42834         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42835         Likewise.
42836         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42838         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42839         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42840         <bits/fcntl-linux.h>.
42841         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42843         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42844         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42845         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42846         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42847         [__WORDSIZE != 64]: Likewise.
42849 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42851         * Makeconfig (run-built-tests): New variable.
42852         * Rules [$(cross-compiling) = yes]: Change condition to
42853         [$(run-built-tests) = no].
42854         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42855         to [$(run-built-tests) = yes].
42856         * elf/Makefile [$(cross-compiling) = no]: Likewise
42857         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42858         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42859         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42860         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42861         * io/Makefile [$(cross-compiling) = no]: Likewise.
42862         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42863         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42864         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42865         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42866         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42867         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42868         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42869         * string/Makefile [$(cross-compiling) = no]: Likewise.
42871         * posix/Makefile ($(objpfx)globtest.out): Pass
42872         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42873         $(rtld-installed-name).
42874         * posix/globtest.sh (elf_objpfx): Remove variable.
42875         (rtld_installed_name): Likewise.
42876         (library_path): Likewise.
42877         (run_program_prefix): New variable.  Use for running globtest
42878         binary.
42880 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42881             Joseph Myers  <joseph@codesourcery.com>
42883         * Makeconfig (host-built-program-cmd): New variable.
42884         * elf/Makefile (tst-stackguard1-ARGS): Use
42885         $(host-built-program-cmd).
42886         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42887         (tst-spawn-ARGS): Likewise.
42888         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42890 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42891             Jim Blandy  <jimb@codesourcery.com>
42893         * Makeconfig (run-via-rtld-prefix): New variable.
42894         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42895         (built-program-cmd): Likewise.
42897 2012-10-22  Andreas Jaeger  <aj@suse.de>
42899         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42900         __O_RSYNC if it exists, otherwise to O_SYNC.
42902 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42903             Joseph Myers  <joseph@codesourcery.com>
42905         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42906         /dev/null.
42907         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42908         from /dev/null
42909         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42910         /dev/null.
42912 2012-10-22  Andreas Jaeger  <aj@suse.de>
42914         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42915         Define always.
42916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42918         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42919         bits/fcntl-linux.h.
42921         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42922         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42924         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42925         to __O_LARGEFILE.
42926         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42927         to __O_LARGEFILE.
42929 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42930             Joseph Myers  <joseph@codesourcery.com>
42932         * config.make.in (NM): New variable.
42934 2012-10-21  Andreas Jaeger  <aj@suse.de>
42936         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42937         definitions and declarations that are provided by
42938         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42940 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42942         [BZ #14683]
42943         * elf/Makefile (tests-static): Add tst-leaks1-static.
42944         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42945         ($(objpfx)tst-leaks1-static): New rule.
42946         ($(objpfx)tst-leaks1-static-mem): Likewise.
42947         (tst-leaks1-static-ENV): New macro.
42948         * elf/dl-open.c (dl_open_worker): Check the main application
42949         only if SHARED is defined.
42950         * elf/tst-leaks1-static.c: New file.
42952 2012-10-20  Andreas Jaeger  <aj@suse.de>
42954         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42955         generic values for Linux.
42956         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42957         and declarations that are provided by <bits/fcntl-linux.h> and
42958         include <bits/fcntl-linux.h>.
42959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42960         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42962 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42964         * io/fcntl.h: Move include of <bits/types.h> to the top and
42965         include it unconditionally.
42967 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42969         * wcsmbs/Makefile (tests-ifunc): New variable.
42970         (tests): Add $(tests-ifunc).
42971         * wcsmbs/test-wcschr-ifunc.c: New file.
42972         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42973         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42974         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42975         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42976         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42978         * string/Makefile (tests-ifunc): New variable.
42979         (tests): Add $(tests-ifunc).
42980         * string/test-memccpy.c (TEST_NAME): New macro.
42981         * string/test-memchr.c (TEST_NAME): Likewise.
42982         * string/test-memcmp.c (TEST_NAME): Likewise.
42983         * string/test-memcpy.c (TEST_NAME): Likewise.
42984         * string/test-memmem.c (TEST_NAME): Likewise.
42985         * string/test-memmove.c (TEST_NAME): Likewise.
42986         * string/test-memset.c (TEST_NAME): Likewise.
42987         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42988         * string/test-stpcpy.c (TEST_NAME): Likewise.
42989         * string/test-stpncpy.c (TEST_NAME): Likewise.
42990         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42991         * string/test-strcasestr.c (TEST_NAME): Likewise.
42992         * string/test-strcat.c (TEST_NAME): Likewise.
42993         * string/test-strchr.c (TEST_NAME): Likewise.
42994         * string/test-strcmp.c(TEST_NAME): Likewise.
42995         * string/test-strcpy.c (TEST_NAME): Likewise.
42996         * string/test-strcspn.c (TEST_NAME): Likewise.
42997         * string/test-strlen.c (TEST_NAME): Likewise.
42998         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42999         * string/test-strncmp.c (TEST_NAME): Likewise.
43000         * string/test-strncpy.c (TEST_NAME): Likewise.
43001         * string/test-strnlen.c (TEST_NAME): Likewise.
43002         * string/test-strpbrk.c (TEST_NAME): Likewise.
43003         * string/test-strrchr.c (TEST_NAME): Likewise.
43004         * string/test-strspn.c (TEST_NAME): Likewise.
43005         * string/test-strstr.c (TEST_NAME): Likewise.
43006         * string/test-bcopy-ifunc.c: New file.
43007         * string/test-bzero-ifunc.c: Likewise.
43008         * string/test-memccpy-ifunc.c: Likewise.
43009         * string/test-memchr-ifunc.c: Likewise.
43010         * string/test-memcmp-ifunc.c: Likewise.
43011         * string/test-memcpy-ifunc.c: Likewise.
43012         * string/test-memmem-ifunc.c: Likewise.
43013         * string/test-memmove-ifunc.c: Likewise.
43014         * string/test-mempcpy-ifunc.c: Likewise.
43015         * string/test-memset-ifunc.c: Likewise.
43016         * string/test-rawmemchr-ifunc.c: Likewise.
43017         * string/test-stpcpy-ifunc.c: Likewise.
43018         * string/test-stpncpy-ifunc.c: Likewise.
43019         * string/test-strcasecmp-ifunc.c: Likewise.
43020         * string/test-strcasestr-ifunc.c: Likewise.
43021         * string/test-strcat-ifunc.c: Likewise.
43022         * string/test-strchr-ifunc.c: Likewise.
43023         * string/test-strchrnul-ifunc.c: Likewise.
43024         * string/test-strcmp-ifunc.c: Likewise.
43025         * string/test-strcpy-ifunc.c: Likewise.
43026         * string/test-strcspn-ifunc.c: Likewise.
43027         * string/test-strlen-ifunc.c: Likewise.
43028         * string/test-strncasecmp-ifunc.c: Likewise.
43029         * string/test-strncat-ifunc.c: Likewise.
43030         * string/test-strncmp-ifunc.c: Likewise.
43031         * string/test-strncpy-ifunc.c: Likewise.
43032         * string/test-strnlen-ifunc.c: Likewise.
43033         * string/test-strpbrk-ifunc.c: Likewise.
43034         * string/test-strrchr-ifunc.c: Likewise.
43035         * string/test-strspn-ifunc.c: Likewise.
43036         * string/test-strstr-ifunc.c: Likewise.
43038         * debug/Makefile (tests-ifunc): New variable.
43039         (tests): Add $(tests-ifunc).
43040         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43041         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43042         * debug/test-stpcpy_chk-ifunc.c: New file.
43043         * debug/test-strcpy_chk-ifunc.c: Likewise.
43045 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43047         [BZ #13601]
43048         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43049         header is not read in.
43051 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43053         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43054         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43055         directly.  Pass built executable to script as
43056         $(built-program-cmd).
43057         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43058         $testprogram without using LD_LIBRARY_PATH and $ldso.
43060         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43061         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43062         $(rtld-installed-name).
43063         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43064         (rtld_installed_name): Likewise.
43065         (library_path): Likewise.
43066         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43067         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43068         $(run-program-prefix) to tst-tables.sh.
43069         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43070         it to run tst-table-from and tst-table-to.
43071         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43072         Pass it to tst-table.sh.
43073         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43074         $(run-program-prefix) to tst-gettext.sh.
43075         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43076         tst-translit.sh.
43077         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43078         tst-gettext2.sh.
43079         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43080         to run tst-gettext.
43081         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43082         to run tst-gettext2.
43083         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43084         to run tst-translit.
43085         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43086         $(run-program-prefix) to tst-mtrace.sh.
43087         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43088         to run tst-mtrace.
43089         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43090         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43091         $(rtld-installed-name).
43092         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43093         (rtld_installed_name): Likewise.
43094         (run_program_prefix): New variable.  Use it to run wordexp-test.
43096         * Makeconfig (ARCH): Remove all definitions.
43097         (machine): Likewise.
43098         [ARCH]: Remove conditional code.
43099         [!objdir]: Give error.
43100         [!objdir] (objpfx): Remove.
43101         [!objdir] (common-objpfx): Likewise.
43102         [!objdir] (common-objdir): Likewise.
43103         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43104         AC_CONFIG_FILES call.
43105         * configure: Regenerated.
43107         [BZ #13888]
43108         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43109         or TMPDIR.
43110         (testout): Likewise.
43112         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43113         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43114         $(rtld-installed-name).
43115         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43116         (rtld_installed_name): Likwise.
43117         (runit): Remove function.
43118         (run_getconf): New variable,  Use it for running getconf binary.
43120 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43122         [BZ #14716]
43123         * string/test-memmem.c (check_result): New function.
43124         (do_one_test): Use it.
43125         (check1): New function.
43126         (test_main): Use it.
43128 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43130         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43132 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43134         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43135         (_G_LSEEK64): Likewise.
43136         (_G_MMAP64): Likewise.
43137         (_G_FSTAT64): Likewise.
43138         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43139         (_G_LSEEK64): Likewise.
43140         (_G_MMAP64): Likewise.
43141         (_G_FSTAT64): Likewise.
43142         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43143         unconditional.  Call __mmap64 directly.
43144         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43145         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43146         __lseek64 directly.
43147         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43148         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43149         __mmap64 directly.
43150         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43151         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43152         __lseek64 directly.
43153         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43154         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43155         __lseek64 directly.
43156         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43157         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43158         __lseek64 directly.
43159         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43160         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43161         __fxstat64 directly.
43162         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43163         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43164         unconditional.
43165         (freopen64) [!_G_OPEN64]: Remove conditional code.
43166         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43167         unconditional.
43168         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43169         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43170         unconditional.
43171         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43172         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43173         unconditional.
43174         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43175         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43176         unconditional.
43177         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43178         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43179         unconditional.
43180         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43181         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43182         unconditional.
43183         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43184         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43185         unconditional.
43186         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43188 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43190         [BZ #12140]
43191         * manual/memory.texi (Malloc Tunable Parameters): Add note
43192         about free list pointers overwriting some perturb bytes.
43193         Wording suggested by Roland McGrath.
43195 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43197         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43198         (lgamma_test): Likewise.
43199         (tgamma_test): Likewise.
43201 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43203         [BZ #14700]
43204         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43205         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43207 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43209         * NEWS: Mention BZ #14716.
43210         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43211         when removing AVAILABLE1_USES_J macro.
43213 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43215         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43216         (__bswap_64): __uint64_t for unsigned 64-bit int.
43218 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43220         * include/string.h (memmem): Declare libc hidden alias.
43221         * string/memmem.c (memmem): Define libc hidden alias.
43222         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43223         __read, __close instead of open, read, close.
43225 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43227         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43228         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43229         global and hidden.
43230         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43231         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43232         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43233         Likewise.
43234         (__rawmemchr_sse2): Likewise.
43235         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43236         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43237         (__strchr_sse2): Likewise.
43238         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43239         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43240         (__strcasecmp_sse2): Likewise.
43241         (__strncasecmp_sse2): Likewise.
43242         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43243         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43244         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43245         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43246         (__strrchr_sse2): Likewise.
43247         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43248         ifunc-impl-list.c.
43249         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43250         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43251         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43252         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43253         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43254         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43255         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43256         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43257         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43258         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43259         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43260         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43261         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43262         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43263         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43264         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43265         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43266         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43267         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43268         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43269         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43270         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43271         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43272         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43273         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43274         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43275         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43276         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43277         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43278         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43280         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43281         global and hidden.
43282         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43283         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43284         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43285         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43286         Likewise.
43287         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43288         Likewise.
43289         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43290         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43291         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43292         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43293         ifunc-impl-list.c.
43294         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43295         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43296         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43297         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43298         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43299         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43300         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43301         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43302         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43303         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43304         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43305         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43306         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43307         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43308         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43309         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43310         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43311         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43312         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43313         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43314         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43315         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43316         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43317         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43318         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43319         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43320         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43321         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43322         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43323         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43324         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43325         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43326         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43327         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43328         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43329         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43330         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43331         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43332         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43333         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43334         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43336         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43337         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43338         * include/ifunc-impl-list.h: New file.
43339         * misc/ifunc-impl-list.c: Likewise.
43340         * misc/Makefile (routines): Add ifunc-impl-list.
43341         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43342         * string/test-string.h: Include <ifunc-impl-list.h>.
43343         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43344         TEST_NAME]: New variables.
43345         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43346         are defined.
43347         (test_init): Call __libc_ifunc_impl_list to initialize
43348         func_list if TEST_IFUNC and TEST_NAME are defined.
43350         * string/Makefile (strop-tests): Add bcopy and bzero.
43351         * string/test-bcopy.c: New file.
43352         * string/test-bzero.c: Likewise.
43353         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43354         defined.
43355         * string/test-memset.c: Support bzero test if TEST_BZERO is
43356         defined.
43357         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43358         __libc_memmove.
43359         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43360         __libc_memset.
43361         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43362         of memset.
43364 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43366         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43367         * configure: Regenerated.
43369         * Makeconfig (+link-static-before-libc): Don't include
43370         $(link-static-libc).
43372         * libio/libio.h (_IO_pos_t): Remove.
43374 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43376         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43377         McGrath.
43379 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43381         * crypt/crypt-entry.c: Include fips-private.h.
43382         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43383         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43384         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43385         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43387 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43389         * crypt/crypt-private.h: Include stdbool.h.
43390         (_ufc_setup_salt_r): Return bool.
43391         * crypt/crypt-entry.c: Include errno.h.
43392         (__crypt_r): Return NULL with EINVAL for bad salt.
43393         * crypt/crypt_util.c (bad_for_salt): New.
43394         (_ufc_setup_salt_r): Check that salt is long enough and within
43395         the specified alphabet.
43396         * crypt/badsalttest.c: New file.
43397         * crypt/Makefile (tests): Add it.
43398         ($(objpfx)badsalttest): New.
43400 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43402         * NEWS: Add entry for BZ #14602.
43404 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43406         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43407         type-generic.
43408         * math/libm-test.inc: Update comment listing what functions and
43409         macros are tested.
43410         (isgreater_test): New function.
43411         (isgreaterequal_test): Likewise.
43412         (isless_test): Likewise.
43413         (islessequal_test): Likewise.
43414         (islessgreater_test): Likewise.
43415         (isunordered_test): Likewise.
43416         (main): Call the new functions.
43418 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43420         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43421         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43422         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43423         * sysdeps/i386/configure: Regenerated.
43424         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43425         * sysdeps/mach/configure: Regenerated.
43426         * sysdeps/mach/hurd/configure: Regenerated.
43427         * sysdeps/powerpc/configure: Regenerated.
43428         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43429         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43430         * sysdeps/s390/s390-32/configure: Regenerated.
43431         * sysdeps/s390/s390-64/configure: Regenerated.
43432         * sysdeps/sh/configure: Regenerated.
43433         * sysdeps/sparc/configure: Regenerated.
43434         * sysdeps/unix/sysv/linux/configure: Regenerated.
43435         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43436         * sysdeps/x86_64/configure: Regenerated.
43438         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43439         defined.  Don't check if MAP is NULL.
43441 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43443         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43444         (_G_stat64): Likewise.
43445         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43446         (_G_stat64): Likewise.
43447         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43448         instead of struct _G_stat64.
43449         * libio/fileops.c (mmap_remap_check): Likewise.
43450         (decide_maybe_mmap): Likewise.
43451         (_IO_new_file_seekoff): Likewise.
43452         (_IO_file_stat): Likewise.
43453         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43454         _G_off64_t.
43455         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43456         instead of struct _G_stat64.
43457         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43459 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43461         [BZ #14602]
43462         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43463         Replace with ...
43464         (CHECK_EOL): New macro.
43465         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43466         CHECK_EOL.
43467         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43468         Replace with CHECK_EOL.
43469         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43470         Replace with CHECK_EOL.
43472 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43474         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43475         type-generic.
43476         * math/libm-test.inc: Update comment listing what functions and
43477         macros are tested.
43478         (finite_test): New function.
43479         (isinf_test): Likewise.
43480         (isnan_test): Likewise.
43481         (fpclassify_test): Test subnormal input.
43482         (isfinite_test): Likewise.
43483         (isnormal_test): Likewise.
43484         (main): Call the new functions.
43486 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43488         [BZ #14660]
43489         * Makerules (%.dynsym): Force C locale when running
43490         $(OBJDUMP) --dynamic-syms.
43492 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43494         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43495         <stdint.h>.
43497 2012-10-06  David S. Miller  <davem@davemloft.net>
43499         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43500         upper 32-bits of the length value in %o2 since we use branch-on-register
43501         tests which consider the entire 64-bit register.
43503 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43505         * string/test-strstr.c (check2): Add a test for page boundary.
43507 2012-10-05  David S. Miller  <davem@davemloft.net>
43509         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43510         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43511         file.
43512         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43513         sysdep_routines.
43514         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43515         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43516         and bzero when HWCAP_SPARC_CRYPTO is present.
43518 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43520         [BZ #14602]
43521         * string/test-strstr.c (check2): New function.
43522         (test_main): Call check2.
43524         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43525         and bug-strchr1.
43526         * string/bug-strcasestr1.c (do_test): Moved to ...
43527         * string/test-strcasestr.c (check1): Here.  New function.
43528         (do_one_test): Break out result checking code into ...
43529         (check_result): This.  New function.
43530         (do_one_test): Call check_result.
43531         (test_main): Call check1.
43532         * string/bug-strchr1.c (do_test): Moved to ...
43533         * string/test-strchr.c (check1): Here.  New function.
43534         (do_one_test): Break out result checking code into ...
43535         (check_result): This.  New function.
43536         (do_one_test): Call check_result.
43537         (test_main): Call check1.
43538         * string/bug-strstr1.c (main): Moved to ...
43539         * string/test-strstr.c (check1): Here.  New function.
43540         (do_one_test): Break out result checking code into ...
43541         (check_result): This.  New function.
43542         (do_one_test): Call check_result.
43543         (test_main): Call check1.
43544         * string/bug-strcasestr1.c: Removed.
43545         * string/bug-strchr1.c: Likewise.
43546         * string/bug-strstr1.c: Likewise.
43548         * elf/Makefile (dl-routines): Add hwcaps.
43549         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43550         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43551         (_dl_important_hwcaps): Moved to ...
43552         * elf/dl-hwcaps.c: Here.  New file.
43553         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43555         [BZ #14557]
43556         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43557         if IS_IN_rtld isn't defined.
43559         * elf/dl-support.c (_dl_sysinfo_map): New.
43560         Include "get-dynamic-info.h" and "setup-vdso.h".
43561         (_dl_non_dynamic_init): Call setup_vdso.
43562         * elf/dynamic-link.h: Don't include <assert.h>.
43563         (elf_get_dynamic_info): Moved to ...
43564         * elf/get-dynamic-info.h: Here.  New file.
43565         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43566         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43567         * elf/setup-vdso.h: Here.  New file.
43568         * elf/rtld.c: Include "setup-vdso.h".
43569         (dl_main): Call setup_vdso.
43571 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43573         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43574         creal in comment listing functions tested.  List finite, isinf,
43575         isnan, isless, islessequal, isgreater, isgreaterequal,
43576         islessgreater, isunordered, lgamma_r and pow10 as functions and
43577         macros not tested.  Mention which functions not tested are aliases
43578         for other functions.  Fix typo.  Note that signs of NaNs are not
43579         tested.
43581         * scripts/config.guess: Update from config.git.
43582         * scripts/config.sub: Likewise.
43584 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43586         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43587         * misc/madvise.c (madvise): Renamed to __madvise.
43588         Make madvise a weak alias.
43589         * include/sys/mman.h: Declare __madvise.
43590         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43591         * sysdeps/unix/syscalls.list
43592         (madvise): Make __madvise the strong name, and madvise a weak alias.
43593         * sysdeps/unix/sysv/linux/syscalls.list
43594         (madvise, mmap): Remove redundant entries.
43595         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43596         * malloc/malloc.c (mtrim): Likewise.
43597         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43599 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43601         * sysdeps/mach/hurd/dl-cache.c: File removed.
43602         * config.h.in (USE_LDCONFIG): New #undef.
43603         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43604         * configure: Regenerated.
43605         * elf/Makefile (dl-routines): Add dl-cache only under
43606         [$(use-ldconfig) = yes].
43607         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43608         cache on [USE_LDCONFIG].
43609         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43610         [USE_LDCONFIG].
43611         * elf/rtld.c (dl_main): Likewise.
43613 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43615         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43616         _SC_LEVEL4_CACHE_LINESIZE.
43618 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43620         * sysdeps/unix/bsd/confstr.h: File removed.
43622 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43624         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43625         sys/sdt-config.h.
43627 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43629         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43630         Make 'mapoff' field ElfW(Off) rather than off_t.
43632 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43634         * nscd/Makefile: Remove nscd-cflags and all its users.
43635         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43636         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43638         [BZ #10631]
43639         * malloc.c (malloc_printerr): Clarify error message.
43641 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43643         [BZ #14648]
43644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43645         Set bit_FMA_Usable if FMA is supported.
43646         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43647         macro.
43648         (bit_FMA4_Usable): Updated.
43649         (index_FMA_Usable): New macro.
43650         (CPUID_FMA): Likewise
43651         (HAS_FMA): Defined with bit_FMA_Usable.
43653 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43655         * bits/types.h (__swblk_t): Type removed.
43656         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43657         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43658         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43659         (__SWBLK_T_TYPE): Likewise.
43660         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43661         (__SWBLK_T_TYPE): Likewise.
43662         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43663         (__SWBLK_T_TYPE): Likewise.
43664         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43665         (__SWBLK_T_TYPE): Likewise.
43667 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43668             Honza Horak <hhorak@redhat.com>
43670         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43671         (xdr_mapname): Use YPMAXMAP as maxsize.
43672         (xdr_peername): Use YPMAXPEER as maxsize.
43673         (xdr_keydat): Use YPAXRECORD as maxsize.
43674         (xdr_valdat): Use YPMAXRECORD as maxsize.
43676 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43678         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43680         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43681         * csu/init-first.c: ... here.
43682         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43683         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43684         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43685         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43686         * sysdeps/i386/init-first.c: File removed.
43687         * sysdeps/sh/init-first.c: File removed.
43689 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43691         [BZ #14645]
43692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43693         if x * y might underflow to zero and z is zero.
43694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43695         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43696         * math/libm-test.inc (min_subnorm_value): New variable.
43697         (fma_test): Add more tests.
43698         (fma_test_towardzero): Likewise.
43699         (fma_test_downward): Likewise
43700         (fma_test_upward): Likewise.
43701         (initialize): Set min_subnorm_value.
43703 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43705         [BZ #14638]
43706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43707         0 + 0.
43708         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43709         mode for addition resulting in exact zero.
43710         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43711         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43712         exact 0 + 0.
43713         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43714         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43715         * math/libm-test.inc (fma_test): Add more tests.
43716         (fma_test_towardzero): New function.
43717         (fma_test_downward): Likewise.
43718         (fma_test_upward): Likewise.
43719         (main): Call the new functions.
43721 2012-09-28  David S. Miller  <davem@davemloft.net>
43723         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43725 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43727         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43728         instead of SIGALRM.
43730         * sysdeps/gnu/_G_config.h: Moved to ...
43731         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43732         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43733         * sysdeps/generic/_G_config.h: ... here.
43735         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43737         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43739         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43740         Conditionalize target on [libnss_test1.so-version].
43742         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43744         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43745         (elfobjdir): Move out of conditionals.
43747         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43748         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43749         (__nss_lookup_function): Conditionalize label remove_from_tree on
43750         [!DO_STATIC_NSS || SHARED], matching its only use.
43752 2012-09-28  David S. Miller  <davem@davemloft.net>
43754         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43755         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43756         file.
43757         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43758         sysdep_routines.
43759         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43760         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43761         when HWCAP_SPARC_CRYPTO is present.
43763 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43765         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43767 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43769         [BZ #6530]
43770         * stdio-common/vfprintf.c (process_string_arg): Revert
43771         2000-07-22 change.
43773 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43775         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43776         for testcase.
43777         * stdio-common/tst-sprintf.c: Include <locale.h>
43778         (main): Test sprintf's handling of incomplete multibyte
43779         characters.
43781 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43783         * elf/dl-runtime.c (VERSYMIDX): Removed.
43784         * elf/dl-version.c (VERSYMIDX): Likewise.
43785         * elf/do-rel.h (VERSYMIDX): Likewise.
43786         (VALIDX): Likewise.
43787         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43788         * elf/rtld.c (VALIDX): Likewise.
43789         (ADDRIDX): Likewise.
43790         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43791         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43792         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43793         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43794         (VALIDX): Likewise.
43795         (ADDRIDX): Likewise.
43797 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43799         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43801 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43803         [BZ #11438]
43804         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43805         to global scope.
43806         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43807         addresses are in the same scope as 192.0.2/24.
43808         * posix/gai.conf: Document new scope table defaults.
43810 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43812         [BZ #5298]
43813         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43814         for ftell.  Compute offsets from write pointers instead.
43815         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43817 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43819         [BZ #14543]
43820         * libio/Makefile (tests): New test case tst-fseek.
43821         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43822         combination works in wide mode.
43823         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43824         state when the external buffer state changes.
43826 2012-09-27  David S. Miller  <davem@davemloft.net>
43828         [BZ #14376]
43829         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43830         pass reloc->r_addend in as the 'high' argument to
43831         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43835 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43837         * rt/tst-aio2.c: Include <pthread.h>.
43838         * rt/tst-aio3.c: Likewise.
43840 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43842         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43844 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43846         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43847         contents on [SHARED].
43849 2012-09-26  Marek Polacek  <polacek@redhat.com>
43851         [BZ #14530]
43852         [BZ #13741]
43853         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43854         for C++ and GCC <4.3 as well as for non GCC compilers.
43856 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43860 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43862         * Makefile.in (all, install): Declare with .PHONY.
43863         Reported by Michael Hope <michael.hope@linaro.org>.
43865 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43867         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43868         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43869         system header.
43870         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43871         Likewise.
43872         (sydep_routines): Add the new and the internal functions.
43873         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43874         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43876         (GLIBC_2.17): Add the new function.
43877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43878         (GLIBC_2.17): Likewise.
43879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43880         (GLIBC_2.17): Likewise.
43881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43882         (GLIBC_2.17): Likewise.
43883         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43885 2012-09-25  Alan Modra  <amodra@gmail.com>
43887         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43888         Add release barrier before setting once_control to say
43889         initialisation is done.  Add hints on lwarx.  Use macro in
43890         place of isync.
43891         (clear_once_control): Add release barrier.
43893 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43895         [BZ #13629]
43896         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43897         specially.
43898         * math/s_clog10.c (__clog10): Likewise.
43899         * math/s_clog10f.c (__clog10f): Likewise.
43900         * math/s_clog10l.c (__clog10l): Likewise.
43901         * math/s_clogf.c (__clogf): Likewise.
43902         * math/s_clogl.c (__clogl): Likewise.
43903         * math/Makefile (libm-calls): Add x2y2m1.
43904         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43905         (__x2y2m1): Likewise.
43906         (__x2y2m1l): Likewise.
43907         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43908         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43909         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43910         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43911         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43912         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43913         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43914         * sysdeps/i386/fpu/libm-test-ulps: Update.
43915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43917         [BZ #14621]
43918         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43919         int as type of variable DEPTH.
43920         (glob): Use size_t instead of int as type of variables NEWCOUNT
43921         and OLD_PATHC.
43923 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43925         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43926         Add s_sincosf-sse2.
43927         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43928         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43929         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43930         macros for using routine as __sincosf_ia32.
43931         Use macro for function declaration and weak_alias.
43932         * sysdeps/i386/fpu/libm-test-ulps: Update.
43934         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43935         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43937         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43938         subnormal argument.
43939         * math/s_cexpf.c (__cexpf): Likewise.
43940         * math/s_csinf.c (__csinf): Likewise.
43941         * math/s_csinhf.c (__csinhf): Likewise.
43942         * math/s_ctanf.c (__ctanf): Likewise.
43943         * math/s_ctanhf.c (__ctanhf): Likewise.
43944         * math/s_ccosh.c (__ccoshf): Likewise.
43945         * math/s_cexp.c (__cexpl): Likewise.
43946         * math/s_csin.c (__csin): Likewise.
43947         * math/s_csinh.c (__csinh): Likewise.
43948         * math/s_ctan.c (__ctan): Likewise.
43949         * math/s_ctanh.c (ctanh): Likewise.
43950         * math/s_ccoshl.c (__ccoshl): Likewise.
43951         * math/s_cexpl.c (__cexpl): Likewise.
43952         * math/s_csinl.c (__csinl): Likewise.
43953         * math/s_csinhl.c (__csinhl): Likewise.
43954         * math/s_ctanl.c (__ctanl): Likewise.
43955         * math/s_ctanhl.c (__ctanhl): Likewise.
43957 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43959         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43960         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43961         (_IO_off_t): Define to __off_t, not _G_off_t.
43962         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43963         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43964         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43965         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43966         type of __dummy and __dummy2 fields.
43967         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43968         (_G_ssize_t): Likewise.
43969         (_G_off_t): Likewise.
43970         (_G_pid_t): Likewise.
43971         (_G_uid_t): Likewise.
43972         (_G_wchar_t): Likewise.
43973         (_G_wint_t): Likewise.
43974         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43975         (_G_ssize_t): Likewise.
43976         (_G_off_t): Likewise.
43977         (_G_pid_t): Likewise.
43978         (_G_uid_t): Likewise.
43979         (_G_wchar_t): Likewise.
43980         (_G_wint_t): Likewise.
43981         * sysdeps/mach/hurd/_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.
43989 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43991         * malloc/arena.c: Include malloc-sysdep.h.
43992         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43993         is sufficient to shrink the heap or an unmap is needed.
43994         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43995         new function check_may_shrink_heap.
43996         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43997         new function check_may_shrink_heap.
43999 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44001         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44002         comments.
44004 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44006         * catgets/test-gencat.sh: Add "set -e".
44007         * elf/tst-pathopt.sh: Likewise.
44008         * grp/tst_fgetgrent.sh: Likewise.
44009         * iconvdata/run-iconv-test.sh: Likewise.
44010         * intl/tst-gettext.sh: Likewise.
44011         * intl/tst-gettext2.sh: Likewise.
44012         * intl/tst-gettext4.sh: Likewise.
44013         * intl/tst-gettext6.sh: Likewise.
44014         * intl/tst-translit.sh: Likewise.
44015         * io/ftwtest-sh: Likewise.
44016         * libio/test-freopen.sh: Likewise.
44017         * malloc/tst-mtrace.sh: Likewise.
44018         * posix/globtest.sh: Likewise.
44019         * posix/tst-getconf.sh: Likewise.
44020         * posix/wordexp-tst.sh: Likewise.
44021         * stdio-common/tst-printf.sh: Likewise.
44022         * stdio-common/tst-unbputc.sh: Likewise.
44023         * stdlib/tst-fmtmsg.sh: Likewise.
44024         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44025         * catgets/Makefile: Do not specify -e option when running
44026         testsuite shell scripts.
44027         * elf/Makefile: Likewise.
44028         * grp/Makefile: Likewise.
44029         * iconvdata/Makefile: Likewise.
44030         * intl/Makefile: Likewise.
44031         * io/Makefile: Likewise.
44032         * libio/Makefile: Likewise.
44033         * malloc/Makefile: Likewise.
44034         * posix/Makefile: Likewise.
44035         * stdio-common/Makefile: Likewise.
44036         * stdlib/Makefile: Likewise.
44037         * sysdeps/x86_64/Makefile: Likewise.
44039         * io/ftwtest-sh: Add copyright header.
44040         * posix/globtest.sh: Likewise.
44041         * posix/tst-getconf.sh: Likewise.
44042         * posix/wordexp-tst.sh: Likewise.
44043         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44045 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44047         [BZ #13679]
44048         * Makeconfig (+link): Defined as $(+link-static) if
44049         $(build-shared) isn't yes.
44050         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44051         isn't yes.
44052         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44054         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44056         [BZ #14562]
44057         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44058         new chunk size with MALLOC_ALIGN_MASK.
44060 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44062         [BZ #5044]
44063         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44064         <rounding-mode.h>.
44065         (__printf_fphex): Determine rounding using get_rounding_mode and
44066         round_away.
44067         * stdio-common/tst-printf-round.c (struct hex_test): New
44068         structure.
44069         (hex_tests): New variable.
44070         (test_hex_in_one_mode): New function.
44071         (do_test): Also run tests for hex float output.
44073 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44075         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44076         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44077         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44078         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44079         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44080         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44081         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44082         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44084 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44086         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44087         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44088         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44089         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44091 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44093         [BZ #14579]
44094         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44095         mode only.
44096         * elf/tst-rtld-load-self.sh: New test.
44097         * elf/Makefile: Run it.
44099 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44101         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44102         (tst-writev-ENV): Remove.
44103         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44105 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44107         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44109 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44111         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44112         unconditional.
44113         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44114         Likewise.
44115         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44116         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44117         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44118         Likewise.
44120 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44122         [BZ #14587]
44123         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44124         * config.make.in (have-cpp-asm-debuginfo): Removed.
44125         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44126         * configure: Regenerated.
44128 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44130         [BZ #5044]
44131         * stdio-common/printf_fp.c: Include <stdbool.h> and
44132         <rounding-mode.h>.
44133         (___printf_fp): Determine rounding using get_rounding_mode and
44134         round_away.
44135         * stdio-common/tst-printf-round.c: New file.
44136         * stdio-common/Makefile (tests): Add tst-printf-round.
44137         (link-libm): New variable.
44138         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44140 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44142         [BZ #14576]
44143         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44144         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44145         Likewise.
44146         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44147         Likewise.
44149 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44151         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44152         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44153         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44154         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44156 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44158         [BZ #14518]
44159         * include/rounding-mode.h: New file.
44160         * sysdeps/generic/get-rounding-mode.h: Likewise.
44161         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44162         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44163         (MAX_VALUE): New macro.
44164         (MIN_VALUE): Likewise.
44165         (overflow_value): New function.
44166         (underflow_value): Likewise.
44167         (round_and_return): Use overflow_value and underflow_value to
44168         determine return values in overflow and underflow cases.  Use
44169         round_away to determine rounding depending on rounding mode.
44170         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44171         determine return values in overflow and underflow cases.
44172         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44173         (struct test_results): New structure.
44174         (struct test): Use struct test_results to store expected results
44175         for all rounding modes.
44176         (TEST): Include expected results for all rounding modes.
44177         (test_in_one_mode): New function.
44178         (do_test): Use test_in_one_mode to compute and check results.
44179         Check results for all rounding modes.
44180         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44181         $(link-libm).
44183 2012-12-09  Allan McRae  <allan@archlinux.org>
44185         * sysdeps/i386/fpu/libm-test-ulps: Update
44187 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44189         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44190         (_G_int32_t): Likewise.
44191         (_G_uint16_t): Likewise.
44192         (_G_uint32_t): Likewise.
44193         (_G_HAVE_BOOL): Likewise.
44194         (_G_HAVE_ATEXIT): Likewise.
44195         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44196         (_G_HAVE_IO_FILE_OPEN): Likewise.
44197         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44198         (_G_int32_t): Likewise.
44199         (_G_uint16_t): Likewise.
44200         (_G_uint32_t): Likewise.
44201         (_G_HAVE_BOOL): Likewise.
44202         (_G_HAVE_ATEXIT): Likewise.
44203         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44204         (_G_HAVE_IO_FILE_OPEN): Likewise.
44205         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44206         (_G_int32_t): Likewise.
44207         (_G_uint16_t): Likewise.
44208         (_G_uint32_t): Likewise.
44209         (_G_HAVE_BOOL): Likewise.
44210         (_G_HAVE_ATEXIT): Likewise.
44211         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44212         (_G_HAVE_IO_FILE_OPEN): Likewise.
44214 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44216         * csu/libc-tls.c: Update copyright years.
44218 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44220         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44221         [!_G_USING_THUNKS]: Remove conditional code.
44222         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44223         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44225         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44226         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44227         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44228         (_G_VTABLE_LABEL_PREFIX): Likewise.
44229         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44230         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44231         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44232         (_G_VTABLE_LABEL_PREFIX): Likewise.
44233         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44234         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44235         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44236         (_G_VTABLE_LABEL_PREFIX): Likewise.
44237         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44239 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44241         * libio/Makefile: Include ../Makeconfig before tests.
44242         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44243         only if $(build-shared) is yes.
44245         * iconv/gconv_db.c: Update copyright years.
44247 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44249         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44250         unwind info if defined PIC. Fix special cases description.
44251         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44253         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44254         DP_HI_MASK entry.
44255         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44257 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44259         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44261         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44262         is NULL.
44264         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44265         (LDLIBS-tst-chk4): This.
44266         (LDFLAGS-tst-chk5): Renamed to ...
44267         (LDLIBS-tst-chk5): This.
44268         (LDFLAGS-tst-chk6): Renamed to ...
44269         (LDLIBS-tst-chk6): This.
44270         (LDFLAGS-tst-lfschk4): Renamed to ...
44271         (LDLIBS-tst-lfschk4): This.
44272         (LDFLAGS-tst-lfschk5): Renamed to ...
44273         (LDLIBS-tst-lfschk5): This.
44274         (LDFLAGS-tst-lfschk6): Renamed to ...
44275         (LDLIBS-tst-lfschk6): This.
44277         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44278         on $(common-objpfx)soversions.mk.
44280 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44282         [BZ #10014]
44283         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44284         example host name.
44286 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44288         * malloc/arena.c (arena_get_retry): New function that gets
44289         another arena for the caller to try its request on.
44290         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44291         current arena cannot fulfill the request.
44292         (__libc_memalign): Likewise.
44293         (__libc_memalign): Likewise.
44294         (__libc_pvalloc): Likewise.
44295         (__libc_calloc): Likewise.
44297 2012-09-05  John Tobey  <john.tobey@gmail.com>
44299         [BZ #13542]
44300         * manual/arith.texi (Operations on Complex): Fix description
44301         of carg branch cut.
44303 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44305         [BZ #10014]
44306         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44307         host name.
44309         [BZ #10038]
44310         * manual/memory.texi (Memory): Make order of menu items match
44311         order of sections.
44313 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44315         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44316         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44317         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44319 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44321         * csu/libc-tls.c (static_dtv): Renamed to ...
44322         (_dl_static_dtv): This.  Make it global.
44323         (_dl_initial_dtv): Removed.
44324         (__libc_setup_tls): Updated.
44325         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44326         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44327         DL_INITIAL_DTV.
44329 2012-09-06  Petr Machata  <pmachata@redhat.com>
44331         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44332         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44333         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44334         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44336 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44338         [BZ #14545]
44339         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44340         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44341         freeing dtv[-1].
44343 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44345         [BZ #14544]
44346         * Makeconfig (link-static-before-libc): Replace $(+prector)
44347         with $(+prectorT).
44348         (link-static-after-libc): Replace $(+postctor) with
44349         $(+postctorT).
44350         (link-bounded): Replace $(+prector)/$(+postctor) with
44351         $(+prectorT)/$(+postctorT).
44352         (+prectorT): New macro.
44353         (+postctorT): Likewise.
44355 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44357         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44358         (round_str): Handle values above the maximum for IBM long double
44359         as inexact.
44360         * stdlib/tst-strtod-round.c (tests): Regenerated.
44362 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44364         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44365         assembler flag.
44366         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44367         zarch_nohighgprs around the zarch optimized routines.
44368         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44369         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44370         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44371         for zarch.
44373 2012-09-05  David S. Miller  <davem@davemloft.net>
44375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44377         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44378         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44379         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44380         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44381         entries.
44383 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44385         * malloc/arena.c: Fold copyright years.
44386         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44388 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44390         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44392 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44394         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44396 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44398         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44399         change internal state upon failure.
44401 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44403         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44404         * malloc/memusage.c (mmap): Likewise.
44405         (mmap64, mremap): Likewise.  Adjust name in comment.
44407 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44409         * libio/fileops.c: Fix typos in comments.
44410         * libio/oldfileops.c: Likewise.
44411         * libio/wfileops.c: Likewise.
44413 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44415         [BZ #1349]
44416         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44417         (tst-malloc-usable-ENV): Set environment for test case.
44418         * malloc/hooks.c (malloc_check_get_size): New function to get
44419         requested size.
44420         * malloc/malloc.c (musable): Use malloc_check_get_size.
44421         * malloc/tst-malloc-usable.c: New test case.
44423 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44425         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44427 2012-09-05  Allan McRae  <allan@archlinux.org>
44429         [BZ #13966]
44430         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44431         determine header location.
44432         * configure: Regenerated.
44434 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44436         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44437         float format.
44438         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44439         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44440         format.
44441         (test): Regenerate.
44443 2012-09-04  David S. Miller  <davem@davemloft.net>
44445         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44446         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44447         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44449 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44451         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44452         failures.
44454         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44456 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44458         [BZ #9914]
44459         * libio/iogetdelim.c: Include <limits.h>.
44460         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44461         + len + 1 would overflow.
44463 2012-09-03  Andreas Jaeger  <aj@suse.de>
44465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44466         * sysdeps/i386/fpu/libm-test-ulps: Update.
44468 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44470         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44471         Add s_sinf-sse2, s_conf-sse2.
44473         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44474         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44475         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44476         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44478         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44479         for using routine as __sinf_ia32.
44480         Use macro for function declaration and weak_alias.
44481         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44482         for using routine as __cosf_ia32.
44483         Use macro for function declaration and weak_alias.
44485         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44486         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44488         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44489         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44492         * math/libm-test.inc (cos_test): Add more test cases.
44493         (sin_test): Likewise.
44494         (sincos_test): Likewise.
44496 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44498         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44499         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44500         hidden.
44501         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44503 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44505         [BZ #14538]
44506         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44507         first element of the GOT.
44508         (elf_machine_load_address): Return the difference between
44509         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44511 2012-09-01  Allan McRae  <allan@archlinux.org>
44513         [BZ #13412]
44514         * configure.in (AWK): Require gawk version 3.0 or later.
44515         * configure: Regenerated.
44517 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44519         * sysdeps/unix/sysv/linux/kernel-features.h
44520         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44521         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44522         [__NR_clock_getres]: Make code unconditional.
44523         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44524         (clock_getcpuclockid): Remove code left unreachable by removal of
44525         conditionals.
44526         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44527         code unconditional.
44528         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44529         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44530         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44531         Make code unconditional.
44532         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44533         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44534         * sysdeps/unix/sysv/linux/clock_settime.c
44535         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44536         conditional code.
44537         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44538         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44540 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44542         [BZ #14476]
44543         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44544         scripts/test-installation.pl.
44546         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44547         and $ld_so_version if it is set.
44549 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44551         [BZ #14516]
44552         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44553         failure if reading from procfs failed.
44554         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44556 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44558         * sysdeps/unix/sysv/linux/kernel-features.h
44559         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44560         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44561         Remove conditional code.
44562         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44563         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44564         Remove conditional code.
44565         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44566         * sysdeps/unix/sysv/linux/i386/fxstat.c
44567         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44568         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44569         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44570         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44571         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44572         * sysdeps/unix/sysv/linux/i386/lxstat.c
44573         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44574         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44575         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44576         Remove conditional code.
44577         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44578         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44579         Remove conditional code.
44580         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44581         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44582         <kernel-features.h>.
44583         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44584         Remove.
44585         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44586         Remove conditional code.
44587         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44588         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44589         Remove conditional.
44591 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44593         [BZ #5400]
44594         * NEWS: Add fixed bug number.
44596 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44598         [BZ #14519]
44599         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44600         underflowing exponent in case of negative sign.
44601         * stdlib/tst-strtod-round-data: Add more tests.
44602         * stdlib/tst-strtod-round.c (tests): Regenerated.
44604         [BZ #3479]
44605         * stdlib/strtod_l.c (NDIG): Remove.
44606         (HEXNDIG): Likewise.
44607         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44608         smallest representable value.
44609         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44610         lie within an exact representation of 1/2 ulp of the result.
44611         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44612         unconditionally.
44613         (TENS_P9_IDX): Define unconditionally.
44614         (TENS_P9_SIZE): Likewise.
44615         (TENS_P10_IDX): Likewise.
44616         (TENS_P10_SIZE): Likewise.
44617         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44618         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44619         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44620         entries for 10^2^13 and 10^2^14.
44621         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44622         (TENS_P13_IDX): Define.
44623         (TENS_P13_SIZE): Likewise.
44624         (TENS_P14_IDX): Likewise.
44625         (TENS_P14_SIZE): Likewise.
44626         (_fpioconst_pow10): Change array size to
44627         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44628         unconditional.
44629         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44630         1024]: Add entries for 10^2^13 and 10^2^14.
44631         [LAST_POW10 > _LAST_POW10]: Remove #error.
44632         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44633         (_fpioconst_pow10): Change array size to
44634         FPIOCONST_POW10_ARRAY_SIZE.
44635         * stdlib/gen-fpioconst.c: New file.
44636         * stdlib/gen-tst-strtod-round.c: Likewise.
44637         * stdlib/tst-strtod-round-data: Likewise.
44638         * stdlib/tst-strtod-round.c: Likewise.
44639         * stdlib/Makefile (tests): Add tst-strtod-round.
44641         [BZ #14459]
44642         * stdlib/strtod_l.c: Include <stdint.h>.
44643         (NDEBUG): Do not define.
44644         (round_and_return): Change EXPONENT parameter to type intmax_t.
44645         Rearrange calculations to avoid internal overflow possibilities.
44646         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44647         Rearrange calculations to avoid internal overflow possibilities.
44648         Assert that number fits inside MPNSIZE limbs.
44649         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44650         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44651         calculations and add assertions to avoid internal overflow
44652         possibilities.  Add casts to avoid signed/unsigned operations.
44653         * stdlib/tst-strtod-overflow.c: New file.
44654         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44656 2012-08-25  Marek Polacek  <polacek@redhat.com>
44658         * time/time.h: Fix some typos in comments.
44660 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44662         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44663         * posix/tst-rfc3484-2.c: Likewise.
44664         * posix/tst-rfc3484-3.c: Likewise.
44666 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44668         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44669         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44671 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44673         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44674         #include of fxstatat64.c.
44676 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44678         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44679         * shadow/getspent_r.c: Likewise.
44680         * shadow/getspnam.c: Likewise.
44681         * shadow/getspnam_r.c: Likewise.
44682         * gshadow/getsgent.c: Likewise.
44683         * gshadow/getsgent_r.c: Likewise.
44684         * gshadow/getsgnam.c: Likewise.
44685         * gshadow/getsgnam_r.c: Likewise.
44686         * inet/getnetbyad.c: Likewise.
44687         * inet/getnetbyad_r.c: Likewise.
44688         * inet/getnetbynm.c: Likewise.
44689         * inet/getnetbynm_r.c: Likewise.
44690         * inet/getnetent.c: Likewise.
44691         * inet/getnetent_r.c: Likewise.
44692         * inet/getproto.c: Likewise.
44693         * inet/getproto_r.c: Likewise.
44694         * inet/getprtent.c: Likewise.
44695         * inet/getprtent_r.c: Likewise.
44696         * inet/getprtname.c: Likewise.
44697         * inet/getprtname_r.c: Likewise.
44698         * inet/getrpcbyname.c: Likewise.
44699         * inet/getrpcbyname_r.c: Likewise.
44700         * inet/getrpcbynumber.c: Likewise.
44701         * inet/getrpcbynumber_r.c: Likewise.
44702         * inet/getrpcent.c: Likewise.
44703         * inet/getrpcent_r.c: Likewise.
44704         * inet/getaliasent.c: Likewise.
44705         * inet/getaliasent_r.c: Likewise.
44706         * inet/getaliasname.c: Likewise.
44707         * inet/getaliasname_r.c: Likewise.
44708         * nscd/getgrgid_r.c: Likewise.
44709         * nscd/getgrnam_r.c: Likewise.
44710         * nscd/gethstbyad_r.c: Likewise.
44711         * nscd/gethstbynm3_r.c: Likewise.
44712         * nscd/getpwnam_r.c: Likewise.
44713         * nscd/getpwuid_r.c: Likewise.
44714         * nscd/getsrvbynm_r.c: Likewise.
44715         * nscd/getsrvbypt_r.c: Likewise.
44716         * nscd/gai.c: Likewise.
44718         * configure.in (build_nscd): New substituted variable, set
44719         by --disable-build-nscd and defaults to $use_nscd.
44720         * configure: Regenerated.
44721         * config.make.in (build-nscd): New substituted variable.
44722         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44723         Change conditional to require [$(build-nscd) = yes] as well.
44724         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44726         [BZ# 13696]
44727         * configure.in (use_nscd): New substituted variable, set by
44728         --disable-nscd.  If enabled, define USE_NSCD.
44729         * configure: Regenerated.
44730         * config.h.in: Add USE_NSCD.
44731         * config.make.in (use-nscd): New substituted variable.
44732         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44733         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44734         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44735         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44736         (CFLAGS-getgrnam_r.c): Likewise.
44737         (CFLAGS-initgroups.c): Likewise.
44738         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44739         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44740         Variables removed.
44741         * inet/getnetgrent_r.c
44742         (nscd_setnetgrent): New function, broken out of ...
44743         (setnetgrent): ... here.  Call it.
44744         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44745         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44746         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44747         * nscd/Makefile (routines, aux): Move definitions after include of
44748         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44749         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44750         Conditionalize on [USE_NSCD].
44751         (is_nscd, nscd_init_cb): Likewise.
44752         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44753         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44754         * nss/nss_db/db-init.c: Likewise.
44755         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44756         [USE_NSCD].
44757         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44758         (make_request): Use it.
44759         (cache_valid_p): New function.
44760         (__check_pf): Use it.
44761         * NEWS: Add item for --disable-nscd.
44763 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44765         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44766         to support sed >= 4.2.1-20-ga9bf076.
44767         * configure: Regenerated.
44769 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44771         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44772         Conditionalize whole body on [IREL].
44774 2012-08-22  Jeff Law <law@redhat.com>
44776         [BZ #14505]
44777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44778         if the family is PF_UNSPEC.
44780 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44782         * Makerules (lib-version): Rename from V.
44783         (install-lib-nosubdir): Change V to lib-version.
44785 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44787         [BZ #14252]
44788         * powerpc32/power6/wcschr.c: New file.
44789         * powerpc32/power6/wcscpy.c: New file.
44790         * powerpc32/power6/wcsrchr.c: New file.
44791         * powerpc64/power6/wcschr.c: New file.
44792         * powerpc64/power6/wcscpy.c: New file.
44793         * powerpc64/power6/wcsrchr.c: New file.
44795 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44797         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44798         (two_way_short_needle): Use it.
44799         * string/strstr.c (AVAILABLE1_USES_J): Define.
44800         * string/strcasestr.c: Likewise.
44802         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44803         array references.
44804         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44806         [BZ #11607]
44807         * NEWS: Add an entry.
44808         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44809         define their defaults.
44810         (two_way_short_needle): Detect end-of-string on-the-fly.
44811         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44812         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44813         * string/bug-strcasestr1.c: New test.
44814         * string/Makefile: Run it.
44816 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44818         [BZ #11607]
44819         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44820         the first character.
44822 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44824         * csu/elf-init.c (__libc_csu_irel): Function removed.
44825         * csu/libc-start.c (apply_irel): New function.
44826         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44828 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44830         * sysdeps/unix/sysv/linux/kernel-features.h
44831         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44832         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44833         <kernel-features.h>.
44834         [__NR_fadvise64_64]: Make code unconditional.
44835         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44836         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44837         !__NR_fadvise64_64)]: Likewise.
44838         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44839         !__NR_fadvise64_64))]: Likewise.
44840         [__NR_fadvise64]: Make code unconditional.
44841         [!__NR_fadvise64]: Remove conditional code.
44842         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44843         <kernel-features.h>.
44844         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44845         unconditional.
44846         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44847         conditional code.
44848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44849         not include <kernel-features.h>.
44850         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44851         unconditional.
44852         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44853         conditional code.
44854         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44855         include <kernel-features.h>.
44856         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44857         unconditional.
44858         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44859         conditional code.
44861 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44863         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44864         slight instruction rearrangements per scrollpipe analysis.
44865         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44867 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44869         * manual/syslog.texi (syslog; vsyslog, closelog):
44870         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44871         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44873         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44874         DSOCAPS to match condition on defining it.
44876 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44878         * sysdeps/unix/sysv/linux/kernel-features.h
44879         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44881         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44882         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44884         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44885         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44887         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44888         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44890         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44891         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44893         * sysdeps/unix/sysv/linux/kernel-features.h
44894         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44895         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44896         unconditional.
44897         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44898         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44899         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44900         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44901         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44902         Make code unconditional.
44903         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44904         (__mmap64) [!__NR_mmap2]: Likewise.
44905         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44906         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44907         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44908         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44909         [__NR_mmap2]: Make code unconditional.
44910         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44911         (__mmap64) [!__NR_mmap2]: Likewise.
44913 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44915         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44917 2012-08-18  Andreas Jaeger  <aj@suse.de>
44919         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44921 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44923         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44924         * include/unistd.h (__have_sock_cloexec): Likewise.
44925         (__have_pipe2): Likewise.
44926         (__have_dup3): Likewise.
44928 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44930         [BZ #9685]
44931         * include/unistd.h (__have_pipe2): Change define into an extern int.
44932         (__have_dup3): Likewise.
44933         * socket/have_sock_cloexec.c: Include fcntl.h.
44934         (__have_pipe2): New variable.
44935         (__have_dup3): Likewise.
44937 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44939         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44941 2012-08-17  Marek Polacek  <polacek@redhat.com>
44943         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44944         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44946 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44948         * configure.in: Add AC_SUBST for sysheaders.
44949         * configure: Regenerated.
44950         * config.make.in (sysheaders): New substituted variable.
44952         * sysdeps/unix/mkfifo.c: Moved ...
44953         * sysdeps/posix/mkfifo.c: ... here.
44954         * sysdeps/unix/mkfifoat.c: Moved ...
44955         * sysdeps/posix/mkfifoat.c: ... here.
44957         * sysdeps/unix/utime.c: Moved ...
44958         * sysdeps/posix/utime.c: ... here.
44960         * sysdeps/unix/time.c: Moved ...
44961         * sysdeps/posix/time.c: ... here.
44962         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44963         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44965         * sysdeps/unix/nice.c: Moved ...
44966         * sysdeps/posix/nice.c: ... here.
44968         * sysdeps/unix/alarm.c: Moved ...
44969         * sysdeps/posix/alarm.c: ... here.
44971         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44973 2012-08-17  Jeff Law <law@redhat.com>
44975         * intl/Makefile (codeset_mo): New variable.
44976         ($(codeset_mo)): New target.
44977         (tst-codeset.out): Depend on that.  Remove explicit rule.
44978         (tst-gettext3.out, tst-gettext5.out): Likewise.
44979         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44980         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44981         * intl/tst-codeset.sh: Remove.
44982         * intl/tst-gettext3.sh: Likewise.
44983         * intl/tst-gettext5.sh: Likewise.
44985 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44987         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44988         * sysdeps/unix/syscalls.list: ... here.
44990         * sysdeps/posix/getaddrinfo.c
44991         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44992         (gaiconf_init, gaiconf_reload): Use them.
44993         [!_STATBUF_ST_NSEC]
44994         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44995         Define using time_t rather than struct timespec.
44997         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44998         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44999         Macros removed.
45000         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45001         [!NO_THREADS].
45002         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45003         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45004         Likewise.
45006         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45007         __libc_cleanup_push argument.
45009         * bits/param.h: New file.
45010         * misc/sys/param.h: New file.
45011         * include/sys/param.h: New file.
45012         * misc/Makefile (headers): Add bits/param.h.
45013         * sysdeps/generic/sys/param.h: File removed.
45014         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45015         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45016         * sysdeps/mach/hurd/bits/param.h: New file.
45017         * sysdeps/mach/hurd/sys/param.h: File removed.
45019         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45020         last change.
45022         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45023         [_IO_MTSAFE_IO].
45024         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45025         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45026         New macros.
45028         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45029         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45030         rather than -D_IO_MTSAFE_IO conditionally.
45031         * stdio-common/Makefile (CPPFLAGS): Likewise.
45032         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45033         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45034         Use $(libio-mtsafe).
45035         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45036         of -D_IO_MTSAFE_IO.
45037         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45038         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45039         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45040         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45041         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45042         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45043         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45044         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45045         (CFLAGS-fread_u_chk.c): Likewise.
45046         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45047         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45048         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45049         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45050         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45051         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45052         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45053         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45054         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45056         * libio/Makefile: Test [$(libc-reentrant) = yes]
45057         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45059         * Makeconfig
45060         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45061         * sysdeps/pthread/configure: File removed.
45062         * sysdeps/pthread/Makeconfig: New file.
45063         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45064         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45066 2012-08-16  Gary Benson  <gbenson@redhat.com>
45068         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45069         unmapping the first object in a namespace.
45071 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45073         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45074         (__internal_setnetgrent): ... this.  Add internal_function to
45075         definition.  Add libc_hidden_def.
45076         (setnetgrent): Update caller.
45077         (internal_endnetgrent): Renamed to ...
45078         (__internal_endnetgrent): ... this.  Add internal_function to
45079         definition.  Add libc_hidden_def.
45080         (endnetgrent): Update caller.
45081         (internal_getnetgrent_r): Renamed to ...
45082         (__internal_getnetgrent_r): ... this.  Add internal_function to
45083         definition.  Add libc_hidden_def.
45084         (__getnetgrent_r): Update caller.
45085         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45087 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45089         * stdlib/longlong.h: Update from GCC.
45091 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45093         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45094         on _QL, which is set by umul_ppmm but never used.
45095         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45096         variables, which are set by GMP macros but never used.
45097         * stdio-common/_itowa.c (_itowa): Likewise.
45098         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45099         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45101 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45103         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45104         struct La_sh_regs is not constant.
45105         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45106         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45107         and struct La_sparc64_regs are not constant.
45109 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45111         * sysdeps/unix/sysv/linux/kernel-features.h
45112         (__ASSUME_POSIX_TIMERS): Remove.
45113         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45114         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45115         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45116         Make code unconditional.
45117         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45118         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45119         Make code unconditional.
45120         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45121         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45122         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45123         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45124         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45125         Make code unconditional.
45126         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45127         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45128         (__libc_missing_posix_timers): Remove.
45130 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45132         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45133         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45135         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45137         * elf/dl-sym.c: Include <stdlib.h>.
45139         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45140         constants, which avoids warnings in 32-bit builds.
45142         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45143         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45145         * misc/lseek.c: File moved to ...
45146         * io/lseek.c: ... here.
45148         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45150         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45151         shifting LEN more than 31 bits at once.
45153 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45155         [BZ #14195]
45156         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45157         segmentation fault for a case of two empty input strings.
45158         * string/test-strncasecmp.c (check1): Renamed to...
45159         (bz12205): ...this.
45160         (bz14195): Add new testcase for two empty input strings and N > 0.
45161         (test_main): Call new testcase, adapt for renamed function.
45163 2012-08-15  Andreas Jaeger  <aj@suse.de>
45165         [BZ #14090]
45166         * crypt/md5test2.c: New test, based on test supplied by Serge
45167         Belyshev <belyshev@depni.sinp.msu.ru>.
45168         * crypt/Makefile (xtests): Add md5test-giant..
45169         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45171 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45173         [BZ #14090]
45174         * crypt/md5.c (md5_process_block): Don't assume the buffer
45175         length is less than 2**32.
45176         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45177         length is less than 2**64.
45179 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45181         * string/str-two-way.h: Include <sys/param.h>.
45182         (MAX): Macro removed.
45184         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45185         Move #define and #undef of memmove to just before and after
45186         including <string.h>.
45188         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45189         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45190         and after including <string.h>.  Move declarations of
45191         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45192         to before #include "string/memmove.c".
45194         * include/dirent.h: Declare __getdirentries.
45196         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45197         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45199 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45201         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45202         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45203         * sysdeps/i386/configure: Regenerated.
45204         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45205         STABS_CURRENT_FILE, and STABS_FUN.
45206         (END): Remove call to STABS_FUN_END.
45207         (STABS_CURRENT_FILE1): Delete.
45208         (STABS_CURRENT_FILE): Likewise.
45209         (STABS_FUN): Likewise.
45210         (STABS_FUN_END): Likewise.
45211         (STABS_FUN2): Likewise.
45212         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45213         * sysdeps/x86_64/configure: Regenerated.
45215 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45217         * elf/dl-open.c: Include <atomic.h>.
45218         * elf/dl-lookup.c: Likewise.
45220 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45222         * sysdeps/unix/sysv/linux/kernel-features.h
45223         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45224         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45225         unconditionally.
45226         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45227         unconditionally.
45228         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45229         condition on __ASSUME_CLONE_THREAD_FLAGS.
45231 2012-08-14  Andreas Jaeger  <aj@suse.de>
45233         * sysdeps/i386/fpu/libm-test-ulps: Update.
45235 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45237         * include/atomic.h (atomic_exchange_and_add): Split into ...
45238         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45239         New atomic macros.
45241 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45245 2012-08-13  Jeff Law <law@redhat.com>
45247         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45248         null byte in the output string.
45250 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45252         * sysdeps/unix/sysv/linux/kernel-features.h
45253         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45254         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45255         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45256         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45257         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45258         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45259         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45261 2012-08-09  Jeff Law <law@redhat.com>
45263         [BZ #13939]
45264         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45265         When avoid_arena is set, don't retry in the that arena.  Pick the
45266         next one, whatever it might be.
45267         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45268         (arena_lock): Pass in new parameter to arena_get2.
45269         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45270         arena_get2.
45271         (__libc_malloc): Unify retrying after main arena failure with
45272         __libc_memalign version.
45273         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45275 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45277         [BZ #14166]
45278         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45279         to __redirect_strstr.
45280         (__strstr_sse42): Use typeof __redirect_strstr.
45281         (__strstr_ia32): Likewise.
45282         (__libc_strstr): New prototype.
45283         (strstr): Renamed to ...
45284         (__libc_strstr): This.
45285         (strstr): New strong alias of __libc_strstr.
45286         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45287         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45288         __redirect_time.
45289         Include <time.h>.
45290         (__libc_time): New prototype.
45291         (time_ifunc): Replace time with __libc_time.
45292         (time): New strong alias and hidden definition of __libc_time.
45293         (__GI_time): Remove strong alias.
45294         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45295         Include <stddef.h>.
45296         (memmove): Redefined to __redirect_memmove.
45297         (__memmove_sse2): Use typeof __redirect_memmove.
45298         (__memmove_ssse3): Likewise.
45299         (__memmove_ssse3_back): Likewise.
45300         (__libc_memmove): New prototype.
45301         (memmove): Renamed to ...
45302         (__libc_memmove): This.
45303         (memmove): New strong alias of __libc_memmove.
45305 2012-08-08  Mark Salter  <msalter@redhat.com>
45307         * elf/elf.h
45308         (R_MN10300_TLS_GD): Define.
45309         (R_MN10300_TLS_LD): Likewise.
45310         (R_MN10300_TLS_LDO): Likewise.
45311         (R_MN10300_TLS_GOTIE): Likewise.
45312         (R_MN10300_TLS_IE): Likewise.
45313         (R_MN10300_TLS_LE): Likewise.
45314         (R_MN10300_TLS_DTPMOD): Likewise.
45315         (R_MN10300_TLS_DTPOFF): Likewise.
45316         (R_MN10300_TLS_TPOFF): Likewise.
45317         (R_MN10300_SYM_DIFF): Likewise.
45318         (R_MN10300_ALIGN): Likewise.
45319         (R_MN10300_NUM): Update.
45321 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45323         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45324         Remove.
45326 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45328         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45330         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45331         sysdeps/unix -> sysdeps/posix move.
45332         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45334 2012-08-07      Allan McRae     <allan@archlinux.org>
45336         [BZ #14303]
45337         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45338         (SUNOS_CPP): Likewise.
45339         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45340         not found.
45341         (open_input): Call CPP using execvp.
45343 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45345         * sysdeps/unix/sysv/linux/kernel-features.h
45346         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45347         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45348         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45349         (__ASSUME_WAITID_SYSCALL): Likewise.
45350         * sysdeps/unix/sysv/linux/dl-execstack.c
45351         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45352         code unconditional.
45353         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45354         conditional code.
45355         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45356         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45357         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45358         code.
45359         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45360         unconditional.
45361         [__ASSUME_WAITID_SYSCALL]: Likewise.
45362         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45364 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45366         * sysdeps/unix/closedir.c: Renamed to ...
45367         * sysdeps/posix/closedir.c: ... here.
45368         * sysdeps/unix/dirfd.c: Renamed to ...
45369         * sysdeps/posix/dirfd.c: ... here.
45370         * sysdeps/unix/dirstream.h: Renamed to ...
45371         * sysdeps/posix/dirstream.h: ... here.
45372         * sysdeps/unix/fdopendir.c: Renamed to ...
45373         * sysdeps/posix/fdopendir.c: ... here.
45374         * sysdeps/unix/opendir.c: Renamed to ...
45375         * sysdeps/posix/opendir.c: ... here.
45376         * sysdeps/unix/readdir.c: Renamed to ...
45377         * sysdeps/posix/readdir.c: ... here.
45378         * sysdeps/unix/readdir_r.c: Renamed to ...
45379         * sysdeps/posix/readdir_r.c: ... here.
45380         * sysdeps/unix/rewinddir.c: Renamed to ...
45381         * sysdeps/posix/rewinddir.c: ... here.
45382         * sysdeps/unix/seekdir.c: Renamed to ...
45383         * sysdeps/posix/seekdir.c: ... here.
45384         * sysdeps/unix/telldir.c: Renamed to ...
45385         * sysdeps/posix/telldir.c: ... here.
45386         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45387         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45388         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45389         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45391         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45392         * bits/fcntl.h: ... here.
45394         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45395         not 0.
45396         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45397         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45398         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45399         (struct flock): Move l_start, l_len to the beginning.
45400         Use __pid_t for l_pid.
45401         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45402         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45403         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45404         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45405         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45406         [__USE_LARGEFILE64] (struct flock64): New type.
45407         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45409         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45410         * bits/dirent.h: ... here.
45412         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45413         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45415 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45417         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45418         Change from 2.6.0 to 2.6.16.
45419         * sysdeps/unix/sysv/linux/configure: Regenerated.
45420         * sysdeps/unix/sysv/linux/kernel-features.h
45421         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45422         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45423         version.
45424         (__ASSUME_UTIMES): Likewise.
45425         (__ASSUME_CLONE_STOPPED): Remove.
45426         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45427         architectures, not kernel version.
45428         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45429         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45430         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45431         (__ASSUME_WAITID_SYSCALL): Likewise.
45432         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45433         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45434         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45435         refer to older versions.
45437 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45439         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45440         Define alphasort64 as an alias.
45441         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45442         Define versionsort64 as an alias.
45443         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45444         Define scandir64 as an alias.
45445         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45446         Define scandirat64 as an alias.
45447         * dirent/alphasort64.c (alphasort64):
45448         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45449         * dirent/versionsort64.c: Likewise.
45450         * dirent/scandir64.c: Likewise.
45451         * dirent/scandirat64.c: Likewise.
45452         * sysdeps/wordsize-64/alphasort.c: File removed.
45453         * sysdeps/wordsize-64/alphasort64.c: File removed.
45454         * sysdeps/wordsize-64/scandir.c: File removed.
45455         * sysdeps/wordsize-64/scandir64.c: File removed.
45456         * sysdeps/wordsize-64/scandirat.c: File removed.
45457         * sysdeps/wordsize-64/scandirat64.c: File removed.
45458         * sysdeps/wordsize-64/versionsort.c: File removed.
45459         * sysdeps/wordsize-64/versionsort64.c: File removed.
45460         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45461         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45462         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45463         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45464         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45465         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45466         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45467         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45469         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45470         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45471         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45472         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45473         [defined __arch64__ || defined __sparcv9]
45474         (__INO_T_MATCHES_INO64_T): New macro.
45475         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45476         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45477         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45478         * sysdeps/unix/sysv/linux/bits/dirent.h
45479         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45480         (_DIRENT_MATCHES_DIRENT64): New macro.
45482         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45483         Define lockf64 as an alias.
45484         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45485         Define fseeko64 as an alias.
45486         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45487         Define ftello64 as an alias.
45488         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45489         Define _IO_fgetpos64 and fgetpos64 as aliases.
45490         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45491         Define _IO_fsetpos64 and fsetpos64 as aliases.
45492         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45493         Conditionalize body on this.
45494         * libio/fseeko64.c: Likewise.
45495         * libio/ftello64.c: Likewise.
45496         * libio/iofgetpos64.c: Likewise.
45497         * libio/iofsetpos64.c: Likewise.
45498         * sysdeps/wordsize-64/lockf.c: File removed.
45499         * sysdeps/wordsize-64/lockf64.c: File removed.
45500         * sysdeps/wordsize-64/fseeko.c: File removed.
45501         * sysdeps/wordsize-64/fseeko64.c: File removed.
45502         * sysdeps/wordsize-64/ftello.c: File removed.
45503         * sysdeps/wordsize-64/ftello64.c: File removed.
45504         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45505         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45506         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45507         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45508         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45509         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45510         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45511         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45512         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45513         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45514         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45515         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45516         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45517         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45519         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45520         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45521         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45522         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45523         [defined __arch64__ || defined __sparcv9]
45524         (__OFF_T_MATCHES_OFF64_T): New macro.
45525         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45526         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45527         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45528         (__OFF_T_MATCHES_OFF64_T): New macro.
45530 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45532         * stdlib/secure-getenv.c (__secure_getenv): Replace
45533         GLIBC_2_16 with GLIBC_2_17.
45535 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45537         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45538         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45540 2012-08-03  David S. Miller  <davem@davemloft.net>
45542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45544 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45546         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45547         Remove.
45548         (__ASSUME_CORRECT_SI_PID): Likewise.
45549         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45550         (__ASSUME_TMPFS_NAME): Likewise.
45551         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45552         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45553         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45554         (HAVE_AUX_SECURE): Make definition unconditional.
45555         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45556         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45558 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45560         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45561         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45562         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45563         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45564         __eloop_threshold instead of SYMLOOP_MAX.
45566         * sysdeps/generic/eloop-threshold.h: New file.
45567         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45568         of MAXSYMLINKS.
45569         * elf/chroot_canon.c (chroot_canon): Likewise.
45571 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45573         [BZ #13717]
45574         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45575         Change to 2.6.0 everywhere.
45576         * sysdeps/unix/sysv/linux/configure: Regenerated.
45577         * sysdeps/unix/sysv/linux/kernel-features.h
45578         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45579         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45580         kernel versions.
45581         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45582         (__ASSUME_FUTEX_REQUEUE): Remove.
45583         (__ASSUME_STATFS64): Define unconditionally.
45584         (__ASSUME_AT_SECURE): Likewise.
45585         (__ASSUME_CORRECT_SI_PID): Likewise.
45586         (__ASSUME_TGKILL): Define without depending on kernel version for
45587         i386.
45588         (__ASSUME_UTIMES): Likewise.
45589         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45590         kernel version.
45591         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45592         (__ASSUME_TMPFS_NAME): Likewise.
45593         * README: Update reference to Linux kernel versions.
45595 2012-08-02  Marek Polacek  <polacek@redhat.com>
45597         [BZ# 14150]
45598         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45599         libc_cv_asm_type_prefix with %.
45600         * configure: Regenerated.
45601         * include/libc-symbols.h: Remove comment about
45602         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45603         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45604         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45605         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45606         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45607         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45608         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45609         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45610         * elf/tst-unique2mod1.c: Likewise.
45611         * elf/tst-unique1mod2.c: Likewise.
45612         * elf/tst-unique1mod1.c: Likewise.
45613         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45614         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45615         Replace ASM_TYPE_DIRECTIVE with .type.
45616         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45617         * sysdeps/i386/sysdep.h: Likewise.
45618         * sysdeps/x86_64/sysdep.h: Likewise.
45619         * sysdeps/sh/sysdep.h: Likewise.
45620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45621         Do not define ASM_TYPE_DIRECTIVE.
45622         * sysdeps/powerpc/sysdep.h: Likewise.
45623         * sysdeps/powerpc/powerpc32/sysdep.h:
45624         Replace ASM_TYPE_DIRECTIVE with .type.
45625         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45626         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45627         * sysdeps/i386/fpu/e_powf.S: Likewise.
45628         * sysdeps/i386/fpu/e_expl.S: Likewise.
45629         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45630         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45631         * sysdeps/i386/fpu/e_pow.S: Likewise.
45632         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45633         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45634         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45635         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45636         * sysdeps/i386/fpu/e_log2.S: Likewise.
45637         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45638         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45639         * sysdeps/i386/fpu/e_powl.S: Likewise.
45640         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45641         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45642         * sysdeps/i386/fpu/e_logl.S: Likewise.
45643         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45644         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45645         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45646         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45647         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45648         * sysdeps/i386/fpu/e_log.S: Likewise.
45649         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45650         * sysdeps/i386/fpu/e_logf.S: Likewise.
45651         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45652         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45653         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45654         * sysdeps/i386/fpu/e_log10.S: Likewise.
45655         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45656         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45657         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45658         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45659         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45660         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45661         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45662         * sysdeps/i386/i686/strtok.S: Likewise.
45663         * sysdeps/i386/i386-mcount.S: Likewise.
45664         * sysdeps/i386/strtok.S: Likewise.
45665         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45666         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45667         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45668         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45669         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45670         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45671         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45672         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45673         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45674         * sysdeps/x86_64/_mcount.S: Likewise.
45675         * sysdeps/x86_64/strtok.S: Likewise.
45676         * sysdeps/sh/_mcount.S: Likewise.
45678 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45680         * libio/iofopen.c: Include <fcntl.h>.
45681         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45682         (_IO_fopen64, fopen64): Define as aliases.
45683         * libio/iofopen64.c: Include <fcntl.h>.
45684         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45685         Conditionalize body on this.
45686         * sysdeps/wordsize-64/iofopen.c: File removed.
45687         * sysdeps/wordsize-64/iofopen64.c: File removed.
45689 2012-08-01  Marek Polacek  <polacek@redhat.com>
45691         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45692         Use dlfcn directly instead of a variable.
45693         (binfmt-subdir): Do not define.
45694         (dlfcn): Likewise.
45696 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45698         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45699         Remove all definitions.
45700         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45701         <kernel-features.h>.
45702         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45703         (miss_F_GETOWN_EX): Remove all definitions.
45704         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45705         macro definition.
45706         [!__ASSUME_FCNTL64]: Remove conditional code.
45707         [__ASSUME_FCNTL64]: Make code unconditional.
45708         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45709         <kernel-features.h>.
45710         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45711         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45712         (lockf64) [__NR_fcntl64]: Make code unconditional.
45713         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45715         * sysdeps/unix/sysv/linux/kernel-features.h
45716         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45717         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45718         Make code unconditional.
45719         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45720         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45722         [__NR_vfork]: Make code unconditional.
45723         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45724         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45726         [__NR_vfork]: Make code unconditional.
45727         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45728         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45730 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45732         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45733         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45735         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45736         Define mkstemp64 as an alias.
45737         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45738         Define mkstemps64 as an alias.
45739         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45740         Define mkostemp64 as an alias.
45741         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45742         Define mkostemps64 as an alias.
45743         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45744         Conditionalize body on this.
45745         * misc/mkostemp64.c: Likewise.
45746         * misc/mkostemps64.c: Likewise.
45747         * misc/mkstemps64.c: Likewise.
45748         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45749         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45750         * sysdeps/wordsize-64/mkostemp.c: File removed.
45751         * sysdeps/wordsize-64/mkstemp.c: File removed.
45752         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45753         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45754         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45755         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45757         [BZ #14138]
45758         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45759         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45760         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45761         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45763         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45764         compat_symbol macros from <shlib-compat.h> rather than the underlying
45765         default_symbol_version and symbol_version macros, so that DEFAULT
45766         lines in shlib-versions are respected.
45767         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45769 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45771         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45772         Declare with warn_unused_result.
45773         (setgid, setregid, setegid, setresgid): Likewise.
45774         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45775         Likewise.
45776         * WUR-REPORT: Remove set*id functions.
45778 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45780         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45782 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45784         [BZ #10191]
45785         * include/sys/socket.h (__libc_accept, __libc_accept4):
45786         Add attribute_hidden.
45787         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45789         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45790         use of PTR_MANGLE.
45791         * inet/getnetgrent_r.c (setup): Likewise.
45793         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45795 2012-07-31  David S. Miller  <davem@davemloft.net>
45797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45799 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45801         [BZ #13629]
45802         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45803         value between 1.0 and 2.0 and smaller part has absolute value less
45804         than 1.0.
45805         * math/s_clog10.c (__clog10): Likewise.
45806         * math/s_clog10f.c (__clog10f): Likewise.
45807         * math/s_clog10l.c (__clog10l): Likewise.
45808         * math/s_clogf.c (__clogf): Likewise.
45809         * math/s_clogl.c (__clogl): Likewise.
45810         * math/libm-test.inc (clog_test): Add more tests.
45811         (clog10_test): Likewise.
45812         * sysdeps/i386/fpu/libm-test-ulps: Update.
45813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45815 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45817         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45818         Exit with zero in case no suitable GID is found, and write a
45819         message to standard error.
45821 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45823         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45824         rather than to 1.
45825         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45826         (MAXPATHLEN): Removed.
45827         (NOGROUP, NODEV): New macros.
45828         (setbit, clrbit, isset, isclr): New macros.
45829         (howmany, roundup, powerof2): New macros.
45830         (DEV_BSIZE): New macro.
45832         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45833         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45835         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45836         definition on [!__NO_LONG_DOUBLE_MATH].
45838         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45839         PTR_MANGLE and PTR_DEMANGLE.
45841         * socket/accept4.c (accept4): Rename to __libc_accept4.
45842         Define accept4 as a weak alias.
45844         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45845         on [_DIRENT_HAVE_D_TYPE].
45846         * io/ftw.c (ftw_dir): Likewise.
45848         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45850         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45852         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45853         Use the BSD numbers rather than the arbitrary ones we had.
45854         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45855         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45856         (SIGXCPU, SIGXFSZ): New macros.
45857         (_NSIG): Now 32.
45859         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45860         initializer on [_LIBC_REENTRANT].
45862         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45863         definitions inside [_POSIX_MAPPED_FILES].
45865         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45867         * dirent/opendir.c: Include <fcntl.h>.
45869         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45870         (__libc_getspecific): Likewise.
45871         (__libc_key_create): Likewise.
45873         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45874         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45875         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45876         (tmpfile64): Define as alias.
45877         * sysdeps/wordsize-64/tmpfile.c: File removed.
45878         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45879         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45880         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45882         * stdio-common/vfscanf.c: Include <stdbool.h>.
45883         * nss/makedb.c: Likewise.
45884         * stdio-common/_i18n_number.h: Likewise.
45885         * argp/argp-help.c: Likewise.
45886         * posix/wordexp.c: Likewise.
45887         * sysdeps/posix/spawni.c: Likewise.
45888         * nss/nss_files/files-initgroups.c: Likewise.
45889         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45890         * nss/nss_files/files-initgroups.c: Likewise.
45891         * nss/nss_db/db-netgrp.c: Likewise.
45892         * nss/nss_db/db-initgroups.c: Likewise.
45893         * io/fchmodat.c: Include <sys/stat.h>.
45895         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45896         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45898         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45899         [HAVE_MMAP].
45901         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45902         Add multiple inclusion protection.
45904 2012-07-27  David S. Miller  <davem@davemloft.net>
45906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45908 2012-07-27  Gary Benson  <gbenson@redhat.com>
45910         [BZ #14298]
45911         * elf/rtld.c: Include <stap-probe.h>.
45912         (dl_main): Added static probes "init_start" and "init_complete".
45913         * elf/dl-load.c: Include <stap-probe.h>.
45914         (lose): Take new parameter "nsid".
45915         Added static probe "map_failed".
45916         (_dl_map_object_from_fd): Pass namespace id to lose.
45917         Added static probe "map_start".
45918         (open_verify): Pass namespace id to lose.
45919         * elf/dl-open.c: Include <stap-probe.h>.
45920         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45921         and "reloc_complete".
45922         * elf/dl-close.c: Include <stap-probe.h>.
45923         (_dl_close_worker): Added static probes "unmap_start" and
45924         "unmap_complete".
45925         * elf/rtld-debugger-interface.txt: New file documenting the above.
45927 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45929         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45930         rather than a string variable.
45931         * sunrpc/rpc_main.c (h_output): Likewise.
45932         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45934 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45936         * inet/check_native.c: New file.
45938 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45940         [BZ #13629]
45941         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45942         if larger part has absolute value 1.0.
45943         * math/s_clog10.c (__clog10): Likewise.
45944         * math/s_clog10f.c (__clog10f): Likewise.
45945         * math/s_clog10l.c (__clog10l): Likewise.
45946         * math/s_clogf.c (__clogf): Likewise.
45947         * math/s_clogl.c (__clogl): Likewise.
45948         * math/libm-test.inc (clog_test): Add more tests.
45949         (clog10_test): Likewise.
45950         * sysdeps/i386/fpu/libm-test-ulps: Update.
45951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45953         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45954         (pltexit): Likewise.
45955         (La_regs): Likewise.
45956         (La_retval): Likewise.
45957         (int_retval): Likewise.
45958         Update #error for removed macros to refer only to definitions in
45959         tst-audit.h.
45960         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45961         macro.
45962         (pltexit): Likewise.
45963         (La_regs): Likewise.
45964         (La_retval): Likewise.
45965         (int_retval): Likewise.
45966         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45967         macro.
45968         (pltexit): Likewise.
45969         (La_regs): Likewise.
45970         (La_retval): Likewise.
45971         (int_retval): Likewise.
45972         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45973         macro.
45974         (pltexit): Likewise.
45975         (La_regs): Likewise.
45976         (La_retval): Likewise.
45977         (int_retval): Likewise.
45978         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45979         macro.
45980         (pltexit): Likewise.
45981         (La_regs): Likewise.
45982         (La_retval): Likewise.
45983         (int_retval): Likewise.
45984         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45985         macro.
45986         (pltexit): Likewise.
45987         (La_regs): Likewise.
45988         (La_retval): Likewise.
45989         (int_retval): Likewise.
45990         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45991         macro.
45992         (pltexit): Likewise.
45993         (La_regs): Likewise.
45994         (La_retval): Likewise.
45995         (int_retval): Likewise.
45996         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45997         macro definitions in tst-audit.h.
45998         * sysdeps/i386/tst-audit.h: New file.
45999         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46000         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46001         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46002         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46003         * sysdeps/sh/tst-audit.h: Likewise.
46004         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46005         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46006         * sysdeps/x86_64/tst-audit.h: Likewise.
46008 2012-07-26  Andreas Jaeger  <aj@suse.de>
46010         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46011         ptrace.
46013         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46014         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46015         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46016         PTRACE_O_MASK.
46017         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46018         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46019         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46021         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46022         value.
46024         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46025         _sigsys.
46026         (si_call_addr, si_syscall, si_arch): Define new macro.
46027         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46028         _sigsys.
46029         (si_call_addr, si_syscall, si_arch): Define new marcro.
46030         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46031         _sigsys.
46032         (si_call_addr, si_syscall, si_arch): Define new macro.
46033         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46034         _sigsys.
46035         (si_call_addr, si_syscall, si_arch): Define new macro.
46037 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46039         [BZ #13717]
46040         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46041         Change to 2.4.21 where previously 2.4.1.
46042         * sysdeps/unix/sysv/linux/configure: Regenerated.
46043         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46044         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46045         Linux kernel version.
46046         (__ASSUME_STD_AUXV): Remove.
46047         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46048         kernel version.
46049         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46050         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46051         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46052         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46053         (__ASSUME_NETLINK_SUPPORT): Likewise.
46054         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46055         (__no_netlink_support): Remove conditional definition.
46056         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46057         Remove.
46058         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46059         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46060         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46061         (if_nameindex_ioctl): Remove.
46062         (if_nameindex_netlink): Do not handle __no_netlink_support.
46063         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46064         code.
46065         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46066         Remove conditional code.
46067         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46068         code.
46069         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46070         unconditional.
46071         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46072         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46073         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46074         Remove.
46075         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46076         [!__ASSUME_STD_AUXV]: Remove conditional code.
46077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46078         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46079         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46081         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46082         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46083         code.
46084         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46086         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46087         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46088         conditional code.
46089         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46091         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46092         code.
46093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46094         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46095         conditional code.
46096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46097         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46098         code unconditional.
46099         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46100         conditional code.
46101         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46102         unconditional.
46103         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46104         conditional code.
46105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46106         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46107         unconditional.
46108         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46109         conditional code.
46110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46111         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46112         code unconditional.
46113         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46114         conditional code.
46115         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46116         unconditional.
46117         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46118         conditional code.
46119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46120         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46121         code unconditional.
46122         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46123         conditional code.
46124         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46125         unconditional.
46126         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46127         conditional code.
46129 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46131         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46132         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46133         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46134         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46135         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46136         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46137         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46138         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46139         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46140         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46141         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46142         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46143         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46144         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46145         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46146         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46147         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46148         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46149         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46150         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46151         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46152         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46153         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46155 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46157         * Versions.def: Add GLIBC_2.17.
46158         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46159         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46160         Introduce __libc_secure_getenv.
46161         * stdlib/Versions (2.17): Add secure_getenv
46162         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46163         * stdlib/secure-getenv.c: Rename __secure_getenv to
46164         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46165         symbol __secure_getenv for GLIBC_2.0.
46166         * stdlib/tst-secure-getenv.c: New.
46167         * stdlib/Makefile (tests): Add testcase.
46168         * manual/startup.texi (Environment Access): Document
46169         secure_getenv.
46170         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46171         __libc_secure_getenv.
46172         * inet/ruserpass.c (ruserpass): Likewise.
46173         * malloc/mtrace.c (mtrace): Likewise.
46174         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46175         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46176         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46177         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46178         HAVE_SECURE_GETENV.
46179         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46180         __secure_getenv to __libc_secure_getenv.
46181         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46183         Likewise.
46184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46185         Likewise.
46186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46188         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46194 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46196         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46197         (struct La_i86_retval): Likewise.
46198         (struct La_x86_64_regs): Likewise.
46199         (struct La_x86_64_retval): Likewise.
46200         (struct La_x32_regs): Likewise.
46201         (struct La_x32_retval): Likewise.
46202         (struct La_ppc32_regs): Likewise.
46203         (struct La_ppc32_retval): Likewise.
46204         (struct La_ppc64_regs): Likewise.
46205         (struct La_ppc64_retval): Likewise.
46206         (struct La_sh_regs): Likewise.
46207         (struct La_sh_retval): Likewise.
46208         (struct La_s390_32_regs): Likewise.
46209         (struct La_s390_32_retval): Likewise.
46210         (struct La_s390_64_regs): Likewise.
46211         (struct La_s390_64_retval): Likewise.
46212         (struct La_sparc32_regs): Likewise.
46213         (struct La_sparc32_retval): Likewise.
46214         (struct La_sparc64_regs): Likewise.
46215         (struct La_sparc64_retval): Likewise.
46216         (struct audit_ifaces): Remove architecture-specific pltenter and
46217         pltexit members.
46218         * sysdeps/i386/ldsodefs.h: New file.
46219         * sysdeps/powerpc/ldsodefs.h: Likewise.
46220         * sysdeps/s390/ldsodefs.h: Likewise.
46221         * sysdeps/sh/ldsodefs.h: Likewise.
46222         * sysdeps/sparc/ldsodefs.h: Likewise.
46223         * sysdeps/x86_64/ldsodefs.h: Likewise.
46225 2012-07-25  Marek Polacek  <polacek@redhat.com>
46227         [BZ #6808]
46228         * math/libm-test.inc (yn_test): Add another test.
46229         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46230         to ERANGE when the result is +-Inf.
46231         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46232         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46233         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46234         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46236 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46238         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46239         equal to 0.
46240         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46241         clock_t.
46242         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46244 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46246         * configure.in <sysdeps resolving>: Correct printing
46247         Implies_before.
46248         * configure: Regenerate.
46250 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46252         * math/w_ilogb.c: Include <limits.h>.
46253         * math/w_ilogbl.c: Likewise.
46255 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46257         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46258         va_copy.  Document allowing for unavailable va_copy only as
46259         pre-C99 compatibility.
46260         * manual/string.texi (Copying and Concatenation): Use va_copy
46261         instead of __va_copy in concat example.
46263 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46265         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46266         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46267         it if not null.
46269         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46270         with O_NOLINK passed to __file_name_lookup.
46272         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46273         with O_NOLINK passed to __file_name_lookup.
46275         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46276         negative N or less than NGIDS.
46278         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46279         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46280         enough.  Use memcpy instead of strncpy.
46282 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46284         * elf/Makefile (check-data): Remove.
46285         (localplt.data): New vpath directive.
46286         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46287         instead of $(check-data).
46288         * scripts/data/localplt-generic.data: Move to ...
46289         * sysdeps/generic/localplt.data: ... here.
46290         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46291         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46292         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46294         ... here.
46295         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46297         ... here.
46298         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46300         ... here.
46301         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46303         ... here.
46304         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46306         ... here.
46307         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46308         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46309         ... here.
46311 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46313         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46314         PPC32 and PPC64 files.
46315         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46316         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46318 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46320         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46321         __makecontext_ret to ...
46322         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46323         ... here and call exit if uc_link is NULL.  New file.
46324         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46325         __makecontext_ret.S.
46326         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46327         __makecontext_ret to ...
46328         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46329         ... here and call exit if uc_link is NULL.  New file.
46330         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46331         __makecontext_ret.S.
46333 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46335         * elf/elf.h (R_390_IRELATIVE): New definition.
46336         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46337         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46338         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46339         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46340         (elf_machine_lazy_rel): Likewise.
46341         * sysdeps/s390/dl-irel.h: New file.
46342         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46343         * sysdeps/s390/s390-64/memset.S: New asm code.
46344         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46345         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46346         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46347         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46348         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46349         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46350         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46351         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46352         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46353         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46354         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46355         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46356         * sysdeps/s390/s390-32/memset.S: New asm code.
46357         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46359 2012-07-17  Marek Polacek  <polacek@redhat.com>
46361         [BZ #14349]
46362         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46363         * sysdeps/s390/s390-64/configure.in: Likewise.
46364         * sysdeps/sparc/configure.in: Likewise.
46365         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46366         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46367         * sysdeps/i386/configure.in: Likewise.
46368         * sysdeps/x86_64/configure.in: Likewise.
46369         * sysdeps/sh/configure.in: Likewise.
46370         * sysdeps/s390/s390-32/configure: Regenerated.
46371         * sysdeps/s390/s390-64/configure: Likewise.
46372         * sysdeps/x86_64/configure: Likewise.
46373         * sysdeps/sh/configure: Likewise.
46374         * sysdeps/powerpc/powerpc64/configure: Likewise.
46375         * sysdeps/powerpc/powerpc32/configure: Likewise.
46376         * sysdeps/sparc/configure: Likwise.
46377         * sysdeps/i386/configure: Likewise.
46379         * elf/dl-open.c: Comment fixes.
46381 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46383         * Makefile [CXX] (check-data): Remove.
46384         [CXX] (c++-types.data): New vpath directive.
46385         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46386         vpath.  Do not allow for C++ type data being missing.
46387         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46388         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46389         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46390         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46391         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46392         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46393         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46395         ... here.
46396         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46398         ... here.
46399         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46401         ... here.
46402         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46404         ... here.
46405         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46407         ... here.
46408         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46410         ... here.
46411         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46413         ... here.
46414         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46417         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46418         definitions to architecture-specific files.
46419         (TLS_IE): Likewise.
46420         (TLS_LD): Likewise.
46421         (TLS_GD): Likewise.
46422         * sysdeps/i386/tls-macros.h: New file.
46423         * sysdeps/powerpc/tls-macros.h: Likewise.
46424         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46425         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46426         * sysdeps/sh/tls-macros.h: Likewise.
46427         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46428         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46429         * sysdeps/x86_64/tls-macros.h: Likewise.
46431 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46433         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46434         zero value for regular exit case.
46436         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46437         (__start_context): Preserve zero value for regular exit case.
46439 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46440             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46442         * manual/setjmp.texi (setcontext): Clarify normal process
46443         termination when uc_link is the null pointer.
46444         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46445         exit call.
46447 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46449         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46450         preprocessor.  Test for each exception mask separately.
46452 2012-07-16  Andreas Jaeger  <aj@suse.de>
46454         * po/ru.po: Update from translation team.
46456 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46458         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46459         equal to 0.
46460         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46461         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46462         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46463         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46464         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46466 2012-07-13  Andreas Jaeger  <aj@suse.de>
46468         * po/fr.po: Update from translation team.
46470 2012-07-12  Marek Polacek  <polacek@redhat.com>
46472         [BZ #14173]
46473         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46474         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46475         loop condition.
46477 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46479         [BZ #13717]
46480         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46481         Change to 2.4.1 where previously 2.4.0.
46482         * sysdeps/unix/sysv/linux/configure: Regenerated.
46483         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46484         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46485         version.
46486         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46487         (__ASSUME_AT_CLKTCK): Remove.
46488         (__ASSUME_AT_PAGESIZE): Likewise.
46489         (__ASSUME_AT_XID): Likewise.
46490         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46491         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46492         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46493         unconditionally.
46494         (HAVE_AUX_PAGESIZE): Likewise.
46495         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46496         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46497         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46499 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46501         [BZ #14307]
46502         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46503         the temporary buffer used to invoke __gethostbyname2_r,
46504         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46505         host_data / struct gaih_addrtuple.
46506         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46507         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46508         header file nss/nsswitch.h.
46509         * nss/nsswitch.h (global scope): Add definition of implementation
46510         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46511         resolv/nss_dns/dns-host.c).
46513 2012-07-11  Andreas Jaeger  <aj@suse.de>
46515         * po/fr.po: Update from translation team.
46517         * po/sv.po: Update from translation team
46518         * po/fr.po: Another update from translation team.
46520 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46522         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46523         for subnormals or multiply small sinh result by itself.
46524         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46527 2012-07-11  David S. Miller  <davem@davemloft.net>
46529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46531 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46533         [BZ #14347]
46534         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46535         (INTERNAL_MARK): Shift it here.
46537 2012-07-10  Marek Polacek  <polacek@redhat.com>
46539         [BZ #14151]
46540         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46541         libc_cv_asm_global_directive with .globl.
46542         * configure: Regenerated.
46543         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46544         with .globl.
46545         * sysdeps/i386/configure: Regenerated.
46546         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46547         with .globl.
46548         * sysdeps/x86_64/configure: Regenerated.
46549         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46550         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46551         * elf/tst-unique2mod2.c: Likewise.
46552         * elf/tst-unique2mod1.c: Likewise.
46553         * elf/tst-unique1mod2.c: Likewise.
46554         * elf/tst-unique1mod1.c: Likewise.
46555         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46556         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46557         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46558         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46559         * sysdeps/mach/sysdep.h: Likewise.
46560         * sysdeps/i386/sysdep.h: Likewise.
46561         * sysdeps/i386/i386-mcount.S: Likewise.
46562         * sysdeps/x86_64/_mcount.S: Likewise.
46563         * sysdeps/x86_64/sysdep.h: Likewise.
46564         * sysdeps/sh/_mcount.S: Likewise.
46565         * sysdeps/sh/sysdep.h: Likewise.
46566         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46567         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46568         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46569         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46570         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46571         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46572         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46573         * locale/localeinfo.h: Likewise.
46574         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46575         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46577 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46579         [BZ #14336]
46580         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46581         system".
46582         * manual/message.texi (The Uniforum approach): Likewise.
46583         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46584         (glibc iconv Implementation): Likewise.
46586 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46588         [BZ #14337]
46589         * math/s_clog.c (__clog): Avoid scaling a value down where that
46590         could result in underflow.
46591         * math/s_clog10.c (__clog10): Likewise.
46592         * math/s_clog10f.c (__clog10f): Likewise.
46593         * math/s_clog10l.c (__clog10l): Likewise.
46594         * math/s_clogf.c (__clogf): Likewise.
46595         * math/s_clogl.c (__clogl): Likewise.
46596         * math/libm-test.inc (clog_test): Add more tests.
46597         (clog10_test): Likewise.
46598         * sysdeps/i386/fpu/libm-test-ulps: Update.
46599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46601 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46603         [BZ #14283]
46604         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46605         by 7 not 8 to examine high bit of fractional part.
46607         [BZ #14042]
46608         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46609         for call to __mcount_internal.
46610         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46611         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46612         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46614 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46616         [BZ #14154]
46617         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46618         approximation for values within 0x1p-13f of an odd multiple of
46619         pi/4.
46620         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46621         exception.  Add more tests.
46622         * sysdeps/i386/fpu/libm-test-ulps: Update.
46624         [BZ #6778]
46625         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46626         inputs and return -1 for them.  Do not check for +Inf in case not
46627         reachable for +Inf.
46628         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46629         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46630         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46631         and return -1 for them.  Do not check for +Inf in case not
46632         reachable for +Inf.
46633         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46634         define.
46635         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46636         and return -1 for them.  Do not check for +Inf in case not
46637         reachable for +Inf.
46638         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46639         spurious underflow.
46640         * sysdeps/i386/fpu/libm-test-ulps: Update.
46641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46643 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46645         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46647 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46649         [BZ #14157]
46650         [BZ #14331]
46651         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46652         could result in spurious underflow.  Scale down values above
46653         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46654         * math/s_csqrtf.c (__csqrtf): Likewise.
46655         * math/s_csqrtl.c (__csqrtl): Likewise.
46656         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46657         spurious underflow.
46658         * sysdeps/i386/fpu/libm-test-ulps: Update.
46659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46661 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46663         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46664         xopen-msg.sed.
46665         * catgets/xopen-msg.awk: New file.
46666         * catgets/xopen-msg.sed: Removed.
46668         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46669         po2text.sed.
46670         * intl/po2test.awk: New file.
46671         * intl/po2test.sed: Removed.
46673 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46675         [BZ #14328]
46676         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46677         or multiply small sinh result by itself.
46678         * math/s_ctanf.c (__ctanf): Likewise.
46679         * math/s_ctanh.c (__ctanh): Likewise.
46680         * math/s_ctanhf.c (__ctanhf): Likewise.
46681         * math/s_ctanhl.c (__ctanhl): Likewise.
46682         * math/s_ctanl.c (__ctanl): Likewise.
46683         * math/libm-test.inc (ctan_test_tonearest): New function.
46684         (ctan_test_towardzero): Likewise.
46685         (ctan_test_downward): Likewise.
46686         (ctan_test_upward): Likewise.
46687         (ctanh_test_tonearest): Likewise.
46688         (ctanh_test_towardzero): Likewise.
46689         (ctanh_test_downward): Likewise.
46690         (ctanh_test_upward): Likewise.
46691         (main): Call these new functions.
46692         * sysdeps/i386/fpu/libm-test-ulps: Update.
46693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46695 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46697         * .gitignore: Delete /ports entry.
46699 2012-07-03  Andreas Jaeger  <aj@suse.de>
46701         * po/bg.po: Update from translation team.
46702         * po/cs.po: Likewise.
46703         * po/de.po: Likewise.
46704         * po/hr.po: Likewise.
46705         * po/nl.pl: Likewise.
46706         * po/pl.po: Likewise.
46707         * po/vi.po: Likewise.
46709 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46711         * Makeconfig [!+link] (+link-before-libc): New variable.
46712         [!+link] (+link-after-libc): Likewise.
46713         [!+link] (+link-tests): Likewise.
46714         [!+link] (+link): Define in terms of $(+link-before-libc) and
46715         $(+link-after-libc).
46716         [!+link-static] (+link-static-before-libc): New variable.
46717         [!+link-static] (+link-static-after-libc): Likewise.
46718         [!+link-static] (+link-static-tests): Likewise.
46719         [!+link-static] (+link-static): Define in terms of
46720         $(+link-static-before-libc) and $(+link-static-after-libc).
46721         [build-shared] (link-libc-before-gnulib): New variable.
46722         [build-shared] (link-libc-tests): Likewise.
46723         [build-shared] (link-libc): Define in terms of
46724         $(link-libc-before-gnulib).
46725         [!build-shared] (link-libc-tests): New variable.
46726         (link-libc-static-tests): New variable.
46727         [!gnulib] (gnulib-arch): New variable.
46728         [!gnulib] (gnulib-tests): Likewise.
46729         [!gnulib] (static-gnulib-arch): Likewise.
46730         [!gnulib] (static-gnulib-tests): Likewise.
46731         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46732         Define with "=" instead of ":=".
46733         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46734         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46735         * Rules (binaries-all-notests): New variable.
46736         (binaries-all-tests): Likewise.
46737         (binaries-static-notests): Likewise.
46738         (binaries-static-tests): Likewise.
46739         (binaries-all): Define using $(binaries-all-notests) and
46740         $(binaries-all-tests).
46741         (binaries-static): Define using $(binaries-static-notests) and
46742         $(binaries-static-tests).
46743         (binaries-shared-tests): New variable.
46744         (binaries-shared-notests): Likewise.
46745         (binaries-shared): Remove variable.
46746         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46747         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46748         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46749         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46750         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46751         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46752         * elf/Makefile (sln-modules): New variable.
46753         (extra-objs): Add $(sln-modules:=.o).
46754         (ldconfig-modules): Add static-stubs.
46755         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46756         * elf/static-stubs.c: New file.
46758         [BZ #14283]
46759         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46760         by 7 not 8 to examine high bit of fractional part.  Use volatile
46761         variables when splitting into final array of floats if
46762         __FLT_EVAL_METHOD__ != 0.
46763         * math/libm-test.inc (cos_test): Add another test.
46764         (sin_test): Likewise.
46765         * sysdeps/i386/fpu/libm-test-ulps: Update.
46767         [BZ #14273]
46768         * math/libm-test.inc (cosh_test): Add more tests.
46770         * version.h (RELEASE): Set to "development".
46771         (VERSION): Set to "2.16.90".
46773 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46775         * NEWS: Update copyright. Remove last-updated date.
46776         Mention math library bug fixes and timezone data changes.
46777         * README: Mention GNU/Hurd, x32, and HPPA support status.
46779 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46781         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46783 2012-06-27  Andreas Jaeger  <aj@suse.de>
46785         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46787 2012-06-25  Andreas Jaeger  <aj@suse.de>
46789         * sysdeps/s390/fpu/libm-test-ulps: Update.
46791 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46792             Thomas Schwinge  <thomas@codesourcery.com>
46794         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46795         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46796         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46797         fanotify_mark.
46799 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46801         * sysdeps/mach/start.c: Remove file.
46802         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46803         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46804         * sysdeps/sh/init-first.c: Likewise.
46806         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46807         registers for frame unwinding purposes, add CFI directives.
46808         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46809         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46810         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46811         Likewise.
46813         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46814         __fortify_fail returning.
46815         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46817         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46818         sysdeps/sh/____longjmp_chk.S.
46819         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46820         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46821         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46822         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46824         * sysdeps/sh/abort-instr.h: New file.
46825         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46826         process in case exit returns.
46828         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46829         initialize the GOT register before use.
46831         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46832         calculation of ARGC > 4.
46834         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46835         meaningful names to some local labels.
46837 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46838             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46840         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46841         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46842         (__arch_compare_and_exchange_val_16_acq): Likewise.
46843         (__arch_compare_and_exchange_val_32_acq): Likewise.
46844         (atomic_exchange_and_add): Fix gUSA sequence.
46845         (atomic_add): Likewise.
46846         (atomic_add_negative): Likewise.
46847         (atomic_add_zero): Likewise.
46848         (atomic_bit_test_set): Likewise.
46850 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46852         [BZ #13579]
46853         * include/link.h (struct link_map): Add l_free_initfini.
46854         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46855         l_initfini.
46856         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46857         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46858         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46859         set.
46861 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46863         * configure.in: Use AC_LANG_SOURCE.
46864         * configure: Regenerate.
46866 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46868         * configure.in (libc_cv_localstatedir): New substituted variable.
46869         * configure: Regenerated.
46870         * config.make.in (localstatedir): New variable, substituted from
46871         libc_cv_localstatedir.
46872         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46873         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46874         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46875         * sysdeps/gnu/configure: Regenerated.
46877 2012-06-21  Jeff Law  <law@redhat.com>
46879         [BZ #14277]
46880         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46881         free.  Simplify list management for _LIBC case.
46883 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46885         [BZ #14273]
46886         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46887         Clear sign bit of 64-bit integer value before comparing against
46888         overflow value.
46890         * sysdeps/mach/configure: Regenerated.
46892 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46894         [BZ #14278]
46895         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46897 2012-06-21  Jeff Law  <law@redhat.com>
46899         [BZ #13882]
46900         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46901         uint16_t for elements in the "seen" array to avoid char overflows.
46902         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46903         * elf/dl-open.c (dl_open_worker): Likewise.
46905 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46907         * scripts/list-sources.sh: Scan PORTS for translations.
46908         * po/libc.pot: Regenerated.
46910 2012-06-21  Andreas Jaeger  <aj@suse.de>
46912         [BZ #12194]
46913         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46914         warning.
46915         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46916         * bits/byteswap-16.h (__bswap_16): Likewise.
46917         * bits/byteswap.h (__bswap_constant_16): Likewise.
46919 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46921         [BZ #14117]
46922         * sysdeps/i386/fpu_control.h: Removed.
46923         * sysdeps/x86_64/fpu_control.h: Moved to ...
46924         * sysdeps/x86/fpu_control.h: Here.
46926         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46927         (_FPU_SETCW): Likewise.
46929 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46931         [BZ #14117]
46932         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46933         * sysdeps/x86/fpu/bits/mathinline.h: This.
46934         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46936         [BZ #14050]
46937         [BZ #14117]
46938         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46939         functions if __x86_64__ is defined.
46941 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46943         * string/endian.h: Add !__ASSEMBLER__ condition for including
46944         conversion interfaces.
46946 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46948         [BZ #14241]
46949         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46950         of ABS(x) in calculating zero to negative powers other than odd
46951         integers.
46952         * math/libm-test.inc (pow_test): Add more tests.
46954 2012-06-15  Andreas Jaeger  <aj@suse.de>
46956         * manual/contrib.texi (Contributors): Update entry of Liubov
46957         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46958         Machado Filho.
46960 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46962         * string/string.h: Add __wur to GNU version of strerror_r.
46964 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46966         [BZ #14229]
46967         * string/Makefile (tests): Add tst-strtok_r.
46968         * string/tst-strtok_r.c: New file.
46969         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46970         RAX_LP/RDX_LP on SAVE_PTR.
46972 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46974         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46976 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46978         * libm_test.inc (csqrt_test): Allow more spurious underflow
46979         exceptions.
46980         (j0_test): Likewise.
46981         (j1_test): Likewise.
46982         (y0_test): Likewise.
46983         (y1_test): Likewise.
46985 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46987         * po/Makefile (libc.pot): Use UTF-8 charset.
46989 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46991         [BZ #14210]
46992         Suppress sign-conversion warning from FD_SET.
46993         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46994         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46995         not unsigned long int.
46996         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46998 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47000         [BZ #14050]
47001         [BZ #14117]
47002         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47003         __extern_always_inline instead of __extern_inline.
47004         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47005         (__signbit): Likewise.
47006         (__signbitl): Support C++ namespace.
47007         (lrintf): New inline function.
47008         (lrint): Likewise.
47009         (llrintf): Likewise.
47010         (llrint): Likewise.
47011         (fmaxf): Likewise.
47012         (fmax): Likewise.
47013         (fminf): Likewise.
47014         (fmin): Likewise.
47015         (rint): Likewise.
47016         (rintf): Likewise.
47017         (ceil): Likewise.
47018         (ceilf): Likewise.
47019         (floor): Likewise.
47020         (floorf): Likewise.
47021         (nearbyint): Likewise.
47022         (nearbyintf): Likewise.
47024 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47026         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47027         non-default versions.
47029 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47031         [BZ #14218]
47032         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47034 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47036         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47037         (FE_UPWARD, FE_DOWNWARD): Don't define.
47038         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47039         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47041         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47042         reading it.
47043         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47044         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47046 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47048         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47049         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47050         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47051         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47053 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47055         [BZ #14117]
47056         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47057         * sysdeps/i386/fpu/Implies: New file.
47058         * sysdeps/x86_64/fpu/Implies: Likewise.
47059         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47060         * sysdeps/x86/fpu/bits/fenv.h: This.
47062         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47063         __SSE_MATH__.
47065 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47067         [BZ #14134]
47068         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47069         character 0xffff that matches the last element of the
47070         conversion table.
47072 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47074         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47075         fmodl commit.
47077 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47079         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47080         values higher than 25.6283.
47082 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47084         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47085         subnormal exponent extraction and add some __builtin_expect.
47086         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47087         Fix for subnormal mantissa calculation.
47089 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47091         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47092         cpu2 is -1 and errno is not ENOSYS.
47094 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47096         [BZ #14117]
47097         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47098         * sysdeps/x86/bits/string.h: This.
47099         * sysdeps/x86_64/bits/string.h: Removed.
47101         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47102         if not compiling for x86-64, but compiling for >= i486.
47104         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47105         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47107         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47108         New macro from Linux kernel 3.4.0.
47109         (FP_XSTATE_MAGIC2): Likewise.
47110         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47111         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47112         (struct _fpx_sw_bytes): New struct.
47113         (struct _xsave_hdr): Likewise.
47114         (struct _ymmh_state): Likewise.
47115         (struct _xstate): Likewise.
47117         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47118         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47119         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47120         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47121         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47122         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47124         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47125         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47126         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47127         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47128         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47129         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47131 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47133         [BZ #13743]
47134         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47135         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47136         (sysdep_headers): Include sys/platform/ppc.h.
47137         * sysdeps/powerpc/test-gettimebase.c: Test for
47138         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47139         * manual/Makefile (appendices): Include platform.texi.
47140         * manual/contrib.texi (Contributors): Update @node pointers.
47141         * manual/maint.texi (Maintenance): Likewise.
47142         (Platform): New node.
47143         * manual/platform.texi: New file.  Document the new features.
47145 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47146             Jakub Jelinek  <jakub@redhat.com>
47148         [BZ #14188]
47149         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47150         where __builtin_expect is unavailable.
47152 2012-06-03  David S. Miller  <davem@davemloft.net>
47154         * stdlib/longlong.h: Updated from GCC.
47156 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47158         [BZ #14042]
47159         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47160         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47161         __mcount_internal.
47162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47163         (GLIBC_2.16): Likewise.
47165 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47167         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47169 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47172         (default-abi): New variable.
47173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47174         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47175         variable.
47176         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47177         Likewise.
47178         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47179         Likewise.
47180         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47181         Likewise.
47183         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47184         definition.  Document in comment.
47186 2012-06-01  David S. Miller  <davem@davemloft.net>
47188         * stdlib/longlong.h: Updated from GCC.
47190 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47192         [BZ #14117]
47193         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47194         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47195         sys/debugreg.h sys/io.h here.
47196         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47197         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47198         sys/io.h.
47199         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47200         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47201         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47202         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47203         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47204         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47206         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47207         Define only if __x86_64__ is defined.
47209 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47211         [BZ #14048]
47212         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47213         Use int64_t for variable i.
47214         * math/libm-test.inc (fmod_test): Add more tests.
47216         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47217         z computation is not scheduled after fetestexcept.
47218         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47219         Use math_force_eval instead of asm to ensure calculation scheduled
47220         before exception test.
47221         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47222         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47224 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47227         computation is not scheduled after fetestexcept.
47229 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47231         [BZ #14117]
47232         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47233         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47235 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47237         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47238         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47240 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47242         [BZ #14117]
47243         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47244         <bits/wordsize.h>.
47245         (__WCHAR_MIN): Support __WORDSIZE == 64.
47246         (__WCHAR_MAX): Likewise.
47248         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47249         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47251         [BZ #14183]
47252         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47253         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47255         [BZ #14117]
47256         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47257         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47259         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47260         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47262         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47263         Defined to 1 if __x86_64__ isn't defined.
47264         (_STAT_VER_LINUX_OLD): New.
47265         (st_atime): Remove duplicate.
47266         (st_mtime): Likewise.
47267         (st_ctime): Likewise.
47269 2012-05-31  David S. Miller  <davem@davemloft.net>
47271         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47272         entries.
47274 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47276         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47277         gen-libm-test.pl.
47279         [BZ #14132]
47280         * elf/dl-reloc.c: Include <_itoa.h>.
47281         (_dl_reloc_bad_type): Remove use of INTUSE.
47282         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47283         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47284         * stdio-common/psiginfo.c (psiginfo): Likewise.
47285         * stdio-common/psignal.c (psignal): Likewise.
47286         * string/strsignal.c (strsignal): Likewise.
47287         * include/signal.h (_sys_siglist): Declare hidden proto.
47288         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47289         INTVARDEF with libc_hidden_data_def.
47290         * stdio-common/itoa-udigits.c: Likewise.
47291         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47292         (_itoa_lower_digits_internal): Remove declaration.
47293         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47294         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47295         (_sys_sigabbrev_internal): Remove aliases.
47296         (_sys_siglist): Define hidden alias.
47298 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47300         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47301         bits/sysctl.h.
47303 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47305         [BZ #14117]
47306         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47307         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47309         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47310         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47311         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47312         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47313         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47314         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47316         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47317         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47318         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47320         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47321         with __addr.
47322         (insw): Likewise.
47323         (insl): Likewise.
47324         (outsb): Likewise.
47325         (outsw): Likewise.
47326         (outsl): Likewise.
47328         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47329         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47330         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47332         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47333         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47334         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47335         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47336         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47337         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47339         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47340         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47342         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47343         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47345         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47346         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47347         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47349         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47350         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47351         to ...
47352         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47354         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47355         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47356         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47358         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47359         for x86-64.
47360         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47362 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47364         * math/math.h (M_El): Use two more decimal places.
47365         (M_LOG2El): Likewise.
47366         (M_LOG10El): Likewise.
47367         (M_LN2l): Likewise.
47368         (M_LN10l): Likewise.
47369         (M_PIl): Likewise.
47370         (M_PI_2l): Likewise.
47371         (M_PI_4l): Likewise.
47372         (M_1_PIl): Likewise.
47373         (M_2_PIl): Likewise.
47374         (M_2_SQRTPIl): Likewise.
47375         (M_SQRT2l): Likewise.
47376         (M_SQRT1_2l): Likewise.
47378 2012-05-31  David S. Miller  <davem@davemloft.net>
47380         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47381         values between float registers.
47382         * sysdeps/sparc/sparc64/memset.S: Likewise.
47383         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47385 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47387         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47388         -D_FORTIFY_SOURCE=1.
47389         (CPPFLAGS-tst-longjmp_chk.c): Define.
47390         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47391         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47392         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47393         CFLAGS-tst-wchar-h.c.
47395 2012-05-31  Marek Polacek  <polacek@redhat.com>
47397         [BZ #14132]
47398         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47399         __endmntent_internal): Remove declaration.
47400         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47401         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47402         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47404 2012-05-30  David S. Miller  <davem@davemloft.net>
47406         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47407         (___Q_simulate_exceptions): Use real FP ops rather than writing
47408         into the %fsr.
47409         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47410         Likewise.
47412 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47414         [BZ #14117]
47415         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47416         * sysdeps/x86/bits/xtitypes.h: This.
47418         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47419         * sysdeps/x86/bits/wordsize.h: This.
47421         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47422         * sysdeps/x86/bits/huge_vall.h: This.
47424         * sysdeps/i386/bits/select.h: Removed.
47425         * sysdeps/x86_64/bits/select.h: Renamed to ...
47426         * sysdeps/x86/bits/select.h: This.
47428         * sysdeps/i386/bits/setjmp.h: Removed.
47429         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47430         * sysdeps/x86/bits/setjmp.h: This.
47432         * sysdeps/i386/bits/mathdef.h: Removed.
47433         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47434         * sysdeps/x86/bits/mathdef.h: This.
47436 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47438         [BZ #14132]
47439         * include/sys/socket.h (__connect_internal)
47440         (__libc_sa_len_internal): Remove declaration.
47441         (__connect, __libc_sa_len): Declare hidden_proto.
47442         (SA_LEN): Remove use of INTUSE.
47443         * socket/connect.c: Add libc_hidden_def.
47444         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47445         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47446         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47447         alias.
47448         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47449         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47450         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47451         of adding _internal alias.
47453 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47455         [BZ #14117]
47456         * sysdeps/i386/bits/link.h: Removed.
47457         * sysdeps/i386/bits/linkmap.h: Likewise.
47458         * sysdeps/x86_64/bits/link.h: Renamed to ...
47459         * sysdeps/x86/bits/link.h: This.
47460         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47461         * sysdeps/x86/bits/linkmap.h: This.
47463         * sysdeps/i386/bits/endian.h: Removed.
47464         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47465         * sysdeps/x86/bits/endian.h: This.
47467         * sysdeps/i386/bits/byteswap.h: Removed.
47468         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47469         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47470         * sysdeps/x86/bits/byteswap.h: This.
47471         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47472         * sysdeps/x86/bits/byteswap-16.h: This.
47473         * sysdeps/i386/Implies: Add x86.
47474         * sysdeps/x86_64/Implies: Likewise.
47476 2012-05-30  David S. Miller  <davem@davemloft.net>
47478         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47479         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47480         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47481         (FP_TRAPPING_EXCEPTIONS): Define.
47482         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47483         (FP_TRAPPING_EXCEPTIONS): Define.
47484         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47485         subnormals only when inexact has been signalled or underflow
47486         exceptions are enabled.
47487         (_FP_PACK_CANONICAL): Likewise.
47489 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47491         [BZ #14183]
47492         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47493         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47495 2012-05-30  Richard Henderson  <rth@twiddle.net>
47497         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47498         with #ifndef NOT_IN_libc.
47500         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47501         marked to avoid plt entry.
47503 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47505         [BZ #14112]
47506         * Makeconfig (default-abi): New macro.
47507         (abi-includes): Likewise.
47508         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47509         $(abi-$(default-abi)-lib-soname) for soname if defined.
47510         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47511         abi-variants.
47512         * Makefile (installed-stubs): Likewise.
47513         * include/stubs-biarch.h: Removed.
47514         * scripts/lib-names.awk: Only handle one library at a time.
47515         * scripts/soversions.awk: Remove WORDSIZE support.
47516         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47517         entries.
47518         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47519         Removed.
47520         (syscall-list-default-condition): Likewise.
47521         (syscall-list-default-condition): Likewise.
47522         (syscall-list-includes): Likewise.
47523         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47524         syscall-list-* with abi-*.  Handle undefined abi-variants.
47525         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47526         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47527         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47528         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47529         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47530         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47531         Removed.
47532         (syscall-list-32-options): Likewise.
47533         (syscall-list-32-condition): Likewise.
47534         (syscall-list-64-options): Likewise.
47535         (syscall-list-64-condition): Likewise.
47536         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47537         macro.
47538         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47539         Renamed to ...
47540         (abi-*): This.
47541         (abi-64-ld-soname): New macro.
47542         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47543         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47544         Renamed to ...
47545         (abi-*): This.
47546         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47547         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47549 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47551         * sysdeps/unix/sysv/linux/kernel-features.h
47552         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47553         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47554         include <kernel-features.h>.
47555         [!__NR_ftruncate64]: Remove conditional code.
47556         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47557         [__NR_ftruncate64]: Make code unconditional.
47558         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47559         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47560         include <kernel-features.h>.
47561         [!__NR_ftruncate64]: Remove conditional code.
47562         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47563         [__NR_ftruncate64]: Make code unconditional.
47564         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47566         include <kernel-features.h>.
47567         [!__NR_ftruncate64]: Remove conditional code.
47568         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47569         [__NR_ftruncate64]: Make code unconditional.
47570         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47572         include <kernel-features.h>.
47573         [!__NR_ftruncate64]: Remove conditional code.
47574         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47575         [__NR_ftruncate64]: Make code unconditional.
47576         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47578         * configure.in (libc_cv_fpie): Weaken to a compile test using
47579         LIBC_TRY_CC_OPTION.
47580         * configure: Regenerated.
47582 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47588         Refreshed.
47589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47595         Refreshed.
47597 2012-05-27  David S. Miller  <davem@davemloft.net>
47599         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47600         (___Q_zero): New.
47601         (__Q_simulate_exceptions): Return void.  Change to simulate
47602         exceptions by writing into the %fsr.
47603         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47604         (__Qp_handle_exceptions): Likewise.
47605         (numbers): Delete.
47606         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47607         __Qp_handle_exceptions.
47608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47609         __Qp_handle_exceptions.
47610         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47611         as unused and give dummy FP_RND_NEAREST initializer.
47612         (FP_INHIBIT_RESULTS): Define.
47613         (___Q_simulate_exceptions): Update declaration.
47614         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47615         formatting.
47616         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47617         as unused and give dummy FP_RND_NEAREST initializer.
47618         (__Qp_handle_exceptions): Update declaration.
47619         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47620         formatting.
47622 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47624         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47625         the temporary FPU control word.
47626         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47627         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47628         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47629         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47630         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47631         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47632         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47633         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47634         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47635         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47636         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47638 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47640         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47641         fields.
47643 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47645         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47646         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47647         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47648         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47649         Likewise.
47650         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47651         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47652         Likewise.
47654 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47656         * po/h.po: Update from translation team.
47658 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47660         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47662         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47663         handling of denormals.
47664         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47665         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47666         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47667         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47668         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47669         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47670         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47671         Likewise.
47673 2012-05-26  Marek Polacek  <polacek@redhat.com>
47675         [BZ #14152]
47676         * math/libm-test.inc (fma_test): Don't always expect underflow
47677         exception.
47679 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47681         [BZ #12416]
47682         * elf/tst-execstack.c: Include stackinfo.h.
47683         (do_test): Adjust test case to ensure that pthread_getattr_np
47684         behaviour remains the same after marking stack executable.
47686 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47688         * sysdeps/unix/sysv/linux/kernel-features.h
47689         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47690         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47691         kernel-features.h.
47692         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47693         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47694         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47695         kernel-features.h.
47696         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47697         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47699 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47701         * configure.in: Define the default includes to being none.
47702         * configure: Regenerated.
47704 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47706         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47707         * sysdeps/x86_64/setjmp.S: Likewise.
47708         * sysdeps/i386/bsd-setjmp.S: Likewise.
47709         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47710         * sysdeps/i386/setjmp.S: Likewise.
47711         * sysdeps/i386/__longjmp.S: Likewise.
47712         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47713         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47715         * include/stap-probe.h: New file.
47716         * configure.in: Handle --enable-systemtap.
47717         * configure: Regenerated.
47718         * config.h.in (USE_STAP_PROBE): New #undef.
47719         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47720         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47721         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47723 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47725         [BZ #13717]
47726         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47727         to 2.4.0 where earlier.
47728         * sysdeps/unix/sysv/linux/configure: Regenerated.
47729         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47730         <kernel-features.h>.
47731         [__ASSUME_32BITUIDS]: Make code unconditional.
47732         [!__ASSUME_32BITUIDS]: Remove conditional code.
47733         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47734         <kernel-features.h>.
47735         [__ASSUME_32BITUIDS]: Make code unconditional.
47736         [!__ASSUME_32BITUIDS]: Remove conditional code.
47737         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47738         [__ASSUME_32BITUIDS]: Make code unconditional.
47739         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47740         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47741         <kernel-features.h>.
47742         [__ASSUME_32BITUIDS]: Make code unconditional.
47743         [!__ASSUME_32BITUIDS]: Remove conditional code.
47744         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47745         <kernel-features.h>.
47746         [__ASSUME_32BITUIDS]: Make code unconditional.
47747         [!__ASSUME_32BITUIDS]: Remove conditional code.
47748         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47749         <kernel-features.h>.
47750         [__ASSUME_32BITUIDS]: Make code unconditional.
47751         [!__ASSUME_32BITUIDS]: Remove conditional code.
47752         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47753         <kernel-features.h>.
47754         [__ASSUME_32BITUIDS]: Make code unconditional.
47755         [!__ASSUME_32BITUIDS]: Remove conditional code.
47756         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47757         <kernel-features.h>.
47758         [__ASSUME_32BITUIDS]: Make code unconditional.
47759         [!__ASSUME_32BITUIDS]: Remove conditional code.
47760         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47761         <kernel-features.h>.
47762         [__ASSUME_32BITUIDS]: Make code unconditional.
47763         [!__ASSUME_32BITUIDS]: Remove conditional code.
47764         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47765         <kernel-features.h>.
47766         [__ASSUME_32BITUIDS]: Make code unconditional.
47767         [!__ASSUME_32BITUIDS]: Remove conditional code.
47768         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47769         <kernel-features.h>.
47770         [__ASSUME_32BITUIDS]: Make code unconditional.
47771         [!__ASSUME_32BITUIDS]: Remove conditional code.
47772         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47773         <kernel-features.h>.
47774         [__ASSUME_32BITUIDS]: Make code unconditional.
47775         [!__ASSUME_32BITUIDS]: Remove conditional code.
47776         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47777         <kernel-features.h>.
47778         [__ASSUME_32BITUIDS]: Make code unconditional.
47779         [!__ASSUME_32BITUIDS]: Remove conditional code.
47780         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47781         <kernel-features.h>.
47782         [__NR_setresgid] (__setresgid): Do not declare.
47783         [__ASSUME_32BITUIDS]: Make code unconditional.
47784         [!__ASSUME_32BITUIDS]: Remove conditional code.
47785         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47786         <kernel-features.h>.
47787         [__NR_setresuid] (__setresuid): Do not declare.
47788         [__ASSUME_32BITUIDS]: Make code unconditional.
47789         [!__ASSUME_32BITUIDS]: Remove conditional code.
47790         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.c: Do not include
47795         <kernel-features.h>.
47796         [__ASSUME_32BITUIDS]: Make code unconditional.
47797         [!__ASSUME_32BITUIDS]: Remove conditional code.
47798         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47799         <kernel-features.h>.
47800         [__ASSUME_32BITUIDS]: Make code unconditional.
47801         [!__ASSUME_32BITUIDS]: Remove conditional code.
47802         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47803         <kernel-features.h>.
47804         [__ASSUME_32BITUIDS]: Make code unconditional.
47805         [!__ASSUME_32BITUIDS]: Remove conditional code.
47806         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47807         <kernel-features.h>.
47808         [__ASSUME_32BITUIDS]: Make code unconditional.
47809         [!__ASSUME_32BITUIDS]: Remove conditional code.
47810         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47811         <kernel-features.h>.
47812         [__ASSUME_32BITUIDS]: Make code unconditional.
47813         [!__ASSUME_32BITUIDS]: Remove conditional code.
47814         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47815         <kernel-features.h>.
47816         [__ASSUME_32BITUIDS]: Make code unconditional.
47817         [!__ASSUME_32BITUIDS]: Remove conditional code.
47818         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47819         <kernel-features.h>.
47820         [__ASSUME_32BITUIDS]: Make code unconditional.
47821         [!__ASSUME_32BITUIDS]: Remove conditional code.
47822         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47823         <kernel-features.h>.
47824         [__ASSUME_32BITUIDS]: Make code unconditional.
47825         [!__ASSUME_32BITUIDS]: Remove conditional code.
47826         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47827         <kernel-features.h>.
47828         [__ASSUME_32BITUIDS]: Make code unconditional.
47829         [!__ASSUME_32BITUIDS]: Remove conditional code.
47830         * sysdeps/unix/sysv/linux/kernel-features.h
47831         (__ASSUME_SETRESUID_SYSCALL): Remove.
47832         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47833         (__ASSUME_32BITUIDS): Likewise.
47834         (__ASSUME_LDT_WORKS): Likewise.
47835         (__ASSUME_O_DIRECTORY): Likewise.
47836         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47837         architecture but not kernel version.
47838         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47839         (__ASSUME_MMAP2_SYSCALL): Likewise.
47840         (__ASSUME_STAT64_SYSCALL): Likewise.
47841         (__ASSUME_IPC64): Likewise.
47842         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47843         <kernel-features.h>.
47844         [__ASSUME_32BITUIDS]: Make code unconditional.
47845         [!__ASSUME_32BITUIDS]: Remove conditional code.
47846         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47847         <kernel-features.h>.
47848         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47849         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47850         132096]: Remove conditional code.
47851         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47852         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47853         <kernel-features.h>.
47854         [__ASSUME_32BITUIDS]: Make code unconditional.
47855         [!__ASSUME_32BITUIDS]: Remove conditional code.
47856         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47857         <kernel-features.h>.
47858         [__ASSUME_32BITUIDS]: Make code unconditional.
47859         [!__ASSUME_32BITUIDS]: Remove conditional code.
47860         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47861         <kernel-features.h>.
47862         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47863         unconditional.
47864         (__setresgid): Do not declare.
47865         [__ASSUME_32BITUIDS]: Make code unconditional.
47866         [!__ASSUME_32BITUIDS]: Remove conditional code.
47867         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47868         <kernel-features.h>.
47869         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47870         unconditional.
47871         (__setresuid): Do not declare.
47872         [__ASSUME_32BITUIDS]: Make code unconditional.
47873         [!__ASSUME_32BITUIDS]: Remove conditional code.
47874         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47875         <kernel-features.h>.
47876         [__ASSUME_32BITUIDS]: Make code unconditional.
47877         [!__ASSUME_32BITUIDS]: Remove conditional code.
47878         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47879         <kernel-features.h>.
47880         [__ASSUME_32BITUIDS]: Make code unconditional.
47881         [!__ASSUME_32BITUIDS]: Remove conditional code.
47883 2012-05-25  Richard Henderson  <rth@twiddle.net>
47885         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47886         dl_hwcap to ifunc resolver.
47887         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47888         elf_ifunc_invoke.
47889         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47890         dl_hwcap to ifunc resolver.
47891         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47893 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47895         [BZ #14153]
47896         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47897         for |x| <= 2**-26, not 2**-57.
47898         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47899         exception.
47901 2012-05-24  Jeff Law  <law@redhat.com>
47903         * stdio-common/Makefile (tests): Add bug25.
47904         * stdio-common/bug25.c: New test.
47906 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47908         [BZ #13576]
47909         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47910         multiple of MALLOC_ALIGNMENT in size.
47911         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47913 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47915         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47916         Require >= 256.
47917         (FILENAME_MAX): Use macro-int-constant.
47918         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47919         (_IOFBF): Use macro-int-constant.
47920         (_IOLBF): Likewise.
47921         (_IONBF): Likewise.
47922         (SEEK_CUR): Likewise.
47923         (SEEK_END): Likewise.
47924         (SEEK_SET): Likewise.
47925         (TMP_MAX): Likewise.
47926         (EOF): Use macro-int-constant.  Require < 0.
47927         (NULL): Use macro-constant.  Require == 0.
47928         (stdin): Require type to be FILE *.
47929         (stdout): Likewise.
47930         (stderr): Likewise.
47931         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47932         macro-int-constant.
47933         (EXIT_SUCCESS): Likewise.
47934         (NULL): Use macro-constant.  Require == 0.
47935         (RAND_MAX): Use macro-int-constant.
47936         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47937         [C99-based standards] (strtof): Require function.
47938         [C99-based standards] (strtold): Likewise.
47939         [C99-based standards] (strtoll): Likewise.
47940         [C99-based standards] (strtoull): Likewise.
47941         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47942         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47943         [ISO || ISO99 || ISO11] (math.h): Likewise.
47944         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47945         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47946         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47948 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47950         [BZ #14132]
47951         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47952         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47953         * intl/dgettext.c (DCGETTEXT): Likewise.
47954         * intl/gettext.c (DCGETTEXT): Likewise.
47955         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47956         * posix/regex_internal.h (gettext): Likewise.
47957         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47958         Remove declaration.
47959         * include/argz.h (__argz_count_internal)
47960         (__argz_stringify_internal): Remove declaration.
47961         (__argz_count, __argz_stringify): Declare hidden proto.
47962         * intl/dcgettext.c: Remove use of INTDEF.
47963         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47964         * string/argz-stringify.c: Likewise.
47965         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47966         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47967         Declare hidden proto.
47968         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47969         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47970         Declare hidden proto.
47971         * include/stdio.h (__asprintf_internal): Don't declare.
47972         (__asprintf): Don't define as macro.  Declare hidden proto.
47973         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47974         (__fsetlocking): Declare hidden proto.
47975         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47976         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47977         hidden proto.
47978         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47979         (_IO_setlinebuf): Remove use of INTUSE.
47980         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47981         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47982         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47983         Remove declaration.
47984         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47985         (_IO_do_flush): Remove use of INTUSE.
47986         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47987         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47988         (_IO_adjust_column, _IO_least_wmarker)
47989         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47990         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47991         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47992         (_IO_default_doallocate, _IO_wdefault_doallocate)
47993         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47994         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47995         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47996         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47997         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47998         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47999         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48000         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48001         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48002         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48003         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48004         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48005         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48006         proto.
48007         (_IO_flush_all_internal, _IO_adjust_column_internal)
48008         (_IO_default_uflow_internal, _IO_default_finish_internal)
48009         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48010         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48011         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48012         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48013         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48014         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48015         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48016         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48017         (_IO_file_close_internal, _IO_file_close_it_internal)
48018         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48019         (_IO_file_init_internal, _IO_file_attach_internal)
48020         (_IO_file_fopen_internal, _IO_file_read_internal)
48021         (_IO_file_sync_internal, _IO_file_seek_internal)
48022         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48023         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48024         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48025         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48026         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48027         (_IO_list_all_internal, _IO_link_in_internal)
48028         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48029         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48030         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48031         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48032         (_IO_do_write_internal, _IO_padn_internal)
48033         (_IO_getline_info_internal, _IO_getline_internal)
48034         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48035         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48036         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48037         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48038         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48039         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48040         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48041         with libc_hidden_ver, remove use of INTUSE.
48042         * libio/genops.c: Likewise.
48043         * libio/freopen.c: Likewise.
48044         * libio/freopen64.c: Likewise.
48045         * libio/iofclose.c: Likewise.
48046         * libio/iofdopen.c: Likewise.
48047         * libio/iofflush.c: Likewise.
48048         * libio/iofflush_u.c: Likewise.
48049         * libio/iofgets.c: Likewise.
48050         * libio/iofgets_u.c: Likewise.
48051         * libio/iofopen.c: Likewise.
48052         * libio/iofopncook.c: Likewise.
48053         * libio/iofread.c: Likewise.
48054         * libio/iofread_u.c: Likewise.
48055         * libio/ioftell.c: Likewise.
48056         * libio/iofwrite.c: Likewise.
48057         * libio/iogetline.c: Likewise.
48058         * libio/iogets.c: Likewise.
48059         * libio/iogetwline.c: Likewise.
48060         * libio/iopadn.c: Likewise.
48061         * libio/iopopen.c: Likewise.
48062         * libio/ioseekoff.c: Likewise.
48063         * libio/ioseekpos.c: Likewise.
48064         * libio/iosetbuffer.c: Likewise.
48065         * libio/iosetvbuf.c: Likewise.
48066         * libio/ioungetc.c: Likewise.
48067         * libio/ioungetwc.c: Likewise.
48068         * libio/iovdprintf.c: Likewise.
48069         * libio/iovsprintf.c: Likewise.
48070         * libio/iovsscanf.c: Likewise.
48071         * libio/memstream.c: Likewise.
48072         * libio/obprintf.c: Likewise.
48073         * libio/oldfileops.c: Likewise.
48074         * libio/oldiofclose.c: Likewise.
48075         * libio/oldiofdopen.c: Likewise.
48076         * libio/oldiofopen.c: Likewise.
48077         * libio/oldiopopen.c: Likewise.
48078         * libio/oldstdfiles.c: Likewise.
48079         * libio/putc.c: Likewise.
48080         * libio/setbuf.c: Likewise.
48081         * libio/setlinebuf.c: Likewise.
48082         * libio/stdfiles.c: Likewise.
48083         * libio/strops.c: Likewise.
48084         * libio/vasprintf.c: Likewise.
48085         * libio/vscanf.c: Likewise.
48086         * libio/vsnprintf.c: Likewise.
48087         * libio/vswprintf.c: Likewise.
48088         * libio/wfiledoalloc.c: Likewise.
48089         * libio/wfileops.c: Likewise.
48090         * libio/wgenops.c: Likewise.
48091         * libio/wmemstream.c: Likewise.
48092         * libio/wstrops.c: Likewise.
48093         * libio/__fpurge.c: Likewise.
48094         * libio/__fsetlocking.c: Likewise.
48095         * assert/assert.c: Likewise.
48096         * debug/fgets_chk.c: Likewise.
48097         * debug/fgets_u_chk.c: Likewise.
48098         * debug/fread_chk.c: Likewise.
48099         * debug/fread_u_chk.c: Likewise.
48100         * debug/gets_chk.c: Likewise.
48101         * debug/obprintf_chk.c: Likewise.
48102         * debug/vasprintf_chk.c: Likewise.
48103         * debug/vdprintf_chk.c: Likewise.
48104         * debug/vsnprintf_chk.c: Likewise.
48105         * debug/vsprintf_chk.c: Likewise.
48106         * malloc/mtrace.c: Likewise.
48107         * misc/error.c: Likewise.
48108         * misc/syslog.c: Likewise.
48109         * stdio-common/asprintf.c: Likewise.
48110         * stdio-common/fxprintf.c: Likewise.
48111         * stdio-common/getw.c: Likewise.
48112         * stdio-common/isoc99_fscanf.c: Likewise.
48113         * stdio-common/isoc99_scanf.c: Likewise.
48114         * stdio-common/isoc99_vfscanf.c: Likewise.
48115         * stdio-common/isoc99_vscanf.c: Likewise.
48116         * stdio-common/isoc99_vsscanf.c: Likewise.
48117         * stdio-common/printf-prs.c: Likewise.
48118         * stdio-common/printf_fp.c: Likewise.
48119         * stdio-common/printf_fphex.c: Likewise.
48120         * stdio-common/printf_size.c: Likewise.
48121         * stdio-common/putw.c: Likewise.
48122         * stdio-common/scanf.c: Likewise.
48123         * stdio-common/sprintf.c: Likewise.
48124         * stdio-common/tmpfile.c: Likewise.
48125         * stdio-common/vfprintf.c: Likewise.
48126         * stdio-common/vfscanf.c: Likewise.
48127         * stdlib/strfmon_l.c: Likewise.
48128         * sunrpc/openchild.c: Likewise.
48129         * sunrpc/xdr_stdio.c: Likewise.
48130         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48131         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48133 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48135         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48137         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48138         in the third column, to generate for the shared library an IFUNC
48139         that uses _dl_vdso_vsym.
48140         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48141         * Makeconfig (object-suffixes-noshared): New variable.
48143         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48144         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48145         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48146         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48148         [BZ #14132]
48149         * include/sys/time.h (__gettimeofday): Remove macro.
48150         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48151         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48152         Remove INTDEF.
48153         (__gettimeofday): Add libc_hidden_def.
48154         (gettimeofday): Add libc_hidden_weak.
48155         * sysdeps/mach/gettimeofday.c: Likewise.
48156         * sysdeps/posix/gettimeofday.c: Likewise.
48157         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48158         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48159         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48160         (__gettimeofday_internal): Remove strong_alias.
48161         (__gettimeofday): Add libc_hidden_def.
48162         (gettimeofday): Add libc_hidden_weak.
48163         * sysdeps/unix/syscalls.list (gettimeofday):
48164         Remove __gettimeofday_internal alias.
48166 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48167             H.J. Lu  <hongjiu.lu@intel.com>
48169         [BZ #12495]
48170         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48171         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48172         (largebin_index_32_big): New.
48173         (largebin_index): Use it for 16-byte alignment.
48174         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48175         correction with front_misalign.
48177 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48181         Likewise.
48182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48183         Likewise.
48184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48185         Likewise.
48186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48187         Likewise.
48188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48189         Likewise.
48190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48191         Likewise.
48192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48193         Likewise.
48194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48195         Likewise.
48196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48197         Likewise.
48198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48199         Likewise.
48200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48201         Likewise.
48202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48203         Likewise.
48205         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48206         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48208 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48210         [BZ #10846]
48211         [BZ #14036]
48212         * math/libm-test.inc (exp_test): Add test from bug 14036.
48213         (pow_test): Add test from bug 10846.
48215         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48216         and other flags.
48217         (special_function): Do not include flags in test name.
48218         (parse_args): Likewise.
48219         * sysdeps/i386/fpu/libm-test-ulps: Update.
48220         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48221         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48222         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48225         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48226         exceptions.
48227         * math/libm-test.inc ("Philosophy"): Update comment about
48228         exception testing.
48229         (UNDERFLOW_EXCEPTION): New macro.
48230         (UNDERFLOW_EXCEPTION_OK): Likewise.
48231         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48232         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48233         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48234         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48235         (INVALID_EXCEPTION_OK): Update value.
48236         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48237         (OVERFLOW_EXCEPTION_OK): Likewise.
48238         (IGNORE_ZERO_INF_SIGN): Likewise.
48239         (test_exceptions): Handle underflow exceptions.
48240         (acos_test): Update for underflow exception expectations.
48241         (cexp_test): Likewise.
48242         (clog_test): Likewise.
48243         (clog10_test): Likewise.
48244         (csqrt_test): Likewise.
48245         (ctan_test): Likewise.
48246         (ctanh_test): Likewise.
48247         (exp_test): Likewise.
48248         (exp10_test): Likewise.
48249         (exp2_test): Likewise.
48250         (expm1_test): Likewise.
48251         (fma_test): Likewise.
48252         (j0_test): Likewise.
48253         (jn_test): Likewise.
48254         (nexttoward_test): Likewise.
48255         (pow_test): Likewise.
48256         (scalbn_test): Likewise.
48257         (scalbln_test): Likewise.
48258         (tan_test): Likewise.
48259         (y1_test): Likewise.
48260         * sysdeps/i386/fpu/libm-test-ulps: Update.
48261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48263 2012-05-23  David S. Miller  <davem@davemloft.net>
48265         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48266         (__libc_sigaction): Remove unused local variables.
48268 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48270         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48272 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48274         mktime: avoid signed integer overflow
48275         * time/mktime.c (__mktime_internal): Do not mishandle the case
48276         where diff == INT_MIN.
48278         mktime: simplify computation of average
48279         * time/mktime.c (ranged_convert): Use new time_t_avg function
48280         instead of rolling our own (probably-slower) code.
48282         mktime: do not assume signed right shift propagates sign bit
48283         * time/mktime.c (isdst_differ): New static function.
48284         (__mktime_internal): No need to normalize tm_isdst now.
48285         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48286         tm_isdst values.
48288         mktime: merge another wrapv change from gnulib
48289         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48290         from some compilers.
48292         mktime: remove incorrect attempt at unusual arithmetics
48293         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48294         The code didn't really work on such machines anyway.
48295         (TYPE_MINIMUM): Assume two's complement.
48296         (twos_complement_arithmetic): Verify that long_int and time_t
48297         are two's complement (or unsigned, in the latter case).
48299         mktime: check signed shifts on long_int and time_t, too
48300         * time/mktime.c (SHR): Check that shifts work as desired
48301         on the types long_int and time_t too, as SHR is used on
48302         such types.
48304         mktime: do not assume 'long' is wide enough
48305         * time/mktime.c (verify): Move decl up.
48306         (long_int): New type.
48307         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48308         to remove assumption in the code that 'long' is wide enough to
48309         store year values.  This assumption is not true on x32 and on
48310         some non-glibc platforms.
48312         mktime: merge wrapv change from gnulib
48313         * time/mktime.c (WRAPV): New macro.
48314         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48315         (guess_time_tm, __mktime_internal): Do not assume that signed
48316         integer overflow wraps around; modern compilers generate code
48317         where this assumption is no longer valid.
48319 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48321         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48322         Replace "jmp L(pseudo_end)" with "ret".
48323         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48324         Likewise.
48326 2012-05-23  Andreas Jaeger  <aj@suse.de>
48328         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48329         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48331 2012-05-23  Andreas Jaeger  <aj@suse.de>
48332             Maximilian Attems  <max@stro.at>
48334         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48335         New macros.
48337 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48339         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48340         code so that pseudo_end is just ret and the stack pointer is
48341         correct also for static library in error case.
48343 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48345         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48346         move to syscalls.list.
48347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48352         * manual/install.texi (Running make install): Do not mention Linux
48353         kernel version for which pt_chown is not needed.
48354         (Linux): Do not mention problems with nscd with 2.0 kernels.
48355         * INSTALL: Regenerated.
48357 2012-05-23  Andreas Jaeger  <aj@suse.de>
48359         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48360         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48361         macro.
48362         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48363         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48364         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48365         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48366         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48367         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48368         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48369         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48370         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48371         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48372         * sysdeps/unix/sysv/linux/bits/in.h
48373         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48375 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48377         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48378         (PREPARE_VERSION): Just use assert instead, it will be elided
48379         under [NDEBUG] anyway.
48381 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48383         * sysdeps/unix/sysv/linux/Makefile: Include
48384         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48385         (sysdep_routines): Remove sysctl.
48386         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48387         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48388         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48389         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48390         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48392 2012-05-22  Andreas Jaeger  <aj@suse.de>
48394         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48395         that pseudo_end is just ret and the stack pointer is correct also
48396         for static library in error case.
48398 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48400         [BZ #14122]
48401         * nss/nsswitch.c (defconfig_entries): New variable.
48402         (__nss_database_lookup): Don't leak defconfig entries.
48403         (nss_parse_service_list): Don't leak on error paths.
48404         (free_database_entries): New function.
48405         (free_defconfig): New function.
48406         (free_mem): Move common code to free_database_entries.
48408 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48410         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48411         Add arch_prctl.
48412         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48414         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48415         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48417         New macro.
48418         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48419         (INTERNAL_SYSCALL_TYPES): Likewise.
48420         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48421         (LOAD_REGS_TYPES_[1-6]): Likewise.
48422         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48423         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48425 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48427         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48428         copysignl for GLIBC_2_0.
48429         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48430         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48431         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48432         logbl for GLIBC_2_0.
48433         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48434         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48436 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48438         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48439         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48441         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48442         Use "neg %eax".
48444         * time/mktime.c: Update copyright years.
48446 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48448         mktime: merge comment-quoting-style change from gnulib
48449         * time/mktime.c: Quote 'like this' in comments.
48450         The GNU coding standards suggest that we no longer quote `like this',
48451         as "`" and "'" are typically rendered asymmetrically nowadays.
48452         The typical gnulib style is to quote 'like this' when quoting
48453         code, and "like this" when quoting English.
48455         * time/mktime.c (compile-command): Add "-I.".
48457         mktime: merge mktime-internal.h change from gnulib
48458         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48460         mktime: merge time_r change from gnulib
48461         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48463         mktime: merge DEBUG change from gnulib
48464         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48465         case system <time.h> has a #define.
48467         mktime: merge <sys/types.h> change from gnulib
48468         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48469         since <time.t> is now guaranteed to define time_t.
48471         mktime: merge HAVE_CONFIG_H change from gnulib
48472         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48474 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48476         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48477         Use "neg %eax".
48479         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48480         __rlim_t cast.
48481         (struct rusage): Use anonymous union to pad each field to
48482         __syscall_slong_t.
48484 2012-05-21  David S. Miller  <davem@davemloft.net>
48486         * Makefules (o-iterator): Remove .s cases.
48487         (compile-command.s): Delete.
48488         (COMPILE.s): Delete.
48489         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48491 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48493         * configure.in (libc_cv_predef_stack_protector): Only consider
48494         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48495         * configure: Regenerated.
48497 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48499         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48500         New macro.  Use R*LP on int and pointer.
48501         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48502         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48503         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48504         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48506         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48507         [__WORDSIZE_TIME64_COMPAT32] instead of
48508         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48509         (struct utmp): Likewise.
48510         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48511         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48512         Renamed to ...
48513         (__WORDSIZE_TIME64_COMPAT32): This.
48514         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48515         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48516         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48517         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48518         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48519         (__WORDSIZE_TIME64_COMPAT32): New macro.
48521 2012-05-21  Andreas Jaeger  <aj@suse.de>
48523         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48524         only if [SHARED]. Add prototype for __wcschr_ia32.
48526 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48528         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48529         of %rbp unmolested in the jmp_buf while mangling the low bits.
48530         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48531         unmolested high bits of %rbp while demangling the low bits.
48532         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48534 2012-05-21  Andreas Jaeger  <aj@suse.de>
48536         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48537         * sunrpc/svc_simple.c: Use it for registerrpc.
48538         * sunrpc/xcrypt.c: Use it for passwd2des.
48540         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48542 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48544         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48545         Don't define if [__SYSCALL_WORDSIZE != 32].
48546         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48547         New macro.
48549 2012-05-21  Bruno Haible  <bruno@clisp.org>
48550             Andreas Jaeger  <aj@suse.de>
48552         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48553         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48554         inptr and inend for must_buffer_ch.
48555         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48556         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48557         * stdio-common/Makefile (tests): Remove bug15.
48558         (bug15-ENV): Remove macro.
48559         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48560         anymore.
48562 2012-05-19  Andreas Jaeger  <aj@suse.de>
48563             Roland McGrath  <roland@hack.frob.com>
48565         * manual/contrib.texi: Completely rewritten. It contains now an
48566         alphabetical list of contributors and their contributions.
48568 2012-05-21  Richard Henderson  <rth@twiddle.net>
48570         * misc/getauxval.c (__getauxval): Use unsigned long int.
48571         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48572         (getauxval): Use unsigned long int.
48574 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48576         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48578 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48580         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48581         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48582         __alignof__ (long double).
48584 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48588 2012-05-20  Richard Henderson  <rth@twiddle.net>
48590         * misc/getauxval.c: New file.
48591         * misc/sys/auxv.h: New file.
48592         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48593         (routines): Add getauxval.
48594         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48595         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48596         * elf/dl-sysdep.c (_dl_auxv): Remove.
48597         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48598         * elf/dl-support.c (_dl_auxv): New variable.
48599         (_dl_aux_init): Initialize it.
48600         * manual/startup.texi (Auxiliary Vector): New node.
48601         * sysdeps/generic/bits/hwcap.h: New file.
48602         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48603         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48604         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48605         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48606         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48607         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48609         Update.
48610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48613         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48619 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48623 2012-05-19  David S. Miller  <davem@davemloft.net>
48625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48627 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48629         [BZ #14123]
48630         * math/s_ccosh.c: Include <float.h>
48631         (__ccosh): Avoid internal overflow calculating sinh and cosh
48632         values before multiplying by sin and cos values.
48633         * math/s_ccoshf.c: Likewise.
48634         * math/s_ccoshl.c: Likewise.
48635         * math/s_csin.c: Likewise.
48636         * math/s_csinf.c: Likewise.
48637         * math/s_csinl.c: Likewise.
48638         * math/s_csinh.c: Likewise.
48639         * math/s_csinhf.c: Likewise.
48640         * math/s_csinhl.c: Likewise.
48641         * math/libm-test.inc (ccos_test): Add more tests.
48642         (ccosh_test): Likewise.
48643         (csin_test): Likewise.
48644         (csinh_test): Likewise.
48645         * sysdeps/i386/fpu/libm-test-ulps: Update.
48646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48648 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48650         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48651         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48653         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48655 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48657         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48658         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48659         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48660         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48661         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48662         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48663         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48664         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48665         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48666         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48667         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48668         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48669         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48670         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48671         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48672         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48673         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48674         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48675         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48676         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48677         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48678         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48679         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48680         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48681         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48682         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48683         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48684         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48685         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48686         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48687         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48689 2012-05-18  Andreas Jaeger  <aj@suse.de>
48691         * csu/.gitignore: Delete.
48693 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48695         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48696         (timex): Use __syscall_slong_t.
48698 2012-05-18  Andreas Jaeger  <aj@suse.de>
48699             Carlos O'Donell  <carlos_odonell@mentor.com>
48701         * manual/install.texi (Configuring and compiling): Update
48702         description about files modified in the source directory.
48703         * INSTALL: Regenerated.
48705 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48707         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48708         value.  Use "or" to set return value to -1.
48709         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48710         negate return value.
48712 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48714         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48715         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48716         failure if the compiler has Graphite support disabled.
48717         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48718         Likewise.
48719         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48720         (CFLAGS-memmove.c): Likewise.
48721         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48722         Likewise.
48724 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48726         * sysdeps/x86_64/x32/_itoa.h: New file.
48728         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48729         getdents system call only if kernel and user dirents have the
48730         same d_ino and d_off.
48732         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48733         LLONG_MAX != LONG_MAX.
48734         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48735         (_fitoa_word): Likewise.
48737         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48738         years.
48739         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48740         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48741         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48743         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48744         include <bits/wordsize.h>.  Check __x86_64__ instead of
48745         __WORDSIZE.
48746         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48747         if __x86_64__ is defined.  Use anonymous union on fpstate.
48749         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48750         anonymous union.
48752 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48754         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48755         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48756         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48757         Refer to _rtld_local_ro instead of _rtld_global_ro.
48758         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48759         Likewise.
48760         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48761         Likewise.
48762         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48763         Likewise.
48764         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48765         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48766         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48768         * sysdeps/powerpc/powerpc32/dl-machine.c
48769         (__elf_machine_runtime_setup) [PROF]: Don't reference
48770         _dl_prof_resolve.
48772 2012-05-18  Andreas Jaeger  <aj@suse.de>
48774         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48775         function only available for GCCs before 3.4 since GCC 3.4
48776         introduced a builtin.
48777         (lrint): Likewise.
48778         (llrintf): Likewise.
48779         (llrint): Likewise.
48780         (fmaxf): Likewise.
48781         (fmax): Likewise.
48782         (fminf): Likewise.
48783         (fmin): Likewise.
48784         (rint): Likewise.
48785         (rintf): Likewise.
48786         (nearbyint): Likewise.
48787         (nearbyintf): Likewise.
48788         (ceil): Likewise.
48789         (ceilf): Likewise.
48790         (floor): Likewise.
48791         (floorf): Likewise.
48793 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48795         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48796         on both fields and cast pointer to __syscall_ulong_t.
48798         * bits/types.h (__fsword_t): New type.
48799         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48800         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48801         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48802         (__FSWORD_T_TYPE): Likewise.
48803         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48804         (__FSWORD_T_TYPE): Likewise.
48805         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48806         (__FSWORD_T_TYPE): Likewise.
48807         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48808         (__FSWORD_T_TYPE): Likewise.
48809         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48810         __SWORD_TYPE with __fsword_t.
48811         (statfs64): Likewise.
48813 2012-05-17  David S. Miller  <davem@davemloft.net>
48815         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48817 2012-05-17  Andreas Jaeger  <aj@suse.de>
48819         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48820         warning.
48822 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48824         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48826 2012-05-17  Andreas Jaeger  <aj@suse.de>
48828         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48829         when it is used.
48831 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48833         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48835 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48837         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48838         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48840 2012-05-17  Andreas Jaeger  <aj@suse.de>
48841             Carlos O'Donell  <carlos_odonell@mentor.com>
48843         [BZ #14059]
48844         * sysdeps/x86_64/multiarch/init-arch.h
48845         (bit_YMM_Usable): Rename to...
48846         (bit_AVX_Usable): ... this.
48847         (bit_FMA4_Usable): New macro.
48848         (bit_XMM_state): New macro.
48849         (bit_YMM_state): New macro.
48850         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48851         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48852         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48853         (CPUID_OSXSAVE): New macro.
48854         (CPUID_AVX): New macro.
48855         (CPUID_FMA4): New macro.
48856         (index_YMM_Usable): Rename to...
48857         (index_AVX_Usable): ... this.
48858         (HAS_AVX): Use HAS_ARCH_FEATURE.
48859         (HAS_FMA4): Likewise.
48860         (HAS_YMM_USABLE): Remove.
48861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48862         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48863         are present.
48864         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48865         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48866         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48867         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48868         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48870 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48872         * math/libm-test.c: Support platforms without multiple rounding modes.
48873         * math/bug-nextafter.c: Support platforms without FP exceptions.
48874         * math/bug-nexttoward.c: Likewise.
48875         * math/test-fenv.c: Likewise.
48876         * math/test-misc.c: Likewise.
48877         * stdlib/bug-getcontext.c: Likewise.
48879 2012-05-17  Andreas Jaeger  <aj@suse.de>
48881         * manual/examples/search.c (critter_cmp): Change signature to
48882         avoid warnings.
48883         * manual/string.texi (Collation Functions): Likewise.
48885 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48887         * bits/types.h: Fold copyright years.
48888         * bits/typesizes.h: Likewise.
48889         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48890         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48891         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48893         * time/time.h: Likewise.
48895 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48897         [BZ #208]
48898         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48899         in instead of returning them.  Return void.
48900         (__libc_mallinfo): Accumulate over all arenas.
48901         (__malloc_stats): Adjust for change in int_mallinfo interface.
48903 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48905         [BZ #10375]
48906         * configure.in (NM): Add AC_CHECK_TOOL for it.
48907         (libc_extra_cflags): New substituted variable.
48908         Check for -fstack-protector being used implicitly.
48909         * configure: Regenerated.
48910         * config.make.in (config-extra-cflags): New variable,
48911         gets @libc_extra_cflags@.
48912         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48914         [BZ #10375]
48915         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48916         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48917         * configure: Regenerated.
48918         * config.make.in (CPPUNDEFS): New substituted variable.
48919         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48920         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48921         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48923 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48925         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48926         (mq_attr): Use __syscall_slong_t.
48928 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48930         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48931         Check __x86_64__ instead of __WORDSIZE.
48932         (_STAT_VER_LINUX): Likewise.
48933         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48934         __syscall_ulong_t and __syscall_slong_t.
48935         (stat64): Likewise.
48937 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48939         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48941 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48943         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48945 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48947         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48948         __syscall_ulong_t.
48950         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48951         include <bits/wordsize.h>.  Check __x86_64__ instead of
48952         __WORDSIZE.
48953         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48954         defined.
48955         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48957         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48958         include <bits/wordsize.h>.  Check __x86_64__ instead of
48959         __WORDSIZE.
48960         (user_regs_struct): Use "__extension__ unsigned long long"
48961         instead of "unsigned long" if __x86_64__ is defined.
48962         (user): Likewise.  Pad after pointer field if __ILP32__ is
48963         defined.
48965 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48967         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48968         versions 5 to 9.
48969         * configure: Regenerated.
48970         * manual/install.texi (texinfo): Increase version requirement to
48971         4.5 or later.
48972         * INSTALL: Regenerated.
48974         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48976 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48978         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48980         * sysdeps/x86_64/x32/ffs.c: New file.
48982         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48983         __syscall_ulong_t.
48984         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48985         defined.  Use __syscall_ulong_t.
48986         (shminfo): Use __syscall_ulong_t.
48987         (shm_info): Likewise.
48989         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48990         __syscall_ulong_t.
48992         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48993         <bits/wordsize.h>.
48994         (msgqnum_t): Use __syscall_ulong_t.
48995         (msglen_t): Likewise.
48996         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48997         __syscall_ulong_t.
48999         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49000         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49002         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49004         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49005         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49007         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49008         __syscall_slong_t.
49010         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49011         include <bits/wordsize.h>.  Check __x86_64__ instead of
49012         __WORDSIZE.
49014         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49015         "unsigned long long int" if __x86_64__ is defined.
49016         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49018         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49019         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49020         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49022         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49023         <stdint.h>.
49024         (GET_PC): Cast to uintptr_t first.
49025         (GET_FRAME): Likewise.
49026         (GET_STACK): Likewise.
49028         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49029         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49030         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49031         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49032         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49033         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49034         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49035         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49036         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49037         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49038         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49039         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49040         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49041         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49042         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49043         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49044         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49045         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49046         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49047         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49048         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49049         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49050         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49051         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49052         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49053         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49054         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49055         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49056         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49058 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49060         * Makerules (+depfiles): Also collect depfiles from .oS in
49061         $(extra-objs).
49062         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49063         .oS, $(libnldbl-routines)).
49065         * Makerules (native-compile-mkdep-flags): Define.
49066         * sunrpc/Makefile (extra-objs): Add $(addprefix
49067         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49068         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49069         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49070         calling $(make-target-directory).
49072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49074         * bits/types.h (__snseconds_t): Removed.
49075         * time/time.h (struct timespec): Replace __snseconds_t with
49076         __syscall_slong_t.
49077         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49078         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49079         Likewise.
49080         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49081         (__SNSECONDS_T_TYPE): Likewise.
49082         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49083         (__SNSECONDS_T_TYPE): Likewise.
49084         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49085         (__SNSECONDS_T_TYPE): Likewise.
49087 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49089         * sysdeps/mach/hurd/bits/typesizes.h
49090         (__SYSCALL_SLONG_TYPE): New macro.
49091         (__SYSCALL_ULONG_TYPE): Likewise.
49093 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49095         * bits/types.h (__syscall_slong_t): New type.
49096         (__syscall_ulong_t): Likewise.
49098         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49099         (__SYSCALL_ULONG_TYPE): Likewise.
49100         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49101         (__SYSCALL_SLONG_TYPE): Likewise.
49102         (__SYSCALL_ULONG_TYPE): Likewise.
49103         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49104         (__SYSCALL_SLONG_TYPE): Likewise.
49105         (__SYSCALL_ULONG_TYPE): Likewise.
49106         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49107         (__SYSCALL_SLONG_TYPE): Likewise.
49108         (__SYSCALL_ULONG_TYPE): Likewise.
49110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49112         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49113         Add sigaltstack-offsets.sym.
49114         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49115         <sigaltstack-offsets.h>.
49116         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49117         longjmp_msg pointer.
49118         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49119         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49120         signal stack.
49121         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49123 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49125         * elf/stackguard-macros.h: Remove file.
49126         * sysdeps/generic/stackguard-macros.h: New file.
49127         * sysdeps/i386/stackguard-macros.h: Likewise.
49128         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49129         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49130         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49131         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49132         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49133         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49134         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49135         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49136         <elf/stackguard-macros.h>.
49138         [BZ #14109]
49139         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49140         __aligned__ in attribute.
49141         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49142         (gregset_t): Likewise.
49144 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49146         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49147         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49148         * sysdeps/x86_64/x32/Implies-after: New file.
49150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49152         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49153         and access return value for _dl_profile_fixup.  Use R10_LP to
49154         load frame size.
49156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49158         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49162         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49163         * sysdeps/x86_64/x32/sysdep.h: New file.
49165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49167         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49168         * sysdeps/x86_64/setjmp.S: Likewise.
49170 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49172         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49173         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49174         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49175         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49176         remove unused global constant.
49178 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49180         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49181         include of <not-cancel.h>.
49183 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49185         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49187 2012-05-15  Jeff Law  <law@redhat.com>
49188             Andreas Jaeger  <aj@suse.de>
49190         [BZ #13594]
49191         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49192         out from...
49193         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49194         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49195         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49196         code changing __hst_map_handle.map.
49198 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49200         * configure.in (sysnames): Look for Implies-before and Implies-after
49201         files.
49202         * configure: Regenerated.
49204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49206         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49207         8-byte data alignment with LP_SIZE alignment.
49209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49211         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49212         into R10_LP.
49214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49216         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49218 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49220         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49221         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49222         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49223         Likewise.
49224         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49228         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49229         (stackinfo_sub_sp): Likewise.
49231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49233         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49234         RAX_LP.
49236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49238         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49239         into R*_LP.
49241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49243         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49244         sizes into R*_LP.
49246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49248         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49252         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49253         into R11_LP and load __x86_64_shared_cache_size_half into
49254         R8_LP.
49256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49258         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49259         R8_LP.
49261 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49263         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49264         logb for POWER7.
49265         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49266         logbf for POWER7.
49267         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49268         logbl for POWER7.
49269         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49270         powerpc32/power7/fpu/s_logb.c via #include.
49271         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49272         powerpc32/power7/fpu/s_logbf.c via #include.
49273         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49274         powerpc32/power7/fpu/s_logbl.c via #include.
49276 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49278         * README.libm: Remove file.
49280 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49282         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49283         count for x32.  Use R*_LP and omit operand-size suffix.
49285 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49287         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49288         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49289         * sysdeps/x86_64/x32/shlib-versions: New file.
49291 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49293         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49294         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49295         Use _dl_fatal_printf instead.
49297 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49299         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49300         set if not set by the user.  Do not allow for being unset.
49301         * sysdeps/unix/sysv/linux/configure: Regenerated.
49303 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49305         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49306         the `q' suffix from lea and replace .quad with ASM_ADDR.
49308 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49311         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49312         instead of $17.
49313         (PTR_DEMANGLE): Likewise.
49315 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49317         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49318         (LP_OP): Likewise.
49319         (ASM_ADDR): Likewise.
49320         (RAX_LP): Likewise.
49321         (RBP_LP): Likewise.
49322         (RBX_LP): Likewise.
49323         (RCX_LP): Likewise.
49324         (RDI_LP): Likewise.
49325         (RSI_LP): Likewise.
49326         (RSP_LP): Likewise.
49327         (R8_LP): Likewise.
49328         (R9_LP): Likewise.
49329         (R10_LP): Likewise.
49330         (R10_LP): Likewise.
49331         (R11_LP): Likewise.
49332         (R12_LP): Likewise.
49333         (R13_LP): Likewise.
49334         (R14_LP): Likewise.
49335         (R15_LP): Likewise.
49337 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49339         * sysdeps/x86_64/x32/dl-machine.h: New file.
49341 2012-05-14  Andreas Jaeger  <aj@suse.de>
49343         * manual/Makefile (subdir): Remove export of subdir.
49344         (all): Remove target.
49345         (.PHONY): Remove all from list.
49346         (mkinstalldirs): Remove.
49347         (.PHONY): Remove installdirs from list.
49348         ($(inst_infodir)/libc.info): Use make-target-directory.
49349         (installdirs): Remove.
49350         (subdir_%): Remove.
49351         (glibc-targets): Remove.
49352         (lib): Remove.
49353         (stubs): Remove.
49354         ($(objpfx)stubs ../po/manual.pot): Remove.
49355         ($(objpfx)stamp%): Remove.
49356         (make-target-directory): Remove.
49357         (subdir_install): Remove.
49358         (routines): Remove.
49359         (aux): Remove.
49360         (sources): Remove.
49361         (objects): Remove.
49362         (headers): Remove.
49364         [BZ #13750]
49365         * manual/.gitignore: Remove, it's not needed anymore.
49366         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49367         all files in it.
49368         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49369         directory.
49370         (texis): Renamed to $(objpfx)texis.
49371         (texis-path): New, contains path to generated files.
49372         (chapters.%): Use texis-path for complete path, add extra argument
49373         libc-texinfo.sh.
49374         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49375         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49376         (summary,texi, stamp-summary): Use complete path of
49377         files. Generate files in build dir.
49378         (dir-add.texi): Build in build dir.
49379         (libm-err.texi,stamp-libm-err): Likewise.
49380         (version.texi, stamp-version): Likewise.
49381         (.%c.texi): Likewise.
49382         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49383         (mostlyclean): Remove target.
49384         (realclean): Remove target.
49385         (generated): Add new variable with contents from mostlyclean and
49386         realclean, remove entries duplicated in common-mostlyclean, add
49387         stamp-libm-err and stamp-version.
49388         (generated-dirs): Add libc directory.
49389         ($(inst_infodir)/libc.info): Install files from build dir.
49391         * manual/install.texi (Configuring and compiling): Adjust since
49392         the info files are not part of the tar ball anymore.
49394 2012-05-14  Andreas Jaeger  <aj@suse.de>
49396         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49397         variable.
49399 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49401         [BZ #13717]
49402         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49403         to 2.2.0 where earlier.
49404         * sysdeps/unix/sysv/linux/configure: Regenerated.
49405         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49406         Remove conditional code.
49407         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49408         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49409         Remove conditional code.
49410         [!__NR_lchown]: Likewise.
49411         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49412         [__NR_lchown]: Likewise.
49413         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49414         comment referencing __ASSUME_LCHOWN_SYSCALL.
49415         * sysdeps/unix/sysv/linux/i386/sigaction.c
49416         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49417         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49418         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49419         Remove conditional code.
49420         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49421         (__protocol_available): Remove #if 0 code.
49422         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49423         conditional code.
49424         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49425         * sysdeps/unix/sysv/linux/kernel-features.h
49426         (__ASSUME_GETCWD_SYSCALL): Don't define.
49427         (__ASSUME_REALTIME_SIGNALS): Likewise.
49428         (__ASSUME_PREAD_SYSCALL): Likewise.
49429         (__ASSUME_PWRITE_SYSCALL): Likewise.
49430         (__ASSUME_POLL_SYSCALL): Likewise.
49431         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49432         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49433         non-SPARC.
49434         (__ASSUME_SIOCGIFNAME): Don't define.
49435         (__ASSUME_MSG_NOSIGNAL): Likewise.
49436         (__ASSUME_SENDFILE): Define unconditionally.
49437         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49438         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49439         conditional code.
49440         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49441         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49442         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49443         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49444         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49445         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49446         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49448         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49449         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49451         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49452         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49454         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49455         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49457         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49458         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49460         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49461         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49463         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49464         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49466         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49467         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49469         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49470         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49471         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49472         Remove conditional code.
49473         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49474         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49475         Remove conditional code.
49476         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49477         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49478         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49479         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49480         Remove conditional code.
49481         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49482         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49483         Remove conditional code.
49484         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49485         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49486         Remove conditional code.
49487         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49488         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49489         Remove conditional code.
49490         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49491         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49492         Remove conditional code.
49493         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49494         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49495         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49496         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49497         * sysdeps/unix/sysv/linux/sigaction.c
49498         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49499         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49500         * sysdeps/unix/sysv/linux/sigpending.c
49501         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49502         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49503         * sysdeps/unix/sysv/linux/sigprocmask.c
49504         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49505         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49506         * sysdeps/unix/sysv/linux/sigsuspend.c
49507         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49508         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49509         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49510         (__libc_missing_rt_sigs): Remove.
49511         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49512         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49513         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49514         Remove conditional code.
49515         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49516         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49517         return 1.
49518         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49519         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49520         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49521         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49523 2012-05-14  Andreas Jaeger  <aj@suse.de>
49525         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49526         it's not used in glibc.
49527         (__coshm1): Likewise.
49528         (__acosh1p): Likewise.
49529         (__sgn): Likewise.
49531         * manual/string.texi (Copying and Concatenation): Add missing
49532         variable in concat example.
49533         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49535 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49537         [BZ #14103]
49538         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49539         __builtin_clzl with __builtin_clzll.
49541 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49543         [BZ #14104]
49544         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49545         libc_freeres_ptr.
49547 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49549         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49550         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49551         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49552         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49554 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49556         * NEWS: Update ia64 info.
49558 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49560         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49561         used as bcopy.
49563 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49565         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49566         * sysdeps/unix/syscalls.list (dup3): Likewise.
49567         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49568         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49570 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49572         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49573         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49575 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49577         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49578         thread pointer.
49579         (TLS_IE): Use mov/add instead of movq/addq to load thread
49580         pointer.
49581         (TLS_GD_PREFIX): New.
49582         (TLS_GD): Use it.
49584 2012-05-11  David S. Miller  <davem@davemloft.net>
49586         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49587         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49588         (_FPU_SETCW): Likewise.
49590 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49592         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49593         is 32-byte aligned.
49595 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49597         [BZ #11837]
49598         * iconvdata/gb18030.c: Update tables.
49599         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49600         characters specially.
49601         (BODY for TO_LOOP): Add encoding of missing ranges.
49603 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49605         [BZ #13673]
49606         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49607         * sysdeps/mach/hurd/dup3.c: Likewise.
49608         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49609         * sysdeps/powerpc/memmove.c:: Likewise.
49611 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49613         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49614         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49616 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49618         * elf/elf.h (R_X86_64_RELATIVE64): New.
49619         (R_X86_64_NUM): Updated.
49620         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49621         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49622         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49623         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49624         tst-quad1pie tst-quad2pie
49625         (modules-names): Add tst-quadmod1 tst-quadmod2.
49626         ($(objpfx)tst-quad1): New dependency.
49627         ($(objpfx)tst-quad2): Likewise.
49628         ($(objpfx)tst-quad1pie): Likewise.
49629         ($(objpfx)tst-quad2pie): Likewise.
49630         * sysdeps/x86_64/tst-quad1.c: New file.
49631         * sysdeps/x86_64/tst-quad1pie.c: New file.
49632         * sysdeps/x86_64/tst-quad2.c: Likewise.
49633         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49634         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49635         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49636         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49637         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49639 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49641         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49642         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49643         * streams/stropts.h (t_scalar_t): Define type.
49645         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49646         (_PATH_PRESERVE): Set to "/var/lib".
49647         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49649         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49650         instead of int.
49652         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49653         if __dir_mkfile succeeded.
49655         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49656         checking for _hurd_dtablesize.  Unlock it right after having
49657         finished _hurd_dtable allocation.
49659 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49661         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49662         * sysdeps/mach/hurd/configure: Regenerated.
49663         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49664         special-casing to...
49665         * sysdeps/gnu/configure.in: ... this new file.
49666         * sysdeps/unix/sysv/linux/configure: Regenerated.
49667         * sysdeps/gnu/configure: New generated file.
49669         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49670         for Linux: use nsec instead of usec, as well as:
49671         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49672         members of type struct timespec.
49673         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49674         New macros.
49675         (struct stat64): Likewise.
49676         (_STATBUF_ST_NSEC): New macro.
49677         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49679         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49680         __strtoul_internal rather than strtoul.
49682 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49684         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49685         and reject them.
49687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49689         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49690         which preserves existing values.
49691         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49693 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49695         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49696         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49697         greater than FD_SETSIZE.
49699 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49701         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49702         allocated, call __vm_protect to finish enabling the existing space, and
49703         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49704         allocate the remainder.
49706 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49708         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49709         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49711 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49713         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49714         sysdeps/mach/hurd/readlink.c.
49716         * posix/tst-sysconf.c (posix_options): Only use
49717         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49718         _POSIX_SYNCHRONIZED_IO when they are defined
49719         * sysdeps/mach/hurd/bits/posix_opt.h:
49720         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49721         (_XOPEN_REALTIME): Undefine macro.
49722         (_XOPEN_REALTIME_THREADS): Undefine macro.
49723         (_XOPEN_SHM): Undefine macro.
49724         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49725         macro to -1.
49726         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49727         macro to -1.
49728         (_POSIX_ASYNC_IO): Undefine macro.
49729         (_POSIX_PRIORITIZED_IO): Undefine macro.
49730         (_POSIX_SPIN_LOCKS): Define macro to -1.
49732         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49733         SA_NODEFER, SA_RESETHAND.
49734         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49735         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49736         F_DUPFD_CLOEXEC.
49738 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49740         * elf/Makefile (pldd-modules): Define unconditionally.
49742 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49744         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49748         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49749         Return ENOENT when name is empty.
49750         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49752 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49754         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49756         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49758 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49760         Fix mlock in all cases except non-readable pages.
49761         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49762         instead of VM_PROT_ALL as parameter to __vm_wire function.
49764         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49765         (__mkdir): When path is `/', just fail with EEXIST.
49766         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49768 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49770         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49771         <sys/uio.h> (for writev).
49772         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49773         and <sys/param.h> (for MIN).
49775 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49777         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49778         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49779         if interrupted.
49781 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49783         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49784         Depend on against $(link-rpcuserlibs).
49786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49788         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49789         (__libc_stack_end): Do not use attribute_relro.
49790         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49791         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49792         to libthread-provided value.
49793         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49794         attribute_relro.
49796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49798         [BZ #3748]
49799         * bits/libc-lock.h (__libc_once_get): New macro.
49800         * sysdeps/mach/bits/libc-lock.h: Likewise.
49801         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49802         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49803         instead of using implementation details.
49805         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49806         * libio/freopen.c: Likewise.
49807         * libio/freopen64.c: Likewise.
49808         * misc/syslog.c: Likewise.
49809         * nscd/connections.c: Likewise.
49810         * nscd/netgroupcache.c: Likewise.
49811         * sysdeps/posix/getcwd.c: Likewise.
49813 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49815         * math/w_ilogbf.c: Add #include <limits.h>.
49817 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49819         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49820         path instead of returning without unlocking.
49822         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49823         immediate-write ioctls.
49824         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49826 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49828         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49829         __builtin_frame_address instead of making assumptions about the
49830         location of the return address relative to DATA.  Force early load of
49831         the return address.
49832         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49833         __builtin_frame_address.
49835         dup3 for GNU Hurd.
49836         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49837         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49838         implement dup3 and do some further code clean-ups.
49839         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49840         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49842 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49844         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49846         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49847         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49848         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49849         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49850         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49851         d->port.lock.
49853         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49854         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49855         when handler == SIG_ERR, not when handler != SIG_ERR.
49857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49859         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49860         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49861         definitions.
49863         accept4 for GNU Hurd.
49864         * include/sys/socket.h (__libc_accept4): New prototype.
49865         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49866         to implement __libc_accept4.
49867         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49868         __libc_accept4.
49869         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49871         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49872         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49873         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49874         signal-defines.sym.
49876 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49878         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49880 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49882         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49883         assertion on O_CLOEXEC flag.
49884         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49885         * hurd/intern-fd.c: Likewise.
49886         * hurd/port2fd.c: Likewise.
49888 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49890         [BZ #3906]
49891         * bits/in.h (IPV6_PKTINFO): Define new macro.
49892         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49894 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49896         [BZ #13954]
49897         [BZ #13955]
49898         [BZ #13956]
49899         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49900         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49901         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49902         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49903         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49904         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49905         * math/libm-test.inc (logb_test) : Additional logb tests.
49907 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49908             Andreas Jaeger  <aj@suse.de>
49910         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49911         * configure: Regenerated.
49912         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49913         * config.make.in (link-obsolete-rpc): New substituted variable.
49914         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49915         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49916         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49917         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49918         so that libc.a contains the symbols.
49919         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49920         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49921         * sunrpc/auth_none.c: Likewise.
49922         * sunrpc/auth_unix.c: Likewise.
49923         * sunrpc/authdes_prot.c: Likewise.
49924         * sunrpc/authuxprot.c: Likewise.
49925         * sunrpc/clnt_gen.c: Likewise.
49926         * sunrpc/clnt_perr.c: Likewise.
49927         * sunrpc/clnt_raw.c: Likewise.
49928         * sunrpc/clnt_simp.c: Likewise.
49929         * sunrpc/clnt_tcp.c: Likewise.
49930         * sunrpc/clnt_udp.c: Likewise.
49931         * sunrpc/clnt_unix.c: Likewise.
49932         * sunrpc/des_crypt.c: Likewise.
49933         * sunrpc/des_soft.c: Likewise.
49934         * sunrpc/get_myaddr.c: Likewise.
49935         * sunrpc/key_call.c: Likewise.
49936         * sunrpc/key_prot.c: Likewise.
49937         * sunrpc/netname.c: Likewise.
49938         * sunrpc/pm_getmaps.c: Likewise.
49939         * sunrpc/pm_getport.c: Likewise.
49940         * sunrpc/pmap_clnt.c: Likewise.
49941         * sunrpc/pmap_prot.c: Likewise.
49942         * sunrpc/pmap_prot2.c: Likewise.
49943         * sunrpc/pmap_rmt.c: Likewise.
49944         * sunrpc/publickey.c: Likewise.
49945         * sunrpc/rpc_cmsg.c: Likewise.
49946         * sunrpc/rpc_common.c: Likewise.
49947         * sunrpc/rpc_dtable.c: Likewise.
49948         * sunrpc/rpc_prot.c: Likewise.
49949         * sunrpc/rpc_thread.c: Likewise.
49950         * sunrpc/rtime.c: Likewise.
49951         * sunrpc/svc.c: Likewise.
49952         * sunrpc/svc_auth.c: Likewise.
49953         * sunrpc/svc_raw.c: Likewise.
49954         * sunrpc/svc_run.c: Likewise.
49955         * sunrpc/svc_tcp.c: Likewise.
49956         * sunrpc/svc_udp.c: Likewise.
49957         * sunrpc/svc_unix.c: Likewise.
49958         * sunrpc/svcauth_des.c: Likewise.
49959         * sunrpc/xcrypt.c: Likewise.
49960         * sunrpc/xdr.c: Likewise.
49961         * sunrpc/xdr_array.c: Likewise.
49962         * sunrpc/xdr_float.c: Likewise.
49963         * sunrpc/xdr_intXX_t.c: Likewise.
49964         * sunrpc/xdr_mem.c: Likewise.
49965         * sunrpc/xdr_rec.c: Likewise.
49966         * sunrpc/xdr_ref.c: Likewise.
49967         * sunrpc/xdr_sizeof.c: Likewise.
49968         * sunrpc/xdr_stdio.c: Likewise.
49970 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49972         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49973         change.  Update copyright years.
49975 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49977         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49979 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49980             Joseph Myers  <joseph@codesourcery.com>
49981             Paul Pluzhnikov  <ppluzhnikov@google.com>
49983         [BZ #14012]
49984         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49985         requiring rpcgen.
49986         [cross-compiling] (extra-libs): Likewise.
49987         [cross-compiling] (extra-libs-others): Likewise.
49988         [cross-compiling] (librpcsvc-routines): Likewise.
49989         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49990         [cross-compiling] (omit-deps): Likewise.
49991         (sunrpc-CPPFLAGS): New variable.
49992         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49993         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49994         (cross-rpcgen-objs): New variable.
49995         (extra-objs): Append $(cross-rpcgen-objs).
49996         ($(cross-rpcgen-objs)): New rule.
49997         ($(objpfx)cross-rpcgen): Likewise.
49998         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49999         comment.
50000         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50001         ($(objpfx)x%.stmp): Likewise.
50002         * sunrpc/proto.h [IS_IN_build] (_): Define.
50003         [IS_IN_build] (_libc_intl_domainname): Likewise.
50005 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50007         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50008         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50009         and R_X86_64_TPOFF64.
50011 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50013         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50014         sysdeps/unix/sysv/syscalls.list.
50015         (stime): Likewise.
50016         (utime): Likewise.
50017         * sysdeps/unix/sysv/syscalls.list: Remove file.
50019 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50021         [BZ #3440]
50022         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50023         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50024         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50025         (__LC_IDENTIFICATION): Make these macros useful in #if
50026         expressions, as required by C99.
50028 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50030         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50031         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50032         after this.
50034 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50036         * stdlib/longlong.h: Updated from GCC.
50038 2012-05-09  Andreas Jaeger  <aj@suse.de>
50040         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50041         default is first entry.
50042         (run_mode): Set type.
50043         (main): Remove informal message about syslog.
50044         (options): Fix typo.
50046         [BZ #14053]
50047         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50048         to asm.
50049         (lrint): Likewise.
50050         (llrintf): Likewise.
50051         (llrint): Likewise.
50052         (rint): Likewise.
50053         (rintf): Likewise.
50054         (nearbyint): Likewise.
50055         (nearbyintf): Likewise.
50057 2012-05-09  Andreas Jaeger  <aj@suse.de>
50058             Pedro Alves  <palves@redhat.com>
50060         * nscd/nscd.c (run_mode): Use enum.
50061         (main): Cleanup coding style issue.
50063 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50064             Andreas Jaeger  <aj@suse.de>
50066         * nscd/nscd.c (go_background): Replaced with...
50067         (run_mode): ... this.
50068         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50069         (options): Add -F --foreground.
50070         (main): Implement it.
50071         (parse_opt): Parse it.
50073 2012-05-09  Andreas Jaeger  <aj@suse.de>
50075         [BZ #14083]
50076         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50077         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50078         -Wconversion warning.
50079         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50080         Likewise.
50082 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50084         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50085         == 0.
50086         (LC_ALL): Use macro-int-constant.
50087         (LC_COLLATE): Likewise.
50088         (LC_CTYPE): Likewise.
50089         (LC_MESSAGES): Likewise.
50090         (LC_MONETARY): Likewise.
50091         (LC_NUMERIC): Likewise.
50092         (LC_TIME): Likewise.
50093         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50094         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50095         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50096         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50097         Specify type.
50098         [C99-based standards] (float_t): Expect type.
50099         [C99-based standards] (double_t): Expect type.
50100         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50101         type.
50102         [C99-based standards] (HUGE_VALL): Likewise.
50103         [C99-based standards] (INFINITY): Likewise.
50104         [C99-based standards] (NAN): Likewise.
50105         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50106         [C99-based standards] (FP_NAN): Likewise.
50107         [C99-based standards] (FP_NORMAL): Likewise.
50108         [C99-based standards] (FP_SUBNORMAL): Likewise.
50109         [C99-based standards] (FP_ZERO): Likewise.
50110         [C99-based standards] (FP_FAST_FMA): Use
50111         optional-macro-int-constant.  Specify type.  Require == 1.
50112         [C99-based standards] (FP_FAST_FMAF): Likewise.
50113         [C99-based standards] (FP_FAST_FMAL): Likewise.
50114         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50115         [C99-based standards] (FP_ILOGBNAN): Likewise.
50116         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50117         Specify type.
50118         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50119         [C99-based standards] (math_errhandling): Specify type.
50120         [ISO99 || ISO11] (signgam): Do not allow.
50121         [non-C99-based standards] (copysignf): Do not allow.
50122         [non-C99-based standards] (exp2f): Likewise.
50123         [non-C99-based standards] (log2f): Likewise.
50124         [non-C99-based standards] (modff): Allow.
50125         [non-C99-based standards] (erff): Do not allow.
50126         [non-C99-based standards] (erfcf): Likewise.
50127         [non-C99-based standards] (gammaf): Likewise.
50128         [non-C99-based standards] (hypotf): Likewise.
50129         [non-C99-based standards] (j0f): Likewise.
50130         [non-C99-based standards] (j1f): Likewise.
50131         [non-C99-based standards] (jnf): Likewise.
50132         [non-C99-based standards] (lgammaf): Likewise.
50133         [non-C99-based standards] (tgammaf): Likewise.
50134         [non-C99-based standards] (y0f): Likewise.
50135         [non-C99-based standards] (y1f): Likewise.
50136         [non-C99-based standards] (ynf): Likewise.
50137         [non-C99-based standards] (isnanf): Likewise.
50138         [non-C99-based standards] (acoshf): Likewise.
50139         [non-C99-based standards] (asinhf): Likewise.
50140         [non-C99-based standards] (atanhf): Likewise.
50141         [non-C99-based standards] (cbrtf): Likewise.
50142         [non-C99-based standards] (expm1f): Likewise.
50143         [non-C99-based standards] (ilogbf): Likewise.
50144         [non-C99-based standards] (log1pf): Likewise.
50145         [non-C99-based standards] (logbf): Likewise.
50146         [non-C99-based standards] (nextafterf): Likewise.
50147         [non-C99-based standards] (remainderf): Likewise.
50148         [non-C99-based standards] (rintf): Likewise.
50149         [non-C99-based standards] (scalbf): Likewise.
50150         [non-C99-based standards] (copysignl): Likewise.
50151         [non-C99-based standards] (exp2l): Likewise.
50152         [non-C99-based standards] (log2l): Likewise.
50153         [non-C99-based standards] (modfl): Allow.
50154         [non-C99-based standards] (erfl): Do not allow.
50155         [non-C99-based standards] (erfcl): Likewise.
50156         [non-C99-based standards] (gammal): Likewise.
50157         [non-C99-based standards] (hypotl): Likewise.
50158         [non-C99-based standards] (j0l): Likewise.
50159         [non-C99-based standards] (j1l): Likewise.
50160         [non-C99-based standards] (jnl): Likewise.
50161         [non-C99-based standards] (lgammal): Likewise.
50162         [non-C99-based standards] (tgammal): Likewise.
50163         [non-C99-based standards] (y0l): Likewise.
50164         [non-C99-based standards] (y1l): Likewise.
50165         [non-C99-based standards] (ynl): Likewise.
50166         [non-C99-based standards] (isnanl): Likewise.
50167         [non-C99-based standards] (acoshl): Likewise.
50168         [non-C99-based standards] (asinhl): Likewise.
50169         [non-C99-based standards] (atanhl): Likewise.
50170         [non-C99-based standards] (cbrtl): Likewise.
50171         [non-C99-based standards] (expm1l): Likewise.
50172         [non-C99-based standards] (ilogbl): Likewise.
50173         [non-C99-based standards] (log1pl): Likewise.
50174         [non-C99-based standards] (logbl): Likewise.
50175         [non-C99-based standards] (nextafterl): Likewise.
50176         [non-C99-based standards] (remainderl): Likewise.
50177         [non-C99-based standards] (rintl): Likewise.
50178         [non-C99-based standards] (scalbl): Likewise.
50179         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50180         [non-C99-based standards] (FP_*): Do not allow.
50181         [C99-based standards] (FP_*): Change to
50182         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50183         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50184         allow.
50185         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50186         (SIG_ERR): Likewise.
50187         [X/Open-based standards] (SIG_HOLD): Likewise.
50188         (SIG_IGN): Likewise.
50189         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50190         positive value.
50191         (SIGFPE): Likewise.
50192         (SIGILL): Likewise.
50193         (SIGINT): Likewise.
50194         (SIGSEGV): Likewise.
50195         (SIGTER): Likewise.
50196         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50197         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50198         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50199         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50200         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50201         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50202         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50203         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50204         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50205         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50206         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50207         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50208         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50209         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50210         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50211         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50212         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50213         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50214         [X/Open-based standards] (SIGTRAP): Likewise.
50215         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50216         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50217         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50218         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50219         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50220         allow.
50222 2012-05-08  Ian Wienand  <ianw@vmware.com>
50224         [BZ #14080]
50225         * time/tzset.c (__tzset_parse_tz): Update default rules for
50226         daylight time changes in the Energy Policy Act of 2005.
50228 2012-05-09  Andreas Jaeger  <aj@suse.de>
50230         [BZ #13983]
50231         * elf/ldconfig.c (parse_conf): Change string to make clear that
50232         ldconfig only issued a warning if ld.so.conf does not exist.
50234 2012-05-08  David S. Miller  <davem@davemloft.net>
50236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50237         movxtod instead of popping the value on the stack.
50239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50241 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50243         * config.h.in: Add HAVE_ARM_PCS_VFP.
50245 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50247         [BZ #13979]
50248         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50249         checking but the checks are disabled for any reason.
50251 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50253         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50254         and ELF64_R_TYPE with ELFW(R_TYPE).
50256 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50258         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50259         (ulimit): Likewise.
50261         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50262         (settimeofday): Likewise.
50264 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50266         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50267         a struct th_u2 inside the union, and move tu_block/tu_code into
50268         a new th_u3 union of tu_block/tu_code inside of that.  Move
50269         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50270         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50271         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50272         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50273         (th_stuff): Change to th_u1.tu_stuff.
50274         (th_data): Define.
50275         (th_msg): Change to th_u1.th_u2.tu_data.
50277 2012-05-07  David S. Miller  <davem@davemloft.net>
50279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50281         [BZ #14074]
50282         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50283         (SETUP_PIC_REG): Use it.
50284         (SETUP_PIC_REG_LEAF): Use it.
50286 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50288         [BZ #13885]
50289         [BZ #13923]
50290         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50291         USE_AS_EXPM1L.
50292         (EXPL_FINITE): Likewise.
50293         (FLDLOG): Likewise.
50294         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50295         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50296         e_expl.S.
50297         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50298         USE_AS_EXPM1L.
50299         (EXPL_FINITE): Likewise.
50300         (FLDLOG): Likewise.
50301         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50302         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50303         e_expl.S.
50304         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50305         test of -max_value argument for long double.
50306         * sysdeps/i386/fpu/libm-test-ulps: Update.
50307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50309 2012-05-06  David S. Miller  <davem@davemloft.net>
50311         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50312         quad soft-float symbols whose references which are compiler
50313         generated.
50314         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50316 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50318         [BZ #13884]
50319         [BZ #13914]
50320         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50321         USE_AS_EXP10L.
50322         (EXPL_FINITE): Likewise.
50323         (FLDLOG): Likewise.
50324         (c0): Likewise.
50325         (c1): Likewise.
50326         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50327         Adjust comments for base varying.
50328         (__expl_finite): Change alias to EXPL_FINITE.
50329         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50330         e_expl.S.
50331         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50332         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50333         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50334         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50335         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50336         USE_AS_EXP10L.
50337         (EXPL_FINITE): Likewise.
50338         (FLDLOG): Likewise.
50339         (c0): Likewise.
50340         (c1): Likewise.
50341         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50342         Adjust comments for base varying.
50343         (__expl_finite): Change alias to EXPL_FINITE.
50344         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50345         tests for bugs.
50346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50348         [BZ #14064]
50349         * math/libm-test.inc (check_float_internal): Correct ulp
50350         calculation for subnormal expected results.
50352 2012-05-06  Andreas Jaeger  <aj@suse.de>
50354         * Makeconfig (+math-flags): New, set to -frounding-math.
50355         (+cflags): Add +math-flags so that all of glibc gets compiled with
50356         it.
50358         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50360 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50362         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50363         Disable one test.
50365         [BZ #13787]
50366         [BZ #13922]
50367         [BZ #14036]
50368         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50369         (__ieee754_expl): Allow for and saturate large arguments.
50370         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50371         (u_threshold): Likewise.
50372         (__exp): Call __ieee754_exp before checking for overflow and
50373         underflow.
50374         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50375         (u_threshold): Likewise.
50376         (__expf): Call __ieee754_expf before checking for overflow and
50377         underflow.
50378         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50379         (u_threshold): Likewise.
50380         (__expl): Call __ieee754_expl before checking for overflow and
50381         underflow.
50382         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50383         (__ieee754_expl): Allow for and saturate large arguments.
50384         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50385         missing overflow exception on overflow.
50386         (expm1_test): Do not allow missing overflow exception on overflow.
50388         * sysdeps/i386/fpu/e_expl.c: Move to ...
50389         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50390         rather than using inline asm.
50391         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50392         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50393         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50395         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50396         (nice): Likewise.
50397         (poll): Likewise.
50398         (signal): Likewise.
50399         (time): Likewise.
50400         (times): Likewise.
50402 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50404         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50405         sysdeps/unix/common/syscalls.list.
50406         (fchmod): Likewise.
50407         (fchown): Likewise.
50408         (ftruncate): Likewise.
50409         (getrusage): Likewise.
50410         (gettimeofday): Likewise.
50411         (setpgid): Likewise.
50412         (setregid): Likewise.
50413         (setreuid): Likewise.
50414         (sigaction): Likewise.
50415         (truncate): Likewise.
50416         (vhangup): Likewise.
50417         * sysdeps/unix/common/syscalls.list: Remove file.
50418         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50419         * sysdeps/unix/sysv/linux/Implies: Likewise.
50421 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50423         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50425         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50426         Moved to ...
50427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50428         Here.
50429         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50430         to ...
50431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50432         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50433         to ...
50434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50435         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50436         to ...
50437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50438         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50439         to ...
50440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50441         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50442         to ...
50443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50444         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50445         to ...
50446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50447         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50448         to ...
50449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50450         Here.
50451         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50452         to ...
50453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50454         Here.
50455         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50456         to ...
50457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50458         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50459         Moved to ...
50460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50461         Here.
50462         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50463         to ...
50464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50466 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50468         * sysdeps/unix/common/bits/dirent.h: Remove file.
50469         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50471         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50472         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50473         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50474         * sysdeps/unix/bsd/isatty.c: Likewise.
50475         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50476         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50477         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50479 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50481         [BZ #13563]
50482         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50483         long double comparison inaccuracies.
50484         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50487 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50489         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50490         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50492 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50494         [BZ #14049]
50495         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50496         nonzero digits before rounding a hex value.
50497         * stdlib/tst-strtod.c (tests): Add another test.
50499 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50501         * sysdeps/s390/fpu/libm-test-ulps: Update.
50503 2012-05-03  Andreas Jaeger  <aj@suse.de>
50505         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50506         does not get optimized out.
50507         (malloc_opt_barrier): New.
50509 2012-05-03  Andreas Jaeger  <aj@suse.de>
50510             Roland McGrath  <roland@hack.frob.com>
50512         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50513         intermediate file deletion.
50514         (generated): Add .symlist files.
50516 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50518         [BZ #13775]
50519         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50520         Redirect under this condition.
50521         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50522         [__USE_GNU] (__dprintf_chk): Not under this condition.
50523         [__USE_GNU] (__vdprintf_chk): Likewise.
50524         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50525         under this condition.
50526         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50527         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50528         [__USE_XOPEN2K8] (vdprintf): Likewise.
50529         [__USE_GNU] (__dprintf_chk): Not under this condition.
50530         [__USE_GNU] (__vdprintf_chk): Likewise.
50531         [__USE_GNU] (dprintf): Likewise.
50532         [__USE_GNU] (vdprintf): Likewise.
50534 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50536         * elf/Makefile (common-generated): Set this instead of generated for
50537         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50538         $(all-built-dso)-derived lists.
50540 2012-05-03  Andreas Jaeger  <aj@suse.de>
50542         * sysdeps/i386/fpu/libm-test-ulps: Update.
50544         * FAQ: Removed.
50545         * FAQ.in: Likewise.
50546         * scripts/gen-FAQ.pl: Likewise.
50547         * manual/install.texi (Installation): Point to online location of
50548         FAQ.
50549         * Makefile (files-for-dist): Remove FAQ.
50550         (FAQ): Remove.
50552 2012-05-02  Allan McRae  <allan@archlinux.org>
50554         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50555         (LDFLAGS-reldepmod5.so): Likewise.
50556         (LDFLAGS-reldep6mod1.so): Likewise.
50557         (LDFLAGS-reldep6mod4.so): Likewise.
50558         (LDFLAGS-reldep8mod3.so): Likewise.
50559         (LDFLAGS-unload4mod1.so): Likewise.
50560         (LDFLAGS-unload4mod2.so): Likewise.
50561         (LDFLAGS-tst-initorder): Likewise.
50562         (LDFLAGS-tst-initordera2.so): Likewise.
50563         (LDFLAGS-tst-initordera3.so): Likewise.
50564         (LDFLAGS-tst-initordera4.so): Likewise.
50565         (LDFLAGS-tst-initorderb2.so): Likewise.
50566         (LDFLAGS-noload): Likewise.
50567         (LDFLAGS-next): Likewise.
50568         (LDFLAGS-order2mod1.so): Likewise.
50569         (LDFLAGS-order2mod2.so): Likewise.
50570         (LDFLAGS-tst-initorder2): Likewise.
50571         (LDFLAGS-tst-initorder2a.so): Likewise.
50572         (LDFLAGS-tst-initorder2b.so): Likewise.
50573         (LDFLAGS-tst-initorder2c.so): Likewise.
50574         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50576 2012-05-02  David S. Miller  <davem@davemloft.net>
50578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50580 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50582         [BZ #14055]
50583         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50585 2012-05-02  Andreas Jaeger  <aj@suse.de>
50587         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50588         since we manipulate rounding mode.
50589         (CPPFLAGS-test-idouble.c): Likewise.
50590         (CPPFLAGS-test-ifloat.c): Likewise.
50591         (CFLAGS-test-ldouble.c): Likewise.
50592         (CFLAGS-test-double.c): Likewise.
50593         (CFLAGS-test-float.c): Likewise.
50594         (CFLAGS-test-misc.c): Likewise.
50595         (CFLAGS-test-test-fenv.c): Likewise.
50597 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50599         [BZ #2550]
50600         [BZ #2570]
50601         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50602         comparisons to determine direction to adjust input.
50604 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50606         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50607         output to the target.
50609         * scripts/localplt.awk: New file.
50610         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50611         (check-localplt-CFLAGS): Variable removed.
50612         ($(all-built-dso:=.jmprel)): New static pattern rule.
50613         (generated): Add those targets.
50614         (localplt-built-dso): New variable.
50615         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50617         * elf/check-localplt.c: File removed.
50619         * scripts/check-execstack.awk: New file.
50620         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50621         (check-execstack-CFLAGS): Variable removed.
50622         ($(objpfx)check-execstack.h): Target removed.
50623         ($(objpfx)execstack-default): New target.
50624         (generated): Add that instead of check-execstack.h.
50625         ($(all-built-dso:=.phdr)): New static pattern rule.
50626         (generated): Add those targets.
50627         * elf/check-execstack.c: File removed.
50629         * scripts/check-textrel.awk: New file.
50630         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50631         (check-textrel-CFLAGS): Variable removed.
50632         (all-built-dso): Use := to define.o
50633         ($(all-built-dso:=.dyn)): New static pattern rule.
50634         (generated): Add those targets.
50635         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50636         * config.make.in (READELF): New substituted variable.
50637         * elf/check-textrel.c: File removed.
50639 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50641         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50642         allow.
50643         * conform/data/ctype.h-data [C99-based standards] (isblank):
50644         Expect function.
50645         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50646         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50647         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50648         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50649         Specify type.  Require positive value.
50650         (EILSEQ): Likewise.
50651         (ERANGE): Likewise.
50652         [ISO || POSIX] (EILSEQ): Do not expect.
50653         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50654         Specify type.  Require positive value.
50655         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50656         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50657         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50658         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50659         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50660         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50661         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50662         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50663         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50664         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50665         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50666         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50667         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50668         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50669         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50670         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50671         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50672         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50673         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50674         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50675         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50676         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50677         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50678         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50679         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50680         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50681         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50682         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50683         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50684         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50685         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50686         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50687         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50688         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50689         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50690         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50691         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50692         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50693         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50694         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50695         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50696         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50697         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50698         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50699         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50700         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50701         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50702         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50703         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50704         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50705         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50706         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50707         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50708         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50709         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50710         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50711         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50712         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50713         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50714         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50715         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50716         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50717         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50718         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50719         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50720         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50721         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50722         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50723         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50724         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50725         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50726         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50727         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50728         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50729         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50730         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50731         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50732         Require >= 2.
50733         (FLT_ROUNDS): Expect as macro, not constant.
50734         (FLT_MANT_DIG): Use macro-int-constant.
50735         (DBL_MANT_DIG): Likewise.
50736         (LDBL_MANT_DIG): Likewise.
50737         (FLT_DIG): Likewise.
50738         (DBL_DIG): Likewise.
50739         (LDBL_DIG): Likewise.
50740         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50741         (DBL_MIN_EXP): Likewise.
50742         (LDBL_MIN_EXP): Likewise.
50743         (FLT_MAX_EXP): Use macro-int-constant.
50744         (DBL_MAX_EXP): Likewise.
50745         (LDBL_MAX_EXP): Likewise.
50746         (FLT_MAX_10_EXP): Likewise.
50747         (DBL_MAX_10_EXP): Likewise.
50748         (LDBL_MAX_10_EXP): Likewise.
50749         (FLT_MAX): Use macro-constant.
50750         (DBL_MAX): Likewise.
50751         (LDBL_MAX): Likewise.
50752         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50753         (DBL_EPSILON): Likewise.
50754         (LDBL_EPSILON): Likewise.
50755         (FLT_MIN): Likewise.
50756         (DBL_MIN): Likewise.
50757         (LDBL_MIN): Likewise.
50758         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50759         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50760         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50761         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50762         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50763         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50764         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50765         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50766         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50767         [ISO11] (FLT_TRUE_MIN): Likewise.
50768         [ISO11] (LDBL_TRUE_MIN): Likewise.
50769         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50770         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50771         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50772         (SCHAR_MAX): Likewise.
50773         (UCHAR_MAX): Likewise.
50774         (CHAR_MIN): Likewise.
50775         (CHAR_MAX): Likewise.
50776         (MB_LEN_MAX): Use macro-int-constant.
50777         (SHRT_MIN): Use macro-int-constant.  Specify type.
50778         (SHRT_MAX): Likewise.
50779         (USHRT_MAX): Likewise.
50780         (INT_MAX): Likewise.
50781         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50782         bound negative.
50783         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50784         bound with "U".
50785         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50786         bound with "L".
50787         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50788         bound negative.  Suffix upper bound with "L".
50789         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50790         bound with "UL".
50791         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50792         Specify type.
50793         [C99-based standards] (LLONG_MAX): Likewise.
50794         [C99-based standards] (ULLONG_MAX): Likewise.
50795         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50796         == 0.
50797         [ISO11] (max_align_t): Require type.
50798         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50800         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50801         from $CFLAGS, without defining away __attribute__ calls.
50802         (checknamespace): Use $CFLAGS_namespace.
50804         * conform/conformtest.pl (@keywords): Only include C99 keywords
50805         for standards based on C99 or C11.
50807         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50808         Disable tests.
50809         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50810         UNIX98]: Likewise.
50812         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50813         usability of symbols in #if.
50815         * conform/conformtest.pl: If macro or constant types start
50816         "promoted:", expect the symbol to be of the following type
50817         promoted by the integer promotions.
50819         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50820         in one place.  Also handle "macro-constant".
50822         * conform/conformtest.pl: Only accept expected macro values with
50823         "==".  Parse all "macro" lines in one place.
50824         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50826         * conform/conformtest.pl: Handle braced types on "constant" lines
50827         instead of handling "typed-constant".
50828         * conform/data/signal.h-data: Use "constant" instead of
50829         "typed-constant".
50831         * conform/conformtest.pl: Handle "optional-" at start of lines in
50832         one place rather than duplicating several cases.  Handle each
50833         format of "macro" line with initial "optional-".
50835         * conform/conformtest.pl: Only accept expected constant or
50836         optional-constant values with "==".  Parse all "constant" lines in
50837         one place.  Parse all "optional-constant" lines in one place.
50838         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50839         * conform/data/fmtmsg.h-data: Likewise.
50840         * conform/data/netinet/in.h-data: Likewise.
50841         * conform/data/tar.h-data: Likewise.
50842         * conform/data/limits.h-data: Use "==" form on "constant" and
50843         "optional-constant" lines.
50845         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50846         Use -std=c99 for XOPEN2K.
50847         (@knownproblems): Remove.
50848         (newtoken): Don't check %isknown.
50850         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50851         Do not expect macro.
50852         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50853         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50854         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50855         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50856         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50857         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50858         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50859         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50860         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50861         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50862         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50863         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50864         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50865         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50866         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50867         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50868         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50869         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50870         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50871         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50872         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50873         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50874         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50875         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50876         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50877         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50878         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50879         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50880         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50881         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50882         [XPG3] (acosh): Likewise.
50883         [XPG3] (asinh): Likewise.
50884         [XPG3] (atanh): Likewise.
50885         [XPG3] (cbrt): Likewise.
50886         [XPG3] (expm1): Likewise.
50887         [XPG3] (ilogb): Likewise.
50888         [XPG3] (log1p): Likewise.
50889         [XPG3] (logb): Likewise.
50890         [XPG3] (nextafter): Likewise.
50891         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50892         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50893         [XPG3] (remainder): Likewise.
50894         [XPG3] (rint): Likewise.
50895         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50896         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50897         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50898         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50899         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50900         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50901         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50902         [UNIX98 || XOPEN2K] (scalb): Expect.
50903         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50904         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50905         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50906         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50907         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50908         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50909         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50910         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50911         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50912         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50913         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50914         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50915         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50916         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50917         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50918         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50919         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50920         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50921         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50922         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50923         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50924         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50925         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50926         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50927         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50928         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50929         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50930         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50931         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50932         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50933         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50934         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50935         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50936         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50937         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50938         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50939         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50940         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50941         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50942         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50943         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50944         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50945         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50946         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50947         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50948         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50949         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50950         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50951         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50952         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50953         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50954         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50955         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50956         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50957         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50958         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50959         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50960         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50961         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50962         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50963         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50964         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50965         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50966         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50967         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50968         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50969         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50970         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50971         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50972         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50973         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50974         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50975         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50976         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50977         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50978         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50979         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50980         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50981         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50982         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50983         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50984         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50985         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50986         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50987         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50988         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50989         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50990         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50991         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50992         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50993         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50994         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50995         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50996         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50997         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50998         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50999         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51000         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51001         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51002         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51003         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51004         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51005         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51006         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51007         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51008         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51009         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51010         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51011         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51012         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51013         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51014         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51015         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51016         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51017         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51018         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51019         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51020         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51021         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51022         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51023         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51024         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51025         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51026         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51027         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51028         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51029         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51030         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51031         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51032         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51033         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51034         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51035         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51036         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51037         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51038         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51039         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51041         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51042         _XOPEN_SOURCE_EXTENDED for XPG4.
51044         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51046         * Makeconfig (localtime): Remove variable.
51047         (inst_localtime-file): Likewise.
51049 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51052         Update.
51053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51054         Update.
51055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51056         Update.
51057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51058         Update.
51059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51060         Update.
51061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51062         Update.
51063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51064         Update.
51065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51066         Update.
51067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51068         Update.
51070 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51072         [BZ #2550]
51073         [BZ #2570]
51074         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51075         comparisons to determine direction to adjust input.
51076         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51077         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51078         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51079         Likewise.
51080         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51081         Likewise.
51082         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51083         Likewise.
51084         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51085         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51086         Likewise.
51087         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51088         Likewise.
51089         * math/libm-test.inc (nexttoward_test): Add more tests.
51091 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51093         [BZ #14040]
51094         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51095         in version GLIBC_2.1, not GLIBC_2.0.
51096         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51097         Likewise.
51099 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51101         [BZ #13942]
51102         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51103         (1 - x) * (1 + x).
51104         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51105         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51106         * math/libm-test.inc (acos_test): Add more tests.
51107         (asin_test): Likewise.
51108         * sysdeps/i386/fpu/libm-test-ulps: Update.
51109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51111         [BZ #14034]
51112         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51113         of square root.
51114         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51115         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51116         * math/libm-test.inc (acos_test_tonearest): New function.
51117         (acos_test_towardzero): Likewise.
51118         (acos_test_downward): Likewise.
51119         (acos_test_upward): Likewise.
51120         (asin_test_tonearest): Likewise.
51121         (asin_test_towardzero): Likewise.
51122         (asin_test_downward): Likewise.
51123         (asin_test_upward): Likewise.
51124         (main): Call the new functions.
51125         * sysdeps/i386/fpu/libm-test-ulps: Update.
51126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51128         [BZ #13884]
51129         [BZ #13924]
51130         * math/e_exp10.c: Include <float.h>.
51131         (__ieee754_exp10): Handle underflow here rather than multiplying
51132         large negative argument by M_LN10.
51133         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51134         of __ieee754_expf.
51135         * math/e_exp10l.c: Include <float.h>.
51136         (__ieee754_exp10l): Handle underflow here rather than multiplying
51137         large negative argument by M_LN10l.
51138         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51139         spurious overflow exception on underflow.
51141 2012-04-29  Marek Polacek  <polacek@redhat.com>
51143         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51144         (__fortify_function): New macro.
51145         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51146         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51147         __extern_always_inline.
51148         * libio/bits/stdio2.h: Likewise.
51149         * libio/bits/stdio.h: Likewise.
51150         * string/string.h: Likewise.
51151         * string/bits/string3.h: Likewise.
51152         * include/stdio.h: Likewise.
51153         * stdlib/bits/stdlib.h: Likewise.
51154         * stdlib/stdlib.h: Likewise.
51155         * rt/bits/mqueue2.h: Likewise.
51156         * rt/mqueue.h: Likewise.
51157         * posix/bits/unistd.h: Likewise.
51158         * posix/unistd.h: Likewise.
51159         * io/bits/poll2.h: Likewise.
51160         * io/bits/fcntl2.h: Likewise.
51161         * io/fcntl.h: Likewise.
51162         * io/sys/poll.h: Likewise.
51163         * misc/bits/syslog.h: Likewise.
51164         * misc/bits/syslog-ldbl.h: Likewise.
51165         * misc/sys/syslog.h: Likewise.
51166         * socket/bits/socket2.h: Likewise.
51167         * socket/sys/socket.h: Likewise.
51168         * debug/tst-chk1.c: Likewise.
51169         * wcsmbs/bits/wchar2.h: Likewise.
51170         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51171         * wcsmbs/wchar.h: Likewise.
51173 2012-04-29  Andreas Jaeger  <aj@suse.de>
51175         * Makerules (tests): Remove enable-check-abi protection.
51176         (check-abi-warn): Remove.
51177         (check-abi-%): Remove check-abi-warn usage.
51179         * configure.in: Remove check-abi configure option.
51180         * configure: Regenerated.
51181         * config.make.in (enable-check-abi): Remove.
51183 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51185         [BZ #14033]
51186         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51187         double functions to double *_finite functions.
51189         [BZ #13941]
51190         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51191         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51192         LDBL_MIN_EXP.
51193         * stdio-common/Makefile (tests): Add tst-sprintf3.
51194         * stdio-common/tst-sprintf3.c: New file.
51196         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51197         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51199 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51201         * conform/conformtest.pl: Remove duplicate typed-constant
51202         handling.
51204 2012-04-28  David S. Miller  <davem@davemloft.net>
51206         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51207         (check-abi-%): Remove AWK script prerequisite and explicit
51208         abilist directory.
51209         (check-abi): Rewrite to just diff the symlist with the abilist.
51210         (config-tls, config-abi-config): Delete, no longer used.
51211         (update-abi-%): Remove AWK script and explicit abilist directory.
51212         (update-abi): Rewrite to simply compare and conditionally copy the
51213         symlist and the sysdep abilist file.  Remove update-abi-config
51214         checks.
51215         * abilist/ld.abilist: Remove.
51216         * abilist/libBrokenLocale.abilist: Remove.
51217         * abilist/libanl.abilist: Remove.
51218         * abilist/libcrypt.abilist: Remove.
51219         * abilist/libdl.abilist: Remove.
51220         * abilist/librt.abilist: Remove.
51221         * abilist/libthread_db.abilist: Remove.
51222         * abilist/libutil.abilist: Remove.
51223         * scripts/extract-abilist.awk: Remove.
51224         * scripts/merge-abilist.awk: Remove.
51225         * sysdeps/generic/libcidn.abilist: New file.
51226         * sysdeps/generic/libnss_compat.abilist: New file.
51227         * sysdeps/generic/libnss_db.abilist: New file.
51228         * sysdeps/generic/libnss_dns.abilist: New file.
51229         * sysdeps/generic/libnss_files.abilist: New file.
51230         * sysdeps/generic/libnss_hesiod.abilist: New file.
51231         * sysdeps/generic/libnss_nis.abilist: New file.
51232         * sysdeps/generic/libnss_nisplus.abilist: New file.
51233         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51234         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51235         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51236         file.
51237         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51238         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51239         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51240         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51241         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51242         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51243         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51244         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51245         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51246         file.
51247         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51248         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51249         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51250         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51251         file.
51252         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51253         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51254         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51255         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51256         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51257         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51258         file.
51259         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51260         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51261         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51262         file.
51263         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51265         New file.
51266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51267         New file.
51268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51269         New file.
51270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51271         New file.
51272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51273         New file.
51274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51275         New file.
51276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51277         New file.
51278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51279         New file.
51280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51281         New file.
51282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51283         New file.
51284         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51285         New file.
51286         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51287         New file.
51288         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51289         New file.
51290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51291         file.
51292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51293         New file.
51294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51295         New file.
51296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51297         file.
51298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51299         New file.
51300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51301         New file.
51302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51303         file.
51304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51305         New file.
51306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51307         New file.
51308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51309         New file.
51310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51311         New file.
51312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51313         New file.
51314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51315         New file.
51316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51318         file.
51319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51320         New file.
51321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51322         file.
51323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51324         file.
51325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51326         file.
51327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51328         file.
51329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51330         file.
51331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51332         New file.
51333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51334         file.
51335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51336         file.
51337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51338         New file.
51339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51340         file.
51341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51343         file.
51344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51345         New file.
51346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51347         file.
51348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51349         file.
51350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51351         file.
51352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51353         file.
51354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51355         file.
51356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51357         New file.
51358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51359         file.
51360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51361         file.
51362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51363         New file.
51364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51365         file.
51366         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51367         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51368         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51369         file.
51370         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51371         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51372         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51373         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51374         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51375         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51376         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51377         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51378         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51379         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51382         file.
51383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51384         New file.
51385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51386         file.
51387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51388         file.
51389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51390         file.
51391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51392         file.
51393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51394         file.
51395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51396         New file.
51397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51398         New file.
51399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51400         file.
51401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51402         New file.
51403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51404         file.
51405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51407         file.
51408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51409         New file.
51410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51411         file.
51412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51413         file.
51414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51415         file.
51416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51417         file.
51418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51419         file.
51420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51421         New file.
51422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51423         New file.
51424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51425         file.
51426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51427         New file.
51428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51429         file.
51431 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51433         * conform/conformtest.pl: Fix typo in handling typed-constant from
51434         allow-header.
51436 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51438         * README: Cut down references to pre-2.6 Linux kernels and
51439         Linuxthreads.  Update lists of configurations in libc and ports
51440         and sort alphabetically.  Say "or newer" with Linux kernel version
51441         requirements.
51443         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51445 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51447         [BZ #887]
51448         * math/libm-test.inc (logb_test_downward): New test to expose
51449         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51450         rounding mode.
51452 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51454         [BZ #14027]
51455         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51456         to be done.
51457         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51458         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51460 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51462         * sysdeps/unix/i386/brk.S: Remove file.
51463         * sysdeps/unix/i386/dl-brk.S: Likewise.
51464         * sysdeps/unix/i386/pipe.S: Likewise.
51465         * sysdeps/unix/i386/sigreturn.S: Likewise.
51466         * sysdeps/unix/i386/syscall.S: Likewise.
51467         * sysdeps/unix/i386/vfork.S: Likewise.
51468         * sysdeps/unix/i386/wait.S: Likewise.
51470         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51471         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51473         * configure.in (arm*-none*): Do not allow without
51474         --enable-hacker-mode.
51475         (netbsd*): Remove case setting base_os.
51476         (386bsd*): Likewise.
51477         (freebsd*): Likewise.
51478         (bsdi*): Likewise.
51479         (osf*): Likewise.
51480         (sunos*): Likewise.
51481         (ultrix*): Likewise.
51482         (newsos*): Likewise.
51483         (dynix*): Likewise.
51484         (*bsd*): Likewise.
51485         (sysv*): Likewise.
51486         (isc*): Likewise.
51487         (esix*): Likewise.
51488         (sco*): Likewise.
51489         (minix*): Likewise.
51490         (irix4*): Likewise.
51491         (irix6*): Likewise.
51492         (solaris[2-9]*): Likewise.
51493         (none): Likewise.
51494         * configure: Regenerated.
51496 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51498         [BZ #11521]
51499         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51500         overflow or cancellation in calculating denominator.
51501         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51502         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51503         down expression to avoid unexpected rounding in newer GCCs.
51504         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51506 2012-04-26  David S. Miller  <davem@davemloft.net>
51508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51509         long-double compat symbols.
51510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51524 2012-04-25  David S. Miller  <davem@davemloft.net>
51526         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51527         HWCAP_* values only after the memory barriers have been defined.
51528         (atomic_full_barrier): Define.
51529         (atomic_read_barrier): Define.
51530         (atomic_write_barrier): Define.
51532 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51534         * shlib-versions: Add libgcc_s version information.
51535         * sysdeps/generic/libgcc_s.h: Remove.
51536         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51537         libgcc_s.h.
51538         * sysdeps/gnu/unwind-resume.c: Likewise.
51539         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51541 2012-04-25  David S. Miller  <davem@davemloft.net>
51543         * sysdeps/unix/sparc/brk.S: Delete.
51544         * sysdeps/unix/sparc/dl-brk.S: Delete.
51545         * sysdeps/unix/sparc/pipe.S: Delete.
51546         * sysdeps/unix/sparc/sysdep.S: Delete.
51547         * sysdeps/unix/sparc/sysdep.h: Delete.
51548         * sysdeps/unix/sparc/vfork.S: Delete.
51549         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51550         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51551         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51552         (ret_ERRVAL, r0, r1, MOVE): Define.
51553         (JUMPTARGET): Remove.
51554         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51555         sysdeps/unix/sparc/sysdep.h
51556         (ENTRY, END): Remove.
51557         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51559 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51561         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51562         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51563         -DIS_IN_build.
51565         * timezone/README: Update upstream location and email address for
51566         tzcode and tzdata.
51567         * timezone/zdump.c: Update from tzcode 2012b.
51568         * timezone/zic.c: Likewise.
51570         * configure.in (libc_cv_as_needed): Remove test.
51571         * configure: Regenerated.
51572         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51573         conditional definition.
51574         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51575         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51576         * config.make.in (have-as-needed): Remove variable.
51578 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51579             Paul Pluzhnikov  <ppluzhnikov@google.com>
51581         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51582         strings correctly.
51584 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51586         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51587         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51588         * sysdeps/sh/strlen.S: Likewise.
51590 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51592         * sysdeps/unix/fork.S: Remove file.
51593         * sysdeps/unix/i386/fork.S: Likewise.
51594         * sysdeps/unix/sparc/fork.S: Likewise.
51596         * sysdeps/unix/system.c: Remove file.
51597         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51599         * sysdeps/unix/getegid.S: Remove file.
51600         * sysdeps/unix/geteuid.S: Likewise.
51602 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51604         * scripts/check-localplt.awk: New file.
51605         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51606         of diff.
51607         * scripts/data/localplt-generic.data: Add a comment.
51609         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51610         NODE when __dir_mkfile failed.
51611         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51612         Reported by Ludovic Courtès <ludo@gnu.org>.
51614 2012-04-24  Andreas Jaeger  <aj@suse.de>
51616         * Makerules (common-clean): Also remove gen-as-const-headers
51617         files.
51619 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51621         * Makerules (native-compile): Do not change working directory for
51622         build.  Use $(OUTPUT_OPTION) in command.
51623         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51625 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51627         [BZ #13886]
51628         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51629         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51630         * math/libm-test.inc (floor_test): Add more tests.
51631         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51633 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51635         * sysdeps/unix/getdents.c: Remove file.
51636         * sysdeps/unix/sysv/getdents.c: Likewise.
51637         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51639         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51640         sysdeps/unix/mman/syscalls.list.
51641         (mmap): Likewise.
51642         (mprotect): Likewise.
51643         (msync): Likewise.
51644         (munmap): Likewise.
51645         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51646         * sysdeps/unix/mman/syscalls.list: Remove.
51647         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51649         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51650         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51651         * configure: Regenerated.
51652         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51653         $(libgcc_s_suffix).
51654         * config.make.in (libgcc_s_suffix): Remove variable.
51656 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51658         * sysdeps/unix/sysv/gethostname.c: Move to ...
51659         * sysdeps/posix/gethostname.c: ... here.
51661         * sysdeps/unix/execve.S: Remove file.
51663         * sysdeps/unix/_exit.S: Remove file.
51665 2012-04-23  Andreas Jaeger  <aj@suse.de>
51667         [BZ #13739]
51668         * manual/Makefile: Remove make dist support, there's no
51669         need for a stand-alone documentation tar ball.
51670         (TEXI2DVI): Define always, it's not in Makeconfig.
51671         (dist): Removed.
51672         (tar-it): Removed.
51673         (edition): Removed.
51674         (glibc-doc-$(edition).tar): Removed
51675         (%.Z): Removed.
51676         (%.gz): Removed.
51677         (%.uu): Removed.
51678         (ETAGS): Remove, it's in Makeconfig.
51679         (move-if-change): Remove, it's in Makeconfig.
51681 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51683         [BZ #13970]
51684         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51685         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51686         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51687         (strtod_l, strtof_l, strtold_l): Remove __wur.
51688         It is not necessarily an error to ignore strtol's return value.
51689         One can reliably look at the stored endptr to decide whether
51690         the number had valid syntax.
51692 2012-04-21  Andreas Jaeger  <aj@suse.de>
51694         [BZ #13739]
51695         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51697 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51699         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51700         * sysdeps/unix/sysv/Versions: Remove file.
51702 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51704         [BZ #13927]
51705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51707 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51709         [BZ #7064]
51710         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51711         version from __vm86.
51713 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51715         * sysdeps/unix/common/lxstat.c: Remove file.
51716         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51718         * sysdeps/unix/sysv/Makefile: Remove file.
51720         * sysdeps/unix/sysv/direct.h: Remove file.
51722         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51723         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51724         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51725         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51726         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51727         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51728         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51730         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51732         * sysdeps/unix/xmknod.c: Remove file.
51733         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51735         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51737         * sysdeps/unix/sysv/i386/time.S: Remove file.
51739         * sysdeps/unix/fxstat.c: Remove file.
51740         * sysdeps/unix/xstat.c: Likewise.
51741         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51743         * sysdeps/unix/sysv/sigaction.c: Remove file.
51745         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51746         (sysdep_headers): Remove variable.
51747         [termio.h not in sysdep_headers] (generated): Likewise.
51748         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51749         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51750         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51751         * sysdeps/unix/sysv/tcflow.c: Likewise.
51752         * sysdeps/unix/sysv/tcflush.c: Likewise.
51753         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51754         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51755         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51756         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51757         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51759         * sysdeps/unix/siglist.c: Remove file.
51761         * sysdeps/unix/getppid.S: Remove file.
51763         * sysdeps/unix/mkdir.c: Remove file.
51764         * sysdeps/unix/rmdir.c: Likewise.
51766 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51768         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51769         ERR_MAX value.
51770         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51771         errlist-compat value.
51773 2012-04-18  David S. Miller  <davem@davemloft.net>
51775         * sysdeps/generic/memcopy.h (reg_char): Delete.
51776         * debug/strcat_chk.c: Use char, not reg_char.
51777         * debug/strcpy_chk.c: Likewise.
51778         * debug/strncat_chk.c: Likewise.
51779         * debug/strncpy_chk.c: Likewise.
51780         * string/memchr.c: Likewise.
51781         * string/memrchr.c: Likewise.
51782         * string/rawmemchr.c: Likewise.
51783         * string/strcat.c: Likewise.
51784         * string/strchr.c: Likewise.
51785         * string/strchrnul.c: Likewise.
51786         * string/strcmp.c: Likewise.
51787         * string/strcpy.c: Likewise.
51788         * string/strncat.c: Likewise.
51789         * string/strncmp.c: Likewise.
51790         * string/strncpy.c: Likewise.
51792 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51794         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51795         __builtin_memcopy is called when src and dest ranges are known to not
51796         overlap.
51798 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51800         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51801         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51802         fwd_align_merge macro call.
51803         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51804         bwd_align_merge macro call.
51805         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51807 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51809         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51810         bwd_align_merge macros.
51811         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51812         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51813         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51815 2012-04-18  David S. Miller  <davem@davemloft.net>
51817         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51819 2012-04-18  Andreas Jaeger  <aj@suse.de>
51821         [BZ# 6794]
51822         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51823         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51824         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51826         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51827         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51828         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51830         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51831         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51832         Adjust for changed ldbl-128 files.
51834         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51835         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51836         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51838 2012-04-17  David S. Miller  <davem@davemloft.net>
51840         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51842 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51844         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51845         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51846         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51847         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51848         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51849         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51851 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51853         [BZ #6794]
51854         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51855         * math/libm-test.inc: Add ilogb errno and exception tests.
51856         * math/w_ilogb.c: New file: ilogb wrapper.
51857         * math/w_ilogbf.c: New file: ilogbf wrapper.
51858         * math/w_ilogbl.c: New file: ilogbl wrapper.
51859         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51860         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51861         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51862         exception being thrown with 0.0 as argument.
51863         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51864         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51865         exception being thrown with 0.0 as argument.
51866         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51867         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51868         exception being thrown with 0.0 as argument.
51869         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51870         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51871         exception being thrown with 0.0 as argument.
51872         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51873         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51874         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51875         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51876         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51877         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51878         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51879         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51880         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51882 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51884         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51885         with altivec.
51887 2012-04-16  Marek Polacek  <polacek@redhat.com>
51889         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51891 2012-04-16  Marek Polacek  <polacek@redhat.com>
51893         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51894         operands of fdivp instruction.
51896 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51898         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51899         * elf/tst-auditmod3b.c: Likewise.
51900         * elf/tst-auditmod4b.c: Likewise.
51901         * elf/tst-auditmod5b.c: Likewise.
51902         * elf/tst-auditmod6b.c: Likewise.
51903         * elf/tst-auditmod6c.c: Likewise.
51904         * elf/tst-auditmod7b.c: Likewise.
51905         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51906         * sysdeps/x86_64/preconfigure.in: Likewise.
51907         * sysdeps/x86_64/preconfigure: Regenerated.
51909 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51911         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51912         __ILP32__.
51914 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51916         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51917         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51919 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51921         [BZ #13973]
51922         * locale/iso-639.def: Fix gl language name. Spotted by
51923         Yaron Shahrabani.
51925 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51927         [BZ #2074]
51928         * libio/libio.h (__io_write_fn): Update comment.
51930 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51932         [BZ #2074]
51933         * stdio.texi (Hook Functions): The user provided writer function
51934         is not allowed to return -1.
51936 2012-04-11  David S. Miller  <davem@davemloft.net>
51938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51940 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51942         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51943         Add a leading slash to rtkaio.
51945 2012-04-11  Jim Meyering  <meyering@redhat.com>
51947         [BZ #11959]
51948         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51949         It is not necessarily an error to ignore fwrite's return
51950         value.  One can reliably use ferror to test for errors after
51951         the fact.
51953 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51955         * bits/types.h (__snseconds_t): New type.
51956         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51958         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51959         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51960         (__SNSECONDS_T_TYPE): Likewise.
51961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51962         (__SNSECONDS_T_TYPE): Likewise.
51963         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51964         (__SNSECONDS_T_TYPE): Likewise.
51966 2012-04-10  Andreas Jaeger  <aj@suse.de>
51968         [BZ #2636]
51969         * manual/time.texi (Processor Time): Return type of times is
51970         elapsed real time since an arbitrary point in the past.
51971         (CPU Time): Move CLK_TCK from here...
51972         (Processor Time): ...to here.  Correct description.
51973         * manual/conf.texi (Constants for Sysconf): Correct description of
51974         _SC_CLK_TCK.
51976 2012-04-10  David S. Miller  <davem@davemloft.net>
51978         [BZ #13967]
51979         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51980         where the is a gap between DT_REL(A) and DT_JMPREL.
51982 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51984         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51985         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51986         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51988 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51990         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51991         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51992         (dl_main): Handle --inhibit-cache.
51993         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51994         _dl_inhibit_cache.
51995         * elf/dl-load.c (_dl_map_object): Use it.
51996         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51998 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52000         [BZ #13872]
52001         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52002         (__ieee754_powl): Saturate large exponents rather than testing for
52003         overflow of y*log2(x).
52004         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52005         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52006         exceptions.
52008         [BZ #11521]
52009         * math/s_ctan.c: Include <float.h>.
52010         (__ctan): Avoid internal overflow or cancellation in calculating
52011         denominator.
52012         * math/s_ctanf.c: Likewise.
52013         * math/s_ctanl.c: Likewise.
52014         * math/s_ctanh.c: Likewise.
52015         * math/s_ctanhf.c: Likewise.
52016         * math/s_ctanhl.c: Likewise.
52017         * math/libm-test.inc (ctan_test): Add more tests.
52018         (ctanh_test): Likewise.
52019         * sysdeps/i386/fpu/libm-test-ulps: Update.
52020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52022 2012-04-09  Andreas Jaeger  <aj@suse.de>
52024         [BZ #6894]
52025         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52026         is an optional BSD extension.
52028         [BZ #10254]
52029         * manual/stdio.texi (Opening Streams): Document additional fopen
52030         parameters.
52032 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52034         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52035         %eax without telling the compiler.
52037 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52039         [BZ # 13963]
52040         * manual/install.texi: Use sourceware.org.
52042 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52044         [BZ #13873]
52045         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52046         (__ieee754_pow): Generate overflow and underflow using huge*huge
52047         and tiny*tiny rather than just returning constant infinity or zero
52048         for large exponents.
52049         * math/libm-test.inc (pow_test): Require overflow exceptions for
52050         applicable cases of large exponents.
52052         [BZ #706]
52053         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52054         (__ieee754_pow): Use iterative multiplication algorithm only for
52055         integer exponents with absolute value below 1024.  Check for odd
52056         integer exponents when using algorithm for real exponents.
52057         * math/libm-test.inc (pow_test): Add more tests.
52058         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52060 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52062         [BZ #13705]
52063         * math/libm-test.inc (exp_test): Do not allow overflow exception
52064         on underflow test.
52066 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52068         [BZ #13705]
52069         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52070         instead of __kernel_standard_f.
52072 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52074         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52075         * sysdeps/x86_64/memset_chk.S: Likewise.
52077 2012-04-08  Andreas Jaeger  <aj@suse.de>
52079         [BZ #10153]
52080         * manual/startup.texi (Environment Access): Describe return value
52081         for putenv and setenv.
52083         [BZ #6895]
52084         * manual/filesys.texi (Directory Entries): Add description for
52085         DT_LNK.
52087         [BZ #6890]
52088         * manual/filesys.texi (Directory Entries): Clarify that it's file
52089         system not operating system in the description of DT_UNKNOWN.
52091         [BZ #6578]
52092         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52094 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52096         [BZ #6649]
52097         * manual/llio.texi (Opening and Closing Files): Add cross
52098         reference to explain mode argument.
52100 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52102         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52103         * sysdeps/x86_64/memset_chk.S: Likewise.
52105 2012-04-07  David S. Miller  <davem@davemloft.net>
52107         * elf/elf.h (R_SPARC_WDISP10): Define.
52108         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52109         R_SPARC_SIZE32.
52110         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52111         R_SPARC_SIZE64 and R_SPARC_H34.
52113 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52115         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52116         conditions and remove no longer applicable assertion.
52118 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52120         * bits/byteswap.h: Include <features.h>.
52121         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52122         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52124 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52126         * bits/byteswap.h (__bswap_16): Removed.
52127         Include <bits/byteswap-16.h> to get __bswap_16.
52128         * sysdeps/i386/bits/byteswap.h: Likewise.
52129         * sysdeps/s390/bits/byteswap.h: Likewise.
52130         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52131         * bits/byteswap-16.h: New file.
52132         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52133         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52134         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52135         * string/Makefile (headers): Add bits/byteswap-16.h.
52137 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52139         [BZ #13895]
52140         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52141         extra indirection.
52142         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52143         * nss/tst-nss-static.c: New.
52145 2012-04-06  Robert Millan  <rmh@gnu.org>
52147         [BZ #6486]
52148         * manual/llio.texi (File Position Primitive): lseek
52149         refers to WHENCE when it really means OFFSET.
52151 2012-04-06  Andreas Jaeger  <aj@suse.de>
52153         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52154         strncmp declarations.
52156         * abilist/libc.abilist: Add __poll and __ppoll.
52158 2012-04-05  David S. Miller  <davem@davemloft.net>
52160         * scripts/check-local-headers.sh: Accept a host triplet in the
52161         path matched by the exclude regexp.
52163         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52164         definition.
52165         * sysdeps/powerpc/powerpc32/dl-machine.h
52166         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52167         * sysdeps/s390/s390-32/dl-machine.h
52168         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52169         * sysdeps/sparc/sparc32/dl-machine.h
52170         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52171         * sysdeps/sparc/sparc64/dl-machine.h
52172         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52174         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52175         lazy binding.
52176         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52177         undefined symbol errors.
52179         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52180         DT_NEEDED entries.
52182 2012-04-05  Michael Matz  <matz@suse.de>
52184         [BZ #13592]
52185         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52187 2012-04-05  Andreas Jaeger  <aj@suse.de>
52189         [BZ #13908]
52190         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52191         comment.
52193 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52195         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52196         which ROUND is no valid rounding mode.
52198 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52200         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52201         read again.
52202         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52204 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52206         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52207         an exception using FPU order intentionally.
52209 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52211         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52212         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52213         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52214         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52216 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52218         [BZ #12340]
52219         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52220         EINVAL when BUFLEN is too smal.
52222 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52224         [BZ #13553]
52225         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52226         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52228 2012-04-03  Andreas Jaeger  <aj@suse.de>
52230         [BZ #13938]
52231         * manual/setjmp.texi (System V contexts): Fix sentence.
52233         [BZ #13926]
52234         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52235         New macro for this case.
52236         [!__GNUC__] (__bswap_64): New inline function for this case.
52237         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52238         * bits/byteswap.h: Likewise.
52239         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52240         ull, guard with __GLIBC_HAVE_LONG_LONG.
52242         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52243         __GLIBC_HAVE_LONG_LONG.
52245         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52246         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52248 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52250         [BZ #13691]
52251         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52252         inptr and inend, rather than using last_ch.
52254 2012-04-02  David S. Miller  <davem@davemloft.net>
52256         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52257         * stdio-common/printf-parse.h (read_int): Change return type to
52258         'int', return -1 on INT_MAX overflow.
52259         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52260         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52261         overflows INT_MAX.  Check for overflow of in-format-string precision
52262         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52263         SIZE_MAX not INT_MAX for integer overflow test.
52264         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52265         skip the construct in the format string but do not record anything.
52266         * stdio-common/bug22.c: Adjust to test both width/prevision
52267         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52268         explicitly for proper errno values.
52270 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52272         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52273         CHAR_MAX.
52274         * string/test-strcmp.c [! WIDE]: Likewise.
52275         * time/tst-mktime2.c: Likewise for INT_MAX.
52276         * string/test-string.h: #include <sys/param.h> for MIN.
52278         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52279         * sysdeps/i386/init-first.c (init): Likewise.
52280         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52281         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52282         * sysdeps/sh/init-first.c (init): Likewise.
52284 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52286         * po/ru.po: Update from translation team.
52287         * po/vi.po: Likewise.
52289 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52291         * resolv/nss_dns/dns-host.c: Merge copyright years.
52293 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52295         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52296         Optimize memcpy with prefetch if
52297         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52298         src, dst pointers have unequal 16 byte alignments.
52300 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52302         [BZ #13928]
52303         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52304         from a CNAME entry and return the minimum ttl for the query.
52305         (gaih_getanswer_slice): Likewise.
52307 2012-03-30  Jeff Law  <law@redhat.com>
52309         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52310         due to long keys.
52311         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52312         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52314         * resolv/nss_dns/dns-host.c: Update copyright year.
52316 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52318         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52319         requests to save a system call.  Fix check that all bytes are sent.
52321         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52322         comments for sendmmsg.
52324 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52326         [BZ #13691]
52327         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52328         with only 1 character between 0x0041 and 0x01b0.
52329         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52330         * wcsmbs/tst-mbsnrtowcs.c: New file.
52332 2012-03-29  David S. Miller  <davem@davemloft.net>
52334         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52335         small copies by hand.
52337 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52339         [BZ #13761]
52340         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52341         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52342         group memberships.
52344 2012-03-28  David S. Miller  <davem@davemloft.net>
52346         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52347         that branches into memcpy.
52348         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52349         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52350         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52351         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52352         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52353         bits.
52354         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52355         implementation too.
52356         * sysdeps/sparc/mempcpy.S: New file.
52358         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52359         the IFUNC routine in the libc case.
52360         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52362         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52363         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52364         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52365         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52366         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52367         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52368         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52369         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52371         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52372         loop to 256 bytes instead of 64 bytes and fix test signedness.
52374         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52375         * sysdeps/sparc/sparc32/Makefile: rather than here...
52376         * sysdeps/sparc/sparc64/Makefile: and here.
52378 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52380         * malloc/mallocbug.c: Avoid warnings about unused variables.
52382 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52384         [BZ #13760]
52385         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52386         in the right place. Discard and retry query if response is
52387         larger than input buffer size.
52389 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52391         [BZ #369]
52392         [BZ #2678]
52393         [BZ #3866]
52394         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52395         x for large integer exponent.
52396         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52397         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52398         sign of result as needed afterwards.
52399         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52400         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52401         result for underflowing pow the same as for overflow.
52402         (__kernel_standard_l): Handle powl overflow and underflow here
52403         rather than calling __kernel_standard.
52404         * math/libm-test.inc (pow_test): Add more tests.
52406         [BZ #3868]
52407         [BZ #13879]
52408         [BZ #13910]
52409         [BZ #13911]
52410         [BZ #13912]
52411         [BZ #13913]
52412         [BZ #13915]
52413         [BZ #13916]
52414         [BZ #13917]
52415         [BZ #13918]
52416         [BZ #13919]
52417         [BZ #13920]
52418         [BZ #13921]
52419         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52420         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52421         (__kernel_standard_l): New function.
52422         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52423         __kernel_standard.
52424         * math/w_acosl.c (__acosl): Likewise.
52425         * math/w_asinl.c (__asinl): Likewise.
52426         * math/w_atan2l.c (__atan2l): Likewise.
52427         * math/w_atanhl.c (__atanhl): Likewise.
52428         * math/w_coshl.c (__coshl): Likewise.
52429         * math/w_exp10l.c (__exp10l): Likewise.
52430         * math/w_exp2l.c (__exp2l): Likewise.
52431         * math/w_fmodl.c (__fmodl): Likewise.
52432         * math/w_hypotl.c (__hypotl): Likewise.
52433         * math/w_j0l.c (__j0l, __y0l): Likewise.
52434         * math/w_j1l.c (__j1l, __y1l): Likewise.
52435         * math/w_jnl.c (__jnl, __ynl): Likewise.
52436         * math/w_lgammal.c (__lgammal): Likewise.
52437         * math/w_log10l.c (__log10l): Likewise.
52438         * math/w_log2l.c (__log2l): Likewise.
52439         * math/w_logl.c (__logl): Likewise.
52440         * math/w_powl.c (__powl): Likewise.
52441         * math/w_remainderl.c (__remainderl): Likewise.
52442         * math/w_scalbl.c (sysv_scalbl): Likewise.
52443         * math/w_sinhl.c (__sinhl): Likewise.
52444         * math/w_sqrtl.c (__sqrtl): Likewise.
52445         * math/w_tgammal.c (__tgammal): Likewise.
52446         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52447         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52448         * math/libm-test.inc (acos_test): Add more tests.
52449         (acosh_test): Likewise.
52450         (asin_test): Likewise.
52451         (atanh_test): Likewise.
52452         (exp_test): Likewise.
52453         (exp10_test): Likewise.
52454         (exp2_test): Likewise.
52455         (expm1_test): Likewise.
52456         (lgamma_test): Likewise.
52457         (log_test): Likewise.
52458         (log10_test): Likewise.
52459         (log1p_test): Likewise.
52460         (log2_test): Likewise.
52461         (pow_test): Do not allow some spurious overflow exceptions.
52462         (sqrt_test): Add more tests.
52463         (tgamma_test): Likewise.
52464         (y0_test): Likewise.
52465         (y1_test): Likewise.
52466         (yn_test): Likewise.
52468 2012-03-27  Anton Blanchard  <anton@samba.org>
52470         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52471         MAP_HUGETLB.
52472         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52473         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52474         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52476 2012-03-27  David S. Miller  <davem@davemloft.net>
52478         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52480         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52481         have-as-vis3 check.
52483 2012-03-27  Andreas Jaeger  <aj@suse.de>
52485         * sysdeps/x86_64/elf/configure.in: Moved to ...
52486         * sysdeps/x86_64/configure.in: ... here.
52487         * sysdeps/x86_64/elf/start.S: Moved to ...
52488         * sysdeps/x86_64/start.S: ... here.
52489         * sysdeps/x86_64/elf/configure: Delete.
52491         * sysdeps/x86_64/configure.in: Merge contents from
52492         sysdeps/i386/configure.in (without i686 check).
52494         * sysdeps/i386/elf/Versions: Merge into ...
52495         * sysdeps/i386/Versions: ... this.
52496         * sysdeps/i386/elf/Versions: Delete file.
52497         * sysdeps/i386/elf/start.S: Moved to ...
52498         * sysdeps/i386/start.S: ...here.
52499         * sysdeps/i386/elf/configure.in: Merge into...
52500         * sysdeps/i386/configure.in: ...here.
52501         * sysdeps/i386/elf/configure.in: Delete file.
52502         * sysdeps/i386/elf/configure: Delete file.
52504         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52505         * debug/backtracesyms.c: ... here.
52506         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52507         * debug/backtracesymsfd.c: ... here.
52508         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52509         * sysdeps/generic/ifunc-sel.h: ... here.
52511         * sysdeps/unix/i386/start.c: Delete file.
52512         * sysdeps/unix/sparc/start.c: Delete file.
52513         * sysdeps/unix/start.c: Delete file.
52515         * sysdeps/sh/elf/configure.in: Moved to ...
52516         * sysdeps/sh/configure.in: ... here.
52517         * sysdeps/sh/elf/start.S: Moved to ...
52518         * sysdeps/sh/start.S: ... here.
52519         * sysdeps/sh/elf/configure: Delete file.
52521         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52522         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52523         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52524         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52525         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52526         * sysdeps/powerpc/powerpc64/start.S: here.
52527         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52528         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52529         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52530         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52531         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52533         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52534         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52535         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52536         * sysdeps/powerpc/powerpc32/start.S: ... here.
52537         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52538         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52539         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52541         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52542         * sysdeps/powerpc/ifunc-sel.h: ... here.
52543         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52544         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52546         * sysdeps/sparc/elf/configure.in: Moved to ...
52547         * sysdeps/sparc/configure.in: ... here.
52548         * sysdeps/sparc/elf/configure: Delete file.
52549         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52550         * sysdeps/sparc/sparc32/start.S: ... here.
52551         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52552         * sysdeps/sparc/sparc64/start.S: ... here.
52553         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52554         * sysdeps/sparc/sparc32/Makefile: ... this.
52555         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52556         * sysdeps/sparc/sparc64/Makefile: ... this.
52558         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52559         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52560         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52561         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52562         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52563         * sysdeps/s390/s390-32/setjmp.S: ... here.
52564         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52565         * sysdeps/s390/s390-32/configure.in: ... here.
52566         * sysdeps/s390/s390-32/elf/configure: Delete file.
52567         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52568         * sysdeps/s390/s390-32/start.S: ... here.
52570         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52571         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52572         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52573         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52574         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52575         * sysdeps/s390/s390-64/setjmp.S: ... here.
52576         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52577         * sysdeps/s390/s390-64/configure.in: ... here
52578         * sysdeps/s390/s390-64/elf/configure: Delete file.
52579         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52580         * sysdeps/s390/s390-64/start.S: ... here.
52581         * sysdeps/s390/s390-64/elf/configure: Delete.
52583         * configure.in: Remove support for elf directories in sysdeps.
52585         * configure: Regenerated.
52586         * sysdeps/i386/configure: Regenerated.
52587         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52588         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52589         * sysdeps/s390/s390-32/configure: Regenerated.
52590         * sysdeps/s390/s390-64/configure: Regenerated.
52591         * sysdeps/sh/configure: Regenerated.
52592         * sysdeps/sparc/configure: Regenerated.
52593         * sysdeps/x86_64/configure: Regenerated.
52595 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52600         denormal result into account.
52602 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52604         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52605         Reported by Allan McRae <allan@archlinux.org>.
52607 2012-03-23  Jeff Law  <law@redhat.com>
52609         * nss/getnssent.c (__nss_getent): Fix typo.
52611 2012-03-23  David S. Miller  <davem@davemloft.net>
52613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52615 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52617         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52618         to pad to uint64_t for each field.
52619         (dl_tls_index): Replace unsigned long with uint64_t.
52621 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52622         Paul Pluzhnikov  <ppluzhnikov@google.com>
52624         [BZ #6528]
52625         * grp/Makefile (otherlibs): Don't set it.
52626         * inet/Makefile (otherlibs): Likewise.
52627         * login/Makefile (otherlibs): Likewise.
52628         * nscd/Makefile (otherlibs): Likewise.
52629         * posix/Makefile (otherlibs): Likewise.
52630         * pwd/Makefile (otherlibs): Likewise.
52631         * rt/Makefile (otherlibs): Likewise.
52632         * sunrpc/Makefile (otherlibs): Likewise.
52633         * nss/Makefile (otherlibs): Likewise.
52634         Add libnss_files to routines and static-only-routines.
52635         ($(objpfx)getent): Remove rule.
52636         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52637         static-only-routines.
52639 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52641         [BZ #13892]
52642         * math/s_cexp.c: Include <float.h>.
52643         (__cexp): Handle exp result overflowing not necessarily
52644         overflowing both real and imaginary parts of result.
52645         * math/s_cexpf.c: Likewise.
52646         * math/s_cexpl.c: Likewise.
52647         * math/libm-test.inc (cexp_test): Add more tests.
52648         * sysdeps/i386/fpu/libm-test-ulps: Update.
52649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52651 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52653         * include/link.h (ELFW): New macro.
52654         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52655         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52657 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52659         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52660         with uint64_t.
52662 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52664         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52665         declaration.
52666         (struct La_x32_retval): Likewise.
52668 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52670         * sysdeps/x86_64/preconfigure.in: New file.
52671         * sysdeps/x86_64/preconfigure: New generated file.
52673 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52675         [BZ #13824]
52676         * math/e_exp2l.c: Include <float.h>.
52677         (__ieee754_exp2l): Handle overflow and underflow cases
52678         separately.  Only pass fractional part of argument to
52679         __ieee754_expl.
52680         * math/libm-test.inc (exp2_test): Add more tests.
52682         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52683         negating x to take absolute value.
52684         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52685         Likewise.
52686         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52687         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52688         Likewise.
52689         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52690         computing low part if x was negated.
52691         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52693 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52695         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52696         la_x32_gnu_pltexit.
52697         (pltexit): Cast int_retval to ptrdiff_t.
52698         * elf/tst-auditmod3b.c: Likewise.
52699         * elf/tst-auditmod4b.c: Likewise.
52700         * elf/tst-auditmod5b.c: Likewise.
52701         * elf/tst-auditmod6b.c: Likewise.
52702         * elf/tst-auditmod6c.c: Likewise.
52703         * elf/tst-auditmod7b.c: Likewise.
52705         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52706         and x32_gnu_pltexit.
52708         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52709         __ELF_NATIVE_CLASS.
52710         (La_x32_regs): New macro.
52711         (La_x32_retval): Likewise.
52712         (la_x32_gnu_pltenter): New function prototype.
52713         (la_x32_gnu_pltexit): Likewise.
52715 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52717         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52718         exponent.
52720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52722         * configure.in (libc_cv_cc_nofma): Check for option to disable
52723         generation of FMA instructions.
52724         * configure: Regenerate.
52725         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52726         * sysdeps/ieee754/dbl-64/Makefile: New file.
52727         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52728         Remove brandred-fma4.
52729         (CFLAGS-brandred-fma4.c): Remove.
52730         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52731         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52732         define.
52733         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52734         define.
52736 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52738         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52739         LLONG_MAX != LONG_MAX.
52740         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52741         (_fitoa_word): Likewise.
52742         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52743         LLONG_MAX != LONG_MAX.
52744         * stdio-common/_itowa.h: Include <_itoa.h>.
52745         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52746         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52747         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52748         only if not defined.
52749         (_ITOA_WORD_TYPE): Likewise.
52750         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52751         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52753 2012-03-21  David S. Miller  <davem@davemloft.net>
52755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52757 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52759         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52760         of x86_64 when setting libc_cv_slibdir, libdir and
52761         libc_cv_localedir.
52762         * sysdeps/unix/sysv/linux/configure: Regenerated.
52764 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52766         * manual/lang.texi (Old Varargs): Remove section.
52767         (How Variadic): Update menu.
52768         (va_start): Do not mention varargs.h.
52770 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52771             Joseph Myers  <joseph@codesourcery.com>
52773         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52774         link test.
52775         * configure: Regenerated.
52777 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52779         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52780         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52781         conformtest.pl
52783 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52785         * NOTES: Remove.
52786         * Makefile (files-for-dist): Remove NOTES.
52787         (NOTES): Remove rule.
52788         * README: Don't refer to NOTES.
52789         * manual/creature.texi: Don't include macros.texi.
52790         * manual/intro.texi (creature.texi): Remove comment referring to
52791         NOTES.
52793         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52794         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52795         * configure: Regenerated.
52796         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52797         LIBC_TRY_CC_OPTION.
52798         (libc_cv_as_i686): Likewise.
52799         (libc_cv_cc_avx): Likewise.
52800         (libc_cv_cc_sse2avx): Likewise.
52801         (libc_cv_cc_fma4): Likewise.
52802         (libc_cv_cc_novzeroupper): Likewise.
52803         * sysdeps/i386/configure: Regenerated.
52805         [BZ #13883]
52806         * sysdeps/i386/fpu/s_cexp.S: Remove.
52807         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52808         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52809         * math/libm-test.inc (cexp_test): Add more tests.
52810         * sysdeps/i386/fpu/libm-test-ulps: Update.
52811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52813 2012-03-21  Allan McRae  <allan@archlinux.org>
52815         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52817 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52819         [BZ #13871]
52820         * math/w_exp2.c: Do not include <float.h>.
52821         (o_threshold, u_threshold): Remove.
52822         (__exp2): Calculate result before checking finiteness and calling
52823         __kernel_standard.
52824         * math/w_exp2f.c: Likewise.
52825         * math/w_exp2l.c: Likewise.
52826         * math/libm-test.inc (exp2_test): Require overflow exception for
52827         1e6 input.
52829         [BZ #3866]
52830         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52831         range of signed 64-bit integers before using fistpll.  Remove
52832         checks for whether integers fit in mantissa bits.
52833         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52834         the range of signed 32-bit integers before using fistpl.  Remove
52835         checks for whether integers fit in mantissa bits.
52836         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52837         (__ieee754_powl): Test for y outside the range of signed 64-bit
52838         integers before using fistpll.  Reduce 64-bit values to 63-bit
52839         ones as needed.
52840         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52841         divide-by-zero is raised for zero to large negative powers.
52842         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52843         (__ieee754_powl): Test for y outside the range of signed 64-bit
52844         integers before using fistpll.  Reduce 64-bit values to 63-bit
52845         ones as needed.
52846         * math/libm-test.inc (pow_test): Add more tests.
52848 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52850         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52851         <stdio-common/_itoa.h>.
52852         * debug/segfault.c: Likewise.
52853         * elf/dl-cache.c: Likewise.
52854         * elf/dl-minimal.c: Likewise.
52855         * elf/dl-misc.c: Likewise.
52856         * elf/dl-sysdep.c: Likewise.
52857         * elf/dl-version.c: Likewise.
52858         * elf/rtld.c: Likewise.
52859         * hurd/hurdsock.c: Likewise.
52860         * hurd/lookup-retry.c: Likewise.
52861         * malloc/malloc.c: Likewise.
52862         * malloc/mtrace.c: Likewise.
52863         * nscd/nscd_getgr_r.c: Likewise.
52864         * nscd/nscd_getpw_r.c: Likewise.
52865         * nscd/nscd_getserv_r.c: Likewise.
52866         * posix/getopt_init.c: Likewise.
52867         * posix/wordexp.c: Likewise.
52868         * stdio-common/_itoa.c: Likewise.
52869         * stdio-common/printf_fphex.c: Likewise.
52870         * stdio-common/vfprintf.c: Likewise.
52871         * string/_strerror.c: Likewise.
52872         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52873         * sysdeps/i386/i686/hp-timing.h: Likewise.
52874         * sysdeps/mach/_strerror.c: Likewise.
52875         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52876         * sysdeps/mach/hurd/sethostid.c: Likewise.
52877         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52878         * sysdeps/mach/xpg-strerror.c: Likewise.
52879         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52880         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52881         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52882         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52883         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52884         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52885         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52886         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52887         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52888         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52889         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52890         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52891         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52892         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52893         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52894         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52895         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52896         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52897         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52898         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52899         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52901         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52903         * stdio-common/_itoa.h: Moved to ...
52904         * sysdeps/generic/_itoa.h: Here.
52906         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52908         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52909         instead of "_itoa.h" and "_itowa.h".
52910         * stdio-common/vfprintf.: Likewise.
52912 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52914         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52915         <bits/wordsize.h>.
52916         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52917         (__signbit): Likwise.
52918         (llrintf): Likwise.
52919         (llrint): Likwise.
52921 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52923         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52924         __WORDSIZE != 64.
52926 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52928         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52929         OVERFLOW_EXCEPTION_OK.
52930         * math/libm-test.inc ("Philosophy"): Update comment about
52931         exception testing.
52932         (OVERFLOW_EXCEPTION): Define.
52933         (OVERFLOW_EXCEPTION_OK): Likewise.
52934         (INVALID_EXCEPTION_OK): Renumber.
52935         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52936         (IGNORE_ZERO_INF_SIGN): Likewise.
52937         (test_exceptions): Handle FE_OVERFLOW.
52938         (exp10_test): Expect overflow exceptions.
52939         (exp2_test): Likewise.
52940         (expm1_test): Likewise.
52941         (nextafter_test): Likewise.
52942         (pow_test): Likewise.
52943         (scalbn_test): Likewise.
52944         (scalbln_test): Likewise.
52946 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52948         * sysdeps/x86_64/bits/atomic.h
52949         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52950         64bit integer.
52951         (atomic_exchange_acq): Likewise.
52952         (__arch_exchange_and_add_body): Likewise.
52953         (__arch_add_body): Likewise.
52954         (atomic_add_negative): Likewise.
52955         (atomic_add_zero): Likewise.
52957 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52959         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52960         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52962 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52964         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52965         Check __x86_64__ instead of __WORDSIZE.
52967 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52969         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52971 2012-03-19  David S. Miller  <davem@davemloft.net>
52973         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52975         * sysdeps/sparc/fpu/fenv_private.h: New file.
52976         * sysdeps/sparc/fpu/math_private.h: Use it.
52977         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52978         Remove.
52979         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52980         (libc_feholdexcept_setroundl): Remove.
52981         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52982         Remove.
52983         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52984         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52986 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52988         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52989         int64_t instead of long int.
52990         (INSERT_WORDS64): Likwise.
52992 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52994         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52995         _Unwind_GetCFA return to _Unwind_Ptr first.
52997 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52999         [BZ #13629]
53000         * math/s_clog.c: Include <float.h>.
53001         (__clog): Scale large or subnormal inputs.
53002         * math/s_clogf.c: Likewise.
53003         * math/s_clogl.c: Likewise.
53004         * math/s_clog10.c: Include <float.h>.
53005         (M_LOG10_2): Define.
53006         (__clog10): Scale large or subnormal inputs.
53007         * math/s_clog10f.c: Likewise.
53008         * math/s_clog10l.c: Likewise.
53009         * math/libm-test.inc (clog_test): Add more tests.
53010         (clog10_test): Likewise.
53011         * sysdeps/i386/fpu/libm-test-ulps: Update.
53012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53014         [BZ #11451]
53015         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53016         x and y.
53017         * math/libm-test.inc (atan2_test): Add another test.
53019         * Makerules (common-objdir-compile): Remove.
53020         * sysdeps/unix/Makefile (config-generated): Do not add
53021         $(unix-generated) to variable.
53022         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53023         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53024         Remove rule.
53025         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53026         Likewise.
53027         [generic bits/local_lim.h] (before-compile): Do not append to
53028         variable.
53029         [generic bits/local_lim.h] (common-generated): Likewise.
53030         [generic sys/param.h] (before-compile): Do not append to variable.
53031         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53032         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53033         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53034         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53035         include.
53036         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53037         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53038         [generic sys/param.h] ($(addprefix
53039         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53040         [generic sys/param.h] (common-generated): Do not append to
53041         variable.
53042         [generic sys/param.h] (sysdep_headers): Likewise.
53043         [generic bits/errno.h] (before-compile): Do not append to
53044         variable.
53045         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53046         rule.
53047         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53048         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53049         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53050         [generic bits/errno.h] (common-generated): Do not append to
53051         variable.
53052         [generic bits/ioctls.h] (before-compile): Do not append to
53053         variable.
53054         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53055         rule.
53056         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53057         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53058         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53059         rule.
53060         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53061         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53062         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53063         [generic bits/ioctls.h] (common-generated): Do not append to
53064         variable.
53065         [generic sys/syscall.h] (syscall.h): Remove variable.
53066         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53067         rule.
53068         [generic sys/syscall.h] (before-compile): Do not append to
53069         variable.
53070         [generic sys/syscall.h] (common-generated): Likewise.
53071         * sysdeps/unix/errnos-tmpl.c: Remove file.
53072         * sysdeps/unix/errnos.awk: Likewise.
53073         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53074         * sysdeps/unix/ioctls.awk: Likewise.
53075         * sysdeps/unix/mk-local_lim.c: Likewise.
53076         * sysdeps/unix/snarf-ioctls: Likewise.
53078 2012-03-19  Richard Henderson  <rth@twiddle.net>
53080         * sysdeps/i386/fpu/fenv_private.h: New file.
53081         * sysdeps/i386/fpu/math_private.h: Use it.
53082         (math_opt_barrier, math_force_eval): Remove.
53083         (libc_feholdexcept_setround_53bit): Remove.
53084         (libc_feupdateenv_53bit): Remove.
53085         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53086         (math_opt_barrier, math_force_eval): Remove.
53087         (libc_feholdexcept): Remove.
53088         (libc_feholdexcept_setround): Remove.
53089         (libc_fetestexcept, libc_fesetenv): Remove.
53090         (libc_feupdateenv_test): Remove.
53091         (libc_feupdateenv, libc_feholdsetround): Remove.
53092         (libc_feresetround): Remove.
53094         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53095         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53097         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53098         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53099         (libc_feupdateenv_testl): New.
53100         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53101         (libc_feupdateenv_testf): New.
53102         (libc_feupdateenv): Use libc_feupdateenv_test.
53103         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53104         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53106         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53107         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53108         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53109         (libc_feresetround_noex): New.
53110         (libc_feresetround_noexf): New.
53111         (libc_feresetround_noexl): New.
53112         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53113         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53114         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53115         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53116         SET_RESTORE_ROUND.
53117         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53118         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53119         (__cos): Likewise.
53120         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53121         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53122         SET_RESTORE_ROUND_NOEX.
53123         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53124         SET_RESTORE_ROUND_NOEXF.
53125         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53126         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53127         (libc_feholdsetroundf): New.
53128         (libc_feresetround, libc_feresetroundf): New.
53130         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53131         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53132         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53134         * sysdeps/generic/math_private.h: Include <fenv.h>.
53135         (default_libc_feholdexcept): New.
53136         (default_libc_feholdexcept_setround): New.
53137         (default_libc_fesetenv, default_libc_feupdateenv): New.
53138         (libc_feholdexcept): Only define if undefined.
53139         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53140         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53141         (libc_feholdexcept_setroundl): Likewise.
53142         (libc_feholdexcept_setround_53bit): Likewise.
53143         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53144         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53145         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53146         (libc_feupdateenv_53bit): Likewise.
53147         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53148         (libc_feholdexcept): Convert from macro to inline function.
53149         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53150         (libc_fesetenv, libc_feupdateenv): Likewise.
53152         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53153         not previously defined.
53154         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53155         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53156         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53157         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53158         * sysdeps/ieee754/flt-32/math_private.h: New file.
53159         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53160         math_private.h below SET_FLOAT_WORD.
53161         (__isnan, __isinf_ns, __finite): Remove.
53162         (__isnanf, __isinf_nsf, __finitef): Remove.
53164 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53168 2012-03-17  David S. Miller  <davem@davemloft.net>
53170         [BZ #6471]
53171         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53172         for 2.16.
53174 2012-03-16  David S. Miller  <davem@davemloft.net>
53176         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53177         warnings.
53179         [BZ #6471]
53180         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53181         properly.
53182         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53183         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53184         sysdep_routines when subdir is sysvipc.
53185         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53186         __getshmlba helper.
53188         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53190 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53192         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53193         [__LP64__].
53195 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53197         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53198         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53199         (__lround): Renamed to ...
53200         (__llround): This.  Replace long int with long long int.
53201         Define lround functions as aliases of llround functions.
53202         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53204 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53206         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53207         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53208         adresses to uintptr_t.  Replace "long int" and "unsigned long
53209         int" with "greg_t" on va_arg.
53211 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53213         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53214         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53216         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53217         Move e_machine check before EI_CLASS check.  Handle x32
53218         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53219         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53220         SKIP_EM_IA_64 and include
53221         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53223         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53224         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53225         (add_system_dir): New macro.
53227         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53228         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53230 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53232         [BZ #2551]
53233         [BZ #2552]
53234         [BZ #2553]
53235         [BZ #2554]
53236         [BZ #2562]
53237         [BZ #2563]
53238         [BZ #2565]
53239         [BZ #2566]
53240         [BZ #2576]
53241         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53242         (y0): Likewise.
53243         * math/w_j0f.c (j0f): Likewise.
53244         (y0f): Likewise.
53245         * math/w_j0l.c (__j0l): Likewise.
53246         (__y0l): Likewise.
53247         * math/w_j1.c (j1): Likewise.
53248         (y1): Likewise.
53249         * math/w_j1f.c (j1f): Likewise.
53250         (y1f): Likewise.
53251         * math/w_j1l.c (__j1l): Likewise.
53252         (__y1l): Likewise.
53253         * math/w_jn.c (jn): Likewise.
53254         (yn): Likewise.
53255         * math/w_jnf.c (jnf): Likewise.
53256         (ynf): Likewise.
53257         * math/w_jnl.c (__jnl): Likewise.
53258         (__ynl): Likewise.
53259         * math/libm-test.inc (j0_test): Add more tests.
53260         (j1_test): Likewise.
53261         (jn_test): Likewise.  Add trailing semicolon to existing test.
53262         (y0_test): Likewise.
53263         (y1_test): Likewise.
53264         * sysdeps/i386/fpu/libm-test-ulps: Update.
53265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53267         [BZ #13851]
53268         [BZ #13854]
53269         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53270         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53271         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53272         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53273         (__tanl): Set errno for infinite argument.
53274         * sysdeps/i386/fpu/mptan.c: Remove.
53275         * sysdeps/i386/fpu/s_tan.S: Likewise.
53276         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53277         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53278         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53279         * math/libm-test.inc (tan_test): Add more tests and enable more
53280         tests for double and long double.
53281         * sysdeps/i386/fpu/libm-test-ulps: Update.
53282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53284 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53286         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53287         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53289 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53291         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53292         * configure.in: Use it for both main tree and add-ons.
53293         * configure: Regenerated.
53295 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53297         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53299 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53301         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53302         in comment.
53304         [BZ #13851]
53305         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53306         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53307         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53308         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53309         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53310         infinite argument.
53311         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53312         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53313         != 0 for prec == 2.
53314         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53315         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53316         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53317         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53318         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53319         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53320         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53321         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53322         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53323         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53324         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53325         * math/libm-test.inc (cos_test): Add more tests and enable more
53326         tests for long double.
53327         (sin_test): Likewise.
53328         (sincos_test): Likewise.
53329         * sysdeps/i386/fpu/libm-test-ulps: Update.
53330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53332 2012-03-16  David S. Miller  <davem@davemloft.net>
53334         * sysdeps/sparc/fpu/math_private.h: New file.
53336 2012-03-15  David S. Miller  <davem@davemloft.net>
53338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53339         file.
53340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53342         file.
53343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53348         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53349         sysdep routines.
53350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53352         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53353         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53355         * sysdeps/sparc/sparc-ifunc.h: New file.
53356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53357         sparc-ifunc.h
53358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53360         Likewise.
53361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53362         Likewise.
53363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53367         Likewise.
53368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53373         Likewise.
53374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53375         Likewise.
53376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53382         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53383         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53390         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53391         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53392         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53393         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53394         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53395         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53396         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53397         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53398         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53399         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53401 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53403         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53404         scaling.
53405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53407 2012-03-15  Andreas Jaeger  <aj@suse.de>
53409         [BZ #13852]
53410         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53411         ieee754/flt-32 implementation for sin, cos and sincos.
53412         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53413         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53414         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53415         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53416         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53417         ieee754/flt-32 implementation for tan.
53419         * math/libm-test.inc (cos_test): Enable some large input tests for
53420         float as well
53421         (sin_test): Likewise.
53422         (sincos_test): Likewise.
53423         (tan_test): Add tests for large input.
53425         * sysdeps/i386/fpu/libm-test-ulps: Update.
53427 2012-03-15  Andreas Jaeger  <aj@suse.de>
53429         [BZ #13658]
53430         * math/libm-test.inc (cos_test): Add more test cases.
53431         (sin_test): Likewise.
53432         (sincos_test): Likewise.
53434 2012-03-15  Andreas Jaeger  <aj@suse.de>
53436         [BZ #13837]
53437         * math/libm-test.inc (cos_test): Add a test case for large input
53438         value.
53439         (sin_test): Likewise.
53440         (sincos_test): Likewise.
53442 2012-03-15  Andreas Jaeger  <aj@suse.de>
53443             Joseph Myers  <joseph@codesourcery.com>
53445         [BZ #13658]
53446         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53447         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53448         * sysdeps/i386/fpu/branred.c: Likewise.
53449         * sysdeps/i386/fpu/dosincos.c: Likewise.
53450         * sysdeps/i386/fpu/mpa.c: Likewise.
53451         * sysdeps/i386/fpu/s_cos.S: Likewise.
53452         * sysdeps/i386/fpu/s_sin.S: Likewise.
53453         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53454         * sysdeps/i386/fpu/sincos32.c: Likewise.
53456         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53457         Define.
53458         (libc_feupdateenv_53bit): Define.
53459         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53460         Define.
53461         (libc_feupdateenv_53bit): Define.
53463         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53464         53 bit (without extend i386 double precision).
53466         * math/libm-test.inc (sincos_test): Add tests for large input.
53467         (sin): Likewise.
53468         (cos): Likewise.
53470         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53472 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53476 2012-03-15  David S. Miller  <davem@davemloft.net>
53478         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53479         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53480         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53481         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53489         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53490         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53492         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53494         file.
53495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53497         file.
53498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53500         file.
53501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53503         file.
53504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53505         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53506         fmin/fmax sysdep routines.
53507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53509 2012-03-14  David S. Miller  <davem@davemloft.net>
53511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53512         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53513         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53514         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53515         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53516         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53517         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53518         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53520         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53527         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53528         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53529         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53530         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53531         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53532         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53533         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53534         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53535         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53536         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53537         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53538         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53539         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53540         routines.
53541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53542         file.
53543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53545         file.
53546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53548         file.
53549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53551         file.
53552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53554         file.
53555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53557         file.
53558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53559         file.
53560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53561         file.
53562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53563         file.
53564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53565         New file.
53566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53567         file.
53568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53569         file.
53570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53572         file.
53573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53575         file.
53576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53578         file.
53579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53581         VIS3 routines.
53583         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53584         New file.
53586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53588         * sysdeps/sparc/configure.in: New file.
53589         * sysdeps/sparc/configure: Generate.
53590         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53591         * configure: Regenerate.
53592         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53593         * config.make.in (have-as-vis3): New.
53594         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53595         available use -Av9d instead of -Av9a.
53596         * sysdeps/sparc/sparc64/Makefile: Likewise.
53597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53599         New file.
53600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53601         file.
53602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53603         New file.
53604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53605         file.
53606         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53607         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53608         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53609         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53610         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53612         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53613         fzeros/fnegs to load 0x80000000 into a float register instead of
53614         using the stack.
53615         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53617 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53619         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53620         bits/syscall.h.
53621         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53622         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53623         ($(inst_includedir)/bits/syscall.h): Remove rule.
53624         ($(objpfx)bits/syscall.d): Include instead of
53625         $(objpfx)syscall-list.d.
53626         (generated): Change syscall-list.h and syscall-list.d to
53627         bits/syscall.h and bits/syscall.d.
53629 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53631         [BZ #13846]
53632         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53634 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53636         [BZ #13841]
53637         * math/s_csqrt.c: Include <float.h>.
53638         (__csqrt): Scale large or subnormal inputs.
53639         * math/s_csqrtf.c: Likewise.
53640         * math/s_csqrtl.c: Likewise.
53641         * math/libm-test.inc (csqrt_test): Add more tests.
53642         * sysdeps/i386/fpu/libm-test-ulps: Update.
53643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53645         [BZ #13840]
53646         * math/libm-test.inc (hypot_test): Add more tests.
53648 2012-03-13  David S. Miller  <davem@davemloft.net>
53650         [BZ #13840]
53651         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53652         double-precision for the calculation instead of scaling.
53654 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53656         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53657         manipulate bits before adding and subtracting TWO52[sx].
53658         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53659         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53660         Likewise.
53661         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53663 2012-03-13  David S. Miller  <davem@davemloft.net>
53665         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53666         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53667         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53668         rtld-global-offsets.h
53669         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53671         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53672         large parameters.
53674         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53676         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53677         'err' in the ifdef scope in which it is actually used.
53679         * nss/nss_db/db-init.c: Include string.h
53681 2012-03-12  David S. Miller  <davem@davemloft.net>
53683         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53684         masking out of the most significant byte of random value used.
53685         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53686         Fix coding style in previous change.
53688         * sysdeps/unix/sysv/linux/kernel-features.h
53689         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53690         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53691         expression.
53692         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53693         later.
53695 2012-03-11  David S. Miller  <davem@davemloft.net>
53697         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53698         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53699         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53700         for 'resultvar' otherwise things get truncated on 64-bit.
53702         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53703         Fix masking out of the most significant byte of random value used.
53705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53707 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53711 2012-03-09  David S. Miller  <davem@davemloft.net>
53713         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53714         variables with appropriate CPP guards.
53715         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53716         from the frame pointer, not the stack pointer.  Correct layout
53717         comments.  Fix test on resulting framesize and the management of
53718         the outregs buffer for pltexit.  Preserve floating point return
53719         values across _dl_call_pltexit call.
53720         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53721         framesize and the management of the outregs buffer for pltexit.
53722         Preserve floating point return values across _dl_call_pltexit
53723         call.
53724         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53725         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53726         (la_sparc64_gnu_pltexit): New functions.
53727         (print_exit): Fix format string for return register value.
53729 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53731         * sunrpc/Makefile (others): Add rpcgen.
53732         ($(objpfx)rpcgen): Remove special build rule and dependency on
53733         libc.
53734         * sunrpc/rpcgen.c: New file.
53736 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53738         [BZ #13673]
53739         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53740         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53741         * sysdeps/i386/crti.S: Likewise.
53742         * sysdeps/i386/crtn.S: Likewise.
53743         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53744         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53745         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53746         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53747         * sysdeps/sh/crti.S: Likewise.
53748         * sysdeps/sh/crtn.S: Likewise.
53749         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53751         [BZ #13673]
53752         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53753         with URL.
53754         * locale/programs/locfile-kw.gperf: Likewise.
53755         * locale/programs/charmap-kw.h: Regenerated.
53756         * locale/programs/locfile-kw.h: Likewise.
53758         [BZ #13673]
53759         * intl/plural.y: Replace FSF snail mail address with URL.
53760         * intl/plural.c: Regenerated.
53762 2012-03-09  Richard Henderson  <rth@twiddle.net>
53764         * include/math_private.h: Remove file.
53765         * math/math_private.h: Move file ...
53766         * sysdeps/generic/math_private.h: ... here.
53768         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53769         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53770         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53772         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53773         and <math_private.h>.
53774         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53775         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53776         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53777         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53778         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53779         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53780         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53781         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53782         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53783         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53784         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53785         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53786         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53787         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53788         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53789         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53790         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53791         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53792         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53793         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53794         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53795         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53796         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53797         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53798         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53799         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53800         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53801         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53802         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53803         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53804         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53805         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53806         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53807         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53808         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53809         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53810         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53811         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53812         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53813         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53814         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53815         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53816         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53817         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53818         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53819         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53820         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53821         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53822         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53823         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53824         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53825         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53826         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53827         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53828         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53829         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53830         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53831         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53832         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53833         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53834         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53835         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53836         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53837         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53838         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53839         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53840         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53841         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53842         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53843         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53844         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53845         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53846         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53847         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53848         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53849         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53850         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53851         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53852         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53853         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53854         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53855         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53856         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53857         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53858         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53859         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53860         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53861         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53862         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53863         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53864         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53865         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53866         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53867         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53868         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53869         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53870         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53871         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53872         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53873         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53874         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53875         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53876         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53877         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53878         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53879         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53880         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53881         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53882         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53883         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53884         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53885         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53886         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53887         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53888         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53889         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53890         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53891         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53892         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53893         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53894         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53895         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53896         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53897         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53898         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53899         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53900         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53901         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53902         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53903         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53904         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53905         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53906         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53907         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53908         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53909         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53910         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53911         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53912         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53913         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53914         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53915         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53916         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53917         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53918         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53919         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53920         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53921         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53922         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53923         * sysdeps/ieee754/k_standard.c: Likewise.
53924         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53925         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53926         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53927         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53928         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53929         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53930         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53931         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53932         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53933         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53934         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53935         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53936         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53937         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53938         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53939         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53940         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53941         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53942         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53943         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53944         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53945         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53946         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53947         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53948         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53949         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53950         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53951         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53952         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53953         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53954         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53955         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53956         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53957         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53958         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53959         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53960         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53961         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53962         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53963         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53964         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53965         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53966         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53967         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53968         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53969         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53970         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53971         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53972         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53973         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53974         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53975         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53976         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53977         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53978         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53979         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53980         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53981         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53982         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53983         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53984         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53985         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53986         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53987         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53988         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53989         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53990         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53991         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53992         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53993         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53994         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53996         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53997         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53998         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53999         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54000         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54001         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54002         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54003         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54004         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54005         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54006         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54007         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54008         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54009         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54010         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54011         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54012         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54013         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54014         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54015         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54016         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54017         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54018         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54019         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54020         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54021         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54022         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54023         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54024         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54025         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54026         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54027         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54028         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54029         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54030         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54031         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54032         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54033         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54034         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54035         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54036         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54037         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54038         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54039         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54040         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54041         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54042         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54043         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54044         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54045         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54046         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54047         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54048         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54049         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54050         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54051         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54052         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54053         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54054         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54055         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54056         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54057         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54058         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54059         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54060         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54061         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54062         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54063         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54064         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54065         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54066         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54067         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54068         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54069         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54070         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54071         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54072         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54073         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54074         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54075         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54076         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54077         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54078         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54079         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54080         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54081         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54082         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54083         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54084         * sysdeps/ieee754/s_lib_version.c: Likewise.
54085         * sysdeps/ieee754/s_matherr.c: Likewise.
54086         * sysdeps/ieee754/s_signgam.c: Likewise.
54087         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54088         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54089         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54090         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54091         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54092         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54093         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54094         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54095         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54096         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54097         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54098         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54099         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54100         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54101         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54102         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54103         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54104         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54105         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54106         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54107         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54109 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54111         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54112         * sunrpc/rpc_main.c: Likewise.
54113         * sunrpc/rpc_svcout.c: Likewise.
54115 2012-03-09  David S. Miller  <davem@davemloft.net>
54117         * include/math_private.h: New file.
54119 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54121         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54122         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54123         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54124         from <bits/socket_type.h>.
54125         (enum __socket_type): Don't define here.
54126         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54128         bits/socket_type.h.
54130         [BZ #13566]
54131         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54132         checking __USE_GNU.
54134         * Makerules ($(inst_includedir)/%.h): New rule.
54135         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54136         (install-others): Remove variable setting.
54137         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54139 2012-03-08  Richard Henderson  <rth@twiddle.net>
54141         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54142         from macro to inline function; merge with the
54143         !__LIBC_INTERNAL_MATH_INLINES version.
54144         (__ieee754_sqrtf): Likewise.
54146         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54147         to inline function.
54148         (__rintf, __floor, __floorf): Likewise.
54150         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54151         macro to inline function.
54152         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54154         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54155         not <math/math_private.h>.
54157 2012-03-08  David S. Miller  <davem@davemloft.net>
54159         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54160         copyright year.
54161         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54163 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54165         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54166         normalization.
54167         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54168         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54170 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54172         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54173         be defined individually, they must be defined as a block.  Define
54174         S for printing a string instead of hidint the different by using a
54175         macro for adding the 'l'.
54176         * stdio-common/tst-fphex-wide.c: Adjust.
54178 2012-03-07  Marek Polacek  <polacek@redhat.com>
54180         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54182 2012-03-08  Marek Polacek  <polacek@redhat.com>
54184         [BZ #13806]
54185         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54186         * stdio-common/tst-fphex.c: Define a few macros to make the
54187         test reusable.  Use them.
54188         * stdio-common/tst-fphex-wide.c: New file.
54190 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54192         [BZ #6911]
54193         * manual/macros.texi (gnusystems): New macro.
54194         (nongnusystems): Likewise.
54195         (gnulinuxhurdsystems): Likewise.
54196         (gnuhurdsystems): Likewise..
54197         (gnulinuxsystems): Likewise.
54198         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54199         variants of the GNU system, not "GNU system".
54200         * manual/conf.texi: Likewise.
54201         * manual/errno.texi: Likewise.  Update example of errno macro
54202         expansion.
54203         * manual/filesys.texi: Likewise.
54204         (getumask): Document as specific to GNU/Hurd.
54205         * manual/install.texi: Likewise.  Reword some references to
54206         GNU/Linux.
54207         * manual/intro.texi: Likewise.
54208         * manual/io.texi: Likewise.
54209         (File Name Portability): Detail which constraints are inapplicable
54210         to all GNU systems and which are only inapplicable to GNU/Hurd.
54211         * manual/job.texi: Likewise.
54212         * manual/llio.texi: Likewise.
54213         (O_NOCTTY): Document as present on GNU/Linux.
54214         * manual/maint.texi: Likewise.
54215         * manual/memory.texi: Likewise.
54216         * manual/pattern.texi: Likewise.
54217         * manual/pipe.texi: Likewise.
54218         * manual/process.texi: Likewise.
54219         * manual/resource.texi: Likewise.
54220         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54221         child on GNU/Hurd.
54222         * manual/setjmp.texi: Likewise.
54223         * manual/signal.texi: Likewise.
54224         * manual/startup.texi: Likewise.
54225         * manual/stdio.texi: Likewise.
54226         * manual/terminal.texi: Likewise.
54227         (ONLCR): Document as POSIX.
54228         (OXTABS): Document availability on GNU/Linux as XTABS.
54229         (ONOEOT): Document availability separately from other bits.
54230         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54231         * manual/time.texi: Likewise.
54232         * manual/users.texi: Likewise.
54233         * INSTALL: Regenerated.
54234         * sysdeps/gnu/errlist.c: Regenerated.
54236         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54237         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54238         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54239         puts.
54240         * configure: Regenerated.
54242 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54244         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54245         default includes instead of AC_HEADER_CHECK.
54246         * sysdeps/i386/configure: Regenerated.
54248         [BZ #10716]
54249         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54250         * math/s_cacoshf.c (__cacoshf): Likewise.
54251         * math/s_cacoshl.c (__cacoshl): Likewise.
54252         * math/s_casinh.c (__casinh): Set signs of result from argument.
54253         * math/s_casinhf.c (__casinhf): Likewise.
54254         * math/s_casinhl.c (__casinhl): Likewise.
54255         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54256         (casinh_test): Add more tests.
54257         * sysdeps/i386/fpu/libm-test-ulps: Update.
54258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54260 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54262         * po/zh_TW.po: Update from translation team.
54264         * login/Makefile (distribute): Remove variable.
54265         * catgets/Makefile: Likewise.
54266         * mach/Makefile: Likewise.
54267         * malloc/Makefile: Likewise.
54268         * misc/Makefile: Likewise.
54269         * iconv/Makefile: Likewise.
54270         * nscd/Makefile: Likewise.
54271         * hurd/Makefile: Likewise.
54272         * manual/Makefile: Likewise.
54273         * locale/Makefile: Likewise.
54274         * intl/Makefile: Likewise.
54275         * conform/Makefile: Likewise.
54276         * nss/Makefile: Likewise.
54277         * time/Makefile: Likewise.
54278         * soft-fp/Makefile: Likewise.
54279         * dirent/Makefile: Likewise.
54280         * gmon/Makefile: Likewise.
54281         * po/Makefile: Likewise.
54282         * rt/Makefile: Likewise.
54283         * socket/Makefile: Likewise.
54284         * math/Makefile: Likewise.
54285         * signal/Makefile: Likewise.
54286         * debug/Makefile: Likewise.
54287         * elf/Makefile: Likewise.
54288         * timezone/Makefile: Likewise.
54289         * stdlib/Makefile: Likewise.
54290         * iconvdata/Makefile: Likewise.
54291         * sunrpc/Makefile: Likewise.
54292         * io/Makefile: Likewise.
54293         * argp/Makefile: Likewise.
54294         * inet/Makefile: Likewise.
54295         * hesiod/Makefile: Likewise.
54296         * grp/Makefile: Likewise.
54297         * csu/Makefile: Likewise.
54298         * wctype/Makefile: Likewise.
54299         * crypt/Makefile: Likewise.
54300         * libio/Makefile: Likewise.
54301         * string/Makefile: Likewise.
54302         * nis/Makefile: Likewise.
54303         * resolv/Makefile: Likewise.
54304         * stdio-common/Makefile: Likewise.
54305         * wcsmbs/Makefile: Likewise.
54306         * dlfcn/Makefile: Likewise.
54307         * posix/Makefile: Likewise.
54309         [BZ #6959]
54310         * timezone/Makefile: Don't install timezone files, just the programs
54311         and scripts.
54313 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54315         * nss/databases.def: Add missing gshadow entry.
54317         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54319 2012-03-06  Marek Polacek  <polacek@redhat.com>
54321         [BZ #13726]
54322         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54323         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54324         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54325         * stdio-common/tst-long-dbl-fphex.c: New file.
54327 2012-03-06  David S. Miller  <davem@davemloft.net>
54329         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54330         (set_obp_int): New function.
54331         (get_obp_int): New function.
54332         (__get_clockfreq_via_dev_openprom): Likewise.
54333         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54334         Avoid unused variable warnings on 'val' and use builtin_expect.
54335         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54336         __builtin_expect.
54337         (INLINE_CLONE_SYSCALL): Likewise.
54339 2012-03-05  David S. Miller  <davem@davemloft.net>
54341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54343 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54347         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54348         only for |x| >= 40.
54349         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54351 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54353         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54354         Replace gettimeofday with __vdso_gettimeofday.
54356         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54357         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54358         __vdso_clock_gettime and __vdso_getcpu.
54360         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54361         time with __vdso_time.
54363 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54365         * manual/lang.texi (size_t): Note types to which size_t may be
54366         equivalent with the GNU C Library, but do not describe when
54367         differences between them are significant.
54369 2012-03-05  Andreas Jaeger  <aj@suse.de>
54371         * sysdeps/i386/fpu/libm-test-ulps: Update.
54373 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54375         [BZ #3976]
54376         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54377         (__ieee754_pow): Save and restore rounding mode and use
54378         round-to-nearest for main computations.
54379         * math/libm-test.inc (pow_test_tonearest): New function.
54380         (pow_test_towardzero): Likewise.
54381         (pow_test_downward): Likewise.
54382         (pow_test_upward): Likewise.
54383         (main): Call the new functions.
54384         * sysdeps/i386/fpu/libm-test-ulps: Update.
54385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54387         [BZ #3976]
54388         * math/libm-test.inc (cosh_test_tonearest): New function.
54389         (cosh_test_towardzero): Likewise.
54390         (cosh_test_downward): Likewise.
54391         (cosh_test_upward): Likewise.
54392         (sinh_test_tonearest): Likewise.
54393         (sinh_test_towardzero): Likewise.
54394         (sinh_test_downward): Likewise.
54395         (sinh_test_upward): Likewise.
54396         (main): Call the new functions.
54397         * sysdeps/i386/fpu/libm-test-ulps: Update.
54398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54400 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54402         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54403         default stack guard is set in last bytes.
54404         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54406 2012-03-05  Kees Cook  <keescook@chromium.org>
54408         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54410         [BZ #13656]
54411         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54412         possibly allocate from heap instead of stack.
54413         * stdio-common/bug-vfprintf-nargs.c: New file.
54414         * stdio-common/Makefile (tests): Add nargs overflow test.
54416 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54420 2012-03-03  Marek Polacek  <polacek@redhat.com>
54422         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54423         * math/math_private.h: Likewise.
54424         * stdlib/tst-strtod.c: Likewise.
54425         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54426         * sysdeps/x86_64/bits/atomic.h: Likewise.
54428 2012-03-02  David S. Miller  <davem@davemloft.net>
54430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54434         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54435         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54436         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54437         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54439 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54441         [BZ #13792]
54442         * manual/examples/README: New file, says the example source files
54443         can be used under GPL>=2.
54444         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54445         line containing just "*/".
54446         * manual/examples/add.c: Add copyright header (GPL>=2).
54447         * manual/examples/argp-ex1.c: Likewise.
54448         * manual/examples/argp-ex2.c: Likewise.
54449         * manual/examples/argp-ex3.c: Likewise.
54450         * manual/examples/argp-ex4.c: Likewise.
54451         * manual/examples/atexit.c: Likewise.
54452         * manual/examples/db.c: Likewise.
54453         * manual/examples/dir.c: Likewise.
54454         * manual/examples/dir2.c: Likewise.
54455         * manual/examples/execinfo.c: Likewise.
54456         * manual/examples/filecli.c: Likewise.
54457         * manual/examples/filesrv.c: Likewise.
54458         * manual/examples/fmtmsgexpl.c: Likewise.
54459         * manual/examples/genpass.c: Likewise.
54460         * manual/examples/inetcli.c: Likewise.
54461         * manual/examples/inetsrv.c: Likewise.
54462         * manual/examples/isockad.c: Likewise.
54463         * manual/examples/longopt.c: Likewise.
54464         * manual/examples/memopen.c: Likewise.
54465         * manual/examples/memstrm.c: Likewise.
54466         * manual/examples/mkfsock.c: Likewise.
54467         * manual/examples/mkisock.c: Likewise.
54468         * manual/examples/mygetpass.c: Likewise.
54469         * manual/examples/pipe.c: Likewise.
54470         * manual/examples/popen.c: Likewise.
54471         * manual/examples/rprintf.c: Likewise.
54472         * manual/examples/search.c: Likewise.
54473         * manual/examples/select.c: Likewise.
54474         * manual/examples/setjmp.c: Likewise.
54475         * manual/examples/sigh1.c: Likewise.
54476         * manual/examples/sigusr.c: Likewise.
54477         * manual/examples/stpcpy.c: Likewise.
54478         * manual/examples/strdupa.c: Likewise.
54479         * manual/examples/strftim.c: Likewise.
54480         * manual/examples/strncat.c: Likewise.
54481         * manual/examples/subopt.c: Likewise.
54482         * manual/examples/swapcontext.c: Likewise.
54483         * manual/examples/termios.c: Likewise.
54484         * manual/examples/testopt.c: Likewise.
54485         * manual/examples/testpass.c: Likewise.
54486         * manual/examples/timeval_subtract.c: Likewise.
54488         [BZ #13792]
54489         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54490         function to ...
54491         * manual/timeval_subtract.c.texi: ... here, new file.
54493 2012-03-02  David S. Miller  <davem@davemloft.net>
54495         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54497 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54499         [BZ #3976]
54500         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54501         (__sin): Save and restore rounding mode and use round-to-nearest
54502         for all computations.
54503         (__cos): Save and restore rounding mode and use round-to-nearest
54504         for all computations.
54505         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54506         <fenv.h>.
54507         (tan): Save and restore rounding mode and use round-to-nearest for
54508         all computations.
54509         * math/libm-test.inc (cos_test_tonearest): New function.
54510         (cos_test_towardzero): Likewise.
54511         (cos_test_downward): Likewise.
54512         (cos_test_upward): Likewise.
54513         (sin_test_tonearest): Likewise.
54514         (sin_test_towardzero): Likewise.
54515         (sin_test_downward): Likewise.
54516         (sin_test_upward): Likewise.
54517         (tan_test_tonearest): Likewise.
54518         (tan_test_towardzero): Likewise.
54519         (tan_test_downward): Likewise.
54520         (tan_test_upward): Likewise.
54521         (main): Call the new functions.
54522         * sysdeps/i386/fpu/libm-test-ulps: Update.
54523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54525         [BZ #10135]
54526         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54527         small n, then large n, before computing and testing k+n.
54528         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54529         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54530         Likewise.
54531         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54532         Likewise.
54533         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54534         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54535         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54536         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54537         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54538         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54539         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54540         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54541         * math/libm-test.inc (scalbn_test): Add more tests.
54542         (scalbln_test): Likewise.
54544         * manual/filesys.texi (mode_t): Describe constraints on size and
54545         signedness, not exact equivalence to a particular type.
54546         (ino_t): Likewise.
54547         (ino64_t): Likewise.
54548         (dev_t): Likewise.
54549         (nlink_t): Likewise.
54550         (blkcnt_t): Likewise.
54551         (blkcnt64_t): Likewise.
54552         * manual/llio.texi (off_t): Likewise.
54554         [BZ #3976]
54555         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54556         (__ieee754_exp): Save and restore rounding mode and use
54557         round-to-nearest for all computations.
54558         * math/libm-test.inc (exp_test_tonearest): New function.
54559         (exp_test_towardzero): Likewise.
54560         (exp_test_downward): Likewise.
54561         (exp_test_upward): Likewise.
54562         (main): Call the new functions.
54563         * sysdeps/i386/fpu/libm-test-ulps: Update.
54564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54566 2012-03-01  Chris Demetriou  <cgd@google.com>
54568         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54569         have predictable order.
54571 2012-03-01  David S. Miller  <davem@davemloft.net>
54573         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54575         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54576         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54577         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54578         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54580         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54581         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54582         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54584         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54585         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54586         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54587         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54588         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54592         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54593         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54594         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54596         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54597         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54598         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54599         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54600         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54601         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54602         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54603         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54604         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54605         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54606         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54607         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54608         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54609         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54610         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54611         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54612         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54613         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54614         * sysdeps/sparc/elf/configure: Regenerated.
54616 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54618         * configure.in (AS, LD): Require binutils 2.20 or later.
54619         * configure: Regenerated.
54620         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54621         as required minimum version.
54622         * INSTALL: Regenerated.
54624         [BZ #2541]
54625         [BZ #4108]
54626         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54627         before squaring exponent.
54628         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54629         bottom long double and 27 bits of top long double before squaring
54630         exponent.
54631         * math/libm-test.inc (erfc_test): Add more tests.
54632         * sysdeps/i386/fpu/libm-test-ulps: Update.
54633         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54636 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54638         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54639         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54640         containing bit-fields.
54641         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54642         * soft-fp/single.h (_FP_UNION_S): Likewise.
54643         * soft-fp/double.h (_FP_UNION_D): Likewise.
54645 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54647         [BZ #13786]
54648         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54649         not include ../strcmp.S.
54650         [USE_AS_STRNCASECMP_L]: Likewise.
54651         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54652         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54653         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54654         (__strncasecmp_l_ia32): Define as alias to
54655         __strncasecmp_l_nonascii.
54657         [BZ #5794]
54658         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54659         * sysdeps/i386/fpu/libm-test-ulps: Update.
54660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54662         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54665 2012-02-29  Jeff Law  <law@redhat.com>
54667         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54668         out of bounds read.
54670 2012-02-29  Marek Polacek  <polacek@redhat.com>
54672         [BZ #13706]
54673         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54674         * elf/Makefile: Add rules to run tst-unused-dep.out.
54676 2012-02-28  David S. Miller  <davem@davemloft.net>
54678         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54679         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54680         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54681         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54682         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54683         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54685 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54687         * math/libm-test.inc (llround_test): Move one test from
54688         lround_test.  Use TEST_f_L in moved test.
54689         (lround_test): Move misplaced test to llround_test.  Add testcase
54690         from bug 2561.
54692 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54694         * sysdeps/x86_64/fpu/e_expf.S: New file.
54695         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54697 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54699         [BZ #13637]
54700         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54701         of remain_len that may cause incomplete multi-byte character and
54702         false match.
54703         * posix/bug-regex33.c: New file.
54704         * posix/Makefile (tests): Add bug-regex33.
54706 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54708         * manual/macros.texi: New file.
54709         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54710         * manual/libc.texinfo: Include macros.texi.
54711         * manual/creatute.texi: Likewise.
54712         * manual/install.texi: Likewise.
54713         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54714         @glibcadj{} in references to the GNU C Library.
54715         * manual/charset.texi: Likewise.
54716         * manual/conf.texi: Likewise.
54717         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54718         when not using those macros.
54719         * manual/creature.texi: Likewise.
54720         * manual/crypt.texi: Likewise.
54721         * manual/errno.texi: Likewise.
54722         * manual/filesys.texi: Likewise.
54723         * manual/header.texi: Likewise.
54724         * manual/install.texi: Likewise.
54725         * manual/intro.texi: Likewise.
54726         * manual/io.texi: Likewise.
54727         * manual/job.texi: Likewise.
54728         * manual/lang.texi: Likewise.
54729         * manual/libc.texiinfo: Likewise.
54730         * manual/llio.texi: Likewise.
54731         * manual/locale.texi: Likewise.
54732         * manual/maint.texi: Likewise.
54733         * manual/math.texi: Likewise.
54734         * manual/memory.texi: Likewise.
54735         * manual/message.texi: Likewise.
54736         * manual/nss.texi: Likewise.
54737         * manual/pattern.texi: Likewise.
54738         * manual/process.texi: Likewise.
54739         * manual/resource.texi: Likewise.
54740         * manual/search.texi: Likewise.
54741         * manual/setjmp.texi: Likewise.
54742         * manual/signal.texi: Likewise.
54743         * manual/socket.texi: Likewise.
54744         * manual/startup.texi: Likewise.
54745         * manual/stdio.texi: Likewise.
54746         * manual/string.texi: Likewise.
54747         * manual/sysinfo.texi: Likewise.
54748         * manual/syslog.texi: Likewise.
54749         * manual/terminal.texi: Likewise.
54750         * manual/time.texi: Likewise.
54751         * manual/users.texi: Likewise.
54752         * INSTALL: Regenerated.
54753         * NOTES: Regenerated.
54754         * sysdeps/gnu/errlist.c: Regenerated.
54756 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54758         * include/dirent.h: Include <dirstream.h> before
54759         <dirent/dirent.h>.
54761 2012-02-28  David S. Miller  <davem@davemloft.net>
54763         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54764         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54765         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54766         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54768 2012-02-27  David S. Miller  <davem@davemloft.net>
54770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54772         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54773         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54776         frame pointer instead of stack pointer relative arg slot.
54777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54778         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54779         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54781 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54783         [BZ #3992]
54784         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54786 2012-02-27  David S. Miller  <davem@davemloft.net>
54788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54792         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54793         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54794         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54795         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54797 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54799         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54800         later.  Allow versions 5-9.
54801         * configure: Regenerated.
54802         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54803         required minimum version and 4.6 as recommended version.  Do not
54804         mention bugs in GCC 2.7 and 2.8.
54805         * INSTALL: Regenerated.
54807 2012-02-27  David S. Miller  <davem@davemloft.net>
54809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54813         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54814         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54815         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54816         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54818         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54819         manipulate bits before adding and subtracting TWO112[sx].
54820         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54822 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54824         [BZ #13775]
54825         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54826         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54827         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54828         being in POSIX, because they are in 1003.1-2008.
54830         * rt/tst-aio.c: Include <fcntl.h>.
54831         * rt/tst-aio7.c: Likewise.
54832         * rt/tst-aio64.c: Likewise.
54834         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54836 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54838         * manual/install.texi (--with-headers): Describe headers as
54839         interface headers, not private headers.
54840         (Specific advice for GNU/Linux systems): Describe use of headers
54841         from "make headers_install", not private headers from older
54842         kernels.
54843         * INSTALL: Regenerated.
54844         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54845         Change to 2.6.19.
54846         * sysdeps/unix/sysv/linux/configure: Regenerated.
54848         * manual/llio.texi (fclean): Remove documentation.
54850         * manual/Makefile (libc-texi-generated): New variable.  Include
54851         version.texi.
54852         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54853         $(libc-texi-generated), not duplicated list of files.
54854         (version.texi, stamp-version): New rules.
54855         (realclean): Remove $(libc-texi-generated), not individual files
54856         from that list.  Do not remove dir-add.texinfo.
54857         * manual/libc.texinfo: Comment out uses of edition numbers and
54858         references to printed manual.  Remove last-updated dates.
54859         (EDITION): Comment out.
54860         (ISBN): Likewise.
54861         (VERSION, UPDATED): Remove.
54862         (version.texi): Include.
54864 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54866         * sysdeps/posix/spawni.c: Include <signal.h>.
54867         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54868         * sysdeps/pthread/aio_fsync.c: Likewise.
54870 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54872         * conform/Makefile (tests): Run only when not cross-compiling and
54873         when fast-check is not defined.
54875         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54876         * conform/data/limits.h-data: Fixes for POSIX2008.
54877         * conform/run-conformtest.sh: Run all tests.
54878         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54879         headers.
54880         * include/bits/dlfcn.h: Likewise.
54881         * include/langinfo.h: Likewise.
54882         * include/monetary.h: Likewise.
54883         * include/sys/poll.h: Likewise.
54885         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54886         for __USE_GNU.
54887         * posix/spawn.h: Define __need_sigset_t.
54888         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54889         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54890         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54891         to get sigevent_t only.
54892         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54893         only for __USE_GNU.
54894         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54895         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54896         process_vm_writev only for __USE_GNU.
54897         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54899         * conform/Makefile: For now ignore errors from run-conformtest.
54900         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54901         POSIX to avoid namespace pollution.  Don't prepend headers.
54902         * conform/data/aio.h-data: Fixes for POSIX testing.
54903         * conform/data/fcntl.h-data: Likewise.
54904         * conform/data/glob.h-data: Likewise.
54905         * conform/data/grp.h-data: Likewise.
54906         * conform/data/pthread.h-data: Likewise.
54907         * conform/data/pwd.h-data: Likewise.
54908         * conform/data/signal.h-data: Likewise.
54909         * conform/data/spawn.h-data: Likewise.
54910         * conform/data/stdio.h-data: Likewise.
54911         * conform/data/stdlib.h-data: Likewise.
54912         * conform/data/stropts.h-data: Likewise.
54913         * conform/data/sys/mman.h-data: Likewise.
54914         * conform/data/sys/stat.h-data: Likewise.
54915         * conform/data/sys/types.h-data: Likewise.
54916         * conform/data/sys/wait.h-data: Likewise.
54917         * conform/data/time.h-data: Likewise.
54918         * conform/data/unistd.h-data: Likewise.
54919         * conform/data/utime.h-data: Likewise.
54921         * io/sys/stat.h: fchmod was always in POSIX.
54922         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54923         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54924         * rt/aio.h: Define __need_timespec before including <time.h>.
54925         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54926         struct.  Add forward declaration of pthread_attr_t and use it in
54927         sigevent.
54928         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54929         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54930         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54931         always remove CLK_TCK definition.
54933 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54935         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54937 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54939         * conform/run-conformtest.sh: New file.
54940         * conform/Makefile: Run run-conformtest for tests.
54941         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54942         support.
54944         * conform/data/uchar.h-data: New file.
54945         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54946         * conform/data/arpa/inet.h-data: Likewise.
54947         * conform/data/assert.h-data: Likewise.
54948         * conform/data/complex.h-data: Likewise.
54949         * conform/data/cpio.h-data: Likewise.
54950         * conform/data/ctype.h-data: Likewise.
54951         * conform/data/dirent.h-data: Likewise.
54952         * conform/data/dlfcn.h-data: Likewise.
54953         * conform/data/errno.h-data: Likewise.
54954         * conform/data/fcntl.h-data: Likewise.
54955         * conform/data/float.h-data: Likewise.
54956         * conform/data/fmtmsg.h-data: Likewise.
54957         * conform/data/fnmatch.h-data: Likewise.
54958         * conform/data/ftw.h-data: Likewise.
54959         * conform/data/glob.h-data: Likewise.
54960         * conform/data/grp.h-data: Likewise.
54961         * conform/data/iconv.h-data: Likewise.
54962         * conform/data/inttypes.h-data: Likewise.
54963         * conform/data/langinfo.h-data: Likewise.
54964         * conform/data/libgen.h-data: Likewise.
54965         * conform/data/limits.h-data: Likewise.
54966         * conform/data/locale.h-data: Likewise.
54967         * conform/data/math.h-data: Likewise.
54968         * conform/data/monetary.h-data: Likewise.
54969         * conform/data/mqueue.h-data: Likewise.
54970         * conform/data/ndbm.h-data: Likewise.
54971         * conform/data/net/if.h-data: Likewise.
54972         * conform/data/netdb.h-data: Likewise.
54973         * conform/data/netinet/in.h-data: Likewise.
54974         * conform/data/nl_types.h-data: Likewise.
54975         * conform/data/poll.h-data: Likewise.
54976         * conform/data/pthread.h-data: Likewise.
54977         * conform/data/pwd.h-data: Likewise.
54978         * conform/data/regex.h-data: Likewise.
54979         * conform/data/sched.h-data: Likewise.
54980         * conform/data/search.h-data: Likewise.
54981         * conform/data/semaphore.h-data: Likewise.
54982         * conform/data/setjmp.h-data: Likewise.
54983         * conform/data/signal.h-data: Likewise.
54984         * conform/data/spawn.h-data: Likewise.
54985         * conform/data/stdarg.h-data: Likewise.
54986         * conform/data/stdio.h-data: Likewise.
54987         * conform/data/stdlib.h-data: Likewise.
54988         * conform/data/string.h-data: Likewise.
54989         * conform/data/strings.h-data: Likewise.
54990         * conform/data/stropts.h-data: Likewise.
54991         * conform/data/sys/ipc.h-data: Likewise.
54992         * conform/data/sys/mman.h-data: Likewise.
54993         * conform/data/sys/msg.h-data: Likewise.
54994         * conform/data/sys/resource.h-data: Likewise.
54995         * conform/data/sys/select.h-data: Likewise.
54996         * conform/data/sys/sem.h-data: Likewise.
54997         * conform/data/sys/shm.h-data: Likewise.
54998         * conform/data/sys/socket.h-data: Likewise.
54999         * conform/data/sys/stat.h-data: Likewise.
55000         * conform/data/sys/statvfs.h-data: Likewise.
55001         * conform/data/sys/time.h-data: Likewise.
55002         * conform/data/sys/timeb.h-data: Likewise.
55003         * conform/data/sys/times.h-data: Likewise.
55004         * conform/data/sys/types.h-data: Likewise.
55005         * conform/data/sys/uio.h-data: Likewise.
55006         * conform/data/sys/un.h-data: Likewise.
55007         * conform/data/sys/utsname.h-data: Likewise.
55008         * conform/data/sys/wait.h-data: Likewise.
55009         * conform/data/syslog.h-data: Likewise.
55010         * conform/data/tar.h-data: Likewise.
55011         * conform/data/termios.h-data: Likewise.
55012         * conform/data/utime.h-data: Likewise.
55013         * conform/data/utmpx.h-data: Likewise.
55014         * conform/data/varargs.h-data: Likewise.
55015         * conform/data/wchar.h-data: Likewise.
55016         * conform/data/wctype.h-data: Likewise.
55017         * conform/data/wordexp.h-data: Likewise.
55019         * include/stropts.h: New file.
55020         * include/uchar.h: New file.
55021         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55022         * include/assert.h: Likewise.
55023         * include/ctype.h: Likewise.
55024         * include/dirent.h: Likewise.
55025         * include/dlfcn.h: Likewise.
55026         * include/fcntl.h: Likewise.
55027         * include/fnmatch.h: Likewise.
55028         * include/glob.h: Likewise.
55029         * include/grp.h: Likewise.
55030         * include/libio.h: Likewise.
55031         * include/locale.h: Likewise.
55032         * include/math.h: Likewise.
55033         * include/net/if.h: Likewise.
55034         * include/netdb.h: Likewise.
55035         * include/netinet/in.h: Likewise.
55036         * include/pthread.h: Likewise.
55037         * include/pwd.h: Likewise.
55038         * include/regex.h: Likewise.
55039         * include/sched.h: Likewise.
55040         * include/search.h: Likewise.
55041         * include/setjmp.h: Likewise.
55042         * include/signal.h: Likewise.
55043         * include/stdio.h: Likewise.
55044         * include/stdlib.h: Likewise.
55045         * include/string.h: Likewise.
55046         * include/sys/cdefs.h: Likewise.
55047         * include/sys/mman.h: Likewise.
55048         * include/sys/msg.h: Likewise.
55049         * include/sys/resource.h: Likewise.
55050         * include/sys/select.h: Likewise.
55051         * include/sys/socket.h: Likewise.
55052         * include/sys/stat.h: Likewise.
55053         * include/sys/statvfs.h: Likewise.
55054         * include/sys/time.h: Likewise.
55055         * include/sys/times.h: Likewise.
55056         * include/sys/uio.h: Likewise.
55057         * include/sys/utsname.h: Likewise.
55058         * include/sys/wait.h: Likewise.
55059         * include/termios.h: Likewise.
55060         * include/time.h: Likewise.
55061         * include/ulimit.h: Likewise.
55062         * include/unistd.h: Likewise.
55063         * include/utime.h: Likewise.
55064         * include/wchar.h: Likewise.
55065         * include/wctype.h: Likewise.
55066         * include/wordexp.h: Likewise.
55068         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55070         * time/time.h: TIME_UTC must be a macro.
55071         Make timespec_get available for ISO C11 only as well.
55073 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55075         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55076         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55078 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55080         * configure.in: Use -o not -a in test for unsupported multi-arch.
55082 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55084         * manual/texinfo.tex: Update to version 2012-01-19.16.
55086 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55088         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55090 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55092         [BZ #13738]
55093         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55094         * manual/fdl-1.3.texi: New file.
55095         * manual/fdl-1.1.texi: File removed.
55097         [BZ #13738]
55098         * manual/libc.texinfo (FDL_VERSION): New @set.
55099         Use it for mention of FDL in cover text.
55100         (Documentation License): Use it in @include file name.
55102 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55103             Roland McGrath  <roland@hack.frob.com>
55105         [BZ #5461]
55106         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55107         (not LONG_LONG_MAX and LONG_LONG_MIN.
55108         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55109         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55110         name.
55111         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55113 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55115         [BZ #2547]
55116         [BZ #11365]
55117         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55118         manipulate bits before adding and subtracting TWO23[sx].
55119         * math/libm-test.inc (nearbyint_test): Add more tests.
55121 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55123         [BZ #2548]
55124         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55125         bits before adding and subtracting TWO23[sx].
55126         * math/libm-test.inc (rint_test): Add more tests.
55127         (rint_test_tonearest): Likewise.
55128         (rint_test_towardzero): Likewise.
55129         (rint_test_downward): Likewise.
55130         (rint_test_upward: Likewise.
55132 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55134         [BZ #10110]
55135         * include/stdc-predef.h: New file.  Extracted from features.h.
55136         * include/features.h: Include stdc-predef.h.
55137         * Makefile (headers): Add stdc-predef.h.
55138         * CONFORMANCE (Compiler limitations): Update.
55140 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55142         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55144 2012-02-21  David S. Miller  <davem@davemloft.net>
55146         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55147         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55149 2012-02-20  David S. Miller  <davem@davemloft.net>
55151         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55152         using a normal save/restore sequence, rather than allocating a
55153         dummy stack frame just to store a frame pointer and restore.
55154         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55156 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55158         * manual/install.texi: Fix stray word in line-wrapped comment.
55160 2012-02-20  David S. Miller  <davem@davemloft.net>
55162         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55163         both binutils and gcc support GOTDATA.
55165         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55166         "rd %pc" in the PIC register setup sequences.
55168         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55169         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55170         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55171         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55172         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55173         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55174         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55175         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55176         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55177         (SYSCALL_ERROR_HANDLER): Likewise.
55178         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55179         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55180         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55181         (SYSCALL_ERROR_HANDLER): Likewise.
55183         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55184         (HAVE_GCC_GOTDATA): New.
55185         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55186         relocation support in both binutils and gcc.
55187         * sysdeps/sparc/elf/configure: Regenerate.
55189         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55190         * sysdeps/sparc/sparc32/elf/configure: Delete.
55191         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55192         * sysdeps/sparc/sparc64/elf/configure: Delete.
55193         * sysdeps/sparc/elf/configure.in: New file.
55194         * sysdeps/sparc/elf/configure: Generate.
55196         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55197         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55198         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55199         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55200         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55202 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55204         * manual/install.texi: Do not mention specific glibc version
55205         numbers.
55206         * manual/libc.texinfo (VERSION, UPDATED): Update.
55207         (@copying): Use @copyright{} and range of years.
55209 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55211         [BZ #13695]
55212         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55213         [crti.S not in sysdirs] (generated): Do not append.
55214         [crti.S not in sysdirs] (omit-deps): Likewise.
55215         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55216         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55217         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55218         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55219         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55220         Likewise.
55221         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55222         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55223         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55224         * csu/defs.awk: Remove file.
55225         * sysdeps/generic/initfini.c: Likewise.
55226         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55227         variable.
55228         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55229         Likewise.
55231 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55233         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55234         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55235         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55236         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55237         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55238         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55239         <bits/epoll.h>.
55240         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55241         (__EPOLL_PACKED): Define to empty if not defined by
55242         <bits/epoll.h>.
55243         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55245         bits/epoll.h.
55247 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55249         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55250         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55251         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55252         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55253         <bits/timerfd.h>.
55254         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55255         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55256         bits/timerfd.h.
55258 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55260         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55261         in C locale.
55262         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55263         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55264         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55267 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55269         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55270         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55272 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55274         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55275         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55276         defined.
55277         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55278         Likewise.
55279         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55280         entry for 2.16.
55282 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55284         * math/w_acos.c: Use non-signaling floating-point comparisons.
55285         * math/w_acosf.c: Likewise.
55286         * math/w_acosh.c: Likewise.
55287         * math/w_acoshf.c: Likewise.
55288         * math/w_acoshl.c: Likewise.
55289         * math/w_acosl.c: Likewise.
55290         * math/w_asin.c: Likewise.
55291         * math/w_asinf.c: Likewise.
55292         * math/w_asinl.c: Likewise.
55293         * math/w_atanh.c: Likewise.
55294         * math/w_atanhf.c: Likewise.
55295         * math/w_atanhl.c: Likewise.
55296         * math/w_exp2.c: Likewise.
55297         * math/w_exp2f.c: Likewise.
55298         * math/w_exp2l.c: Likewise.
55299         * math/w_j0.c: Likewise.
55300         * math/w_j0f.c: Likewise.
55301         * math/w_j0l.c: Likewise.
55302         * math/w_j1.c: Likewise.
55303         * math/w_j1f.c: Likewise.
55304         * math/w_j1l.c: Likewise.
55305         * math/w_jn.c: Likewise.
55306         * math/w_jnf.c: Likewise.
55307         * math/w_log.c: Likewise.
55308         * math/w_log10.c: Likewise.
55309         * math/w_log10f.c: Likewise.
55310         * math/w_log10l.c: Likewise.
55311         * math/w_log2.c: Likewise.
55312         * math/w_log2f.c: Likewise.
55313         * math/w_log2l.c: Likewise.
55314         * math/w_logf.c: Likewise.
55315         * math/w_logl.c: Likewise.
55316         * math/w_sqrt.c: Likewise.
55317         * math/w_sqrtf.c: Likewise.
55318         * math/w_sqrtl.c: Likewise.
55319         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55320         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55321         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55322         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55323         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55325 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55327         [BZ #9739]
55328         * manual/string.texi (strnlen): Use correct parameter name in
55329         equivalent expression.
55331 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55333         [BZ #11174]
55334         * manual/users.texi (seteuid): Consistently use neweuid for
55335         argument name.
55337 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55339         [BZ #13704]
55340         * manual/nss.texi (Services in the NSS configuration): Correct
55341         list of services in example configuration file.
55343 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55345         [BZ #11322]
55346         * manual/arith.texi: Remove statements about negative zero
55347         behaving identically to zero.
55349 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55351         [BZ #5993]
55352         * manual/install.texi: Do not document upgrading from libc5.
55354 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55356         [BZ #4596]
55357         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55359 2012-02-18  David S. Miller  <davem@davemloft.net>
55361         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55362         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55363         %o7 across the call.
55364         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55365         instead.
55366         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55367         SETUP_PIC_REG_LEAF.
55368         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55369         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55370         * sysdeps/sparc/crtn.S: Likewise.
55372 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55374         * aout/Makefile: Remove.
55376 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55378         [BZ #13058]
55379         * manual/examples/argp-ex1.c (main): Format definition in GNU
55380         style.
55381         * manual/examples/argp-ex2.c (main): Likewise.
55382         * manual/examples/argp-ex3.c (main): Likewise.
55383         * manual/examples/argp-ex4.c (main): Likewise.
55384         * manual/examples/longopt.c (main): Use new-style prototype
55385         definition.
55386         * manual/examples/strncat.c (main): Specify return type and use
55387         (void) for arguments.
55388         * manual/examples/subopt.c (main): Use char **argv argument.
55390 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55392         [BZ #5077]
55393         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55394         rounding modes.
55396 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55398         [BZ #6907]
55399         * manual/string.texi (strchr): Change when strchrnul is
55400         recommended.
55402 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55404         [BZ #174]
55405         * manual/locale.texi (setlocale): Document LOCPATH.
55407 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55409         [BZ #10210]
55410         * manual/process.texi (execle): Move @dots{} before last argument.
55412 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55414         [BZ #12047]
55415         * manual/charset.texi (Generic Charset Conversion): Fix typo
55416         (LC_TYPE -> LC_CTYPE).
55418 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55420         [BZ #5805]
55421         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55422         (scalbnf): Likewise.
55423         (scalbnl): Likewise.
55424         (scalbln): Likewise.
55425         (scalblnf): Likewise.
55426         (scalblnl): Likewise.
55427         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55428         (vwarnx): Likewise.
55429         (verr): Likewise.
55430         (verrx): Likewise.
55431         * manual/filesys.texi (telldir): Use braces around return type.
55432         * manual/llio.texi (mmap): Add space after comma.
55433         (mmap64): Likewise.
55434         * manual/math.texi (jn): Use @var{} on parameter names.
55435         (jnf): Likewise.
55436         (jnl): Likewise.
55437         (yn): Likewise.
55438         (ynf): Likewise.
55439         (ynl): Likewise.
55440         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55441         line.
55442         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55443         "...".
55444         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55445         (sched_get_priority_max): Likewise.
55446         * manual/signal.texi (sigvec): Add space after comma.
55447         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55448         names.
55449         (if_indextoname): Likewise.
55450         (if_freenameindex): Likewise.
55451         (sendto): Use ',' instead of '.' in prototype.
55452         * manual/startup.texi (syscall): Use @dots{} instead of literal
55453         "...".
55454         * manual/stdio.texi (__fpending): Separate initial words of
55455         paragraph from @deftypefun line.
55456         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55457         "...".
55458         (vsyslog): Use @var{} on parameter names.
55459         * manual/terminal.texi (stty): Use @var{} on parameter names.
55460         * manual/users.texi (getutmp): Use @var{} on parameter names.
55461         (getutmpx): Likewise.
55463 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55465         [BZ #6884]
55466         * manual/stdio.texi (fopen): Fix typos in description of
55467         ",ccs=STRING".
55469 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55471         [BZ #4026]
55472         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55473         get clock_id definition.
55475 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55477         [BZ #4822]
55478         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55479         (madvise): Cast every argument to void on its own.
55481 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55483         [BZ #9902]
55484         * manual/startup.texi (Exit Status): Fix typo.
55486 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55488         [BZ #10140]
55489         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55490         * manual/examples/argp-ex2.c: Likewise.
55491         * manual/examples/argp-ex3.c: Likewise.
55493 2012-02-16  Richard Henderson  <rth@redhat.com>
55495         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55496         * sysdeps/s390/s390-32/initfini.c: Remove.
55497         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55498         * sysdeps/s390/s390-64/initfini.c: Remove.
55500 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55502         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55503         compiler output for sysdeps/generic/initfini.c.
55504         * sysdeps/sh/elf/initfini.c: Remove file.
55506 2012-02-16  David S. Miller  <davem@davemloft.net>
55508         [BZ #11494]
55509         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55511         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55512         * sysdeps/sparc/crti.S: New file.
55513         * sysdeps/sparc/crtn.S: New file.
55514         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55515         * sysdeps/sparc/sparc64/Makefile: Likewise.
55517 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55519         [BZ #3335]
55520         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55522 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55524         [BZ #4822]
55525         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55527         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55528         (write, read, close): Likewise.
55529         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55531 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55533         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55534         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55535         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55536         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55537         <bits/signalfd.h>.
55538         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55540         bits/signalfd.h.
55542 2012-02-14  Marek Polacek  <polacek@redhat.com>
55544         * sysdeps/x86_64/crti.S: New file.
55545         * sysdeps/x86_64/crtn.S: New file.
55546         * sysdeps/x86_64/elf/initfini.c: Remove file.
55548 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55550         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55551         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55552         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55553         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55554         <bits/inotify.h>.
55555         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55557         bits/inotify.h.
55559 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55561         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55562         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55563         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55564         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55565         <bits/eventfd.h>.
55566         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55567         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55568         bits/eventfd.h.
55570 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55572         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55573         __feraiseexcept instead of feraiseexcept.
55575         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55576         nanosleep invocations.
55577         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55578         strings, and add error checking for a nanosleep invocations.
55580 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55582         Replace FSF snail mail address with URLs, as per GNU coding standards.
55583         Most of the snail mail addresses were wrong anyway, and omitting
55584         them makes the source code easier to maintain.  Almost all of the
55585         changes are to license notices and to locale LC_IDENTIFICATION
55586         addresses, except for this one:
55587         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55588         not its snail mail address.
55590 2012-02-09  Richard Henderson  <rth@twiddle.net>
55592         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55593         of kernel-features.h.
55595         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55597 2012-02-08  Marek Polacek  <polacek@redhat.com>
55599         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55600         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55601         * sysdeps/gnu/_G_config.h: Likewise.
55602         * sysdeps/generic/_G_config.h: Likewise.
55604 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55606         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55607         tests.
55608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55610         * sysdeps/powerpc/powerpc32/crti.S: New file.
55611         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55612         * sysdeps/powerpc/powerpc64/crti.S: New file.
55613         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55615         * Makeconfig (have-initfini): Don't set.
55616         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55617         * configure.in (nopic_initfini): Don't substitute.
55618         * config.h.in (HAVE_INITFINI): Don't #undef.
55619         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55620         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55622 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55624         Support crti.S and crtn.S provided directly by architectures.
55625         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55626         [crti.S in sysdirs] (omit-deps): Likewise.
55627         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55628         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55629         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55630         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55631         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55632         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55633         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55634         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55635         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55636         compiler output for sysdeps/generic/initfini.c.
55637         * sysdeps/i386/elf/Makefile: Remove file.
55638         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55640 2012-02-07  Marek Polacek  <polacek@redhat.com>
55642         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55643         * sysdeps/gnu/_G_config.h: Likewise.
55644         * sysdeps/mach/hurd/_G_config.h: Likewise.
55646 2012-02-07  Marek Polacek  <polacek@redhat.com>
55648         * math/Makefile (tests): Add tst-CMPLX2.
55649         * math/tst-CMPLX2.c: New file.
55651 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55653         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55655         * math/libm-test.inc (jn_test): Add missing L suffix.
55657 2012-02-06  Marek Polacek  <polacek@redhat.com>
55659         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55660         * sysdeps/i386/fpu/e_powf.S: Likewise.
55661         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55662         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55663         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55664         * sysdeps/i386/fpu/e_pow.S: Likewise.
55665         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55666         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55667         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55668         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55669         * sysdeps/i386/fpu/e_log2.S: Likewise.
55670         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55671         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55672         * sysdeps/i386/fpu/e_powl.S: Likewise.
55673         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55674         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55675         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55676         * sysdeps/i386/fpu/e_logl.S: Likewise.
55677         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55678         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55679         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55680         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55681         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55682         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55683         * sysdeps/i386/fpu/e_log.S: Likewise.
55684         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55685         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55686         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55687         * sysdeps/i386/fpu/e_logf.S: Likewise.
55688         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55689         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55690         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55691         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55692         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55693         * sysdeps/i386/fpu/e_log10.S: Likewise.
55694         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55695         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55696         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55697         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55698         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55699         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55700         * sysdeps/i386/asm-syntax.h: Likewise.
55701         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55702         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55703         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55704         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55705         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55706         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55707         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55708         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55709         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55710         * sysdeps/powerpc/sysdep.h: Likewise.
55711         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55712         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55714 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55716         [BZ #411]
55717         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55719 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55721         * sysdeps/i386/sysdep.h: Include <features.h>.
55722         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55723         version.
55725 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55727         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55728         Define.
55729         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55730         LOAD_PIC_REG_STR.
55732 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55734         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55735         (SETUP_PIC_REG): Use GET_PC_THUNK.
55736         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55737         macro.
55739 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55741         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55742         for non-PIC compilation.
55743         (SETUP_PIC_REG): Add .p2align directive.
55744         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55745         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55746         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55747         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55748         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55749         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55750         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55751         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55752         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55753         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55754         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55755         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55756         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55757         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55758         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55759         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55760         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55761         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55762         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55763         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55764         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55765         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55766         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55767         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55768         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55769         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55770         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55771         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55772         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55773         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55774         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55775         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55776         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55777         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55778         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55779         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55780         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55781         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55782         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55783         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55784         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55786 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55788         * math/tst-CMPLX.c: Include <stdio.h>.
55790 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55792         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55793         float.
55794         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55795         * sysdeps/sparc/bits/mathdef.h: Likewise.
55797 2012-01-31  Marek Polacek  <polacek@redhat.com>
55799         * libio/libio.h: Don't define _PARAMS.
55800         * locale/programs/config.h: Don't define PARAMS.
55801         * stdlib/strtol_l.c: Likewise.
55802         (__strtol_l): Remove PARAMS from the prototype.
55804 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55806         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55807         names.  Just use the correct names.  Remove unnecessary wrapper
55808         functions.
55809         * malloc/arena.c: Likewise.
55810         * malloc/hooks.c: Likewise.
55812         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55813         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55814         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55816 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55818         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55819         into tail calls.
55820         (update_get_addr): New function.
55821         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55822         GET_ADDR_MODULE parameter.
55824 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55826         * crypt/cert.c: Remove __STDC__ conditionals.
55827         * crypt/crypt-entry.c: Likewise.
55828         * crypt/crypt_util.c: Likewise.
55829         * libio/filedoalloc.c: Likewise.
55830         * libio/fileops.c: Likewise.
55831         * libio/genops.c: Likewise.
55832         * libio/iofclose.c: Likewise.
55833         * libio/iofdopen.c: Likewise.
55834         * libio/iofopen.c: Likewise.
55835         * libio/iofopen64.c: Likewise.
55836         * libio/iogetdelim.c: Likewise.
55837         * libio/iopopen.c: Likewise.
55838         * libio/obprintf.c: Likewise.
55839         * libio/oldfileops.c: Likewise.
55840         * libio/oldiofclose.c: Likewise.
55841         * libio/oldiofdopen.c: Likewise.
55842         * libio/oldiofopen.c: Likewise.
55843         * libio/oldiopopen.c: Likewise.
55844         * libio/wfiledoalloc.c: Likewise.
55845         * libio/wgenops.c: Likewise.
55846         * locale/programs/xmalloc.c: Likewise.
55847         * misc/syslog.c: Likewise.
55848         * stdio-common/xbug.c: Likewise.
55849         * string/memchr.c: Likewise.
55850         * string/memcmp.c: Likewise.
55851         * string/memrchr.c: Likewise.
55852         * string/rawmemchr.c: Likewise.
55853         * sysdeps/posix/getcwd.c: Likewise.
55854         * time/strftime_l.c: Likewise.
55856 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55858         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55859         * config.make.in (config-cflags-sse2avx): Define.
55860         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55861         Fix typo.
55863 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55865         * scripts/config.guess: Update from upstream config git repository.
55866         * scripts/config.sub: Likewise.
55868 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55870         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55871         (EM_NUM): Update.
55872         (R_TILEPRO_*, R_TILEGX_*): New macros.
55874         * scripts/firstversions.awk: Fix bug in version range handling.
55876         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55878         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55880         * include/sys/epoll.h: New file.
55881         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55882         libc_hidden_def.
55884 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55886         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55887         Avoid unnecessary __WORDSIZE == 64 test.
55888         (fmaxf): Use VEX format if possible.
55889         (fmax): Likewise.
55890         (fminf): Likewise.
55891         (fmin): Likewise.
55893         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55894         * math/math_private.h: Remove libc_fegetround* and
55895         libc_fesetround*.
55896         * sysdeps/i386/configure.in: Check for -msse2avx.
55897         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55898         also if SSE2AVX is defined.
55899         Remove libc_fegetround* and libc_fesetround*.
55900         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55901         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55902         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55903         of HAS_YMM_USABLE.
55904         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55905         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55906         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55907         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55908         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55910         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55912 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55914         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55915         size is not set.
55916         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55918 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55920         [BZ #13618]
55921         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55922         relocation.
55923         * Makeconfig (libm): Define.
55924         * elf/Makefile: Add rules to build and run tst-relsort1.
55925         * elf/tst-relsort1.c: New file.
55926         * elf/tst-relsort1mod1.c: New file.
55927         * elf/tst-relsort1mod2.c: New file.
55929 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55931         * math/s_ldexp.c: Remove __STDC__ conditionals.
55932         * math/s_ldexpf.c: Likewise.
55933         * math/s_ldexpl.c: Likewise.
55934         * math/s_nextafter.c: Likewise.
55935         * math/s_nexttowardf.c: Likewise.
55936         * math/s_significand.c: Likewise.
55937         * math/s_significandf.c: Likewise.
55938         * math/s_significandl.c: Likewise.
55939         * math/w_jnl.c: Likewise.
55940         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55941         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55942         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55943         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55944         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55945         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55946         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55947         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55948         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55949         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55950         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55951         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55952         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55953         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55954         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55955         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55956         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55957         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55958         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55959         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55960         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55961         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55962         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55963         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55964         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55965         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55966         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55967         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55968         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55969         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55970         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55971         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55972         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55973         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55974         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55975         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55976         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55977         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55978         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55979         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55980         * sysdeps/ieee754/k_standard.c: Likewise.
55981         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55982         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55983         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55984         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55985         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55986         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55987         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55988         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55989         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55990         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55991         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55992         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55993         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55994         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55995         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55996         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55997         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55998         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55999         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56000         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56001         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56002         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56003         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56004         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56005         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56006         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56007         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56008         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56010         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56011         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56012         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56013         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56014         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56015         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56016         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56017         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56018         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56019         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56020         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56021         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56022         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56023         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56024         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56025         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56026         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56027         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56028         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56029         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56030         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56031         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56032         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56033         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56034         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56035         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56036         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56037         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56038         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56039         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56040         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56041         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56042         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56043         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56044         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56045         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56046         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56047         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56048         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56049         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56050         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56051         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56052         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56053         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56054         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56055         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56056         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56057         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56058         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56059         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56060         * sysdeps/ieee754/s_matherr.c: Likewise.
56061         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56062         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56064         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56066 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56068         * crypt/md5.h: Remove __STDC__ conditionals.
56069         * libio/libioP.h: Likewise.
56070         * locale/programs/config.h: Likewise.
56071         * sysdeps/generic/sysdep.h: Likewise.
56072         * sysdeps/i386/asm-syntax.h: Likewise.
56073         * sysdeps/s390/asm-syntax.h: Likewise.
56074         * sysdeps/unix/sysdep.h: Likewise.
56075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56078 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56080         * libio/libio.h: Remove __STDC__ conditionals.
56081         * malloc/obstack.h: Likewise.
56082         * math/complex.h: Likewise.
56083         * math/math.h: Likewise.
56084         * sysdeps/generic/_G_config.h: Likewise.
56085         * sysdeps/gnu/_G_config.h: Likewise.
56086         * sysdeps/mach/hurd/_G_config.h: Likewise.
56087         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56088         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56089         * sysdeps/sparc/bits/mathdef.h: Likewise.
56091 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56093         [BZ #13583]
56094         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56095         Clean up HAS_* macros.
56096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56097         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56098         possible.
56099         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56100         HAS_AVX.
56101         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56102         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56103         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56104         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56105         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56107 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56109         * elf/tst-unique3.cc (gets): Remove declaration.
56110         * elf/tst-unique3lib.cc (gets): Likewise.
56111         * elf/tst-unique3lib2.cc (gets): Likewise.
56112         * elf/tst-unique4.cc (gets): Likewise.
56114 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56116         * include/stdio.h: Add C++ protection.  Add gets declarations and
56117         definitions.
56118         * debug/tst-chk1.c: Don't declare gets here.
56119         * stdio-common/tst-gets.c: Likewise.
56121 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56123         * posix/glob: Remove directory.
56125 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56127         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56129 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56131         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56132         of the non-standard EPFNOSUPPORT.
56134 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56136         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56137         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56138         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56140 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56142         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56144 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56146         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56147         transient errors.
56148         * nscd/grpcache.c (cache_addgr): Likewise.
56149         * nscd/hstcache.c (cache_addhst): Likewise.
56150         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56151         * nscd/pwdcache.c (cache_addpw): Likewise.
56152         * nscd/servicescache.c (cache_addserv): Likewise.
56154 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56156         * malloc/malloc.c: Various cleanups.
56157         * malloc/hooks.c: Likewise.
56159         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56160         * stdlib/bug-fmtmsg1.c: New file.
56162         * stdlib/fmtmsg.c (init): Add missing unlock.
56163         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56165 2012-01-12  Marek Polacek  <polacek@redhat.com>
56167         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56168         and _GNU_SOURCE.
56170 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56172         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56173         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56174         macro to ensure uniqueness of label name.
56175         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56176         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56178 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56180         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56182         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56183         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56184         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56185         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56187 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56189         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56191         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56192         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56193         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56195         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56197         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56198         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56199         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56200         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56202         * math/bits/math-finite.h: Add ldexp support.
56204 2012-01-10  Marek Polacek  <polacek@redhat.com>
56206         * locale/programs/localedef.h (show_archive_content): Add noreturn
56207         attribute.
56209 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56211         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56213 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56215         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56217         * io/Makefile (headers): Add bits/poll2.h.
56219 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56222         typo #include statement.
56224 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56226         * include/sys/cdefs.h: Define __attribute_alloc_size.
56227         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56228         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56229         * elf/pldd.c: Likewise.
56230         * iconv/iconv_charmap.c: Likewise.
56231         * iconv/iconvconfig.c: Likewise.
56232         * iconv/strtab.c: Likewise.
56233         * locale/programs/locale.c: Likewise.
56234         * locale/programs/localedef.h: Likewise.
56235         * locale/programs/simple-hash.c: Likewise.
56236         * nscd/nscd.h: Likewise.
56237         * nss/makedb.c: Likewise.
56238         * sysdeps/generic/ldconfig.h: Likewise.
56239         * locale/programs/localedef.c: Remove xmalloc prototype.
56240         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56242 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56244         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56245         appropriate.
56247 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56249         * math/Makefile (tests): Add tst-CMPLX.
56250         * math/tst-CMPLX.c: New file.
56252         * math/complex.h (CMPLXL): Fix typo.
56254         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56255         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56256         GLIBC_2.16.
56257         * debug/tst-chk1.c: Add poll and ppoll tests.
56258         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56259         * include/sys/poll.h: Add hidden proto for ppoll.
56260         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56261         * sysdeps/mach/hurd/ppoll.c: Likewise.
56262         * io/ppoll.c: Likewise.
56263         * debug/poll_chk.c: New file.
56264         * debug/ppoll_chk.c: New file.
56265         * include/bits/poll2.h: New file.
56266         * io/bits/poll2.h: New file.
56268         [BZ #1350]
56269         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56271         * configure.in: static is always set to yes.  Remove.
56272         * config.make.in: Don't set build-static.
56273         * Makeconfig: Remove use of build-static.
56274         * dlfcn/Makefile: Likewise.
56275         * elf/Makefile: Likewise.
56276         * math/Makefile: Likewise.
56277         * misc/Makefile: Likewise.
56278         * nptl/Makefile: Likewise.
56279         * sysdeps/mach/hurd/Makefile: Likewise.
56281         * configure.in: PWD_P is not used anymore.
56282         * config.make.in: Remove PWD_P entry.
56284         * configure.in: Remove last remnants of RANLIB.
56285         No need to check for signed size_t anymore.
56286         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56287         and IA-64.
56288         Remove __builtin_expect test because we require at least gcc 3.4.
56289         * aclocal.m4: Likewise.
56291         * wcsmbs/mbrtoc16.c: Implement using towc function.
56292         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56293         * wcsmbs/wcsmbsload.c: Likewise.
56294         * iconv/gconv_simple.c: Likewise.
56295         * iconv/gconv_int.h: Likewise.
56296         * iconv/gconv_builtin.h: Likewise.
56297         * iconv/iconv_prog.c: Remove CHAR16 handling.
56299         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56301         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56303         * configure.in: Remove --with-elf and --enable-bounded options.
56304         Dont set base_machine for ia64.  More non-ELF conditions removed.
56305         Remove testing and setting of leading underscore information.
56306         * config.make.in (build-bounded): Set to no.
56307         * config.h.in: Remove NO_UNDERSCORES entry.
56308         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56309         them.
56310         * csu/start.c: Remove !NO_UNDERSCORE code.
56311         * locale/localeinfo.h: Likewise.
56312         * sysdeps/generic/machine-gmon.h: Likewise.
56313         * sysdeps/generic/sysdep.h: Likewise.
56314         * sysdeps/i386/sysdep.h: Likewise.
56315         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56316         * sysdeps/mach/sysdep.h: Likewise.
56317         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56318         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56319         * sysdeps/sh/sysdep.h: Likewise.
56320         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56321         * sysdeps/unix/i386/sysdep.S: Likewise.
56322         * sysdeps/unix/sparc/start.c: Likewise.
56323         * sysdeps/unix/sparc/sysdep.S: Likewise.
56324         * sysdeps/unix/sparc/sysdep.h: Likewise.
56325         * sysdeps/unix/start.c: Likewise.
56326         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56327         * sysdeps/x86_64/sysdep.h: Likewise.
56329 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56331         [BZ #13553]
56332         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56333         for non-gcc.
56334         * argp/argp-fmtstream.h: Use const instead __const.
56335         * argp/argp.h: Likewise.
56336         * assert/assert.h: Likewise.
56337         * bits/fenv.h: Likewise.
56338         * bits/sched.h: Likewise.
56339         * bits/sigset.h: Likewise.
56340         * bits/sigthread.h: Likewise.
56341         * catgets/nl_types.h: Likewise.
56342         * conform/data/pthread.h-data: Likewise.
56343         * crypt/crypt-private.h: Likewise.
56344         * crypt/crypt.h: Likewise.
56345         * crypt/crypt_util.c: Likewise.
56346         * ctype/ctype.h: Likewise.
56347         * debug/execinfo.h: Likewise.
56348         * debug/mbsnrtowcs_chk.c: Likewise.
56349         * debug/mbsrtowcs_chk.c: Likewise.
56350         * debug/wcsnrtombs_chk.c: Likewise.
56351         * debug/wcsrtombs_chk.c: Likewise.
56352         * debug/wcstombs_chk.c: Likewise.
56353         * dirent/dirent.h: Likewise.
56354         * dlfcn/dlfcn.h: Likewise.
56355         * elf/neededtest4.c: Likewise.
56356         * grp/grp.h: Likewise.
56357         * gshadow/gshadow.h: Likewise.
56358         * iconv/gconv.h: Likewise.
56359         * iconv/gconv_int.h: Likewise.
56360         * iconv/gconv_simple.c: Likewise.
56361         * iconv/iconv.h: Likewise.
56362         * iconv/loop.c: Likewise.
56363         * iconv/skeleton.c: Likewise.
56364         * include/aio.h: Likewise.
56365         * include/aliases.h: Likewise.
56366         * include/argz.h: Likewise.
56367         * include/arpa/inet.h: Likewise.
56368         * include/assert.h: Likewise.
56369         * include/dirent.h: Likewise.
56370         * include/dlfcn.h: Likewise.
56371         * include/execinfo.h: Likewise.
56372         * include/fcntl.h: Likewise.
56373         * include/fenv.h: Likewise.
56374         * include/glob.h: Likewise.
56375         * include/grp.h: Likewise.
56376         * include/libintl.h: Likewise.
56377         * include/mntent.h: Likewise.
56378         * include/netdb.h: Likewise.
56379         * include/pwd.h: Likewise.
56380         * include/rpc/netdb.h: Likewise.
56381         * include/sched.h: Likewise.
56382         * include/search.h: Likewise.
56383         * include/shadow.h: Likewise.
56384         * include/signal.h: Likewise.
56385         * include/stdio.h: Likewise.
56386         * include/stdlib.h: Likewise.
56387         * include/string.h: Likewise.
56388         * include/sys/socket.h: Likewise.
56389         * include/sys/stat.h: Likewise.
56390         * include/sys/statfs.h: Likewise.
56391         * include/sys/statvfs.h: Likewise.
56392         * include/sys/syslog.h: Likewise.
56393         * include/sys/time.h: Likewise.
56394         * include/sys/uio.h: Likewise.
56395         * include/time.h: Likewise.
56396         * include/unistd.h: Likewise.
56397         * include/utmp.h: Likewise.
56398         * include/wchar.h: Likewise.
56399         * include/wctype.h: Likewise.
56400         * inet/aliases.h: Likewise.
56401         * inet/arpa/inet.h: Likewise.
56402         * inet/netinet/ether.h: Likewise.
56403         * inet/netinet/in.h: Likewise.
56404         * intl/libintl.h: Likewise.
56405         * io/bits/fcntl2.h: Likewise.
56406         * io/fcntl.h: Likewise.
56407         * io/ftw.h: Likewise.
56408         * io/sys/poll.h: Likewise.
56409         * io/sys/stat.h: Likewise.
56410         * io/sys/statfs.h: Likewise.
56411         * io/sys/statvfs.h: Likewise.
56412         * io/utime.h: Likewise.
56413         * libio/bits/stdio.h: Likewise.
56414         * libio/bits/stdio2.h: Likewise.
56415         * libio/libio.h: Likewise.
56416         * libio/libioP.h: Likewise.
56417         * libio/stdio.h: Likewise.
56418         * locale/lc-ctype.c: Likewise.
56419         * locale/locale.h: Likewise.
56420         * login/utmp.h: Likewise.
56421         * malloc/arena.c: Likewise.
56422         * malloc/malloc.c: Likewise.
56423         * malloc/malloc.h: Likewise.
56424         * malloc/mcheck.c: Likewise.
56425         * malloc/mtrace.c: Likewise.
56426         * math/bits/mathcalls.h: Likewise.
56427         * math/fenv.h: Likewise.
56428         * math/math_private.h: Likewise.
56429         * misc/bits/error.h: Likewise.
56430         * misc/bits/syslog.h: Likewise.
56431         * misc/err.h: Likewise.
56432         * misc/error.h: Likewise.
56433         * misc/fstab.h: Likewise.
56434         * misc/mntent.h: Likewise.
56435         * misc/regexp.h: Likewise.
56436         * misc/search.h: Likewise.
56437         * misc/sgtty.h: Likewise.
56438         * misc/sys/mman.h: Likewise.
56439         * misc/sys/syslog.h: Likewise.
56440         * misc/sys/uio.h: Likewise.
56441         * misc/sys/xattr.h: Likewise.
56442         * misc/ttyent.h: Likewise.
56443         * nis/rpcsvc/ypclnt.h: Likewise.
56444         * nss/nss.h: Likewise.
56445         * posix/bits/unistd.h: Likewise.
56446         * posix/fnmatch.h: Likewise.
56447         * posix/glob.h: Likewise.
56448         * posix/sched.h: Likewise.
56449         * posix/spawn.h: Likewise.
56450         * posix/sys/wait.h: Likewise.
56451         * posix/unistd.h: Likewise.
56452         * posix/wordexp.h: Likewise.
56453         * pwd/pwd.h: Likewise.
56454         * resolv/netdb.h: Likewise.
56455         * resource/sys/resource.h: Likewise.
56456         * rt/aio.h: Likewise.
56457         * rt/bits/mqueue2.h: Likewise.
56458         * rt/mqueue.h: Likewise.
56459         * shadow/shadow.h: Likewise.
56460         * signal/signal.h: Likewise.
56461         * socket/send.c: Likewise.
56462         * socket/sendto.c: Likewise.
56463         * socket/sys/socket.h: Likewise.
56464         * stdio-common/printf.h: Likewise.
56465         * stdlib/bits/stdlib.h: Likewise.
56466         * stdlib/fmtmsg.h: Likewise.
56467         * stdlib/monetary.h: Likewise.
56468         * stdlib/stdlib.h: Likewise.
56469         * stdlib/ucontext.h: Likewise.
56470         * streams/stropts.h: Likewise.
56471         * string/argz.h: Likewise.
56472         * string/bits/string2.h: Likewise.
56473         * string/string.h: Likewise.
56474         * string/strings.h: Likewise.
56475         * sunrpc/rpc/auth.h: Likewise.
56476         * sunrpc/rpc/auth_des.h: Likewise.
56477         * sunrpc/rpc/clnt.h: Likewise.
56478         * sunrpc/rpc/netdb.h: Likewise.
56479         * sunrpc/rpc/pmap_clnt.h: Likewise.
56480         * sunrpc/rpc/xdr.h: Likewise.
56481         * sysdeps/generic/inttypes.h: Likewise.
56482         * sysdeps/generic/net/if.h: Likewise.
56483         * sysdeps/generic/sys/swap.h: Likewise.
56484         * sysdeps/gnu/net/if.h: Likewise.
56485         * sysdeps/gnu/utmpx.h: Likewise.
56486         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56487         * sysdeps/i386/i486/bits/string.h: Likewise.
56488         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56489         * sysdeps/s390/bits/string.h: Likewise.
56490         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56491         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56492         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56493         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56494         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56495         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56496         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56497         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56498         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56499         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56500         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56501         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56502         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56503         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56504         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56505         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56506         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56507         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56508         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56509         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56510         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56511         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56512         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56513         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56514         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56515         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56516         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56517         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56518         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56519         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56520         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56521         * sysvipc/sys/ipc.h: Likewise.
56522         * sysvipc/sys/msg.h: Likewise.
56523         * sysvipc/sys/sem.h: Likewise.
56524         * sysvipc/sys/shm.h: Likewise.
56525         * termios/termios.h: Likewise.
56526         * time/sys/time.h: Likewise.
56527         * time/time.h: Likewise.
56528         * wcsmbs/bits/wchar2.h: Likewise.
56529         * wcsmbs/uchar.h: Likewise.
56530         * wcsmbs/wchar.h: Likewise.
56531         * wctype/wctype.h: Likewise.
56533         [BZ #13551]
56534         * Makeconfig: Remove all but ELF support including AIX support.
56535         * Makerules: Likewise.
56536         * config.h.in: Likewise.
56537         * config.make.in: Likewise.
56538         * configure: Likewise.
56539         * configure.in: Likewise.
56540         * csu/Makefile: Likewise.
56541         * csu/version.c: Likewise.
56542         * debug/Makefile: Likewise.
56543         * dlfcn/Makefile: Likewise.
56544         * elf/Makefile: Likewise.
56545         * extra-lib.mk: Likewise.
56546         * iconv/Makefile: Likewise.
56547         * include/libc-symbols.h: Likewise.
56548         * include/shlib-compat.h: Likewise.
56549         * resolv/Makefile: Likewise.
56550         * resolv/res_libc.c: Likewise.
56551         * rt/Makefile: Likewise.
56552         * sysdeps/i386/asm-syntax.h: Likewise.
56553         * sysdeps/i386/sysdep.h: Likewise.
56554         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56555         * sysdeps/mach/sysdep.h: Likewise.
56556         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56557         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56558         * sysdeps/s390/asm-syntax.h: Likewise.
56559         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56560         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56561         * sysdeps/sh/sysdep.h: Likewise.
56562         * sysdeps/unix/sparc/sysdep.h: Likewise.
56563         * sysdeps/wordsize-32/divdi3.c: Likewise.
56564         * sysdeps/x86_64/sysdep.h: Likewise.
56566         * argp/Versions: Remove _argp_unlock_xxx.
56568         [BZ #13559]
56569         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56570         * abilist/libBrokenLocale.abilist: Likewise.
56571         * abilist/libanl.abilist: Likewise.
56572         * abilist/libc.abilist: Likewise.
56573         * abilist/libcrypt.abilist: Likewise.
56574         * abilist/libdl.abilist: Likewise.
56575         * abilist/libm.abilist: Likewise.
56576         * abilist/libnsl.abilist: Likewise.
56577         * abilist/libpthread.abilist: Likewise.
56578         * abilist/libresolv.abilist: Likewise.
56579         * abilist/librt.abilist: Likewise.
56580         * abilist/libthread_db.abilist: Likewise.
56581         * abilist/libutil.abilist: Likewise.
56582         * abilist/libnss_db.abilist: New file.
56584         * scripts/abilist.awk: Add support for indirect functions.
56586         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56588         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56590         * shlib-versions: Remove entries for ports architectures.
56592         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56593         files in ports.
56594         * elf/stackguard-macros.h: Remove support for IA-64.
56595         * elf/tst-auditmod1.c: Likewise.
56596         * sysdeps/generic/ldsodefs.h: Likewise.
56598         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56599         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56600         configure files.
56602         [BZ #13552]
56603         * configure.in: Remove --enable-omitfp support.
56604         * FAQ.in: Adjust.
56605         * config.make.in: Likewise.
56606         * Makeconfig: Likewise.
56607         * manual/install.texi: Likewise.
56609         In case anyone cares, the IA-64 architecture could move to ports.
56610         * sysdeps/ia64/*: Removed.
56611         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56612         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56614         [BZ #13555]
56615         * configure.in: Remove entries for unsupported architectures.
56617         [BZ #13533]
56618         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56619         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56620         routines.
56621         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56622         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56623         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56624         fall back to using wcrtomb.
56625         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56626         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56627         renaming.
56628         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56629         * wcsmbs/tst-c16c32-1.c: New file.
56631         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56632         local variable.
56634         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56636         * elf/tst-unique3.cc: Add explicit declaration of gets.
56637         * elf/tst-unique3lib.cc: Likewise.
56638         * elf/tst-unique3lib2.cc: Likewise.
56639         * elf/tst-unique4.cc: Likewise.
56641         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56643 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56645         [BZ #13566]
56646         * assert/assert.h (static_assert): Don't define for C++.
56647         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56648         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56650 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56652         * iconv/loop.c (single loop): Fix assertion in storing of
56653         remaining bytes.
56655         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56657 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56659         * posix/getconf.c: Update copyright year.
56660         * nss/getent.c: Likewise.
56661         * nss/makedb.c: Likewise.
56662         * iconv/iconvconfig.c: Likewise.
56663         * iconv/iconv_prog.c: Likewise.
56664         * elf/ldconfig.c: Likewise.
56665         * elf/pldd.c: Likewise.
56666         * elf/sotruss.ksh: Likewise.
56667         * catgets/gencat.c: Likewise.
56668         * csu/version.c: Likewise.
56669         * elf/ldd.bash.in: Likewise.
56670         * elf/sprof.c (print_version): Likewise.
56671         * locale/programs/locale.c: Likewise.
56672         * locale/programs/localedef.c: Likewise.
56673         * login/programs/pt_chown.c: Likewise.
56674         * nscd/nscd.c (print_version): Likewise.
56675         * debug/xtrace.sh: Likewise.
56676         * malloc/memusage.sh: Likewise.
56677         * malloc/mtrace.pl: Likewise.
56678         * debug/catchsegv.sh: Likewise.
56680 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56682         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56683         pure attribute.
56685 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56687         [BZ #13533]
56688         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56689         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56690         transformations.
56691         * iconv/gconv_int.h: Likewise.
56692         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56693         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56694         from libc for GLIBC_2.16.
56695         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56696         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56697         * wcsmbs/uchar.h: Really define mbstate_t.
56698         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56699         * wcsmbs/c16rtomb.c: New file.
56700         * wcsmbs/mbrtoc16.c: New file.
56701         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56702         for C/POSIX locale.
56703         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56704         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56706         * wcsmbs/wchar.h: Add missing __restrict.
56708 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56710         [BZ #13532]
56711         * time/Makefile (routines): Add timespec_get.
56712         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56713         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56714         timespec for ISO C11.
56715         * time/timespec_get.c: New file.
56716         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56717         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56719         [BZ #13531]
56720         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56721         * stdlib/stdlib.h: Declare aligned_alloc.
56722         * Versions.def: Add GLIBC_2.16 for libc.
56723         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56725         [BZ 13527]
56726         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56727         ISO C11.
56729         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56730         code.
56732         [BZ #13528]
56733         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56735         [BZ #13529]
56736         * assert/assert.h (static_assert): Define.
56738         * version.h: Update for 2.16 development version.
56740         [BZ #13526]
56741         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56742         _ISOC11_SOURCE.
56744         * version.h (RELEASE): Bump for 2.15 release.
56745         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56747         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56748         Patch by Marek Polacek <mpolacek@redhat.com>.
56750         * bits/byteswap.h: Protect long long constants with __extension__.
56751         * sysdeps/i386/bits/byteswap.h: Likewise.
56752         * sysdeps/ia64/bits/byteswap.h: Likewise.
56753         * sysdeps/s390/bits/byteswap.h: Likewise.
56754         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56756 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56758         [BZ #13540]
56759         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56760         destination buffer.
56761         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56763 2011-12-23  Marek Polacek  <polacek@redhat.com>
56765         * elf/dl-addr.c (determine_info): Add inline keyword.
56766         * elf/tst-auditmod4b.c (check_avx): Likewise.
56767         * elf/tst-auditmod6b.c (check_avx): Likewise.
56768         * elf/tst-auditmod6c.c (check_avx): Likewise.
56769         * elf/tst-auditmod7b.c (check_avx): Likewise.
56771 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56773         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56774         !__SSE_MATH__.
56776 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56778         [BZ #13540]
56779         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56780         processing for last bytes.
56782 2011-08-06  Bruno Haible  <bruno@clisp.org>
56784         [BZ #13061]
56785         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56786         U+0385, not to U+1FEE.
56788         [BZ #13062]
56789         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56790         entry for U+00A5 U+0301.
56792 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56794         [BZ #13166]
56795         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56796         buffer for the output is too small.
56798         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56799         optimization.
56801         [BZ #13185]
56802         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56803         SSE flags if possible.
56805 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56807         [BZ #13540]
56808         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56809         processing for last bytes.
56811 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56813         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56814         (syscall-list-default-options, syscall-list-default-condition)
56815         (syscall-list-includes): Define.
56816         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56817         list of ABIs and options and #if conditions for each ABI.  Do not
56818         handle common syscalls between ABIs specially.
56819         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56820         Remove.
56821         (syscall-list-variants, syscall-list-32bit-options)
56822         (syscall-list-32bit-condition, syscall-list-64bit-options)
56823         (syscall-list-64bit-condition): Define.
56824         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56825         (syscall-list-variants, syscall-list-32bit-options)
56826         (syscall-list-32bit-condition, syscall-list-64bit-options)
56827         (syscall-list-64bit-condition): Define.
56828         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56829         Remove.
56830         (syscall-list-variants, syscall-list-32bit-options)
56831         (syscall-list-32bit-condition, syscall-list-64bit-options)
56832         (syscall-list-64bit-condition): Define.
56833         * sysdeps/unix/sysv/linux/x86_64/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.
56839 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56841         * locale/iso-639.def: Add brx entry.
56843         [BZ #13328]
56844         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56845         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56847         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56848         __feraiseexcept_renamed.
56850 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56852         [BZ #13538]
56853         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56854         EPOLLET with unsigned values.
56855         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56856         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56858         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56859         to large cancellation.
56860         * math/s_cacoshf.c: Likewise.
56861         * math/s_cacoshl.c: Likewise.
56863 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56865         [BZ #13305]
56866         [BZ #12786]
56867         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56868         * math/s_cacoshf.c: Likewise.
56869         * math/s_cacoshl.c: Likewise.
56871 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56873         [BZ #13439]
56874         * iconv/gconv.h: Define __GCONV_SWAP.
56875         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56876         * iconvdata/utf-16.c: Likewise.
56877         * iconvdata/utf-32.c: Likewise.
56879 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56881         [BZ #13524]
56882         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56883         numerator after shifting it by one limb.
56885 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56887         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56888         under [__USE_EXTERN_INLINES].
56890 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56892         [BZ #13446]
56893         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56895 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56897         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56898         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56899         optimized code.
56900         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56901         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56902         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56903         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56904         for strncasecmp/strncasecmp_l compilation.
56905         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56906         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56908 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56910         [BZ #13484]
56911         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56912         of __asm__.
56914 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56916         [BZ #13506]
56917         * time/tzfile.c (__tzfile_read): Check values from file header.
56919 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56921         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56922         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56923         * powerpc/powerpc32/dl-start.S: Likewise.
56924         * powerpc/powerpc32/elf/start.S: Likewise.
56925         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56926         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56927         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56928         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56929         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56930         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56931         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56932         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56933         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56934         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56935         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56936         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56937         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56938         * powerpc/powerpc32/memset.S: Likewise.
56939         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56940         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56941         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56942         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56943         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56944         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56945         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56946         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56947         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56948         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56949         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56950         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56951         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56953 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56955         * math/libm-test.inc: Added more nearbyint tests.
56956         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56957         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56958         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56959         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56961 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56963         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56964         FD_CLOEXEC.
56966 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56968         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56969         Add wcscpy-ssse3 wcscpy-c.
56970         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56971         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56972         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56973         * sysdeps/x86_64/wcschr.S: New file.
56974         * sysdeps/x86_64/wcsrchr.S: New file.
56975         * string/test-strcmp.c: Remove checking of wcscmp function for
56976         wrong alignments.
56977         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56978         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56979         wcsrchr-sse2 wcsrchr-c.
56980         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56981         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56982         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56983         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56984         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56985         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56986         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56987         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56988         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56989         * wcsmbc/wcschr.c (WCSCHR): New macro.
56991 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56993         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56994         * wcsmbs/test-wcsrchr.c: New file.
56995         * string/test-strrchr.c: Add wcsrchr support.
56996         (WIDE): New macro.
56997         * wcsmbs/test-wcscpy.c: New file.
56998         * string/test-strcpy.c: Add wcscpy support.
56999         (WIDE): New macro.
57001 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57003         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57004         the inner loop.
57006 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57008         [BZ #13472]
57009         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57011 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57013         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57014         Minor optimizations.
57016         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57017         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57018         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57020 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57022         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57023         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57024         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57025         for gcc to avoid warnings.
57026         * inet/Makefile (tests): Add tst-checks.
57027         * inet/tst-checks.c: New file.
57029         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57030         warning.
57032         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57033         __wmemcmp_sse2.
57035         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57036         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57038         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57040 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57042         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57043         problem.
57045         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57047 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57049         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57050         conditional on GCC version.
57051         (__arch_compare_and_exchange_val_8_acq)
57052         (__arch_compare_and_exchange_val_16_acq)
57053         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57054         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57055         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57057 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57059         * sysdeps/sh/backtrace.c: New file.
57061 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57063         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57064         parenthesis.
57066 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57068         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57069         falling back to utime.
57071 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57073         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57074         expectations for float.
57076 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57078         * locale/weight.h (findidx): Add parameter len.
57079         * locale/weightwc.h (findidx): Likewise.
57080         * posix/fnmatch_loop.c (FCT): Adjust caller.
57081         * posix/regcomp.c (build_equiv_class): Likewise.
57082         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57083         * posix/regexec.c (check_node_accept_bytes): Likewise.
57084         * string/strcoll_l.c (STRCOLL): Likewise.
57085         * string/strxfrm_l.c (STRXFRM): Likewise.
57087 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57089         * Makefile.in: Remove CVSOPT handling.
57090         * configure.in: Remove use of AC_REVISION.
57091         * iconvdata/Makefile (distribute): No need to filter out CVS.
57092         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57093         handling.
57095 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57097         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57098         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57099         [USE_AS_STRNCASECMP_L]: Likewise.
57100         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57101         NO_TLS_DIRECT_SEG_REFS.
57102         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57103         Fix argument offsets for non-PIC.
57104         [USE_AS_STRNCASECMP_L]: Likewise.
57105         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57106         NO_TLS_DIRECT_SEG_REFS.
57108 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57110         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57111         O_CLOEXEC.
57112         * locale/loadlocale.c (_nl_load_locale): Likewise.
57114 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57116         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57117         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57118         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57119         (SYSCALL_GETTIME): Set errno on error.
57121         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57122         count references to noai6ai_cached.
57124 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57126         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57128         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57129         FD_CLOEXEC for /proc/self/maps.
57131         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57132         FD_CLOEXEC for /proc/meminfo.
57134         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57135         gai.conf.
57137         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57138         FD_CLOEXEC for given file.
57140         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57142         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57143         FD_CLOEXEC for /etc/hosts.
57144         (_gethtent): Likewise.
57146         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57148         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57149         cancellation and set FD_CLOEXEC for /etc/netgroup.
57151         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57152         reading /etc/publickey.
57154         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57155         allow cancellation when reading /etc/group.
57157         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57158         cancellation.
57159         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57161         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57162         when using data file.
57164         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57166         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57167         (write_nis_obj): Use "c" and "e" in fopen.
57169         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57171         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57173         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57175         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57177         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57178         locale.alias.
57180         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57182         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57184         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57186         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57187         file parsing and set FD_CLOEXEC.
57189 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57191         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57193 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57195         * malloc/arena.c (arena_get2): Don't call reused_arena when
57196         _int_new_arena failed.
57198 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57200         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57201         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57202         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57203         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57204         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57205         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57206         to compile strcasecmp and strncasecmp.
57207         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57208         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57210         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57212 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57214         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57215         locale-defines.sym to gen-as-const-headers.
57216         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57217         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57218         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57219         to compile strcasecmp and strncasecmp.
57220         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57221         strcasecmp_l and strncasecmp_l.
57222         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57223         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57224         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57225         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57226         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57227         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57228         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57229         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57230         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57231         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57232         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57234 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57236         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57237         result of SYSDEP_GETTIME_CPU to retval.
57238         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57239         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57241         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57242         variable.
57244         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57245         mantissa words.
57246         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57248         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57249         from unused variable.
57251         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57252         DWARF definitions.
57253         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57254         for assembling.
57256         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57257         over namespaces.
57259         * sunrpc/rpc_prot.c (rejected): Fix case value.
57261         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57262         unsigned long long int to avoid warnings in shift.
57264         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57265         of use of trans.
57266         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57267         variable tmp.
57269         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57270         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57271         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57273         * nis/nis_table.c (nis_list): Use variable of correct type for
57274         result of __follow_path call.
57276 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57278         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57279         of math functions ceil, trunc, floor, round, and sqrt, when
57280         avaliable on the platform.
57281         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57282         name clash.
57283         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57284         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57285         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57287 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57289         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57290         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57292 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57294         * include/unistd.h: Fix __readlink return type.
57295         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57297 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57299         * stdlib/ucontext.h: Undo last change for makecontext.
57301 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57303         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57305         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57306         * setjmp/setjmp.h: Mark functions as non-leaf.
57307         * setjmp/bits/setjmp2.h: Likewise.
57308         * stdlib/ucontext.h: Likewise.
57310 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57312         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57313         (reused_arena): Don't check arena limit.
57314         (arena_get2): Atomically check arena limit.
57316 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57318         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57319         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57321         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57322         instructions.
57324 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57326         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57327         handler when locking.
57329         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57330         Fix size of allocated buffer.
57332 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57334         [BZ #10103]
57335         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57336         declarations for long double functions.
57337         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57339         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57341 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57343         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57344         installed.
57346         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57347         is disabled.
57349 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57351         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57353 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57355         * include/alloca.h (stackinfo_alloca_round): Define.
57356         (extend_alloca): Use it.
57357         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57358         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57359         here.
57361         * scripts/check-local-headers.sh: Ignore libaudit.h.
57363         * nscd/Makefile (extra-objs): Make recursively expanded.
57365 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57367         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57368         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57370         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57371         * posix/tst-rfc3484-2.c: Likewise.
57372         * posix/tst-rfc3484-3.c: Likewise.
57374         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57375         process_vm_writev.
57376         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57377         process_vm_writev.
57378         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57379         process_vm_writev from libc using GLIBC_2.15 version.
57381         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57383 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57385         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57386         stack usage.
57388 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57390         [BZ #13367]
57391         * nss/getent.c (initgroups_keys): Show error message in case no group
57392         names are given.
57394         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57395         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57396         __bump_nl_timestamp.
57397         * nscd/connections (nscd_init): When host database is served open
57398         netlink socket and request notification about configuration changes.
57399         (main_loop_poll): Track netlink file descriptor and bump timestamp
57400         in case data becomes available.
57401         (main_loop_epoll): Likewise.
57402         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57403         (database_pers_head): Add extra_data fileds.
57404         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57405         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57406         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57407         Adjust caller.
57408         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57409         in6ai data, call __free_in6ai.
57410         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57411         Add -DHAVE_NETLINK.
57412         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57413         interface information.  Reuse previous data if netlink timestamp
57414         is not changed.
57415         (__bump_nl_timestamp): New function.
57416         (__free_in6ai): New function.
57418 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57420         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57421         close_not_cancel_no_status here.
57422         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57424 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57426         [BZ #13276]
57427         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57428         return value.
57430         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57431         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57432         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57434 2011-07-03  Andreas Jaeger  <aj@suse.de>
57436         [BZ #10709]
57437         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57438         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57439         * math/libm-test.inc (sin_test): Add test case.
57441 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57443         [BZ #13337]
57444         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57445         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57447         * elf/chroot_canon.c (chroot_canon): Cleanups.
57449         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57451         [BZ #13335]
57452         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57453         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57455         * string/test-strchr.c: Make usable for strchrnul testing.
57456         * string/test-strchrnul.c: New file.
57457         * string/Makefile (strop-tests): Add strchrnul.
57459         * po/it.po: Update from translation team.
57460         * po/es.po: Likewise.
57462 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57464         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57465         the three constants needed as parameters.  Drop the others.
57466         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57467         __m128i_strloadu_tolower.
57468         Create and initialize variable zero and use it in all the places
57469         where _mm_setzero_si128 was used.
57471         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57472         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57473         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57474         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57475         anymore.
57476         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57477         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57478         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57479         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57480         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57481         __mpranred, __mptan.
57482         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57483         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57484         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57485         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57486         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57487         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57488         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57489         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57490         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57492 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57494         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57495         redefine if SHARED.
57496         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57499         wide char related routines to wcsmbs subdir.
57501 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57503         [BZ #13344]
57504         * misc/sys/cdefs.h (__THROWNL): Define.
57505         * posix/unistd.h: Use __THREADNL instead of __THREAD
57506         for memory synchronization functions.
57508 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57510         [BZ #13349]
57511         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57512         doesn't exist.
57513         * manual/stdio.texi (Obstack Streams): Node removed.
57515 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57517         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57518         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57519         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57521         * math/math_private.h (math_force_eval): Allow non-addressable
57522         arguments.
57523         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57525 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57527         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57528         file is not needed.
57530         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57531         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57532         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57533         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57534         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57535         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57536         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57537         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57538         Add AVX variants.
57539         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57540         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57541         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57542         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57543         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57544         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57545         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57546         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57547         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57548         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57549         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57550         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57551         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57552         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57553         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57554         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57555         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57556         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57557         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57559         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57560         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57562         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57563         place.  Use VEX encoding when compiling for AVX.
57565 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57567         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57568         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57570         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57572 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57574         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57575         useless if() expression.
57576         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57577         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57578         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57579         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57580         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57581         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57582         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57583         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57584         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57585         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57586         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57587         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57588         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57589         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57590         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57591         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57592         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57593         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57594         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57596         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57598 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57600         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57601         condition.
57602         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57604 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57606         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57607         .text section.  Avoid duplicate constants.
57608         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57609         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57610         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57611         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57612         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57613         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57614         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57615         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57616         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57617         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57618         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57619         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57620         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57621         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57622         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57623         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57624         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57625         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57626         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57627         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57628         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57629         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57630         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57631         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57632         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57633         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57634         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57635         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57636         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57637         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57638         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57639         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57640         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57641         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57642         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57643         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57644         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57645         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57646         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57647         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57648         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57649         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57650         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57651         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57652         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57654 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57656         * sysdeps/x86_64/dla.h: Move to ...
57657         * sysdeps/x86_64/fpu/dla.h: ...here.
57658         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57659         situations.  Use __builtin_fma only for gcc 4.6 and up.
57661         * config.make.in: Add have-mfma4 entry.
57662         * configure.in: Substitute libc_cv_cc_fma4.
57663         * math/Makefile (dbl-only-routines): Add sincostab.
57664         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57665         Use __sincostab not sincos.
57666         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57667         name is a macro.
57668         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57669         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57670         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57671         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57672         using __copysign.
57673         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57674         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57675         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57676         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57677         and __inv.
57678         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57679         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57680         __copysign.
57681         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57682         define aliases when function name is a macro.
57683         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57684         sysdeps/ieee754/dbl-64/sincos.tbl.
57685         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57686         fma4-enabled routines.
57687         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57688         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57689         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57690         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57691         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57692         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57693         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57694         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57695         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57696         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57697         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57698         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57699         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57700         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57701         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57702         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57703         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57704         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57705         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57706         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57707         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57708         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57709         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57710         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57711         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57712         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57713         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57714         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57715         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57716         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57718         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57719         rename.
57720         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57721         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57722         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57724         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57725         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57726         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57727         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57729 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57731         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57733 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57735         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57737         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57738         prediction.
57739         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57741         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57742         Remove unused variable magic_bits.
57743         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57745         * string/strnlen.c: Define and use STRNLEN macro.
57746         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57747         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57748         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57749         * wcsmbs/wcslen.c: Define and use WCSLEN.
57750         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57751         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57752         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57753         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57754         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57755         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57756         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57758 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57761         strnlen-sse2-no-bsf.
57762         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57763         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57764         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57765         Add strnlen support.
57766         (USE_AS_STRNLEN): New macro.
57767         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57768         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57769         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57770         * sysdeps/x86_64/wcslen.S: New file.
57772 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57774         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57775         XMM-moves are used for copying on small sizes.
57777 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57779         * wcsmbs/Makefile (strop-tests): Add wcschr.
57780         * wcsmbs/test-wcschr.c: New file.
57781         * string/test-strchr.c: Update.
57782         Add wcschr support.
57783         (WIDE): New macro.
57785 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57787         * wcsmbs/Makefile (strop-tests): Add wcslen.
57788         * wcsmbs/test-wcslen.c: New file.
57789         * string/test-strlen.c: Update.
57790         Add wcslen support.
57791         (WIDE): New macro.
57793 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57795         * po/it.po: Update from translation team.
57797 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57799         * sysdeps/x86_64/wcscmp.S: Update.
57800         Fix wrong comparison semantics.
57801         wcscmp shall use signed comparison not unsigned.
57802         Don't use substraction to avoid overflow bug.
57803         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57804         * wcsmbc/wcscmp.c: Likewise.
57805         * string/test-strcmp.c: Likewise.
57806         Add new tests to check cases with negative values.
57808 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57810         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57811         * sysdeps/x86_64/dla.h: ...here.  New file.
57812         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57813         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57814         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57815         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57817         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57818         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57819         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57820         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57822 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57824         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57825         __ynl_finite aliases.
57827 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57831         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57832         define DLA_FMA.
57833         [DLA_FMA] (EMULV): Use DLA_FMA.
57834         [DLA_FMA] (MUL12): Use EMULV.
57835         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57836         that are not needed.
57837         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57838         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57839         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57840         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57841         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57842         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57843         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57845 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57847         * math/s_nan.c: Undef __nan.
57848         * math/s_nanf.c: Undef __nanf.
57849         * math/s_nanl.c: Undef __nanl.
57850         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57851         "math_private.h".
57853 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57855         * math/s_catan.c: Add branch predictions.
57856         * math/s_catanf.c: Likewise.
57857         * math/s_catanh.c: Likewise.
57858         * math/s_catanhf.c: Likewise.
57859         * math/s_catanhl.c: Likewise.
57860         * math/s_catanl.c: Likewise.
57861         * math/s_cexp.c: Likewise.
57862         * math/s_cexpf.c: Likewise.
57863         * math/s_cexpl.c: Likewise.
57864         * math/s_clog.c: Likewise.
57865         * math/s_clog10.c: Likewise.
57866         * math/s_clog10f.c: Likewise.
57867         * math/s_clog10l.c: Likewise.
57868         * math/s_clogf.c: Likewise.
57869         * math/s_clogl.c: Likewise.
57870         * math/s_csqrt.c: Likewise.
57871         * math/s_csqrtf.c: Likewise.
57872         * math/s_csqrtl.c: Likewise.
57873         * math/s_ctanf.c: Likewise.
57874         * math/s_ctanh.c: Likewise.
57875         * math/s_ctanhf.c: Likewise.
57876         * math/s_ctanhl.c: Likewise.
57877         * math/s_ctanl.c: Likewise.
57879         * math/math_private.h: Define __nan, __nanf, __nanl.
57880         * math/s_cacosh.c: Include <math_private.h>.
57881         * math/s_cacoshl.c: Likewise.
57882         * math/s_casinh.c: Likewise.
57883         * math/s_casinhf.c: Likewise.
57884         * math/s_casinhl.c: Likewise.
57885         * math/s_ccos.c: Rely entire on ccosh.
57886         * math/s_ccosf.c: Rely entire on ccoshf.
57887         * math/s_ccosl.c: Rely entirely on ccoshl.
57888         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57889         Remove tests for FE_INVALID.
57890         * math/s_ccoshf.c: Likewise.
57891         * math/s_ccoshl.c: Likewise.
57892         * math/s_csin.c: Likewise.
57893         * math/s_csinf.c: Likewise.
57894         * math/s_csinh.c Likewise.
57895         * math/s_csinhf.c: Likewise.
57896         * math/s_csinhl.c: Likewise.
57897         * math/s_csinl.c: Likewise.
57898         * math/s_ctan.c: Likewise.
57899         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57900         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57901         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57903 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57905         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57906         compilation problems.
57908         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57909         __builtin_expect.
57911 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57913         * sysdeps/i386/configure.in: Test for -mfma4 option.
57914         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57915         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57916         COMMON_CPUID_INDEX_80000001.
57917         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57918         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57919         use it if FMA3 is not supported.
57920         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57922         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57923         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57925 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57927         [BZ #12892]
57928         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57929         it would create a cycle with a link time dependency.
57931 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57933         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57934         instruction.
57935         * string/Makefile (strop-tests): Add rawmemchr.
57936         * string/test-rawmemchr.c: New file.
57938         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57939         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57940         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57941         when compiling str{,n}casecmp and when AVX is available.  Hook up
57942         new optimized code in initializers.
57944 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57946         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57947         __feraiseexcept instead of feraiseexcept.
57949 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57951         * math/math_private.h: Define defaults for libc_fetestexcept and
57952         libc_feupdateenv.
57953         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57954         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57955         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57956         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57957         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57958         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57959         libc_fetestexcept and libc_feupdateenv.
57961         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57962         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57963         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57964         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57965         libc_feholdexcept_setround.
57967         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57968         Add s_nearbyint-c and s_nearbyintf-c.
57969         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57970         nearbyintf inlines.
57971         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57972         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57973         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57974         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57976         * math/math_private.h: Define defaults for libc_fegetround,
57977         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57978         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57979         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57980         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57981         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57982         standard functions.
57983         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57984         Remove comments and hacks for old compiler versions.
57985         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57986         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57987         libc_feholdexceptl.
57989 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57991         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57992         (__feraiseexcept_renamed): Add __NTH.
57993         (feraiseexcept): Add __NTH.  Rename local variables to fix
57994         namespace violations.
57996 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57998         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58000         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58002         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58003         recently added interfaces.
58004         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58006         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58007         about macro parameter expansion.
58009         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58010         __NO_MATH_INLINES is defined.  Cleanups.
58012         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58013         and __floorf is target has SSE4.1.
58014         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58015         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58016         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58017         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58019         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58020         name.
58021         (floorf): Likewise.
58023         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58025 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58027         * misc/sys/cdefs.h: Fix last change.
58029         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58030         database lookup.
58032 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58034         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58036         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58037         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58038         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58039         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58040         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58041         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58042         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58043         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58044         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58045         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58046         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58047         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58048         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58049         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58050         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58051         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58052         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58053         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58054         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58055         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58056         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58057         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58059         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58060         ceil, ceilf, floor, floorf.
58062         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58063         Perform IRELATIVE relocations last.
58065         * elf/do-rel.h: Add another parameter nrelative, replacing the
58066         local variable with the same name.  Change name of the function
58067         to end in Rel or Rela (uppercase).
58068         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58069         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58070         elf_dynamic_do_##reloc function.
58072 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58074         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58075         is sufficient, at least on modern CPUs.
58077         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58079         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58080         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58082         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58083         __expl_finite.
58084         * math/bits/math-finite.h: Add entries for exp.
58085         * math/e_expl.c: Add __*_finite alias.
58086         * sysdeps/i386/fpu/e_exp.S: Likewise.
58087         * sysdeps/i386/fpu/e_expf.S: Likewise.
58088         * sysdeps/i386/fpu/e_expl.c: Likewise.
58089         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58090         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58091         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58092         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58093         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58094         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58095         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58097         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58098         is sufficient, at least on modern CPUs.
58100         * ctype/ctype-info.c (__ctype_init): Define.
58101         * include/ctype.h (__ctype_init): Declare.
58102         (__ctype_b_loc): The variable is always initialized.
58103         (__ctype_toupper_loc): Likewise.
58104         (__ctype_tolower_loc): Likewise.
58105         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58106         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58108 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58110         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58112         * configure.in: Also look in $cxxmachine/include for C++ system
58113         headers.
58115 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58117         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58118         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58119         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58120         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58121         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58122         (USE_AS_WMEMCMP): New macro.
58123         Fixing indents.
58124         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58125         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58126         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58127         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58129         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58130         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58131         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58132         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58133         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58134         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58135         (USE_AS_WMEMCMP): New macro.
58136         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58137         * sysdeps/string/test-memcmp.c: Update.
58138         Fix simple_wmemcmp.
58139         Add new tests.
58140         * wcsmbs/wmemcmp.c: Update.
58141         (WMEMCMP): New macro.
58142         Fix overflow bug.
58144 2011-10-12  Andreas Jaeger  <aj@suse.de>
58146         [BZ #13268]
58147         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58149 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58151         * libio/iofwide.c (do_length): Avoid warning.
58153         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58155 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58157         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58159         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58160         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58161         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58162         * sysdeps/i386/i686/fpu/e_log.S: New file.
58163         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58164         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58166         * ctype/ctype.h: Add support for inlined isXXX functions when
58167         compiling C++ code.
58169 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58171         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58173         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58175 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58177         [BZ #13291]
58178         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58180 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58182         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58183         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58184         feraiseexcept.
58186         * sysdeps/x86_64/memrchr.S: Check for zero size.
58188         * string/stratcliff.c: Add memrchr tests.
58190 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58192         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58193         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58194         rawmemchr-sse2 rawmemchr-sse2-bsf.
58195         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58196         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58197         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58198         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58199         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58200         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58201         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58202         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58203         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58204         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58205         * string/memrchr.c (MEMRCHR): New macro.
58207 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58209         Add integration with gcc's -ffinite-math-only and optimize wrapper
58210         functions in libm.
58211         * Versions.def: Define GLIBC_2.15 version for libm.
58212         * math/Makefile (headers): Add bits/math-finite.h.
58213         * math/bits/math-finite.h: New file.
58214         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58215         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58216         * math/e_acoshl.c: Add __*_finite alias.
58217         * math/e_acosl.c: Likewise.
58218         * math/e_asinl.c: Likewise.
58219         * math/e_atan2l.c: Likewise.
58220         * math/e_atanhl.c: Likewise.
58221         * math/e_coshl.c: Likewise.
58222         * math/e_exp10.c: Likewise.
58223         * math/e_exp10f.c: Likewise.
58224         * math/e_exp10l.c: Likewise.
58225         * math/e_exp2l.c: Likewise.
58226         * math/e_fmodl.c: Likewise.
58227         * math/e_gammal_r.c: Likewise.
58228         * math/e_hypotl.c: Likewise.
58229         * math/e_j0l.c: Likewise.
58230         * math/e_j1l.c: Likewise.
58231         * math/e_jnl.c: Likewise.
58232         * math/e_lgammal_r.c: Likewise.
58233         * math/e_log10l.c: Likewise.
58234         * math/e_log2l.c: Likewise.
58235         * math/e_logl.c: Likewise.
58236         * math/e_powl.c: Likewise.
58237         * math/e_sinhl.c: Likewise.
58238         * math/e_sqrtl.c: Likewise.
58239         * math/e_scalb.c: Completely rewritten and optimized.
58240         * math/e_scalbf.c: Likewise.
58241         * math/e_scalbl.c: Likewise.
58242         * math/w_acos.c: Likewise.
58243         * math/w_acosf.c: Likewise.
58244         * math/w_acosl.c: Likewise.
58245         * math/w_acosh.c: Likewise.
58246         * math/w_acoshf.c: Likewise.
58247         * math/w_acoshl.c: Likewise.
58248         * math/w_asin.c: Likewise.
58249         * math/w_asinf.c: Likewise.
58250         * math/w_asinl.c: Likewise.
58251         * math/w_atan2.c: Likewise.
58252         * math/w_atan2f.c: Likewise.
58253         * math/w_atan2l.c: Likewise.
58254         * math/w_atanh.c: Likewise.
58255         * math/w_atanhf.c: Likewise.
58256         * math/w_atanhl.c: Likewise.
58257         * math/w_exp10.c: Likewise.
58258         * math/w_exp10f.c: Likewise.
58259         * math/w_exp10l.c: Likewise.
58260         * math/w_fmod.c: Likewise.
58261         * math/w_fmodf.c: Likewise.
58262         * math/w_fmodl.c: Likewise.
58263         * math/w_j0.c: Likewise.
58264         * math/w_j0f.c: Likewise.
58265         * math/w_j0l.c: Likewise.
58266         * math/w_j1.c: Likewise.
58267         * math/w_j1f.c: Likewise.
58268         * math/w_j1l.c: Likewise.
58269         * math/w_jn.c: Likewise.
58270         * math/w_jnf.c: Likewise.
58271         * math/w_log.c: Likewise.
58272         * math/w_logf.c: Likewise.
58273         * math/w_logl.c: Likewise.
58274         * math/w_log10.c: Likewise.
58275         * math/w_log10f.c: Likewise.
58276         * math/w_log10l.c: Likewise.
58277         * math/w_log2.c: Likewise.
58278         * math/w_log2f.c: Likewise.
58279         * math/w_log2l.c: Likewise.
58280         * math/w_pow.c: Likewise.
58281         * math/w_powf.c: Likewise.
58282         * math/w_powl.c: Likewise.
58283         * math/w_remainder.c: Likewise.
58284         * math/w_remainderf.c: Likewise.
58285         * math/w_remainderl.c: Likewise.
58286         * math/w_scalb.c: Likewise.
58287         * math/w_scalbf.c: Likewise.
58288         * math/w_scalbl.c: Likewise.
58289         * math/w_sqrt.c: Likewise.
58290         * math/w_sqrtf.c: Likewise.
58291         * math/w_sqrtl.c: Likewise.
58292         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58293         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58294         used.
58295         * math/math_private.h: Declare __kernel_standard_f.
58296         * math/w_cosh.c: Remove cruft and optimize a bit.
58297         * math/w_coshf.c: Likewise.
58298         * math/w_coshl.c: Likewise.
58299         * math/w_exp2.c: Likewise.
58300         * math/w_exp2f.c: Likewise.
58301         * math/w_exp2l.c: Likewise.
58302         * math/w_hypot.c: Likewise.
58303         * math/w_hypotf.c: Likewise.
58304         * math/w_hypotl.c: Likewise.
58305         * math/w_lgamma.c: Likewise.
58306         * math/w_lgamma_r.c: Likewise.
58307         * math/w_lgammaf.c: Likewise.
58308         * math/w_lgammaf_r.c: Likewise.
58309         * math/w_lgammal.c: Likewise.
58310         * math/w_lgammal_r.c: Likewise.
58311         * math/w_sinh.c: Likewise.
58312         * math/w_sinhf.c: Likewise.
58313         * math/w_sinhl.c: Likewise.
58314         * math/w_tgamma.c: Likewise.
58315         * math/w_tgammaf.c: Likewise.
58316         * math/w_tgammal.c: Likewise.
58317         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58318         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58319         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58320         Minor optimizations.  Pretty printing.  Remove cruft.
58321         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58322         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58323         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58324         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58325         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58326         * sysdeps/i386/fpu/e_asin.S: Likewise.
58327         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58328         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58329         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58330         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58331         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58332         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58333         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58334         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58335         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58336         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58337         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58338         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58339         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58340         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58341         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58342         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58343         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58344         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58345         * sysdeps/i386/fpu/e_log.S: Likewise.
58346         * sysdeps/i386/fpu/e_log10.S: Likewise.
58347         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58348         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58349         * sysdeps/i386/fpu/e_log2.S: Likewise.
58350         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58351         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58352         * sysdeps/i386/fpu/e_logf.S: Likewise.
58353         * sysdeps/i386/fpu/e_logl.S: Likewise.
58354         * sysdeps/i386/fpu/e_pow.S: Likewise.
58355         * sysdeps/i386/fpu/e_powf.S: Likewise.
58356         * sysdeps/i386/fpu/e_powl.S: Likewise.
58357         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58358         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58359         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58360         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58361         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58362         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58363         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58364         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58365         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58366         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58367         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58368         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58369         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58370         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58371         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58372         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58373         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58374         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58375         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58376         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58377         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58378         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58379         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58380         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58381         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58382         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58383         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58384         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58385         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58386         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58387         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58388         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58389         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58390         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58391         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58392         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58393         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58394         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58395         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58396         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58397         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58398         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58399         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58400         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58401         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58402         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58403         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58404         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58405         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58406         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58407         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58408         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58409         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58410         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58411         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58412         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58413         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58414         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58415         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58416         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58417         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58418         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58419         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58420         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58421         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58422         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58423         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58424         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58425         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58426         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58427         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58428         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58429         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58430         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58431         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58432         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58433         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58434         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58435         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58436         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58437         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58438         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58439         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58440         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58441         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58442         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58443         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58444         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58445         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58446         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58447         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58448         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58449         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58450         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58451         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58452         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58453         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58454         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58455         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58456         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58457         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58458         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58459         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58460         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58461         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58462         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58463         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58464         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58465         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58466         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58467         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58468         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58469         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58470         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58471         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58472         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58473         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58474         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58475         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58476         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58477         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58478         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58479         (__isnanf): Likewise.
58480         (__isinf_ns): Likewise.
58481         (__isinf_nsf): Likewise.
58482         (__finite): Likewise.
58483         (__finitef): Likewise.
58484         (__ieee754_sqrt): Define as macro.
58485         (__ieee754_sqrtf): Define as macro.
58486         (__ieee754_sqrtl): Define as macro.
58487         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58488         inlined copy.
58489         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58490         __FINITE_MATH_ONLY__ consistent.
58491         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58493 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58495         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58496         of rawmemchr.
58498         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58500 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58502         * po/ja.po: Update from translation team.
58504 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58506         * locale/programs/locarchive.c (prepare_address_space): New function.
58507         (create_archive, enlarge_archive, open_archive): Use it.
58509         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58510         inside [SHARED], where it is used.
58512         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58514         * nss/getent.c (netgroup_keys): Remove unused variable.
58515         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58517 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58519         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58520         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58521         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58522         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58523         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58524         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58525         * math/Makefile (libm-calls): Add s_isinf_ns.
58526         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58527         * math/multc3.c: Likewise.
58528         * math/s_casin.c: Likewise.
58529         * math/s_casinf.c: Likewise.
58530         * math/s_casinl.c: Likewise.
58531         * math/s_ccos.c: Likewise.
58532         * math/s_ccosf.c: Likewise.
58533         * math/s_ccosl.c: Likewise.
58534         * math/s_ctan.c: Likewise.
58535         * math/s_ctanf.c: Likewise.
58536         * math/s_ctanh.c: Likewise.
58537         * math/s_ctanhf.c: Likewise.
58538         * math/s_ctanhl.c: Likewise.
58539         * math/s_ctanl.c: Likewise.
58540         * math/w_fmod.c: Likewise.
58541         * math/w_fmodf.c: Likewise.
58542         * math/w_fmodl.c: Likewise.
58543         * math/w_remainder.c: Likewise.
58544         * math/w_remainderf.c: Likewise.
58545         * math/w_remainderl.c: Likewise.
58546         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58547         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58548         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58549         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58550         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58551         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58552         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58553         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58555         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58556         of the number.
58557         * stdio-common/printf_fphex.c: Likewise.
58558         * stdio-common/printf_size.c: Likewise.
58560         * math/e_exp10.c: Include math_private.h using <...> not "...".
58561         * math/e_exp10f.c: Likewise.
58562         * math/e_exp10l.c: Likewise.
58563         * math/e_exp2l.c: Likewise.
58564         * math/e_j0l.c: Likewise.
58565         * math/e_j1l.c: Likewise.
58566         * math/e_jnl.c: Likewise.
58567         * math/e_lgammal_r.c: Likewise.
58568         * math/e_rem_pio2l.c: Likewise.
58569         * math/e_scalb.c: Likewise.
58570         * math/e_scalbf.c: Likewise.
58571         * math/e_scalbl.c: Likewise.
58572         * math/k_cosl.c: Likewise.
58573         * math/k_sinl.c: Likewise.
58574         * math/k_tanl.c: Likewise.
58575         * math/s_cacoshf.c: Likewise.
58576         * math/s_catan.c: Likewise.
58577         * math/s_catanf.c: Likewise.
58578         * math/s_catanh.c: Likewise.
58579         * math/s_catanhf.c: Likewise.
58580         * math/s_catanhl.c: Likewise.
58581         * math/s_catanl.c: Likewise.
58582         * math/s_ccosh.c: Likewise.
58583         * math/s_ccoshf.c: Likewise.
58584         * math/s_ccoshl.c: Likewise.
58585         * math/s_cexp.c: Likewise.
58586         * math/s_cexpf.c: Likewise.
58587         * math/s_cexpl.c: Likewise.
58588         * math/s_clog.c: Likewise.
58589         * math/s_clog10.c: Likewise.
58590         * math/s_clog10f.c: Likewise.
58591         * math/s_clog10l.c: Likewise.
58592         * math/s_clogf.c: Likewise.
58593         * math/s_clogl.c: Likewise.
58594         * math/s_csin.c: Likewise.
58595         * math/s_csinf.c: Likewise.
58596         * math/s_csinh.c: Likewise.
58597         * math/s_csinhf.c: Likewise.
58598         * math/s_csinhl.c: Likewise.
58599         * math/s_csinl.c: Likewise.
58600         * math/s_csqrt.c: Likewise.
58601         * math/s_csqrtf.c: Likewise.
58602         * math/s_csqrtl.c: Likewise.
58603         * math/s_ctan.c: Likewise.
58604         * math/s_ctanf.c: Likewise.
58605         * math/s_ctanh.c: Likewise.
58606         * math/s_ctanhf.c: Likewise.
58607         * math/s_ctanhl.c: Likewise.
58608         * math/s_ctanl.c: Likewise.
58609         * math/s_ldexp.c: Likewise.
58610         * math/s_ldexpf.c: Likewise.
58611         * math/s_ldexpl.c: Likewise.
58612         * math/s_significand.c: Likewise.
58613         * math/s_significandf.c: Likewise.
58614         * math/s_significandl.c: Likewise.
58615         * math/w_acos.c: Likewise.
58616         * math/w_acosf.c: Likewise.
58617         * math/w_acosh.c: Likewise.
58618         * math/w_acoshf.c: Likewise.
58619         * math/w_acoshl.c: Likewise.
58620         * math/w_acosl.c: Likewise.
58621         * math/w_asin.c: Likewise.
58622         * math/w_asinf.c: Likewise.
58623         * math/w_asinl.c: Likewise.
58624         * math/w_atan2.c: Likewise.
58625         * math/w_atan2f.c: Likewise.
58626         * math/w_atan2l.c: Likewise.
58627         * math/w_atanh.c: Likewise.
58628         * math/w_atanhf.c: Likewise.
58629         * math/w_atanhl.c: Likewise.
58630         * math/w_cosh.c: Likewise.
58631         * math/w_coshf.c: Likewise.
58632         * math/w_coshl.c: Likewise.
58633         * math/w_dremf.c: Likewise.
58634         * math/w_exp10.c: Likewise.
58635         * math/w_exp10f.c: Likewise.
58636         * math/w_exp10l.c: Likewise.
58637         * math/w_exp2.c: Likewise.
58638         * math/w_exp2f.c: Likewise.
58639         * math/w_fmod.c: Likewise.
58640         * math/w_fmodf.c: Likewise.
58641         * math/w_fmodl.c: Likewise.
58642         * math/w_hypot.c: Likewise.
58643         * math/w_hypotf.c: Likewise.
58644         * math/w_hypotl.c: Likewise.
58645         * math/w_j0.c: Likewise.
58646         * math/w_j0f.c: Likewise.
58647         * math/w_j0l.c: Likewise.
58648         * math/w_j1.c: Likewise.
58649         * math/w_j1f.c: Likewise.
58650         * math/w_j1l.c: Likewise.
58651         * math/w_jn.c: Likewise.
58652         * math/w_jnf.c: Likewise.
58653         * math/w_jnl.c: Likewise.
58654         * math/w_lgamma.c: Likewise.
58655         * math/w_lgamma_r.c: Likewise.
58656         * math/w_lgammaf.c: Likewise.
58657         * math/w_lgammaf_r.c: Likewise.
58658         * math/w_lgammal.c: Likewise.
58659         * math/w_lgammal_r.c: Likewise.
58660         * math/w_log.c: Likewise.
58661         * math/w_log10.c: Likewise.
58662         * math/w_log10f.c: Likewise.
58663         * math/w_log10l.c: Likewise.
58664         * math/w_log2.c: Likewise.
58665         * math/w_log2f.c: Likewise.
58666         * math/w_log2l.c: Likewise.
58667         * math/w_logf.c: Likewise.
58668         * math/w_logl.c: Likewise.
58669         * math/w_pow.c: Likewise.
58670         * math/w_powf.c: Likewise.
58671         * math/w_powl.c: Likewise.
58672         * math/w_remainder.c: Likewise.
58673         * math/w_remainderf.c: Likewise.
58674         * math/w_remainderl.c: Likewise.
58675         * math/w_scalb.c: Likewise.
58676         * math/w_scalbf.c: Likewise.
58677         * math/w_scalbl.c: Likewise.
58678         * math/w_sinh.c: Likewise.
58679         * math/w_sinhf.c: Likewise.
58680         * math/w_sinhl.c: Likewise.
58681         * math/w_sqrt.c: Likewise.
58682         * math/w_sqrtf.c: Likewise.
58683         * math/w_sqrtl.c: Likewise.
58684         * math/w_tgamma.c: Likewise.
58685         * math/w_tgammaf.c: Likewise.
58686         * math/w_tgammal.c: Likewise.
58688         * po/ja.po: Update from translation team.
58690 2011-09-29  Andreas Jaeger  <aj@suse.de>
58692         [BZ #13179]
58693         * sunrpc/netname.c (netname2host): Fix logic.
58695         [BZ #6779]
58696         [BZ #6783]
58697         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58698         correctly.
58699         * math/w_remainder.c (__remainder): Likewise.
58700         * math/w_remainderf.c (__remainderf): Likewise.
58701         * math/libm-test.inc (remainder_test): Add test cases.
58703 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58705         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58706         sdiv_qrnnd.
58708 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58710         * string/test-memcmp.c: Avoid unncessary #defines.
58711         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58713 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58715         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58716         Use new sse2 version for core i3 - i7 as it's faster
58717         than sse42 version.
58718         (bit_Prefer_PMINUB_for_stringop): New.
58719         * sysdeps/x86_64/rawmemchr.S: Update.
58720         Replace with faster SSE2 version.
58721         * sysdeps/x86_64/memrchr.S: New file.
58722         * sysdeps/x86_64/memchr.S: Update.
58723         Replace with faster SSE2 version.
58725 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58727         * elf/dl-load.c (lose): Add cast to avoid warning.
58729 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58731         * po/ca.po: Update from translation team.
58733         * inet/getnetgrent_r.c: Hook up nscd.
58734         * nscd/Makefile (routines): Add nscd_netgroup.
58735         (nscd-modules): Add netgroupcache.
58736         (CFLAGS-netgroupcache.c): Define.
58737         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58738         (cache_search): Add const to second parameter.
58739         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58740         INNETGR.
58741         (dbs): Add netgrdb entry.
58742         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58743         (verify_persistent_db): Handle netgrdb.
58744         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58745         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58746         GETFDNETGR.
58747         (netgroup_response_header): Define.
58748         (innetgroup_response_header): Define.
58749         (datahead): Add netgroup_response_header and innetgroup_response_header
58750         elements.
58751         * nscd/nscd.conf: Add entries for netgroup cache.
58752         * nscd/nscd.h (dbtype): Add netgrdb.
58753         (_PATH_NSCD_NETGROUP_DB): Define.
58754         (netgroup_iov_disabled): Declare.
58755         (xmalloc, xcalloc, xrealloc): Move declarations here.
58756         (cache_search): Adjust prototype.
58757         Add netgroup-related prototypes.
58758         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58759         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58760         (__nscd_innetgr): Declare.
58761         * nscd/selinux.c (perms): Use access_vector_t as element type and
58762         add netgroup-related initializers.
58763         * nscd/netgroupcache.c: New file.
58764         * nscd/nscd_netgroup.c: New file.
58765         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58766         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58767         For four parameters use innetgr.
58768         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58769         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58770         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58771         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58773         * nscd/connections.c (register_traced_file): Don't register file
58774         for disabled databases.
58776 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58778         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58780         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58781         from tree and freeing node.
58783 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58785         * nss/nsswitch.c (__nss_database_lookup): Handle
58786         nss_parse_service_list out of memory case.
58788 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58790         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58791         out of memory case.
58793 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58795         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58796         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58797         pass it down.
58798         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58799         elf_machine_rela, elf_machine_lazy_rel.
58800         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58801         (ELF_DYNAMIC_DO_REL): Likewise.
58802         (ELF_DYNAMIC_DO_RELA): Likewise.
58803         (ELF_DYNAMIC_RELOCATE): Likewise.
58804         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58805         to ELF_DYNAMIC_DO_REL.
58806         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58807         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58808         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58809         elf_machine_rela.
58810         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58811         skip_ifunc, don't call ifunc function if non-zero.
58812         (elf_machine_rela): Likewise.
58813         (elf_machine_lazy_rel): Likewise.
58814         (elf_machine_lazy_rela): Likewise.
58815         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58816         (elf_machine_lazy_rel): Likewise.
58817         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58818         Likewise.
58819         (elf_machine_lazy_rel): Likewise.
58820         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58821         Likewise.
58822         (elf_machine_lazy_rel): Likewise.
58823         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58824         (elf_machine_lazy_rel): Likewise.
58825         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58826         (elf_machine_lazy_rel): Likewise.
58827         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58828         (elf_machine_lazy_rel): Likewise.
58829         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58830         (elf_machine_lazy_rel): Likewise.
58831         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58832         (elf_machine_lazy_rel): Likewise.
58833         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58834         (elf_machine_lazy_rel): Likewise.
58836 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58838         * nss/nss_files/files-init.c (_nss_files_init): Use static
58839         initialization for all the *_traced_file variables.
58841 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58843         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58845 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58847         [BZ #13226]
58848         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58850 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58852         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58853         Reread the line before reparsing it.
58855 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58857         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58859 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58860             Maxim Kuvyrkov  <maxim@codesourcery.com>
58861             Joseph Myers  <joseph@codesourcery.com>
58863         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58864         if needed for __stack_chk_guard.
58866 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58868         * sysdeps/posix/spawni.c (script_execute): Always define it.
58869         It will be optimized away if unused.
58870         (maybe_script_execute): New function.
58871         (__spawni): Call it.
58873         * Makerules: Don't include tls.make.
58874         (config-tls): Always set to thread.
58875         * tls.make.c: File removed.
58877 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58879         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58880         * config.make.in (CPPFLAGS-config): New substituted variable.
58882 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58884         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58886         [BZ #13192]
58887         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58888         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58890 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58892         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58893         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58894         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58895         (CALL_FAIL): Likewise.
58896         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58897         (CALL_FAIL): Macro removed.
58898         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58900 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58902         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58903         for __FINITE_MATH_ONLY__ == 1.
58905 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58907         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58908         __ieee754_sqrt instead of sqrt.
58909         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58910         __ieee754_sqrtf instead of sqrtf.
58911         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58912         __floorf instead of floorf.
58913         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58914         __floorf, __truncf instead of floorf, truncf.
58916 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58918         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58920         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58921         __extern_always_inline.
58922         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58923         32-bit.
58925 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58927         * elf/rtld.c (dl_main): Also relocate in dependency order when
58928         doing symbol dependency testing.
58930 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58932         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58933         Always define `refsym'.
58935 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58937         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58938         (__FD_ELT): Renamed from __FDELT.
58939         * misc/bits/select2.h (__FD_ELT): Likewise.
58940         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58941         __FD_MASK instead of __FDELT, __FDMASK.
58942         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58943         Likewise.
58944         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58945         Likewise.
58947         * elf/Makefile (gen-ldd): Fix pattern.
58949         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58950         (init_tls): Likewise.
58952 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58954         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58956 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58958         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58959         `struct cmsghdr *' instead of `void *'.
58960         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58961         Likewise.
58963 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58965         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58966         if non-absolute.
58967         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58968         ldd_rewrite_script.
58970 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58972         * configure.in: Remove --with-tls option.
58973         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58974         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58975         out in case it is missing.
58976         * sysdeps/ia64/elf/configure.in: Likewise.
58977         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58978         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58979         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58980         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58981         * sysdeps/sh/elf/configure.in: Likewise.
58982         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58983         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58984         * sysdeps/x86_64/elf/configure.in: Likewise.
58985         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58986         * sysdeps/mach/hurd/tls.h: Likewise.
58988         [BZ #13067]
58989         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58991         [BZ #13090]
58992         * configure.in: Fix use of AC_INIT.
58994         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58996 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58998         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58999         __set_errno.
59000         * malloc/hooks.c: Likewise.
59002         [BZ #11929]
59003         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59004         variables statically.
59005         (narenas): Initialize.
59006         (list_lock): Initialize.
59007         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59008         initializtion of main_arena and list_lock.  Small cleanups.
59009         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59010         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59011         Add initializers to main_arena and mp_.
59012         (malloc_state): Remove pagesize member.  Change all users to use
59013         GLRO(dl_pagesize).
59015         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59016         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59017         is always initialized.
59019         * malloc/malloc.c: Removed unused configurations and dead code.
59020         * malloc/arena.c: Likewise.
59021         * malloc/hooks.c: Likewise.
59022         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59024         * include/tls.h: Removed.  USE___THREAD must always be defined.
59025         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59026         * elf/dl-libc.c: Likewise.
59027         * elf/dl-tsd.c: Likewise.
59028         * include/errno.h: Likewise.
59029         * include/netdb.h: Likewise.
59030         * include/resolv.h: Likewise.
59031         * inet/herrno-loc.c: Likewise.
59032         * inet/herrno.c: Likewise.
59033         * malloc/arena.c: Likewise.
59034         * malloc/hooks.c: Likewise.
59035         * malloc/malloc.c: Likewise.
59036         * resolv/res-state.c: Likewise.
59037         * resolv/res_libc.c: Likewise.
59038         * sysdeps/i386/dl-machine.h: Likewise.
59039         * sysdeps/ia64/dl-machine.h: Likewise.
59040         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59041         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59042         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59043         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59044         * sysdeps/sh/dl-machine.h: Likewise.
59045         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59046         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59047         * sysdeps/unix/i386/sysdep.S: Likewise.
59048         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59049         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59051         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59052         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59053         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59054         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59057         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59058         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59059         * sysdeps/x86_64/dl-machine.h: Likewise.
59060         * tls.make.c: Likewise.
59062         * configure.in: Remove --with-__thread option.  Make tests for
59063         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59064         tls_model attribute fail if no support is available.  Remove
59065         USE_IN_LIBIO.
59066         * Makeconfig: Adjust for dropped configure option.  All features are
59067         now mandatory.
59068         * Makerules: Likewise.
59069         * Versions.def: Likewise.
59070         * argp/argp-fmtstream.c: Likewise.
59071         * argp/argp-fmtstream.h: Likewise.
59072         * argp/argp-help.c: Likewise.
59073         * assert/assert.c: Likewise.
59074         * config.h.in: Likewise.
59075         * config.make.in: Likewise.
59076         * configure: Likewise.
59077         * configure.in: Likewise.
59078         * csu/Versions: Likewise.
59079         * csu/init.c: Likewise.
59080         * elf/tst-audit2.c: Likewise.
59081         * elf/tst-tls10.c: Likewise.
59082         * elf/tst-tls10.h: Likewise.
59083         * elf/tst-tls11.c: Likewise.
59084         * elf/tst-tls12.c: Likewise.
59085         * elf/tst-tls14.c: Likewise.
59086         * elf/tst-tlsmod11.c: Likewise.
59087         * elf/tst-tlsmod12.c: Likewise.
59088         * elf/tst-tlsmod13.c: Likewise.
59089         * elf/tst-tlsmod13a.c: Likewise.
59090         * elf/tst-tlsmod14a.c: Likewise.
59091         * elf/tst-tlsmod15b.c: Likewise.
59092         * elf/tst-tlsmod16a.c: Likewise.
59093         * elf/tst-tlsmod16b.c: Likewise.
59094         * elf/tst-tlsmod7.c: Likewise.
59095         * elf/tst-tlsmod8.c: Likewise.
59096         * elf/tst-tlsmod9.c: Likewise.
59097         * gmon/gmon.c: Likewise.
59098         * grp/fgetgrent_r.c: Likewise.
59099         * grp/putgrent.c: Likewise.
59100         * hurd/fopenport.c: Likewise.
59101         * include/libc-symbols.h: Likewise.
59102         * include/tls.h: Likewise.
59103         * intl/gettextP.h: Likewise.
59104         * intl/loadinfo.h: Likewise.
59105         * locale/global-locale.c: Likewise.
59106         * locale/localeinfo.h: Likewise.
59107         * mach/devstream.c: Likewise.
59108         * malloc/arena.c: Likewise.
59109         * malloc/set-freeres.c: Likewise.
59110         * misc/err.c: Likewise.
59111         * misc/getttyent.c: Likewise.
59112         * misc/mntent_r.c: Likewise.
59113         * posix/getopt.c: Likewise.
59114         * posix/wordexp.c: Likewise.
59115         * pwd/fgetpwent_r.c: Likewise.
59116         * resolv/Versions: Likewise.
59117         * resolv/res_hconf.c: Likewise.
59118         * shadow/fgetspent_r.c: Likewise.
59119         * shadow/putspent.c: Likewise.
59120         * stdio-common/printf_fphex.c: Likewise.
59121         * stdio-common/tmpfile.c: Likewise.
59122         * stdlib/abort.c: Likewise.
59123         * stdlib/fmtmsg.c: Likewise.
59124         * sunrpc/auth_unix.c: Likewise.
59125         * sunrpc/clnt_perr.c: Likewise.
59126         * sunrpc/clnt_tcp.c: Likewise.
59127         * sunrpc/clnt_udp.c: Likewise.
59128         * sunrpc/clnt_unix.c: Likewise.
59129         * sunrpc/openchild.c: Likewise.
59130         * sunrpc/svc_simple.c: Likewise.
59131         * sunrpc/svc_tcp.c: Likewise.
59132         * sunrpc/svc_udp.c: Likewise.
59133         * sunrpc/svc_unix.c: Likewise.
59134         * sunrpc/xdr.c: Likewise.
59135         * sunrpc/xdr_array.c: Likewise.
59136         * sunrpc/xdr_rec.c: Likewise.
59137         * sunrpc/xdr_ref.c: Likewise.
59138         * sunrpc/xdr_stdio.c: Likewise.
59140 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59142         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59144 2011-07-03  Andreas Jaeger  <aj@suse.de>
59146         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59147         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59148         regenerate with gen-libm-tests.pl.
59150 2010-05-12  Petr Baudis  <pasky@suse.cz>
59152         [BZ #11589]
59153         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59154         around j0() zero points by switching to j1().
59155         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59156         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59158         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59160 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59162         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59163         instead of 0.
59164         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59165         instead of 0.
59166         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59167         Patch in part by Pavel Roskin <proski@gnu.org>.
59169         [BZ #13138]
59170         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59171         realloc.
59172         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59173         Free memory block if necessary.
59175         [BZ #12847]
59176         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59177         be NULL.  Don't lock in this case.
59179 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59181         * elf/elf.h (ELFOSABI_GNU): New macro.
59182         (ELFOSABI_LINUX): Define to that.
59184 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59186         * string/strncat.c (strncat): Undef the symbol in case it has been
59187         defined in bits/string.h.
59189 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59191         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59193         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59194         link map.
59196 2011-08-17  Andreas Jaeger  <aj@suse.de>
59198         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59200 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59201             Ian Lance Taylor  <iant@google.com>
59203         * math/libm-test.inc (lround_test): New testcase.
59204         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59206 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59208         * Makefile: Remove support for automatic cvs check-ins.
59209         * Makerules: Likewise.
59210         * config.make.in: Likewise.
59211         * configure.in: Likewise.
59212         * intl/Makefile: Likewise.
59213         * locale/Makefile: Likewise.
59214         * po/Makefile: Likewise.
59215         * posix/Makefile: Likewise.
59216         * sysdeps/gnu/Makefile: Likewise.
59217         * sysdeps/mach/hurd/Makefile: Likewise.
59218         * sysdeps/sparc/sparc32/Makefile: Likewise.
59220         [BZ #13118]
59221         * posix/Makefile (bug-regex32-ENV): Define.
59222         Patch by John Stanley <jpsinthemix@verizon.net>.
59224         * misc/Makefile (headers): Add bits/select2.h.
59225         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59226         * misc/bits/select2.h: New file.
59227         * include/bits/select2.h: New file.
59228         * debug/Makefile (routines): Add fdelt_chk.
59229         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59230         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59231         FD_ISSET.
59232         * debug/fdelt_chk.c: New file.
59234         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59235         * wcsmbs/test-wmemcmp.c: Likewise.
59236         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59237         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59239 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59241         * string/Makefile (strop-tests): Add memcmp.
59242         * string/test-wmemcmp.c: New file.
59243         * string/test-memcmp.c: Add wmemcmp support.
59245 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59247         [BZ #13153]
59248         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59249         2011-07-19 change.
59251         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59252         garbage value in a __mach_port_mod_refs call in the cases of the
59253         task-self and thread-self ports.
59255 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59257         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59259 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59261         * elf/dl-load.c (lose): Check for non-null L.
59263 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59265         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59267         * elf/dl-libc.c (dlerror_run): Pass back error code from
59268         dl_catch_error.
59270         [BZ #13123]
59271         * elf/dl-load.c (lose): Free l_origin if it is valid.
59273         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59274         names.
59275         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59276         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59277         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59278         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59279         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59280         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59282 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59284         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59285         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59286         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59287         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59288         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59289         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59290         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59291         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59292         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59293         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59295 2011-08-15  Alan Modra  <amodra@gmail.com>
59297         [BZ #13092]
59298         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59299         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59300         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59301         ppc_mcount to static-only-routines.
59302         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59303         __mcount_internal.
59304         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59305         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59307 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59309         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59310         for finite and infinity parameters.
59312 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59314         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59315         and add nop instructions for throughput optimization.
59316         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59318 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59320         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59321         aligned copy for power7 with vector-scalar instructions.
59322         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59324 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59326         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59327         AVX check.
59329 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59331         [BZ #13144]
59332         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59333         last change.
59335 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59337         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59338         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59339         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59340         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59341         clock_gettime.
59343 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59345         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59346         Forgot to demangle the pointer.
59348         * sysdeps/i386/sysdep.h: Define atom_text_section.
59349         * sysdeps/x86_64/sysdep.h: Likewise.
59350         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59351         section with atom_text_section.
59352         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59353         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59354         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59355         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59356         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59358         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59359         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59360         already be defined.  Change to take two parameters and don't assign
59361         result to variable.  Adjust all users.
59362         Define INTERNAL_GETTIME if not already defined.
59363         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59364         call.
59365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59366         HAVE_CLOCK_GETTIME_VSYSCALL.
59367         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59369         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59370         gettimeofday vsyscall, just use time.
59372 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59374         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59375         <errno.h>.
59377 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59379         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59380         syscall on x86-64.
59381         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59382         syscall.
59383         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59384         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59385         syscall if possible.
59387 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59389         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59390         e_ident.  Don't pass to find_mapsXX.
59391         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59393 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59396         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59397         * sysdeps/x86_64/multiarch/strchr.S: Update.
59398         Check bit_slow_BSF bit.
59399         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59400         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59401         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59403 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59405         [BZ #13134]
59406         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59407         before glibc 2.15.
59408         (tryshell): Define.
59409         (__spawni): Change last parameter to be flag.  Test
59410         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59411         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59412         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59413         * posix/spawni.c: Likewise.
59414         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59415         * posix/spawnp.c: Likewise.  Change normal version to use
59416         SPAWN_XFLAGS_USE_PATH.
59417         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59418         SPAWN_XFLAGS_TRY_SHELL.
59420         [BZ #13150]
59421         * posix/glob.h: Remove gcc 1.x support.
59423         [BZ #13068]
59424         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59426 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59428         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59429         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59430         strrchr-sse2-bsf
59431         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59432         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59433         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59434         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59435         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59436         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59438 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59440         * sysdeps/x86_64/wcscmp.S: New file.
59442         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59443         wcscmp-c wcscmp-sse2
59444         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59445         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59446         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59447         * wcsmbs/wcscmp.c: Allow renaming.
59449 2011-09-05  David S. Miller  <davem@davemloft.net>
59451         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59452         stack slot, rather than the struct return pointer slot.
59453         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59454         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59456         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59458 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59460         * po/ja.po: Update from translation team.
59462         [BZ #13144]
59463         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59464         kernel in 64-bit binaries.
59466 2011-09-01  David S. Miller  <davem@davemloft.net>
59468         * elf/elf.h (HWCAP_SPARC_*): Move to..
59469         * sysdeps/sparc/sysdep.h: this new file and add new values.
59470         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59471         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59472         _DL_HWCAP_COUNT to 24.
59473         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59474         entries.
59475         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59476         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59477         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59478         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59479         instead of magic constants.
59480         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59482 2011-08-31  David S. Miller  <davem@davemloft.net>
59484         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59485         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59486         Reimplement to do errno handling inline.
59487         (SYSCALL_ERROR_HANDLER): New macro.
59488         (__SYSCALL_STRING): Do not do errno handling in asm.
59489         (__CLONE_SYSCALL_STRING): Delete.
59490         (__INTERNAL_SYSCALL_STRING): Delete.
59491         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59492         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59493         (PSEUDO): Reimplement to do errno handling inline.
59494         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59495         (SYSCALL_ERROR_HANDLER): New macro.
59496         (__SYSCALL_STRING): Do not do errno handling in asm.
59497         (__CLONE_SYSCALL_STRING): Delete.
59498         (__INTERNAL_SYSCALL_STRING): Delete.
59499         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59500         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59501         i386.
59502         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59503         (inline_syscall*): Add 'err' argument.
59504         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59505         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59506         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59507         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59509         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59510         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59512 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59514         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59516 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59518         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59519         directive.
59521 2011-08-24  David S. Miller  <davem@davemloft.net>
59523         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59525 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59527         * elf/Makefile: Add rules to build and run unload8 test.
59528         * elf/unload8.c: New file.
59529         * elf/unload8mod1.c: New file.
59530         * elf/unload8mod1x.c: New file.
59531         * elf/unload8mod2.c: New file.
59532         * elf/unload8mod3.c: New file.
59534         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59535         it wasn't used.
59537 2011-08-23  David S. Miller  <davem@davemloft.net>
59539         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59540         subtract stack bias.
59541         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59542         %sp not %fp in calculations.
59543         (_JMPBUF_UNWINDS_ADJ): Likewise.
59545         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59546         (aio_suspend): Call it to force an exception region around the
59547         AIO_MISC_WAIT() invocation.
59549 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59551         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59552         backslash.
59554 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59556         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59557         protection macro.
59558         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59559         and <dl-machine.h>.
59560         (Elf64_FuncDesc): Remove.
59562 2011-08-22  David S. Miller  <davem@davemloft.net>
59564         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59565         sigaltstack check, add missing cfi directives.
59566         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59567         missing cfi directives, and sigaltstack handling.
59569 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59571         [BZ #11724]
59572         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59573         object is seen twice.
59574         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59576         * elf/Makefile (distribute): Add tst-initorder2.c.
59577         (tests): Add tst-initorder2.
59578         (modules-names): Add tst-initorder2a tst-initorder2b
59579         tst-initorder2c tst-initorder2d.  Add rules to build them.
59580         ($(objpfx)tst-initorder2.out): New rule.
59581         * elf/tst-initorder2.c: New file.
59582         * elf/tst-initorder2.exp: New file.
59584 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59586         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59588         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59589         dependencies back to end of function.
59591         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59592         $(elfobjdir)/ld.so.
59594 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59596         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59597         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59598         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59599         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59600         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59601         of __vdso_gettimeofday.
59602         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59603         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59604         attribute_hidden.
59605         (_libc_vdso_platform_setup): Remove initialization of
59606         __vdso_gettimeofday and __vdso_time.
59608 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59610         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59611         and fgetc_unlocked.
59612         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59613         getc_unlocked.
59615         * elf/dl-open.c (add_to_global): Report additions to the global scope
59616         for LD_DEBUG=scopes.
59617         (dl_open_worker): Also print scope of newly loaded dependencies.
59618         (_dl_show_scope): Indicate if there is no scope.
59620         [BZ #13114]
59621         * stdio-common/Makefile (tests): Add bug24.
59622         * stdio-common/bug24.c: New file.
59624 2011-08-19  Andreas Jaeger  <aj@suse.de>
59626         [BZ #13114]
59627         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59628         non-existant file when using close-on-exec mode.
59630 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59633         the very first instruction.
59635         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59636         the CFI state in the end.
59637         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59638         inclusion of dl-trampoline.h.
59639         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59641 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59643         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59644         expectations for long double.
59646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59647         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59649 2011-08-14  David S. Miller  <davem@davemloft.net>
59651         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59652         artificual limit depends upon the system page size.
59654 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59656         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59657         * resolv/Makefile: Define CFLAGS-libresolv.
59659 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59661         * nss/makedb.c (compute_tables): Make variables used in nested
59662         function static.
59664 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59666         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59667         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59668         if buffer was too small.
59670         * elf/pldd.c (main): Attach to all threads in the process.
59671         Rewrite /proc handling to use *at functions.
59673 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59675         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59676         specifies first scope to show.
59677         (dl_open_worker): Update callers.  Move printing scope of new
59678         object to before the relocation.
59679         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59680         * sysdeps/generic/ldsodefs.h: Update declaration.
59682         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59683         string for the scope number.
59685 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59687         * nscd/servicescache.c (cache_addserv): Make sure written is always
59688         initialized.
59690 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59692         * sysdeps/i386/i486/bits/atomic.h
59693         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59694         statement expression, so as to suppress "set but not used" warning.
59695         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59697         * string/strncat.c (STRNCAT): Use prototype definition.
59699         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59700         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59701         -Iprograms here.
59702         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59703         (localedef-modules): Add localedef.
59704         (locale-modules): Add locale.
59706         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59707         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59708         to avoid a warning.
59710 2011-08-14  David S. Miller  <davem@davemloft.net>
59712         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59713         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59715 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59717         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59718         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59719         * elf/rtld.c (dl_main): Set l_name of vDSO.
59720         Call _dl_show_scope when DL_DEBUG_SCOPES.
59721         (process_dl_debug): Recognize scopes flag and also set it for all.
59722         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59723         Declare _dl_show_scope.
59725         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59726         (do_dlopen): Pass caller_dlopen to dl_open.
59727         (__libc_dlopen_mode): Initialize caller_dlopen.
59729         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59730         of libc.  Make tolower call locale-independent.  Optimize a bit by
59731         using isdigit instead of isalnum.
59732         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59734 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59736         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59737         was a dependency or dynamically loaded.
59739 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59741         * intl/l10nflist.c: Allow architecture-specific pop function.
59742         * sysdeps/x86_64/l10nflist.c: New file.
59744         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59745         classification.
59747 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59749         * include/dirent.h: Add libc_hidden_proto for scandirat and
59750         scandirat64.  Don't declare __scandirat64.
59751         * dirent/scandirat.c: Add libc_hidden_def.
59752         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59753         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59755 2011-08-10  David S. Miller  <davem@davemloft.net>
59757         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59758         enum.
59759         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59760         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59761         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59763 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59765         * Versions.def [libc]: Add GLIBC_2.15.
59766         * dirent/Makefile (routines): Add scandirat and scandirat64.
59767         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59768         GLIBC_2.15.
59769         * dirent/dirent.h: Declare scandirat and scandirat64.
59770         * dirent/scandirat.c: New file.
59771         * dirent/scandirat64.c: New file.
59772         * sysdeps/wordsize-64/scandirat.c: New file.
59773         * sysdeps/wordsize-64/scandirat64.c: New file.
59774         * dirent/opendir.c: Define opendirat.
59775         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59776         using scandirat.
59777         * dirent/scandir64.c: Adjust for scandir.c change.
59778         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59779         __scandirat64, and __scandir_cancel_handler.
59780         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59781         additional parameter and use openat instead of open (outside of ld.so).
59782         Add new __opendir as wrapper around __opendirat.
59783         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59784         here without requiring old scandirat implementation.
59786 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59788         * dirent/scandir.c (cancel_handler): Renamed to
59789         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59790         defined.  Adjust users.
59791         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59792         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59794 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59796         * string/test-string.h (IMPL): Use __STRING to expand name and then
59797         stringify it.
59799         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59800         of cleanups.
59802 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59804         * string/Makefile: Update.
59805         (strop-tests): Append strncat.
59806         * string/test-wcscmp.c: New file.
59807         New comprehensive test for wcscmp.
59808         * string/test-strcmp.c: Update.
59809         (WIDE): New define.
59811 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59813         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59814         line.
59816 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59819         encoding to ACE if AI_IDN.
59821 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59823         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59824         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59826 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59828         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59829         Fix overflow bug in strncat.
59830         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59832         * string/test-strncat.c: Update.
59833         Add new tests for checking overflow bugs.
59835 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59837         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59838         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59839         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59840         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59841         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59842         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59843         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59844         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59845         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59847         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59848         (USE_AS_STRCAT): Define.
59849         Add strcat and strncat support.
59850         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59852 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59854         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59855         __n bigger than INT_MAX+1.
59856         (__strncmp_g): Likewise.
59858 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59860         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59861         * libio/stido.h: Likewise.
59863         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59864         (AF_NFC): Define.
59865         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59866         (AF_NFC): Define.
59868         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59869         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59870         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59871         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59872         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59874         [BZ #13021]
59875         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59876         installed.
59878         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59879         typo.
59880         (_dl_x86_64_save_sse): Likewise.
59882 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59884         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59885         OSXSAVE.
59886         (_dl_x86_64_save_sse): Likewise.
59888         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59890         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59892 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59894         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59895         change.
59896         (_dl_x86_64_save_sse): Use correct AVX check.
59898 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59900         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59901         bug in strncpy/strncat.
59902         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59904 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59906         * string/tester.c (test_strcat): Add tests for different alignments
59907         of source and destination.
59908         (test_strncat): Likewise.
59910 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59912         [BZ #12852]
59913         * posix/glob.c (glob): Check passed in values before using them in
59914         expressions to avoid some overflows.
59915         (glob_in_dir): Likewise.
59917         [BZ #13007]
59918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59919         check for AVX enablement so that we don't crash with old kernels and
59920         new hardware.
59921         * elf/tst-audit4.c: Add same checks here.
59922         * elf/tst-audit6.c: Likewise.
59924         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59926 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59928         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59930 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59932         * po/cs.po: Update from translation team.
59933         * po/bg.po: Likewise.
59935 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59937         * misc/sys/cdefs.h: Add support for const attribute.
59938         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59939         to gnu_dev_{major,minor,makedev} functions.
59941 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59943         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59945 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59947         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59948         strlen results.
59950 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59952         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59953         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59954         register in order to avoid conflicts with the soft frame pointer
59955         being held in r11 when necessary.
59956         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59957         (INTERNAL_VSYSCALL_NCS): Likewise.
59959 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59961         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59962         * elf/dl-fini.c (_dl_fini): Adjust caller.
59963         * elf/dl-close.c (_dl_close_worker): Likewise.
59964         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59966 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59968         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59969         "aux_cache->nlibs < 0".
59971         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59972         in the reload-count case.
59974 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59977         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59978         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59979         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59980         * sysdeps/x86_64/multiarch/strcat.S: New file.
59981         * sysdeps/x86_64/multiarch/strncat.S: New file.
59982         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59983         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59984         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59985         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59986         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59987         (USE_AS_STRCAT): Define.
59988         Add strcat and strncat support.
59989         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59990         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59991         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59992         * string/strncat.c: Update.
59993         (USE_AS_STRNCAT): Define.
59994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59995         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59996         and i7.
59997         * sysdeps/x86_64/multiarch/init-arch.h
59998         (bit_Prefer_PMINUB_for_stringop): New.
59999         (index_Prefer_PMINUB_for_stringop): Likewise.
60000         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60001         bit_Prefer_PMINUB_for_stringop.
60003 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60005         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60006         buffer64.
60007         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60008         of casting of buffer.
60009         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60010         buffer32 and buffer64.
60011         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60012         writes instead of casting of buffer.
60013         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60014         buffer32.
60015         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60016         casting of buffer.
60018 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60020         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60022 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60024         * nscd/nscd.c (termination_handler): Don't do anything for a database
60025         if it has not yet been initialized.
60027 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60029         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60031 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60033         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60035 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60037         * po/nl.po: Update from translation team.
60038         * po/sv.po: Likewise.
60040 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60042         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60043         now disallowed by GCC.
60045         * configure.in (use-default-link): Default to yes if a test -shared
60046         link meets our qualifications.
60047         * configure: Regenerated.
60049         * config.make.in (output-format): New variable.
60050         * configure.in: Check for ld --print-output-format support.
60051         * configure: Regenerated.
60052         * Makerules ($(common-objpfx)format.lds)
60053         [$(output-format) != unknown]: Just use $(output-format),
60054         instead of the linker-script munging.
60056 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60058         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60059         of $(common-objpfx)shlib.lds.
60060         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60062         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60063         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60065         * configure.in (-z relro check): Adjust test code to add a large
60066         writable data section after it.
60067         * configure: Regenerated.
60069 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60071         * configure.in (-z relro check): Fix test code to make the variable
60072         truly const.
60073         * configure: Regenerated.
60075 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60077         * nscd/nscd.h (struct traced_file): Define.
60078         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60079         elements.  Add traced_files.
60080         (inotify_fd): Declare.
60081         (register_traced_file): Declare.
60082         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60083         (inotify_fd): Export.
60084         (resolv_conf_descr): Remove.
60085         (nscd_init): Move inotify descriptor creation to main.
60086         Don't register files for notification here.
60087         (register_traced_file): New function.
60088         (invalidate_cache): Don't use reset_res to determine whether to call
60089         res_init, go through the list of registered files.
60090         (main_loop_poll): The inotify descriptors are now stored in the
60091         structures for the traced files.
60092         (main_loop_epoll): Likewise
60093         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60094         to __nss_disable_nscd.
60095         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60096         for a database anymore.  Check the records for all the registered
60097         files instead.
60098         * nss/Makefile (libnss_files-routines): Add files-init.
60099         (libnss_db-routines): Add db-init.
60100         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60101         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60102         * nss/nss_db/db-init.c: New file.
60103         * nss/nss_files/files-init.c: New file.
60104         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60105         __nss_lookup_function.
60106         (__nss_lookup_function): Call nss_load_library.
60107         (nss_load_all_libraries): New function.
60108         (__nss_disable_nscd): Take parameter with callback function for files
60109         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60110         used for the cached services.
60111         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60112         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60113         options for features to all the files in nscd.
60115         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60117 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60119         * csu/elf-init.c (__libc_csu_init): Comment typo.
60121 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60123         * po/pl.po: Update from translation team.
60124         * po/ja.po: Likewise.
60125         * po/ru.po: Likewise.
60126         * po/ko.po: Likewise.
60127         * po/fr.po: Likewise.
60129 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60131         * configure.in (.ctors/.dtors header and trailer check):
60132         Use an empirical test on a built program.
60133         * configure: Regenerated.
60135         * configure.in (-z relro check): Use an empirical test on a built DSO.
60136         Detect, but do not require, on ia64.
60137         * configure: Regenerated.
60139         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60140         Update tests that use readelf to use $READELF instead.
60141         * configure: Regenerated.
60143 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60145         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60146         if the result is not used.
60148 2011-07-05  Andreas Jaeger  <aj@suse.de>
60150         [BZ#9696]
60151         * stdlib/tst-strtod.c: Add testcase.
60153 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60155         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60156         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60157         The latter has a higher limit.  Take additional parameter to pass to
60158         the new function.
60159         (__pathconf): Pass file to __statfs_link_max.
60160         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60161         __statfs_link_max.
60162         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60163         __statfs_link_max.
60165         [BZ #12868]
60166         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60167         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60168         Handle Lustre.
60169         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60170         (__statfs_filesize_max): Likewise.
60171         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60173 2011-07-05  Andreas Jaeger  <aj@suse.de>
60175         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60177 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60179         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60180         `status' variable.
60181         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60182         Likewise.
60184 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60186         * Makefile (strop-tests): Add strncat.
60187         * string/test-strncat.c: New file.
60189 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60191         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60193 2011-06-21  Andreas Jaeger  <aj@suse.de>
60195         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60196         Copy rule from iconvdata/Makefile.
60198 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60200         [BZ #12922]
60201         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60202         but no long options are defined, just return 'W'.
60204 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60206         [BZ #9696]
60207         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60209 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60211         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60212         netgroups to read.
60213         (innetgr): Likewise.
60215 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60217         * config.make.in (install_root): Default to $(DESTDIR).
60219 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60221         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60223 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60225         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60227         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60228         containing directory rather than embedding absolute directory names.
60230         * scripts/check-local-headers.sh: Rewritten using awk.
60231         Match by word, not by line.  Print error messages for matches.
60232         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60234         * Makerules [shlib-lds-flags empty]:
60235         ($(common-objpfx)libc_pic.opts): New target.
60236         ($(common-objpfx)libc_pic.os.clean): New target.
60237         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60239         * config.make.in (OBJCOPY): New variable.
60240         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60241         * configure: Regenerated.
60243         * config.make.in (use-default-link): New variable.
60244         * configure.in (use_default_link): Grok --with-default-link to set it.
60245         * configure: Regenerated.
60246         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60247         (shlib-lds, shlib-lds-flags): Define to empty.
60249         * Makerules (shlib-lds): New variable.
60250         (shlib-lds-flags): New variable.
60251         (build-shlib, build-moduile, build-module-asneeded): Use it.
60252         ($(common-objpfx)libc.so): Use $(shlib-lds).
60253         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60254         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60256         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60257         DT_FLAGS/DT_FLAGS_1 with zero flags.
60259         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60260         linker script munging.
60262 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60264         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60265         as 128-bit value.
60266         * crypt/sha512.c (sha512_process_block): Perform total addition using
60267         128-bit if possible.
60268         (__sha512_finish_ctx): Likewise.
60269         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60270         as 64-bit value.
60271         * crypt/sha256.c (SWAP64): Define.
60272         (sha256_process_block): Perform total addition using 64-bit if
60273         possible.
60274         (__sha256_finish_ctx): Likewise.
60276 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60278         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60279         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60280         * nscd/hstcache.c (cache_addhst): Likewise.
60281         * nscd/grpcache.c (cache_addgr): Likewise.
60282         * nscd/aicache.c (addhstaiX): Likewise
60283         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60285 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60287         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60288         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60289         * nscd/hstcache.c (cache_addhst): Likewise.
60290         * nscd/grpcache.c (cache_addgr): Likewise.
60291         * nscd/aicache.c (addhstaiX): Likewise
60293 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60295         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60296         domain only when needed.
60298 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60301         is always restored.
60303 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60305         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60306         are re-adding the entry.
60307         * nscd/servicescache.c (cache_addserv): Likewise.
60309 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60311         * sysdeps/generic/dl-irel.h: fix protection against multiple
60312         inclusions.
60313         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60315 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60317         [BZ #12935]
60318         * malloc/memusage.sh: Fix quoting in message.
60319         * debug/xtrace.sh: Likewise.
60321         * configure.in: Remove support for --experimental-malloc option, make
60322         it the default.
60323         * config.make.in: Likewise.
60324         * malloc/Makefile: Likewise.
60326 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60328         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60329         two-byte characters.
60331 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60333         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60334         AC_CACHE_CHECK invocation.
60335         * configure: Regenerated.
60337         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60339 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60341         [BZ #12350]
60342         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60343         bit from old_res_options.
60345         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60347         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60348         value type for setfct.
60350 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60352         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60353         __gettimeofday instead of gettimeofday.
60355 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60357         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60359 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60361         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60363         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60364         info.
60366 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60369         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60370         strcpy-sse2-unaligned strncpy-sse2-unaligned
60371         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60372         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60373         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60374         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60375         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60376         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60377         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60378         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60379         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60380         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60381         (STRCPY): Support SSE2 and SSSE3 versions.
60383 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60385         [BZ #12874]
60386         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60387         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60388         kernels which artificially limit size of requests.
60390 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60392         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60393         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60394         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60395         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60396         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60397         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60398         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60399         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60400         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60401         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60402         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60403         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60404         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60405         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60406         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60408         Enable unaligned load optimization for Intel Core i3, i5 and i7
60409         processors.
60410         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60411         Define.
60412         (index_Fast_Unaligned_Load): Define.
60413         (HAS_FAST_UNALIGNED_LOAD): Define.
60415 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60417         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60419 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60421         [BZ #12907]
60422         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60423         until it is clear that the information is realy needed.
60424         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60426 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60430 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60432         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60433         /sys/devices/system/cpu/online if it is usable.
60435         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60436         reading the information from the /proc filesystem to once a second.
60438 2011-06-21  Andreas Jaeger  <aj@suse.de>
60440         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60441         NULL after inclusion of kernel headers.
60443 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60445         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60446         calls to internal_setent.
60448         [BZ #12885]
60449         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60450         addresses using gethostbyname4_r ignore IPv4 addresses.
60452         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60453         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60455         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60457 2011-06-20  David S. Miller  <davem@davemloft.net>
60459         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60460         inclusions.
60461         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60463         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60464         (elf_irel): Use it.
60465         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60466         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60467         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60468         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60469         * sysdeps/x86_64/dl-irel.h: Likewise.
60471         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60472         * elf/dl-sym.c: Likewise.
60474 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60476         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60477         need to dereference resplen2.
60479 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60481         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60483 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60485         * Makeconfig: Define vardbdir and inst_vardbdir.
60486         * nss/Makefile: Add rules to install db-Makefile.
60488         * nss/nss_db/db-XXX.c: Cleanup.
60490         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60491         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60492         GLIBC_PRIVATE.
60493         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60494         * nss/makedb.c: Implement -g option to specify that value strings
60495         are generated and should not be added to table iterated over for
60496         get*ent calls.
60497         * nss/nss_db/db-initgroups.c: New file.
60499         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60500         interface.
60502         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60503         (internal_getgrouplist): Adjust to name change.
60504         Update use_initgroups_entry if this is not the first call.
60505         * nss/databases.def: Add initgroups entry.
60507         * nss/makedb.c (compute_tables): Check result of multiple hash table
60508         sizes to minimize maximum chain length.
60510 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60512         * Versions.def: Add entry for libnss_db.
60513         * shlib-versions: Likewise.
60514         * nss/Makefile: Add rules to build libnss_db.
60515         * nss/Versions: Add libnss_db information.  Organize libnss_files
60516         entries better.
60517         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60518         makedb progra.  Some minor improvements to generate smaller files.
60519         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60520         here from...
60521         * nss/makedb.c: ...here.
60522         Improve database format to be smaller and require less memory at
60523         runtime.
60524         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60525         db anymore.
60526         * nss/nss_db/db-netgrp.c: Likewise.
60527         * nss/nss_db/db-open.c: Likewise.
60528         * nss/nss_files/flies-XXX.x: Adjust comments.
60529         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60530         * nss/nss_files/files-grp.c: Likewise.
60531         * nss/nss_files/files-hosts.c: Likewise.
60532         * nss/nss_files/files-network.c: Likewise.
60533         * nss/nss_files/files-proto.c: Likewise.
60534         * nss/nss_files/files-pwd.c: Likewise.
60535         * nss/nss_files/files-rpc.c: Likewise.
60536         * nss/nss_files/files-service.c: Likewise.
60537         * nss/nss_files/files-sgrp.c: Likewise.
60538         * nss/nss_files/files-spwd.c: Likewise.
60539         * nss/nss_db/db-alias.c: Removed.
60540         * nss/nss_db/dummy-db.h: Removed.
60542 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60544         * nss/makedb.c: Rewritten to not use database library.
60545         * nss/Makefile: Update to build new makedb program.
60547 2011-06-14  Andreas Jaeger  <aj@suse.de>
60549         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60550         memset declaration.
60552 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60555         tmpbuf.
60557 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60559         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60560         * elf/Makefile ($(objpfx)ld.so): Likewise.
60562         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60563         Don't list ld.so twice in dependencies.
60565         * posix/bug-regex31.c: Include <stdlib.h>.
60567         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60569         * nis/nss_compat/compat-spwd.c
60570         (getspent_next_nss_netgr): Remove unused variable.
60571         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60573         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60574         nonmembers" output to use the right array.
60576         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60578         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60580         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60581         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60582         * catgets/gencat.c (read_input_file): Likewise.
60583         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60585         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60586         variable definition inside #if's controlling its use.
60588         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60590         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60592         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60594         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60595         unreachable code.
60597         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60599         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60600         * configure: Regenerated.
60602         * Makerules: Revert last change.
60603         * elf/Makefile: Likewise.
60605 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60607         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60608         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60609         (reloc-link): Likewise.
60611 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60613         * elf/Makefile: Add rules to build pldd.
60614         * elf/pldd.c: New file.
60615         * elf/pldd-xx.c: New file.
60617 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60619         * version.h: Update for 2.15 development version.
60621 2011-06-07  David S. Miller  <davem@davemloft.net>
60623         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60624         ifuncs.
60625         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60626         elf_machine_lazy_rel): Likewise.
60627         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60628         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60629         elf_machine_lazy_rel): Likewise.
60630         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60631         dl_hwcap via passed in argument.
60632         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60633         Likewise.
60635 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60637         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60639 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60641         [BZ #12849]
60642         * manual/fdl-1.1.texi: New file, verbatim from:
60643         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60644         * manual/lgpl-2.1.texi: New file, verbatim from:
60645         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60646         * manual/Makefile (licenses): New variable, list those new file names.
60647         (texis): Use it.
60648         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60650         * manual/fdl.texi: File removed.
60651         * manual/lesser.texi: File removed.
60652         * manual/libc.texinfo (Copying, Documentation License):
60653         Use new @include file names, put @appendix directive before @include.
60655 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60657         [BZ #12841]
60658         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60659         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60660         (mq_open): Add __NTH.
60662 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60665         Assume Intel Core i3/i5/i7 processor if AVX is available.
60667 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60669         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60670         typo.
60672 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60674         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60675         memory.  Use alloca_account.  Fix memory leak when retrying.
60677 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60679         * version.h (RELEASE): Bump for 2.14 release.
60680         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60682         * config.make.in (RANLIB): Remove entry.
60684 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60686         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60687         (libc.pot): Work around missing support for .ksh extension in xgettext.
60689         [BZ #12684]
60690         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60691         if both request failed.
60692         (send_dg): In case of server errors clear resplen or *resplen2.
60694         [BZ #12454]
60695         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60696         when there are multiple maps.
60697         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60698         (_dl_fini): Remove test here.
60700         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60702 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60704         [BZ #12350]
60705         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60706         bit from old_res_options.
60707         (gaih_inet): Likewise.
60709         [BZ #11099]
60710         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60711         as signed.
60713         * resolv/res_init.c (res_setoptions): Make the code more compact.
60715         [BZ #11558]
60716         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60717         set RES_USEVC.
60719         [BZ #11634]
60720         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60722         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60724         [BZ #11781]
60725         * malloc/malloc.h: Declare malloc hook variables as volatile.
60727         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60728         in last patch.
60730         [BZ #11799]
60731         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60732         raise in the comment.
60733         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60734         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60735         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60737 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60739         [BZ #12811]
60740         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60741         grow the buffers more if it already has to be sufficient.
60742         (build_wcs_upper_buffer): Likewise.
60743         * posix/regexec.c (check_matching): Likewise.
60744         (clean_state_log_if_needed): Likewise.
60745         (extend_buffers): Don't enlarge buffers beyond size of the input
60746         buffer.
60747         Patches mostly by Emil Wojak <emil@wojak.eu>.
60748         * posix/bug-regex32.c: New file.
60749         * posix/Makefile (tests): Add bug-regex32.
60751         * locale/findlocale.c (_nl_find_locale): Return right away if
60752         _nl_explode_name failed.
60753         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60755         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60757         * debug/xtrace.sh: Unify messages.
60758         * malloc/memusage.sh: Likewise.
60760         [BZ #12813]
60761         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60762         time symbol from vDSO.  Substitute with vsyscall if not available.
60763         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60764         __vdso_time.
60766         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60767         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60768         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60769         Add sendmmsg and internal_sendmmsg.
60770         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60771         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60772         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60774         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60775         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60776         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60778 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60780         [BZ #12813]
60781         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60782         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60783         available.
60784         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60785         __vdso_getcpu.
60787         [BZ #12814]
60788         * iconvdata/Makefile (tests): Add bug-iconv9.
60789         * iconvdata/bug-iconv9.c: New file.
60791 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60793         [BZ #12814]
60794         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60796 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60798         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60799         (struct user_regs_struct): Change intcs field back to cs.
60801 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60803         * po/ja.po: Update from translation team.
60805 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60807         [BZ #12795]
60808         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60809         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60811 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60813         * stdlib/longlong.h: Update from GCC.
60815 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60817         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60818         parameter name.
60819         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60820         Add parameter name.
60821         (__sysconf): Pass it down.
60823 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60825         [BZ #12671]
60826         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60827         some situations.
60828         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60829         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60830         add in in __libc_use_alloca calls.  Adjust callers.
60831         (glob): Use malloc in some situations.
60833         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60834         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60835         pltexit.
60837 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60839         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60840         and CLOCK_BOOTTIME_ALARM.
60842         [BZ #12782]
60843         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60844         is returned.
60846         * string/_strerror.c (__strerror_r): Print negative errors as signed
60847         numbers.
60849         [BZ #12777]
60850         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60851         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60852         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60854         * configure.in: Fix typo in redirection and correct removal of test
60855         files in two cases.
60857         [BZ #12788]
60858         * locale/setlocale.c (new_composite_name): Fix test to check for
60859         identical name of all categories.
60861         [BZ #12792]
60862         * libio/filedoalloc.c (local_isatty): New function.
60863         (_IO_file_doallocate): Use local_isatty.
60864         * stdio-common/perror.c (perror): In case a new stream is used
60865         forward the stream error.
60866         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60867         error flag.
60869 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60871         [BZ #11869]
60872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60873         alloca.
60874         * include/alloca.h (extend_alloca_account): Define.
60876         [BZ #11857]
60877         * posix/regex.h: Fix comments with documentation of user-accessible
60878         fields after compilation and describe correct free'ing of pattern
60879         after re_compile_pattern.
60880         Patch by Reuben Thomas <rrt@sc3d.org>.
60882 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60884         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60885         and -mno-altivec to prevent the compiler from using Altivec and/or
60886         VSX instructions when the corresponding registers are not available.
60888 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60890         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60892 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60894         * libio/freopen.c (freopen): Use __dup2, not dup2.
60895         * libio/freopen64.c (freopen64): Likewise.
60897 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60899         [BZ #12775]
60900         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60901         * math/Makefile (tests): Add test-powl.
60902         (CFLAGS-test-powl.c): Define.
60903         * math/test-powl.c: New file.
60905 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60907         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60909 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60911         [BZ #11837]
60912         * iconvdata/gb18030.c: Update to GB18020-2005.
60914 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60916         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60917         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60918         Patch by Aharon Robbins <arnold@skeeve.com>.
60920         [BZ #11892]
60921         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60922         on the stack.
60924         [BZ #11895]
60925         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60926         through underflows.
60928         [BZ #12766]
60929         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60930         point to strings before performing equality test for error_one_per_line
60931         mode.
60933         [BZ #11697]
60934         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60936         [BZ #11820]
60937         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60938         (struct user_fpregs_struct): Avoid __uint*_t types.
60940         [BZ #6420]
60941         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60942         symbol info.  Use it instead of calling _dl_addr locally.
60943         (lock_and_info): New function.
60944         (tr_freehook): Call lock_and_info and pass symbol info as additional
60945         parameter to tr_where.
60946         (tr_mallochook): Likewise.
60947         (tr_reallochook): Likewise.
60948         (tr_memalignhook): Likewise.
60950         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60951         used and couldn't be at all thread-safe.
60953 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60955         * libio/freopen.c (freopen): Don't close old file descriptor
60956         before the new one is opened.  Instead dup the new file descriptor
60957         to the old one after the new stream is created.
60958         * libio/freopen64.c (freopen64): Likewise.
60959         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60960         * libio/fileops.c (_IO_new_file_close_it): Handle new
60961         _IO_FLAGS2_NOCLOSE flag.
60962         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60963         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60964         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60965         _IO_FLAGS2_NOCLOSE flag.
60966         * include/unistd.h: Add hidden_proto for dup3.
60967         Define __have_dup3.
60968         * io/dup3.c: Define hidden symbol.
60969         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60971         [BZ #7101]
60972         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60973         when an incomplete long option is used.
60974         * posix/tst-getopt_long1.c: New file.
60975         * posix/Makefile (tests): Add tst-getopt_long1.
60977         [BZ #10138]
60978         * scripts/config.guess: Update from autoconf-2.68.
60979         * scripts/config.sub: Likewise.
60981         [BZ #10157]
60982         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60983         tests into ...
60984         (has_cpuclock): ...this.  New function.
60985         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60986         macro here based on has_cpuclock code.
60988         [BZ #10149]
60989         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60990         First byte (not low byte) is now always NUL.
60991         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60993         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60994         Use non-cancelable interfaces.
60996         [BZ #9809]
60997         * locale/iso-639.def: Add entry for Sorani.
60999         [BZ #11901]
61000         * include/stdlib.h: Move include protection to the right place.
61001         Define abort_msg_s.  Declare __abort_msg with it.
61002         * stdlib/abort.c (__abort_msg): Adjust type.
61003         * assert/assert.c (__assert_fail_base): New function.  Majority
61004         of code from __assert_fail.  Allocate memory for __abort_msg with
61005         mmap.
61006         (__assert_fail): Now call __assert_fail_base.
61007         * assert/assert-perr.c: Remove bulk of implementation.  Use
61008         __assert_fail_base.
61009         * include/assert.hL Declare __assert_fail_base.
61010         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61011         mmap.
61012         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61014 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61016         [BZ #11952]
61017         [BZ #12453]
61018         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61019         until all modules are registered in the DTV.
61020         * elf/Makefile: Add rules to build and run tst-tls19.
61021         * elf/tst-tls19.c: New file.
61022         * elf/tst-tls19mod1.c: New file.
61023         * elf/tst-tls19mod2.c: New file.
61024         * elf/tst-tls19mod3.c: New file.
61025         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61027         [BZ #12083]
61028         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61029         correctly.
61031         [BZ #12601]
61032         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61033         two-byte sequence errors.
61034         * iconvdata/Makefile (tests): Add bug-iconv8.
61035         * iconvdata/bug-iconv8.c: New file.
61037         [BZ #12626]
61038         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61039         buf2 definition.
61041         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61043         [BZ #12432]
61044         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61045         (dummy_getcfa): New function.
61046         (init): Get _Unwind_GetCFA address, use dummy if not found.
61047         (backtrace_helper): In recursion check, also check whether CFA changes.
61048         (__backtrace): Completely initialize arg.
61050         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61051         storing incomplete byte sequence in state object.  Avoid testing for
61052         guaranteed too small input if we know there is enough data available.
61054 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61056         * Makeconfig (+link-pie): Indent.
61057         * Rules (binaries-pie): Define if $(have-fpie) and
61058         $(build-shared).
61059         (binaries-shared): Also filter out $(binaries-pie).
61060         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61061         * nscd/Makefile (others-pie): Add nscd.
61062         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61063         ($(objpfx)nscd): Remove command override.
61064         * login/Makefile (others-pie): Add pt_chown.
61065         ($(objpfx)pt_chown): Remove command override.
61066         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61067         remove command overrides.
61069 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61071         * libio/tst_putwc.c: Fix error messages.
61073         [BZ #12724]
61074         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61075         currently writing and seek to current position when not.
61076         * libio/Makefile (tests): Add bug-fclose1.
61077         * libio/bug-fclose1.c: New file.
61079 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61081         [BZ #12511]
61082         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61083         don't set DF_1_NODELETE here.
61084         (do_lookup_x): When entering new entry test for copy relocation
61085         and if necessary set DF_1_NODELETE flag.
61086         * elf/tst-unique4.cc: New file.
61087         * elf/tst-unique4.h: New file.
61088         * elf/tst-unique4lib.cc: New file.
61089         * elf/Makefile: Add rules to build and run tst-unique4.
61090         Patch by Piotr Bury <pbury@goahead.com>.
61092 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61094         [BZ #12052]
61095         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61097         [BZ #12625]
61098         * misc/mntent_r.c (addmntent): Flush the stream after the output
61100         [BZ #12393]
61101         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61102         (is_trusted_path_normalize): Skip initial colon.  Append slash
61103         to empty buffer.  Duplicate is_trusted_path code but allow
61104         constructed patch to be prefix.
61105         (is_dst): Allow $ORIGIN followed by /.
61106         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61107         Correct testing of result of is_trusted_path_normalize
61108         (decompose_rpath): Fix warning.
61110 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61112         [BZ #11257]
61113         * grp/initgroups.c (internal_getgrouplist): When we found the service
61114         list through the initgroups entry in nsswitch.conf do not always
61115         continue on a successful lookup.  Don't always use the
61116         __nss_group_database value if it is set.
61117         * nss/nsswitch.conf (initgroups): Change action for successful db
61118         lookup to continue for compatibility.
61120 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61122         [BZ #11532]
61123         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61124         and CP774 modules.
61125         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61126         and CP774 modules.
61127         * iconvdata/tst-tables.sh: Likewise.
61128         * iconvdata/cp770.c: New file.
61129         * iconvdata/cp771.c: New file.
61130         * iconvdata/cp772.c: New file.
61131         * iconvdata/cp773.c: New file.
61132         * iconvdata/cp774.c: New file.
61133         * iconvdata/testdata/CP770: New file.
61134         * iconvdata/testdata/CP770..UTF8: New file.
61135         * iconvdata/testdata/CP771: New file.
61136         * iconvdata/testdata/CP771..UTF8: New file.
61137         * iconvdata/testdata/CP772: New file.
61138         * iconvdata/testdata/CP772..UTF8: New file.
61139         * iconvdata/testdata/CP773: New file.
61140         * iconvdata/testdata/CP773..UTF8: New file.
61141         * iconvdata/testdata/CP774: New file.
61142         * iconvdata/testdata/CP774..UTF8: New file.
61144         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61145         END CHARMAP line.
61146         * iconvdata/gen-8bit-gap.sh: Likewise.
61147         * iconvdata/gen-8bit.sh: Likewise.
61149         * locale/iso-639.def: Add ary entry.
61151         [BZ #11258]
61152         * locale/C-translit.h.in: Add U20A1 transliteration.
61154         [BZ #12178]
61155         * locale/iso-639.def: Add wae entry.
61156         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61158         [BZ #12545]
61159         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61160         for n.
61162         [BZ #12711]
61163         * locale/C-translit.h.in: Add entry for U20B9.
61164         Patch by pravin.d.s@gmail.com.
61166 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61168         [BZ #12713]
61169         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61170         ENAMETOOLONG use generic getcwd.
61171         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61172         in rtld.  Use *stat64.
61173         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61174         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61175         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61176         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61177         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61178         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61179         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61180         __fstatat64 macros.
61181         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61182         * dirent/rewinddir.c: Add libc_hidden_def.
61183         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61184         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61186         * include/dirent.h (__alloc_dir): Add flags parameter.
61187         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61188         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61189         __alloc_dir.
61190         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61191         from fdopendir if O_CLOEXEC is already set.
61193 2011-03-15  Alan Modra  <amodra@gmail.com>
61195         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61196         l_tls_firstbyte_offset non-zero.  Save padding offset in
61197         l_tls_firstbyte_offset for later use.
61198         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61199         freeing static tls block.
61201 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61203         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61204         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61205         being defined by the kernel headers.
61207 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61209         [BZ #12734]
61210         * resolv/resolv.h: Define RES_NOTLDQUERY.
61211         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61212         no-tld-query and set RES_NOTLDQUERY.
61213         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61214         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61215         modern BIND to search name as TLD unless forbidden.
61217 2011-05-07  Petr Baudis  <pasky@suse.cz>
61218             Ulrich Drepper  <drepper@gmail.com>
61220         [BZ #12393]
61221         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61222         (is_trusted_path): ...to here.
61223         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61224         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61225         using is_trusted_path_normalize() in setuid scripts.
61227 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61229         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61230         __BEGIN/__END_DECLS.
61232 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61234         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61235         NSS_STATUS_NOTFOUND if no record was found.
61237 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61239         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61240         (headers-not-in-tirpc): Remove rpc/netdb.h
61241         * resolv/netdb.h: Revert last change.
61243 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61245         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61246         circular dependency between libgcc.a and libc.a.
61248 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61250         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61251         * nis/Makefile: Don't install rpcsvc/*.
61252         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61253         instead of <rpc/types.h>.
61254         (MAXHOSTNAMELEN): Define.
61256 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61258         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61260 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61262         [BZ #12714]
61263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61264         gethostbyname4_r when IPv6 results are possible.
61266 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61268         [BZ #12723]
61269         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61270         _PC_PIPE_BUF handling.
61272 2011-04-30  Bruno Haible  <bruno@clisp.org>
61274         [BZ #12717]
61275         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61276         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61277         to 'int'.
61278         * inet/getnameinfo.c (getnameinfo): Likewise.
61280 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61282         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61283         to groups setting in database lookup.
61284         * nss/nsswitch.conf: Add initgroups entry.
61286 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61288         [BZ #12685]
61289         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61290         mode string.
61291         Patch by Eric Blake <eblake@redhat.com>.
61293 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61295         * sunrpc/Makefile (need-export-routines): Add svc_run.
61296         (routines): Remove svc_run.
61297         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61298         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61299         * sunrpc/svc_run.c (svc_run): Likewise.
61300         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61302 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61304         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61305         problem in reallocation in last patch.
61307 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61309         * sunrpc/Makefile: Move inclusion of Rules.
61311 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61313         * nss/nss_files/files-initgroups.c: New file.
61314         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61315         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61316         _nss_files_initgroups_dyn.
61318 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61320         * elf/elf.h (R_ARM_IRELATIVE): Define.
61322 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61324         * po/ru.po: Update from translation team.
61326 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61328         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61329         dependencies.
61331 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61333         [BZ #12653]
61334         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61335         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61336         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61337         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61338         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61340 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61342         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61343         differing bytes.
61344         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61345         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61346         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61348 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61350         [BZ #12420]
61351         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61352         storing it.
61353         * stdlib/bug-getcontext.c: New file.
61354         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61356 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61358         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61359         instructions into .machine "z9-109".
61360         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61361         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61363 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61365         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61366         between environment variables and auxiliary vector.
61368 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61370         * Makefile: Add rules to build linkobj/libc.so.
61371         * include/libc-symbols.h: Define libc_hidden_nolink.
61372         * include/rpc/auth.h: Mark functions which are to be hidden.
61373         * include/rpc/auth_des.h: Likewise.
61374         * include/rpc/auth_unix.h: Likewise.
61375         * include/rpc/clnt.h: Likewise.
61376         * include/rpc/des_crypt.h: Likewise.
61377         * include/rpc/key_prot.h: Likewise.
61378         * include/rpc/pmap_clnt.h: Likewise.
61379         * include/rpc/pmap_prot.h: Likewise.
61380         * include/rpc/pmap_rmt.h: Likewise.
61381         * include/rpc/rpc_msg.h: Likewise.
61382         * include/rpc/svc.h: Likewise.
61383         * include/rpc/svc_auth.h: Likewise.
61384         * include/rpc/xdr.h: Likewise.
61385         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61386         * nss/Makefile: Likewise.
61387         * sunrpc/Makefile: Don't install headers.  Build library with normal
61388         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61389         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61390         for the compat linking library.  Remove use of INTDEF/INTUSE.
61391         * sunrpc/auth_none.c: Likewise.
61392         * sunrpc/auth_unix.c: Likewise.
61393         * sunrpc/authdes_prot.c: Likewise.
61394         * sunrpc/authuxprot.c: Likewise.
61395         * sunrpc/clnt_gen.c: Likewise.
61396         * sunrpc/clnt_perr.c: Likewise.
61397         * sunrpc/clnt_raw.c: Likewise.
61398         * sunrpc/clnt_simp.c: Likewise.
61399         * sunrpc/clnt_tcp.c: Likewise.
61400         * sunrpc/clnt_udp.c: Likewise.
61401         * sunrpc/clnt_unix.c: Likewise.
61402         * sunrpc/des_crypt.c: Likewise.
61403         * sunrpc/des_soft.c: Likewise.
61404         * sunrpc/get_myaddr.c: Likewise.
61405         * sunrpc/key_call.c: Likewise.
61406         * sunrpc/key_prot.c: Likewise.
61407         * sunrpc/netname.c: Likewise.
61408         * sunrpc/pm_getmaps.c: Likewise.
61409         * sunrpc/pm_getport.c: Likewise.
61410         * sunrpc/pmap_clnt.c: Likewise.
61411         * sunrpc/pmap_prot.c: Likewise.
61412         * sunrpc/pmap_prot2.c: Likewise.
61413         * sunrpc/pmap_rmt.c: Likewise.
61414         * sunrpc/publickey.c: Likewise.
61415         * sunrpc/rpc_cmsg.c: Likewise.
61416         * sunrpc/rpc_common.c: Likewise.
61417         * sunrpc/rpc_dtable.c: Likewise.
61418         * sunrpc/rpc_prot.c: Likewise.
61419         * sunrpc/rpc_thread.c: Likewise.
61420         * sunrpc/rtime.c: Likewise.
61421         * sunrpc/svc.c: Likewise.
61422         * sunrpc/svc_auth.c: Likewise.
61423         * sunrpc/svc_authux.c: Likewise.
61424         * sunrpc/svc_raw.c: Likewise.
61425         * sunrpc/svc_run.c: Likewise.
61426         * sunrpc/svc_simple.c: Likewise.
61427         * sunrpc/svc_tcp.c: Likewise.
61428         * sunrpc/svc_udp.c: Likewise.
61429         * sunrpc/svc_unix.c: Likewise.
61430         * sunrpc/svcauth_des.c: Likewise.
61431         * sunrpc/xcrypt.c: Likewise.
61432         * sunrpc/xdr.c: Likewise.
61433         * sunrpc/xdr_array.c: Likewise.
61434         * sunrpc/xdr_float.c: Likewise.
61435         * sunrpc/xdr_intXX_t.c: Likewise.
61436         * sunrpc/xdr_mem.c: Likewise.
61437         * sunrpc/xdr_rec.c: Likewise.
61438         * sunrpc/xdr_ref.c: Likewise.
61439         * sunrpc/xdr_sizeof.c: Likewise.
61440         * sunrpc/xdr_stdio.c: Likewise.
61442 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61444         [BZ #12650]
61445         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61446         * sysdeps/ia64/dl-tls.h: Likewise.
61447         * sysdeps/powerpc/dl-tls.h: Likewise.
61448         * sysdeps/s390/dl-tls.h: Likewise.
61449         * sysdeps/sh/dl-tls.h: Likewise.
61450         * sysdeps/sparc/dl-tls.h: Likewise.
61451         * sysdeps/x86_64/dl-tls.h: Likewise.
61452         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61454 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61456         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61457         rpath element also skip the following colon.
61458         (expand_dynamic_string_token): Add is_path parameter and pass
61459         down to DL_DST_REQUIRED and _dl_dst_substitute.
61460         (decompose_rpath): Call expand_dynamic_string_token with
61461         non-zero is_path.  Ignore empty rpaths.
61462         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61463         with zero is_path.
61465 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61468         Make cancelable.
61470 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61472         [BZ #12655]
61473         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61474         Patch by Filipe David Manana <fdmanana@apache.org>.
61476 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61478         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61479         Maintain aligned stack.
61480         (CHECK_RSP): Remove unused macro.
61482 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61484         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61485         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61487 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61489         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61491         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61493 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61495         [BZ #12518]
61496         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61497         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61498         * sysdeps/x86_64/memmove.c: New file.
61499         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61500         (memcpy): Renamed to ...
61501         (__new_memcpy): This.
61502         (memcpy): Provide GLIBC_2_14 memcpy.
61503         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61504         (memcpy): Provide GLIBC_2_2_5 memcpy.
61506 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61508         [BZ #12631]
61509         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61511 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61513         * misc/syncfs.c: New file.
61514         * misc/Makefile (routines): Add syncfs.
61515         * posix/unistd.h: Declare syncfs.
61516         * sysdeps/unix/syscalls.list: Add syncfs.
61518 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61520         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61521         open_by_handle_at.
61522         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61523         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61525         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61527         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61528         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61530 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61532         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61533         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61534         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61535         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61536         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61538         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61540         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61541         sync_file_range.c with -fexceptions.
61542         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61543         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61544         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61545         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61546         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61547         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61548         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61549         sync_file_range as cancellation point
61550         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61551         now a wrapper around __call_sync_file_range with cancellation handling.
61552         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61553         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61554         function name to __call_sync_file_range.
61555         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61556         Add call_sync_file_range.
61558 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61560         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61561         bits/timex.h.
61563 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61565         * iconv/iconv.h: Fix typo in comment.
61566         * io/fcntl.h: Likewise.
61567         * libio/stdio.h: Likewise.
61568         * posix/spawn.h: Likewise.
61569         * posix/unistd.h: Likewise.
61570         * stdlib/stdlib.h: Likewise.
61571         * time/time.h: Likewise.
61572         * wcsmbs/wchar.h: Likewise.
61574         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61575         open_by_handle): Add.
61576         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61577         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61578         Augment a few comments.
61579         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61580         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61581         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61583         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61584         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61585         open_by_handle.
61587         * io/fcntl.h (AT_EMPTY_PATH): Define.
61589 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61591         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61592         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61593         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61594         to...
61595         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61596         * Versions.def: Add GLIBC_2.14.
61597         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61598         Export.
61600 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61602         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61603         round counter.
61604         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61606 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61608         [BZ #12597]
61609         * string/test-strncmp.c (do_page_test): New function.
61610         (check2): Likewise.
61611         (test_main): Call check2.
61612         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61614 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61616         [BZ #12587]
61617         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61618         Handle cache information in CPU leaf 4.
61619         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61621 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61623         [BZ #12583]
61624         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61625         character representation.
61626         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61628 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61630         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61631         END(__isnan) to END(__isnanf) to match function entry point/label
61632         EALIGN(__isnanf,...).
61634 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61636         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61638 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61640         [BZ #12510]
61641         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61642         copy from the symbol referenced in the relocation to initialize the
61643         used variable.
61644         Patch by Piotr Bury <pbury@goahead.com>.
61645         * elf/Makefile: Add rules to build and tst-unique3.
61646         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61647         * elf/tst-unique3.cc: New file.
61648         * elf/tst-unique3.h: New file.
61649         * elf/tst-unique3lib.cc: New file.
61650         * elf/tst-unique3lib2.cc: New file.
61652         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61654 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61656         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61657         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61658         to _start.
61660 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61662         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61663         to-be-loaded object along a path to loader is ld.so.
61665 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61666             Ulrich Drepper  <drepper@gmail.com>
61668         * sysdeps/x86_64/memset.S: After aligning destination, code
61669         branches to different locations depending on the value of
61670         misalignment, when multiarch is enabled. Fix this.
61672 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61674         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61675         Set _x86_64_preferred_memory_instruction for AMD processsors.
61676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61677         Set bit_Prefer_SSE_for_memop for AMD processors.
61679 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61681         * libio/fmemopen.c (fmemopen): Optimize a bit.
61683 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61685         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61687 2011-03-03  Roland McGrath  <roland@redhat.com>
61689         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61691 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61693         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61694         __bzero_ultra1 instead of __memset_ultra1.
61696 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61697             Ulrich Drepper  <drepper@gmail.com>
61699         [BZ #12509]
61700         * include/link.h (struct link_map): Add l_orig_initfini.
61701         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61702         returning unsuccessfully.
61703         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61704         close of a file loaded at startup, restore the original l_initfini
61705         list.
61706         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61707         list, store the pointer.
61708         * elf/Makefile ($(objpfx)noload-mem): New rule.
61709         (noload-ENV): Define.
61710         (tests): Add $(objpfx)noload-mem.
61711         * elf/noload.c: Include <memcheck.h>.
61712         (main): Call mtrace.  Close all opened handles.
61714 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61716         [BZ #12454]
61717         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61718         dependencies are missing.
61720 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61722         Fix __if_freereq crash: Unlike the generic version which uses free,
61723         Hurd needs munmap.
61724         * sysdeps/mach/hurd/ifreq.h: New file.
61726 2011-01-27  Petr Baudis  <pasky@suse.cz>
61727             Ulrich Drepper  <drepper@gmail.com>
61729         [BZ 12445]#
61730         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61731         to extend_alloca().
61732         * stdio-common/bug23.c: New file.
61733         * stdio-common/Makefile (tests): Add bug23.
61735 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61736             Ulrich Drepper  <drepper@gmail.com>
61738         [BZ #12489]
61739         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61740         before performing relro protection.  At old place add assertion
61741         to make sure nothing changed.
61743 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61744             Glauber de Oliveira Costa  <glommer@gmail.com>
61746         * elf/elf.h: Add new ARM TLS relocs.
61748 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61751         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61752         cast from r3.
61753         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61754         'tests' variable.
61755         * sysdeps/wordsize-64/tst-writev.c: New file.
61757 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61759         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61760         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61761         insns in _dl_start to prevent a TOC reference before relocs are
61762         resolved.
61764 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61766         [BZ #12469]
61767         * Makeconfig: Remove RANLIB definition.
61768         * Makerules: Don't use RANLIB.
61769         * aclocal.m4: Remove ranlib test.
61770         * configure.in: No need to check for ranlib.
61771         * elf/rtld-Rules: Don't use RANLIB.
61773 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61775         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61776         protection macro.
61777         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61778         inclusion protection macro.
61780         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61781         SIGRTMIN and SIGRTMAX and print information in that case only when
61782         SIGRTMIN is defined.
61784 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61786         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61787         arginfo fn returning -1.
61789         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61790         and thousands string is zero terminated.
61792 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61795         sysdeps/unix/sysv/linux/bits/socket.h.
61797 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61799         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61800         (__CPU_COUNT): Remove old macros.
61801         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61802         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61803         (__CPU_ALLOC, __CPU_FREE): Add macros.
61804         (__sched_cpualloc, __sched_cpufree): Add declarations.
61806 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61808         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61809         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61810         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61811         (readdhstai): Return value of addhstaiX call.
61812         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61813         (addgrbyX): Return value returned by cache_addgr.
61814         (readdgrbyname): Return value returned by addgrbyX.
61815         (readdgrbygid): Likewise.
61816         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61817         (addpwbyX): Return value returned by cache_addpw.
61818         (readdpwbyname): Return value returned by addhstbyX.
61819         (readdpwbyuid): Likewise.
61820         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61821         (addservbyX): Return value returned by cache_addserv.
61822         (readdservbyname): Return value returned by addservbyX:
61823         (readdservbyport): Likewise.
61824         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61825         (addhstbyX): Return value returned by cache_addhst.
61826         (readdhstbyname): Return value returned by addhstbyX.
61827         (readdhstbyaddr): Likewise.
61828         (readdhstbynamev6): Likewise.
61829         (readdhstbyaddrv6): Likewise.
61830         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61831         (readdinitgroups): Return value returned by addinitgroupsX.
61832         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61833         (prune_cache): Keep track of timeout value of re-added entries.
61834         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61835         * nscd/nscd.h: Adjust prototypes of readd* functions.
61837 2011-02-04  Roland McGrath  <roland@redhat.com>
61839         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61840         (nis_stats): Likewise.
61841         * nis/nis_modify.c (nis_modify): Likewise.
61842         * nis/nis_remove.c (nis_remove): Likewise.
61843         * nis/nis_add.c (nis_add): Likewise.
61845         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61847         * posix/fnmatch_loop.c: Add some consts.
61849         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61851 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61853         [BZ #12460]
61854         * config.make.in (config-cflags-novzeroupper): Define.
61855         * configure.in: Substitute libc_cv_cc_novzeroupper.
61856         * elf/Makefile (AVX-CFLAGS): Define.
61857         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61858         (CFLAGS-tst-auditmod4a.c): Likewise.
61859         (CFLAGS-tst-auditmod4b.c): Likewise.
61860         (CFLAGS-tst-auditmod6b.c): Likewise.
61861         (CFLAGS-tst-auditmod6c.c): Likewise.
61862         (CFLAGS-tst-auditmod7b.c): Likewise.
61863         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61865 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61867         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61868         function to the callback.
61869         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61871 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61873         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61874         of errno.
61876 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61878         [BZ #11724]
61879         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61880         of constructors.
61881         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61882         of destructors.
61883         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61885         [BZ #11724]
61886         * elf/Makefile: Add rules to build and run new test.
61887         * elf/tst-initorder.c: New file.
61888         * elf/tst-initorder.exp: New file.
61889         * elf/tst-initordera1.c: New file.
61890         * elf/tst-initordera2.c: New file.
61891         * elf/tst-initordera3.c: New file.
61892         * elf/tst-initordera4.c: New file.
61893         * elf/tst-initorderb1.c: New file.
61894         * elf/tst-initorderb2.c: New file.
61895         * elf/tst-order-a1.c: New file.
61896         * elf/tst-order-a2.c: New file.
61897         * elf/tst-order-a3.c: New file.
61898         * elf/tst-order-a4.c: New file.
61899         * elf/tst-order-b1.c: New file.
61900         * elf/tst-order-b2.c: New file.
61901         * elf/tst-order-main.c: New file.
61902         New test case by George Gensure <werkt0@gmail.com>.
61904 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61907         decoding ACE if AI_CANONIDN.
61909 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61911         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61913 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61915         * version.h (RELEASE): Bump for 2.13 release.
61916         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61918         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61920         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61921         MADV_NOHUGEPAGE.
61922         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61923         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61924         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61925         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61926         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61927         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61929         * posix/getconf.c: Update copyright year.
61930         * catgets/gencat.c: Likewise.
61931         * csu/version.c: Likewise.
61932         * debug/catchsegv.sh: Likewise.
61933         * debug/xtrace.sh: Likewise.
61934         * elf/ldconfig.c: Likewise.
61935         * elf/ldd.bash.in: Likewise.
61936         * elf/sprof.c (print_version): Likewise.
61937         * iconv/iconv_prog.c: Likewise.
61938         * iconv/iconvconfig.c: Likewise.
61939         * locale/programs/locale.c: Likewise.
61940         * locale/programs/localedef.c: Likewise.
61941         * malloc/memusage.sh: Likewise.
61942         * malloc/mtrace.pl: Likewise.
61943         * nscd/nscd.c (print_version): Likewise.
61944         * nss/getent.c: Likewise.
61946         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61947         PF_CAIF, and PF_ALG.
61948         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61950 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61952         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61953         (modules-names): Use them.
61954         (ifunc-test-modules, ifunc-pie-tests): Define.
61955         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61956         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61957         (test-extras): Likewise.
61958         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61959         $(compile-command.c).
61960         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61961         (all-built-dso): Define.
61962         (check-textrel.out, check-execstack.out): Depend on it.
61964         * configure.in: Don't override --enable-multi-arch.
61966 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61968         [BZ #6812]
61969         * nscd/hstcache.c (tryagain): Define.
61970         (cache_addhst): Return tryagain not notfound for temporary errors.
61971         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61972         failed.
61974 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61976         [BZ #10563]
61977         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61978         to make the syscall.
61979         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61981         [BZ #12378]
61982         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61983         and fall back to matching as normal character if the string ends before
61984         the matching ']' is found.  This is what POSIX requires.
61985         * posix/testfnm.c: Adjust test result.
61986         * posix/globtest.sh: Adjust test result.  Add new test.
61987         * posix/tst-fnmatch.input: Likewise.
61988         * posix/tst-fnmatch2.c: Add new test.
61990 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61992         * elf/Makefile (check-execstack): Revert last change.  Depend on
61993         check-execstack.h.
61994         (check-execstack.h): New target.
61995         (generated): Add check-execstack.h.
61996         * elf/check-execstack.c: Include "check-execstack.h".
61997         (main): Revert last change.
61998         (handle_file): Return zero if GNU_STACK is absent and
61999         DEFAULT_STACK_PERMS doesn't include PF_X.
62001 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62003         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62004         in child fails because the descriptor is already closed.
62005         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62006         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62007         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62009         [BZ #12397]
62010         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62011         syscall.
62013         [BZ #10484]
62014         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62015         temporary buffer used to handle multi lookups locally.
62016         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62018 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62020         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62021         loader is ld.so.
62023 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62025         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62026         alignment for SSE2.
62028 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62030         [BZ #12394]
62031         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62032         characters.  When rounding increased number of integer digits recompute
62033         number of groups.
62034         * stdio-common/tst-grouping.c: New file.
62035         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62037 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62039         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62040         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62042         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62043         void.
62044         * bits/select.h: Likewise.
62046 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62048         * po/ja.po: Update from translation team.
62050 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62052         [BZ #11155]
62053         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62054         implementation just like for lxstat, fxstatat, et al.
62056 2010-12-27  Jim Meyering  <meyering@redhat.com>
62058         [BZ #12348]
62059         * posix/regexec.c (build_trtable): Return failure indication upon
62060         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62062 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62064         [BZ #12201]
62065         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62066         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62067         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62068         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62070         [BZ #12207]
62071         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62073         [BZ #12204]
62074         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62075         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62077 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62079         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62080         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62081         script has SORT_BY_INIT_PRIORITY.
62082         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62083         NO_CTORS_DTORS_SECTIONS is defined.
62084         * elf/soinit.c: Likewise.
62085         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62086         NO_CTORS_DTORS_SECTIONS is defined.
62087         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62088         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62089         * sysdeps/sh/init-first.c: Likewise.
62090         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62092 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62094         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62095         always use the slow path.
62097 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62099         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62100         similar rule which adds the sysdep directories to the header search in
62101         order to pick up the correct platform stackinfo.h.
62102         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62103         perform test if it is, otherwise return successfully without testing.
62104         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62105         DEFAULT_STACK_PERMS define in stackinfo.h.
62106         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62107         defined in stackinfo.h.
62108         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62109         DEFAULT_STACK_PERMS defined in stackinfo.h.
62110         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62111         * sysdeps/ia64/stackinfo.h: Likewise.
62112         * sysdeps/s390/stackinfo.h: Likewise.
62113         * sysdeps/sh/stackinfo.h: Likewise.
62114         * sysdeps/sparc/stackinfo.h: Likewise.
62115         * sysdeps/x86_64/stackinfo.h: Likewise.
62116         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62117         PF_X for powerpc64.  Retain PF_X for powerpc32.
62119 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62121         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62122         accurately.
62123         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62124         GETDENTS_64BIT_ALIGNED.
62126 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62128         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62130 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62132         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62133         _GNU_SOURCE.
62135         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62136         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62137         Remove __restrict.
62138         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62139         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62141 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62143         [BZ #11655]
62144         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62145         are initialized.
62147 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62149         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62151 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62153         * po/it.po: Update from translation team.
62155 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62157         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62158         unused codes.
62160 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62162         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62164 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62166         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62167         specially.
62168         (gaih_getanswer_slice): Likewise.
62170 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62172         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62174 2010-05-31  Petr Baudis  <pasky@suse.cz>
62176         [BZ #11149]
62177         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62178         silently even in the chroot mode.
62180 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62182         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62183         last patch a bit.  Pretty printing
62185 2010-05-31  Petr Baudis <pasky@suse.cz>
62187         [BZ #10085]
62188         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62189         initialization of skip_initgroups_dyn.
62191 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62193         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62194         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62196 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62198         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62200 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62202         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62203         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62204         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62205         ($(objpfx)tst-fnmatch-mem): New rule.
62206         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62207         * posix/tst-fnmatch.c (main): Call mtrace.
62209 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62212         Support Intel processor model 6 and model 0x2c.
62214 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62216         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62217           signed comparison.
62219 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62221         [BZ #12205]
62222         * string/test-strncasecmp.c (check_result): New function.
62223         (do_one_test): Use it.
62224         (check1): New function.
62225         (test_main): Use it.
62226         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62227         Support strcasecmp and strncasecmp.
62229 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62231         [BZ #12194]
62232         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62233         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62235 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62237         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62238         IFUNC support.
62239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62240         memset-x86-64.
62241         * sysdeps/x86_64/multiarch/bzero.S: New file.
62242         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62243         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62244         * sysdeps/x86_64/multiarch/memset.S: New file.
62245         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62247         Set bit_Prefer_SSE_for_memop for Intel processors.
62248         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62249         Define.
62250         (index_Prefer_SSE_for_memop): Define.
62251         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62253 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62255         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62256         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62258 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62260         [BZ #12191]
62261         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62262         (__x86_64_raw_data_cache_size_half): Likewise.
62263         (__x86_64_raw_shared_cache_size): Likewise.
62264         (__x86_64_raw_shared_cache_size_half): Likewise.
62266         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62267         (__x86_64_raw_data_cache_size_half): Likewise.
62268         (__x86_64_raw_shared_cache_size): Likewise.
62269         (__x86_64_raw_shared_cache_size_half): Likewise.
62270         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62271         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62272         and __x86_64_raw_shared_cache_size_half.  Round
62273         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62274         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62275         to multiple of 256 bytes.
62277 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62279         [BZ #12167]
62280         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62281         of inacessible symlinks.  Verify result of symlink before returning it.
62282         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62283         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62285 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62287         * math/math.h (isinf): Fix typo in comment.
62289 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62291         * po/da.po: Update from translation team.
62293 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62295         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62296         is added to the list.
62298 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62299             Ulrich Drepper  <drepper@gmail.com>
62301         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62302         the global list here.  Move code to...
62303         (_dl_add_to_namespace_list): ...here.  New function.
62304         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62305         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62306         * elf/dl-load.c (lose): Don't remove the element from the list.
62307         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62308         (_dl_map_object): Likewise.
62310 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62312         [BZ #12159]
62313         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62314         into all bytes of SSE register.
62315         Patch by Richard Li <richardpku@gmail.com>.
62317 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62319         [BZ #12140]
62320         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62321         perturbing.
62323 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62325         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62326         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62327         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62328         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62330         submachine.
62331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62333 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62335         * include/dlfcn.h (__RTLD_SECURE): Define.
62336         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62337         mode & __RTLD_SECURE instead.
62338         (open_path): Rename preloaded parameter to secure.
62339         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62340         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62341         * elf/dl-deps.c (openaux): Likewise.
62342         * elf/rtld.c (struct map_args): Remove is_preloaded.
62343         (map_doit): Don't use it.
62344         (dl_main): Likewise.
62345         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62346         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62348 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62350         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62351         (sysd-rules-targets): Remove duplicates.
62352         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62353         rtld-%.$o dependency.
62355 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62357         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62358         _dl_map_object do it.
62360 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62362         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62363         fast fma builtins, define the macros in the C99 standard.
62364         (FP_FAST_FMAF): Likewise.
62365         (FP_FAST_FMAL): Likewise.
62366         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62368         * bits/mathdef.h: Update copyright year.
62369         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62371 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62373         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62374         builtins, define the macros in the C99 standard.
62375         (FP_FAST_FMAF): Likewise.
62376         (FP_FAST_FMAL): Likewise.
62377         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62378         multiply/add.
62379         (FP_FAST_FMAF): Likewise.
62381 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62383         [BZ #3268]
62384         * math/libm-test.inc (fma_test): Some new testcases.
62385         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62386         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62387         y and infinite z.  Do multiplication by C already in long double.
62388         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62389         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62390         y and infinite z.  Do bitwise or of inexact bit into u.d.
62391         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62392         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62393         * sysdeps/i386/fpu/s_fma.S: Removed.
62394         * sysdeps/i386/fpu/s_fmal.S: Removed.
62396 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62398         [BZ #3268]
62399         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62400         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62401         computation is not scheduled after fetestexcept.  Fix value
62402         of minimum denormal long double.
62404 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62406         [BZ #3268]
62407         * math/libm-test.inc (fma_test): Add some more tests.
62408         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62409         correctly.
62411 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62413         * scripts/data/localplt-s390-linux-gnu.data: New file.
62414         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62416 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62418         [BZ #3268]
62419         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62420         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62421         instead of dbl-64.
62422         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62423         inlines.
62424         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62426         if one of x and y is very large and the other is subnormal.
62427         * sysdeps/s390/fpu/s_fmaf.c: New file.
62428         * sysdeps/s390/fpu/s_fma.c: New file.
62429         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62430         * sysdeps/powerpc/fpu/s_fma.S: New file.
62431         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62432         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62433         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62435 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62437         [BZ #3268]
62438         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62439         fma tests.
62440         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62441         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62442         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62443         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62444         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62445         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62446         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62448 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62450         [BZ #12078]
62451         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62452         * posix/bug-regex31.input: Add test case.
62454 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62456         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62457         * posix/bug-regex31.input: New file.
62459         [BZ #12078]
62460         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62461         (parse_sub_exp): Fix last change, use postorder.
62463         * posix/bug-regex31.c: New file.
62464         * posix/Makefile: Add rules to build and run bug-regex31.
62466         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62468         [BZ #12078]
62469         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62471         [BZ #12108]
62472         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62473         to have entries in sys_siglist.
62475         [BZ #12093]
62476         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62477         be NULL.
62479 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62481         [BZ #3268]
62482         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62483         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62484         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62485         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62486         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62487         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62488         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62489         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62490         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62491         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62492         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62493         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62494         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62495         * math/ftestexcept.c (fetestexcept): Likewise.
62496         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62497         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62498         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62499         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62500         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62501         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62502         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62504 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62506         [BZ #12107]
62507         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62508         newline.
62510 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62512         * string/bug-strstr1.c: New file.
62513         * string/Makefile: Add rules to build and run bug-strstr1.
62515 2010-10-05  Eric Blake  <eblake@redhat.com>
62517         [BZ #12092]
62518         * string/str-two-way.h (two_way_long_needle): Always clear memory
62519         when skipping input due to the shift table.
62521 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62523         [BZ #12005]
62524         * malloc/mcheck.c: Handle large requests.
62526         [BZ #12077]
62527         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62528         for strncmp and strncasecmp.
62529         * string/stratcliff.c: Add tests for strcmp and strncmp.
62530         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62532 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62534         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62535         __set_fpscr.
62537 2010-09-30  Andreas Jaeger  <aj@suse.de>
62539         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62540         (CGROUP_SUPER_MAGIC): Define.
62541         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62542         Handle btrfs and cgroup file systems.
62543         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62544         Likewise.
62546 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62548         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62549         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62551 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62553         [BZ #12067]
62554         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62555         trying to locate the ELF header.
62557 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62559         [BZ #11611]
62560         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62561         Mask out sign-bit copies when constructing f_fsid.
62563 2010-09-24  Petr Baudis <pasky@suse.cz>
62565         * debug/stack_chk_fail_local.c: Add missing licence exception.
62566         * debug/warning-nop.c: Likewise.
62568 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62570         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62571         implementing getdents64 using getdents syscall, set d_type if
62572         __ASSUME_GETDENTS32_D_TYPE.
62574 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62576         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62577         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62579 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62581         [BZ #12037]
62582         * posix/unistd.h: Undo change of feature selection for ftruncate from
62583         2010-01-11.
62585 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62587         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62588         detection.
62590 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62592         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62593         fanotify_mark.
62594         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62596 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62598         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62599         variables after CHECK_SP call.
62600         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62602 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62603             Ulrich Drepper  <drepper@redhat.com>
62605         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62606         re-relocationg ld.so.
62607         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62608         _dl_init_paths call.
62609         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62610         here anymore.
62612 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62614         * resolv/res_init.c (__res_vinit): Count the default server we added.
62616 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62617             Ulrich Drepper  <drepper@redhat.com>
62619         [BZ #11968]
62620         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62621         (____longjmp_chk): Use %ebx for saving value across system call.
62622         Add unwind info.
62624 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62626         * manual/Makefile: Don't mix pattern rules with normal rules.
62628 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62630         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62631         operation.
62632         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62633         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62634         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62635         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62636         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62637         Likewise.
62639 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62641         [BZ #11979]
62642         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62643         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62645 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62647         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62648         * sysdeps/x86_64/addmul_1.S: Likewise.
62649         * sysdeps/x86_64/lshift.S: Likewise.
62650         * sysdeps/x86_64/mul_1.S: Likewise.
62651         * sysdeps/x86_64/rshift.S: Likewise.
62652         * sysdeps/x86_64/sub_n.S: Likewise.
62653         * sysdeps/x86_64/submul_1.S: Likewise.
62655 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62657         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62658         Define __sched_param instead of SCHED_* and sched_param when
62659         <bits/sched.h> is included with __need_schedparam defined.
62660         * bits/sched.h [__need_schedparam]
62661         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62662         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62663         (__defined_schedparam): Define to 1.
62664         (__sched_param): New structure, identical to sched_param.
62665         (__need_schedparam): Undefine.
62667 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62669         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62670         (epoll_create1): Declare.
62672         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62674 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62676         [BZ #7066]
62677         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62678         shifting retval into place.
62680 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62682         * nis/rpcsvc/nis.h: Update copyright notice.
62683         * nis/rpcsvc/nis.x: Likewise.
62684         * nis/rpcsvc/nis_callback.h: Likewise.
62685         * nis/rpcsvc/nis_callback.x: Likewise.
62686         * nis/rpcsvc/nis_object.x: Likewise.
62687         * nis/rpcsvc/nis_tags.h: Likewise.
62688         * nis/rpcsvc/yp.h: Likewise.
62689         * nis/rpcsvc/yp.x: Likewise.
62690         * nis/rpcsvc/ypupd.h: Likewise.
62691         * nis/yp_xdr.c: Likewise.
62692         * nis/ypupdate_xdr.c: Likewise.
62694         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62695         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62696         (pmap_getport): Use __libc_rpc_getport.
62697         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62698         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62699         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62701 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62704         fanotify_mark.
62706 2010-08-27  Roland McGrath  <roland@redhat.com>
62708         * sysdeps/i386/i686/multiarch/Makefile
62709         (CFLAGS-varshift.c): New variable.
62711 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62713         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62714         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62716         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62718         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62720 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62722         * sysdeps/x86_64/strlen.S: Unroll the loop.
62723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62724         strlen-sse2 strlen-sse2-bsf.
62725         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62726         __strlen_no_bsf if bit_Slow_BSF is set.
62727         (__strlen_sse42): Removed.
62728         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62729         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62731 2010-08-25  Roland McGrath  <roland@redhat.com>
62733         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62734         * sysdeps/x86_64/multiarch/varshift.c: New file.
62735         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62736         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62737         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62738         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62740 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62742         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62743         strlen-sse2 strlen-sse2-bsf.
62744         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62745         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62746         (__strlen_sse2): Removed.
62747         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62748         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62750         bit_Slow_BSF for Atom.
62751         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62752         (index_Slow_BSF): Define.
62753         (HAS_SLOW_BSF): Define.
62755 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62757         [BZ #10851]
62758         * resolv/res_init.c (__res_vinit): When no server address at all
62759         is given default to loopback.
62761 2010-08-24  Roland McGrath  <roland@redhat.com>
62763         * configure.in: Remove config-name.h generation.
62764         * configure: Regenerated.
62765         * config-name.in: File removed.
62766         * scripts/config-uname.sh: New file.
62767         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62768         ($(objdir)config-name.h): New target.
62770         * sunrpc/rpc_parse.h: Avoid nested comment.
62772 2010-08-24  Richard Henderson  <rth@redhat.com>
62773             Ulrich Drepper  <drepper@redhat.com>
62774             H.J. Lu  <hongjiu.lu@intel.com>
62776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62778         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62779         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62780         _mm_alignr_epi8 with _mm_loadu_si128.
62781         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62782         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62783         (__m128i_shift_right): Removed.
62784         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62785         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62786         * sysdeps/x86_64/multiarch/varshift.h: New file.
62787         * sysdeps/x86_64/multiarch/varshift.S: New file.
62789 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62791         * configure.in: Move assembler checks to before sysdep dir checking.
62793 2010-08-20  Petr Baudis  <pasky@suse.cz>
62795         * LICENSES: Sync the sunrpc license.
62797 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62799         * sunrpc/auth_des.c: Update copyright notice once again.
62800         * sunrpc/auth_none.c: Likewise.
62801         * sunrpc/auth_unix.c: Likewise.
62802         * sunrpc/authdes_prot.c: Likewise.
62803         * sunrpc/authuxprot.c: Likewise.
62804         * sunrpc/bindrsvprt.c: Likewise.
62805         * sunrpc/clnt_gen.c: Likewise.
62806         * sunrpc/clnt_perr.c: Likewise.
62807         * sunrpc/clnt_raw.c: Likewise.
62808         * sunrpc/clnt_simp.c: Likewise.
62809         * sunrpc/clnt_tcp.c: Likewise.
62810         * sunrpc/clnt_udp.c: Likewise.
62811         * sunrpc/clnt_unix.c: Likewise.
62812         * sunrpc/des_crypt.c: Likewise.
62813         * sunrpc/des_soft.c: Likewise.
62814         * sunrpc/get_myaddr.c: Likewise.
62815         * sunrpc/getrpcport.c: Likewise.
62816         * sunrpc/key_call.c: Likewise.
62817         * sunrpc/key_prot.c: Likewise.
62818         * sunrpc/openchild.c: Likewise.
62819         * sunrpc/pm_getmaps.c: Likewise.
62820         * sunrpc/pm_getport.c: Likewise.
62821         * sunrpc/pmap_clnt.c: Likewise.
62822         * sunrpc/pmap_prot.c: Likewise.
62823         * sunrpc/pmap_prot2.c: Likewise.
62824         * sunrpc/pmap_rmt.c: Likewise.
62825         * sunrpc/rpc/auth.h: Likewise.
62826         * sunrpc/rpc/auth_unix.h: Likewise.
62827         * sunrpc/rpc/clnt.h: Likewise.
62828         * sunrpc/rpc/des_crypt.h: Likewise.
62829         * sunrpc/rpc/key_prot.h: Likewise.
62830         * sunrpc/rpc/netdb.h: Likewise.
62831         * sunrpc/rpc/pmap_clnt.h: Likewise.
62832         * sunrpc/rpc/pmap_prot.h: Likewise.
62833         * sunrpc/rpc/pmap_rmt.h: Likewise.
62834         * sunrpc/rpc/rpc.h: Likewise.
62835         * sunrpc/rpc/rpc_des.h: Likewise.
62836         * sunrpc/rpc/rpc_msg.h: Likewise.
62837         * sunrpc/rpc/svc.h: Likewise.
62838         * sunrpc/rpc/svc_auth.h: Likewise.
62839         * sunrpc/rpc/types.h: Likewise.
62840         * sunrpc/rpc/xdr.h: Likewise.
62841         * sunrpc/rpc_clntout.c: Likewise.
62842         * sunrpc/rpc_cmsg.c: Likewise.
62843         * sunrpc/rpc_common.c: Likewise.
62844         * sunrpc/rpc_cout.c: Likewise.
62845         * sunrpc/rpc_dtable.c: Likewise.
62846         * sunrpc/rpc_hout.c: Likewise.
62847         * sunrpc/rpc_main.c: Likewise.
62848         * sunrpc/rpc_parse.c: Likewise.
62849         * sunrpc/rpc_parse.h: Likewise.
62850         * sunrpc/rpc_prot.c: Likewise.
62851         * sunrpc/rpc_sample.c: Likewise.
62852         * sunrpc/rpc_scan.c: Likewise.
62853         * sunrpc/rpc_scan.h: Likewise.
62854         * sunrpc/rpc_svcout.c: Likewise.
62855         * sunrpc/rpc_tblout.c: Likewise.
62856         * sunrpc/rpc_util.c: Likewise.
62857         * sunrpc/rpc_util.h: Likewise.
62858         * sunrpc/rpcinfo.c: Likewise.
62859         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62860         * sunrpc/rpcsvc/key_prot.x: Likewise.
62861         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62862         * sunrpc/rpcsvc/mount.x: Likewise.
62863         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62864         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62865         * sunrpc/rpcsvc/rex.x: Likewise.
62866         * sunrpc/rpcsvc/rstat.x: Likewise.
62867         * sunrpc/rpcsvc/rusers.x: Likewise.
62868         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62869         * sunrpc/rpcsvc/spray.x: Likewise.
62870         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62871         * sunrpc/rtime.c: Likewise.
62872         * sunrpc/svc.c: Likewise.
62873         * sunrpc/svc_auth.c: Likewise.
62874         * sunrpc/svc_authux.c: Likewise.
62875         * sunrpc/svc_raw.c: Likewise.
62876         * sunrpc/svc_run.c: Likewise.
62877         * sunrpc/svc_simple.c: Likewise.
62878         * sunrpc/svc_tcp.c: Likewise.
62879         * sunrpc/svc_udp.c: Likewise.
62880         * sunrpc/svc_unix.c: Likewise.
62881         * sunrpc/svcauth_des.c: Likewise.
62882         * sunrpc/xcrypt.c: Likewise.
62883         * sunrpc/xdr.c: Likewise.
62884         * sunrpc/xdr_array.c: Likewise.
62885         * sunrpc/xdr_float.c: Likewise.
62886         * sunrpc/xdr_mem.c: Likewise.
62887         * sunrpc/xdr_rec.c: Likewise.
62888         * sunrpc/xdr_ref.c: Likewise.
62889         * sunrpc/xdr_sizeof.c: Likewise.
62890         * sunrpc/xdr_stdio.c: Likewise.
62892         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62893         handling.
62895 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62897         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62899 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62901         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62902         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62903         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62904         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62905         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62906         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62907         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62908         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62909         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62910         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62911         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62912         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62913         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62914         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62916 2010-07-26  Anton Blanchard  <anton@samba.org>
62918         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62919         * malloc/arena.c (heap_trim): Likewise.
62921 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62923         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62924         here.  Not...
62925         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62926         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62928 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62930         * sysdeps/i386/elf/Makefile: New file.
62932 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62934         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62935         from fanotify_init.
62936         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62937         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62939 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62941         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62942         of strncasecmp_l.
62943         * sysdeps/multiarch/strcmp.S: Likewise.
62945 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62947         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62948         strncase_l-nonascii.
62949         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62950         Add strncase_l-ssse3.
62951         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62952         * sysdeps/x86_64/strcmp.S: Likewise.
62953         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62954         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62955         * sysdeps/x86_64/strncase.S: New file.
62956         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62957         * sysdeps/x86_64/strncase_l.S: New file.
62958         * string/Makefile (strop-tests): Add strncasecmp.
62959         * string/test-strncasecmp.c: New file.
62961         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62962         warning.
62964         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62965         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62967 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62969         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62971 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62973         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62974         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62975         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62977 2010-05-01  Alan Modra  <amodra@gmail.com>
62979         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62980         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62981         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62982         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62983         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62984         tidying.  Don't tail-call __sigjmp_save for static lib.
62985         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62986         save location.
62987         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62988         (CALL_MCOUNT): Add eh info, and nop after bl.
62989         (TAIL_CALL_SYSCALL_ERROR): New macro.
62990         (PSEUDO_RET): Use it.
62991         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62992         Correct save location of integer regs and cr.
62993         (_dl_profile_resolve): Correct cr save location.  Delete nops
62994         after bl when SHARED.  Reduce cfi size a little by better
62995         placement of cfi directives.
62996         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62997         make a stack frame.  Instead use parm save area as a temp.
62998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62999         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63001         Don't make a stack frame for parent, use parm save area.
63002         Increase child stack frame to 112 bytes.  Don't save unused reg,
63003         and adjust reg usage.  Set up cfi on error recovery and
63004         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63006         (__makecontext): Add dummy nop after jump to exit.
63007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63008         Use correct parm save area and cr save, reduce stack frame.
63009         Correct cfi for possible PSEUDO_RET frame setup.
63010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63011         Branch to local label emitted by PSEUDO_RET rather than
63012         __syscall_error.
63014 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63016         [BZ #11904]
63017         * locale/programs/locale.c (print_assignment): New function.
63018         (show_locale_vars): Use it.
63020 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63022         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63023         field.
63024         (struct statfs64): Likewise.
63025         (_STATFS_F_FLAGS): Define.
63026         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63027         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63028         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63029         (ST_VALID): Define locally.
63030         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63031         __statvfs_getflags, use the provided value.
63032         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63033         __ASSUME_STATFS_F_FLAGS.
63035         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63037         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63038         Add sys/fanotify.h.
63039         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63040         fanotify_mask for GLIBC_2.13.
63041         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63042         fanotify_init and fanotify_mark.
63043         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63044         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63046         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63047         Add prlimit.
63048         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63049         prlimit64 for GLIBC_2.13.
63050         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63051         prlimit64.
63052         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63053         syscall.
63054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63055         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63056         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63057         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63058         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63059         add prlimit alias.
63060         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63062         [BZ #11903]
63063         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63064         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63066         * nss/Makefile: Add rules to build and run tst-nss-test1.
63067         * shlib-versions: Add entry for libnss_test1.
63068         * nss/nss_test1.c: New file.
63069         * nss/tst-nss-test1.c: New file.
63071         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63072         (__nss_configure_lookup): Set appropriate entry in
63073         __nss_configure_lookup to true.
63074         * nss/nsswitch.h: Define enum with indeces of databases in
63075         databases and __nss_database_custom arrays.  Declare
63076         __nss_database_custom.
63077         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63078         to avoid using nscd when custom rules are installed.
63079         * nss/getXXbyYY_r.c: Likewise.
63080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63082         * nss/nss_files/files-parse.c: Whitespace fixes.
63084 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63086         [BZ #11883]
63087         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63088         * posix/fnmatch_loop.c: Likewise.
63090 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63092         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63093         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63094         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63095         * Versions.def [GLIBC_2.13]: Add.
63097 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63099         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63100         Also fail if tpwd after pwuid call is NULL.
63102 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63104         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63105         when converting to ms.
63107 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63109         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63110         EOPNOTSUPP errors with ENOTTY.
63111         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63112         EOPNOTSUPP errors with ENOTTY.
63114 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63116         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63117         Add strcasecmp_l-ssse3.
63118         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63119         strcasecmp.
63120         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63121         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63122         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63124 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63126         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63128         * string/Makefile (strop-tests): Add strcasecmp.
63129         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63130         strcasecmp_l-nonascii.
63131         (gen-as-const-headers): Add locale-defines.sym.
63132         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63133         * sysdeps/x86_64/strcasecmp.S: New file.
63134         * sysdeps/x86_64/strcasecmp_l.S: New file.
63135         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63136         * sysdeps/x86_64/locale-defines.sym: New file.
63137         * string/test-strcasecmp.c: New file.
63139         * string/test-strcasestr.c: Test both ends of the range of characters.
63140         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63142 2010-07-29  Roland McGrath  <roland@redhat.com>
63144         [BZ #11856]
63145         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63147 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63149         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63150         for ld.so.
63152 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63154         * manual/memory.texi (Malloc Tunable Parameters): Document
63155         M_PERTURB.
63157 2010-07-26  Roland McGrath  <roland@redhat.com>
63159         [BZ #11840]
63160         * configure.in (-fgnu89-inline check): Set and substitute
63161         gnu89_inline, not libc_cv_gnu89_inline.
63162         * configure: Regenerated.
63163         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63165 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63167         * string/test-strnlen.c: New file.
63168         * string/Makefile (strop-tests): Add strnlen.
63169         * string/tester.c (test_strnlen): Add a few more test cases.
63170         * string/tst-strlen.c: Better error reporting.
63172         * sysdeps/x86_64/strnlen.S: New file.
63174 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63176         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63177         lower-latency instructions.
63179 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63181         * string/test-strcasestr.c: New file.
63182         * string/test-strstr.c: New file.
63183         * string/Makefile (strop-tests): Add strstr and strcasestr.
63184         * string/str-two-way.h: Don't undefine MAX.
63185         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63187 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63190         strcasestr-nonascii.
63191         (CFLAGS-strcasestr-nonascii.c): Define.
63192         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63193         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63194         Remove unused attribute.
63196 2010-07-20  Roland McGrath  <roland@redhat.com>
63198         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63199         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63200         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63201         like LD_HWCAP_MASK can disable hwcaps.
63203 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63205         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63207 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63209         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63210         call in strcasestr.
63211         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63212         __strcasestr_sse42_nonascii.
63213         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63214         strcasestr-nonascii.c.
63215         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63217 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63219         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63220         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63221         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63222         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63224 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63226         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63227         fcntl.
63229 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63231         [BZ #11577]
63232         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63233         dl_signal_cerror.
63235 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63237         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63238         _PC_PIPE_BUF using F_GETPIPE_SZ.
63240 2010-07-05  Roland McGrath  <roland@redhat.com>
63242         * manual/arith.texi (Rounding Functions): Fix rint description
63243         implicit in round description.
63245 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63247         * elf/Makefile: Fix linking for a few tests to make recent linker
63248         happy.
63250 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63252         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63253         $(common-objpfx)libc_nonshared.a.
63255 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63257         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63258         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63259         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63260         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63261         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63262         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63263         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63264         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63279         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63280         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63281         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63282         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63283         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63284         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63285         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63286         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63287         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63288         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63289         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63290         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63306 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63308         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63309         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63310         * string/memmove.c (memmove): Renamed to ...
63311         (MEMMOVE): ...this.  Default to memmove.
63312         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63313         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63314         (END_CHK): Define.
63315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63316         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63317         mempcpy-ssse3-back memmove-ssse3-back.
63318         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63319         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63320         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63321         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63322         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63323         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63324         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63325         * sysdeps/x86_64/multiarch/memmove.c: New file.
63326         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63327         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63328         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63329         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63330         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63331         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63332         Define.
63333         (index_Fast_Copy_Backward): Define.
63334         (HAS_ARCH_FEATURE): Define.
63335         (HAS_FAST_REP_STRING): Define.
63336         (HAS_FAST_COPY_BACKWARD): Define.
63338 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63340         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63341         Restore proper fallback handling.
63343 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63345         [BZ #11701]
63346         * posix/group_member.c (__group_member): Correct checking loop.
63348         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63349         OOM in getpwuid_r correctly.  Return error number when the caller
63350         should return, otherwise -1.
63351         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63352         call returning > 0 value.
63353         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63355 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63357         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63358         libc_nonshared.a from targets in modules-names.
63360 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63362         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63363         requires it.
63365 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63367         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63368         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63369         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63370         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63372 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63374         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63376 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63378         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63379         and F_GETPIPE_SZ.
63380         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63381         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63382         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63383         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63384         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63385         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63387 2010-06-14  Roland McGrath  <roland@redhat.com>
63389         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63391 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63393         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63394         __REDIRECT followed by __THROW.
63395         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63396         * posix/getopt.h (getopt): Likewise.
63398 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63400         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63401         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63402         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63403         in AT_FLAGS.
63404         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63405         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63407 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63409         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63411 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63413         [BZ #11640]
63414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63415         Properly check family and model.
63417 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63419         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63421 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63423         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63425 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63427         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63428         symbol reference.
63430 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63432         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63433         symbol reference.
63435 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63437         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63438         and internal_recvmmsg.
63439         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63440         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63441         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63442         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63444         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63445         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63446         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63448 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63450         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63452 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63454         POWER7 optimizations.
63455         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63456         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63458 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63460         * version.h: Update for 2.13 development version.
63462 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63464         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63465         exceptions.  Return 0.
63467 2010-05-07  Roland McGrath  <roland@redhat.com>
63469         * elf/ldconfig.c (main): Add a const.
63471 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63473         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63474         (args_options): Add no-idn option.
63475         (ahosts_keys_int): Add idn_flags to ai_flags.
63476         (parse_option): Handle 'i' option to clear idn_flags.
63478         * malloc/malloc.c (_int_free): Possible race in the most recently
63479         added check.  Only act on the data if no current modification
63480         happened.
63482 See ChangeLog.17 for earlier changes.