Add version set GLIBC_2.19 for linux/powerpc
[glibc.git] / ChangeLog
blob94b5091412a26e9655dfa58b4ddb1f3d0ae4f87c
1 2015-08-17  Andreas Schwab  <schwab@suse.de>
3         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
4         version set GLIBC_2.19.
6 2015-08-16  Zack Weinberg  <zackw@panix.com>
8         [BZ #18681]
9         * misc/regexp.h: This interface is no longer supported.
10         Remove all contents, leaving only an #error directive.
11         * misc/regexp.c (loc1, loc2, locs, step, advance):
12         Demote to compatibility symbols.
14 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16         [BZ #18084]
17         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
18         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
23         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
24         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27 2015-08-15  Zack Weinberg  <zackw@panix.com>
29         [BZ #18795]
30         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
31         buffer length is known to be too large, not if it's known to be
32         small enough.
33         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
34         overflow at runtime, involving a length parameter, twice: once
35         with a compile-time constant length parameter, once without.
37 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
39         [BZ #18824]
40         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
41         scaling x * y up instead of down.
42         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44         * math/auto-libm-test-in: Add more tests of fma.
45         * math/auto-libm-test-out: Regenerated.
47 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
49         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
51 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
54         unnecessary movq.
55         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
56         Likewise.
58 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
60         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
61         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
62         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
63         and tgamma.
64         * math/auto-libm-test-out: Regenerated.
65         * sysdeps/i386/fpu/libm-test-ulps: Update.
66         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68         [BZ #16520]
69         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
70         (__tanh): Force underflow exception for arguments with small
71         absolute value.
72         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
73         (__tanhf): Force underflow exception for arguments with small
74         absolute value.
75         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
76         (__tanhl): Force underflow exception for arguments with small
77         absolute value.
78         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
79         (__tanhl): Force underflow exception for arguments with small
80         absolute value.
81         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
82         (__tanhl): Force underflow exception for arguments with small
83         absolute value.
84         * math/auto-libm-test-in: Add more tests of tanh.
85         * math/auto-libm-test-out: Regenerated.
86         * sysdeps/i386/fpu/libm-test-ulps: Update.
88 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
90         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
91         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
93 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
95         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
96         <cpuid.h>.
98 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
100         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
101         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
103 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
105         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
106         Remove $(objpfx)init-arch.o.
107         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
108         init-arch.
109         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
110         (INIT_ARCH_EXT): Defined as empty.
111         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
112         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
113         __init_cpu_features call.  Replace HAS_XXX with
114         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
115         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
116         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
117         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
118         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
119         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
120         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
121         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
122         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
123         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
124         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
125         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
126         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
127         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
128         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
129         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
130         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
131         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
132         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
133         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
134         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
135         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
136         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
137         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
138         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
139         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
140         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
141         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
142         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
143         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
144         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
145         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
146         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
147         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
148         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
149         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
151 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
153         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
154         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
155         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
156         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
157         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
158         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
159         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
160         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
161         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
162         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
163         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
164         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
165         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
166         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
167         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
168         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
169         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
170         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
171         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
172         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
173         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
174         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
175         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
176         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
177         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
178         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
179         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
180         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
181         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
182         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
183         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
184         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
185         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
186         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
187         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
188         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
189         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
190         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
191         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
192         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
193         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
194         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
195         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
197 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
199         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
200         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
201         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
202         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
203         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
204         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
205         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
206         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
207         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
208         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
209         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
210         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
211         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
212         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
213         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
214         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
215         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
216         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
217         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
218         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
220         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
221         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
222         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
223         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
224         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
225         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
226         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
227         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
228         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
229         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
230         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
231         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
232         * sysdeps/x86_64/multiarch/memset.S: Likewise.
233         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
234         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
235         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
236         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
237         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
238         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
239         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
240         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
241         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
243 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
245         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
246         (dl_platform_init): Call init_cpu_features.
247         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
248         * sysdeps/i386/i686/cacheinfo.c
249         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
250         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
251         * sysdeps/i386/i686/multiarch/Versions: Removed.
252         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
253         Removed.
254         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
255         * sysdeps/unix/sysv/linux/x86/Makefile
256         (libpthread-sysdep_routines): Remove init-arch.
257         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
258         <sysdeps/x86_64/dl-procinfo.c> instead of
259         sysdeps/generic/dl-procinfo.c>.
260         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
261         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
262         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
263         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
264         [$(subdir) == elf] (tests-static): Add
265         tst-get-cpu-features-static.
266         * sysdeps/x86/Versions: New file.
267         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
268         * sysdeps/x86/cpu-features.c: Likewise.
269         * sysdeps/x86/cpu-features.h: Likewise.
270         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
271         * sysdeps/x86/libc-start.c: Likewise.
272         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
273         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
274         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
275         * sysdeps/x86_64/dl-procinfo.c: Likewise.
276         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
277         Assume USE_MULTIARCH is defined and don't check it.
278         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
279         (is_amd): Likewise.
280         (max_cpuid): Likewise.
281         (intel_check_word): Likewise.
282         (__cache_sysconf): Don't call __init_cpu_features.
283         (__x86_preferred_memory_instruction): Removed.
284         (init_cacheinfo): Don't call __init_cpu_features. Replace
285         __cpu_features with GLRO(dl_x86_cpu_features).
286         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
287         (dl_platform_init): Call init_cpu_features.
288         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
289         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
290         * sysdeps/x86_64/multiarch/Versions: Removed.
291         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
292         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
293         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
294         Removed.
295         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
297 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
299         [BZ #18820]
300         * libio/Makefile (test-fmemopen-mem): New test.
301         * libio/test-fmemopen.c (do_bz18820): New test.
302         * libio/fmemopen.c (__fmemopen): Fix memory leak.
303         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
305 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
307         [BZ #16734]
308         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
309         (FREE_BUF): Delete.
310         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
311         * libio/genops.c (_IO_setb): Use malloc and free directly.
312         (_IO_default_doallocate, _IO_default_finish): Likewise.
313         ( _IO_unbuffer_all): Likewise.
314         ( libc_freeres_fn): Likewise.
315         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
316         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
317         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
318         (_IO_wdefault_doallocate): Likewise.
320 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
322         [BZ #18086]
323         * sysdeps/posix/nice.c (nice): Restore old errno.
324         * posix/tst-nice.c (do_test): Add test for BZ #18086.
326 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
328         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
330 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
332         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
333         __bcopy and add a weak_alias to bcopy.
334         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
335         for static build.
337         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
338         cleanup macro usage.
339         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
340         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
341         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
342         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
343         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
344         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
345         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
346         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
347         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
348         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
349         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
350         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
351         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
352         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
353         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
354         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
355         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
356         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
357         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
359         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
360         libc_hidden_def.
361         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
363         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
364         (sysdep_routines): Add strstr-ppc64.
365         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
367 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
369         [BZ #18778]
370         * elf/Makefile (tests): Add Add tst-nodelete2.
371         (modules-names): Add tst-nodelete2mod.
372         (tst-nodelete2mod.so-no-z-defs): New.
373         ($(objpfx)tst-nodelete2): Likewise.
374         ($(objpfx)tst-nodelete2.out): Likewise.
375         (LDFLAGS-tst-nodelete2): Likewise.
376         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
377         out of loop through all loaded libraries.
378         * elf/tst-nodelete2.c: New file.
379         * elf/tst-nodelete2mod.c: Likewise.
381 2015-08-11  Andreas Schwab  <schwab@suse.de>
383         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
384         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
385         (__openat64_nocancel): Likewise.
387 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
389         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
390         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
391         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
392         * math/auto-libm-test-out: Regenerated.
393         * sysdeps/i386/fpu/libm-test-ulps: Update.
394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
396 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
398         [BZ #18790]
399         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
400         threshold for returning +/- 1.
401         * math/auto-libm-test-in: Add more tests of tanh.
402         * math/auto-libm-test-out: Regenerated.
403         * sysdeps/i386/fpu/libm-test-ulps: Update.
405 2015-08-10  Andreas Schwab  <schwab@suse.de>
407         [BZ #18781]
408         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
409         MORE_OFLAGS to oflag.
410         * io/test-lfs.c (do_test): Test openat64.
412 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
414         [BZ #18789]
415         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
416         smaller threshold for returning the argument.
417         * math/auto-libm-test-in: Add more tests of sinh.
418         * math/auto-libm-test-out: Regenerated.
419         * sysdeps/i386/fpu/libm-test-ulps: Update.
421 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
423         [BZ #18674]
424         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
425         break.
427 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
429         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
430         (generated): Don't add $(addprefix z.,$(tzfiles)).
432 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
434         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
435         * scripts/sysd-rules.awk: Likewise.
437 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
439         * iconvdata/tst-tables.sh: Change echo -n to printf.
440         * nss/db-Makefile: Likewise.
441         * posix/tst-getconf.sh: Likewise.
442         * stdio-common/tst-unbputc.sh: Likewise.
444 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
446         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
447         MADV_*_PAGES defines behind this feature check.
449 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
451         [BZ #18480]
452         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
453         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
454         Define.
455         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
456         LOAD_REGS_5, LOAD_REGS_6): Update.
457         (INTERNAL_SYSCALL): Update using new LOAD defines.
458         (INTERNAL_SYSCALL_NCS): Likewise.
459         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
461 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
463         [BZ #16734]
464         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
466 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
468         [BZ #17905]
469         * catgets/Makefile (tst-catgets-mem): New test.
470         * catgets/catgets.c (catopen): Don't use unbounded alloca.
471         * catgets/open_catalog.c (__open_catalog): Likewise.
472         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
474 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
476         [BZ #18787]
477         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
478         clobber registers.
479         (atomic_compare_and_exchange_val_acq): Use register asms to assign
480         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
481         Cast return to __typeof (oldval).
483 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
485         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
486         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
487         and delete sys/syscall.h include.
489 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
491         [BZ #16517]
492         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
493         (tan): Force underflow exception for arguments with small absolute
494         value.
495         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
496         (__kernel_tanf): Force underflow exception for arguments with
497         small absolute value.
498         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
499         (__kernel_tanl): Force underflow exception for arguments with
500         small absolute value.
501         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
502         (__kernel_tanl): Force underflow exception for arguments with
503         small absolute value.
504         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
505         (__kernel_tanl): Force underflow exception for arguments with
506         small absolute value.
507         * math/auto-libm-test-in: Add more tests of tan.
508         * math/auto-libm-test-out: Regenerated.
510 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
512         Fix sysdeps/i386/fpu/s_scalbn.S build
514         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
516 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
518         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
520 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
522         Fix gcrt0.o compilation
524         When static-start-installed-name is different from
525         start-installed-name, we must not use the shared objects.
527         * csu/Makefile
528         (extra-objs): Add gmon-start.o when building shared library and
529         $(static-start-installed-name) is different from
530         $(start-installed-name).
531         $(objpfx)g$(static-start-installed-name): When building shared
532         library and $(static-start-installed-name) is different from
533         $(static-start-installed-name), revert to non-shared rule,
534         i.e. using $(objpfx)% and gmon-start.o.
536 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
538         [BZ #16519]
539         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
540         (__ieee754_sinh): Force underflow exception for arguments with
541         small absolute value.
542         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
543         (__ieee754_sinhf): Force underflow exception for arguments with
544         small absolute value.
545         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
546         (__ieee754_sinhl): Force underflow exception for arguments with
547         small absolute value.
548         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
549         (__ieee754_sinhl): Force underflow exception for arguments with
550         small absolute value.
551         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
552         (__ieee754_sinhl): Force underflow exception for arguments with
553         small absolute value.
554         * math/auto-libm-test-in: Add more tests of sinh.
555         * math/auto-libm-test-out: Regenerated.
556         * sysdeps/i386/fpu/libm-test-ulps: Update.
558 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
560         * libio/oldfileops.c: Include unistd.h.
562 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
564         * stdlib/isomac.c: Include ctype.h.
566 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
568         * dirent/tst-seekdir.c (main): Converted to ...
569         (do_test): ... this.
570         (TEST_FUNCTION): New macro.
571         Include test-skeleton.c.
572         * elf/tst-dlmodcount.c (main): Converted to ...
573         (do_test): ... this.
574         (TEST_FUNCTION): New macro.
575         Include test-skeleton.c.
576         * elf/tst-order-main.c (main): Converted to ...
577         (do_test): ... this.
578         (TEST_FUNCTION): New macro.
579         Include test-skeleton.c.
580         * elf/tst-pie2.c (main): Converted to ...
581         (do_test): ... this.
582         (TEST_FUNCTION): New macro.
583         Include test-skeleton.c.
584         * inet/tst-ether_aton.c (main): Converted to ...
585         (do_test): ... this.
586         (TEST_FUNCTION): New macro.
587         Include test-skeleton.c.
588         * misc/tst-mntent.c (main): Converted to ...
589         (do_test): ... this.
590         (TEST_FUNCTION): New macro.
591         Include test-skeleton.c.
592         * misc/tst-tsearch.c (main): Converted to ...
593         (do_test): ... this.
594         (TEST_FUNCTION): New macro.
595         Include test-skeleton.c.
596         * posix/tst-regexloc.c (main): Converted to ...
597         (do_test): ... this.
598         (TEST_FUNCTION): New macro.
599         Include test-skeleton.c.
600         * resolv/tst-aton.c (main): Converted to ...
601         (do_test): ... this.
602         (TEST_FUNCTION): New macro.
603         Include test-skeleton.c.
604         * stdio-common/test-fwrite.c (main): Converted to ...
605         (do_test): ... this.
606         (TEST_FUNCTION): New macro.
607         Include test-skeleton.c.
608         * stdio-common/tst-ferror.c (main): Converted to ...
609         (do_test): ... this.
610         (TEST_FUNCTION): New macro.
611         Include test-skeleton.c.
612         * stdio-common/tst-printf.c (main): Converted to ...
613         (do_test): ... this.
614         (TEST_FUNCTION): New macro.
615         Include test-skeleton.c.
616         * stdio-common/tst-printfsz.c (main): Converted to ...
617         (do_test): ... this.
618         (TEST_FUNCTION): New macro.
619         Include test-skeleton.c.
620         * stdlib/tst-strtod.c (main): Converted to ...
621         (do_test): ... this.
622         (TEST_FUNCTION): New macro.
623         Include test-skeleton.c.
624         * string/tst-strlen.c (main): Converted to ...
625         (do_test): ... this.
626         (TEST_FUNCTION): New macro.
627         Include test-skeleton.c.
628         * string/tst-svc.c (main): Converted to ...
629         (do_test): ... this.
630         (TEST_FUNCTION): New macro.
631         Include test-skeleton.c.
632         * time/tst-strptime.c (main): Converted to ...
633         (do_test): ... this.
634         (TEST_FUNCTION): New macro.
635         Include test-skeleton.c.
636         * timezone/tst-timezone.c (main): Converted to ...
637         (do_test): ... this.
638         (TEST_FUNCTION): New macro.
639         Include test-skeleton.c.
641 2015-08-05  Zack Weinberg  <zackw@panix.com>
643         * misc/regexp.h: Update comments.
645 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
647         [BZ #18635]
648         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
649         before return label.
651 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
653         [BZ #18661]
654         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
655         when calling __errno_location.
656         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
657         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
659 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
661         [BZ #18661]
662         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
663         (__lll_timedwait_tid): Align stack to 16 bytes when calling
664         __gettimeofday.
666 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
668         [BZ #18661]
669         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
670         (__start_context): Don't use pop to restore %rdi so that stack
671         is aligned to 16 bytes when calling __setcontext.
673 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
675         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
676         only for libc.
677         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
679 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
681         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
682         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
683         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
685 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
687         * string/memccpy.c (memccpy):
688         Improve performance by using memchr/memcpy/__mempcpy.
690 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
692         * string/strncpy.c (strncpy):
693         Improve performance by using __strnlen/memcpy.
695 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
697         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
698         Optimize to avoid an unnecessary FPCR read.
700 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
702         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
703         Optimize to reduce FPCR/FPSR accesses.
705 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
707         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
708         dead->data[category] != NULL.
710 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
712         [BZ #18647]
713         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
714         and |x| close to 1, use absolute value of x when computing log.
715         * math/auto-libm-test-in: Add more tests of pow.
716         * math/auto-libm-test-out: Regenerated.
718 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
720         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
721         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
722         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
724 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
726         [BZ #18525]
727         * locales/km_KH: Remove timezone definition.
728         * locales/lo_LA: Likewise.
729         * locales/my_MM: Likewise.
730         * locales/nan_TW@latin: Likewise.
731         * locales/th_TH: Likewise.
732         * locales/uk_UA: Likewise.
734 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
736         [BZ #18265]
737         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
738         (wcsncat): Likewise.
739         (wcscmp): Likewise.
740         (wcsncmp): Likewise.
742 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
744         * test-skeleton.c (usage): New function.
745         (main): Call usage when opt is '?'.
747 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
749         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
750         before first use.
752 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
754         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
755         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
756         in there too.
758 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
760         * version.h (RELEASE): Set to "development".
761         (VERSION): Set to "2.22.90"
763         * version.h (RELEASE): Set to "stable".
764         (VERSION): Set to "2.22"
765         * include/features.h (__GLIBC_MINOR__): Set to 22.
767 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
769         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
770         Restructure macro to avoid "value computed is not used" warning.
771         (atomic_compare_and_exchange_val_acq): Likewise.
773 2015-08-04  Andreas Schwab  <schwab@suse.de>
775         [BZ #18635]
776         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
777         ret.
778         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
780 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
782         * po/pl.po: Updated translation.
783         * po/uk.po: Likewise.
784         * po/fi.po: Likewise.
785         * po/ko.po: Likewise.
786         * po/ru.po: Likewise.
787         * po/vi.po: Likewise.
789 2015-07-31  Zack Weinberg  <zackw@panix.com>
791         [BZ #18681]
792         * regexp.h: Add unconditional #warning stating that this header
793         will be removed soon.  Revise banner comment to match.
794         (compile): Consistently use ERROR instead of RETURN to report
795         errors (partial fix for bz#18681).
796         * regexp.c: Don't include regexp.h. Remove some unnecessary
797         declarations.
799 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
801         * po/libc.pot: Regenerated.
803 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
805         [BZ #18740]
806         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
807         float-vlen4-arch-ext-cflags): Removed.
808         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
809         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
811 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
813         [BZ #14113]
814         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
815         aligned to __aligned__.
816         (pthread_cond_t, pthread_rwlock_t): Likewise.
818 2015-07-30  Torvald Riegel  <triegel@redhat.com>
820         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
822 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
824         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
825         (struct sigaction): Change sa_flags from a long to an int, and add
826         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
828 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
830         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
831         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
832         sysdeps/generic/sysdep.h include.
833         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
834         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
835         sysdeps/hppa/sysdep.h.
836         (ENTRY, PSEUDO): Undefine before defining.
838 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
840         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
841         from scratch to use INTERNAL_SYSCALL.
843 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
845         [BZ #18078]
846         * scripts/check-localplt.awk: Support alternate relocations.
847         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
848         sections.
849         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
850         malloc entries with + REL R_386_GLOB_DAT.
851         * sysdeps/x86_64/localplt.data: New file.
853 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
855         [BZ #18731]
856         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
857         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
858         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
860 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
862         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
864 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
866         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
867         directly in terms of __sync_fetch_and_add and delete (int) cast.
869 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
871         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
872         the -D_ASM_IA64_CURRENT_H flag.
874 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
876         [BZ #18641]
877         * pwd/pwd.h (putpwent): Delete __nonnull markings.
879 2015-07-27  Andreas Schwab  <schwab@suse.de>
881         * conform/conformtest.pl (checknamespace): Filter out string
882         literals while tokenizing.
884 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
886         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
887         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
888         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
890 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
892         * nptl/tst-join7mod.c: Add #include <string.h>.
894 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
896         * sysdeps/nios2/libm-test-ulps: Update.
898 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
900         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
901         Fix order of arguments to the rt_sigprocmask syscall.
902         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
903         Likewise.
905 2015-07-24  Roland McGrath  <roland@hack.frob.com>
907         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
909 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
911         [BZ #18457]
912         * nptl/Makefile (tests): New test case tst-join7.
913         (modules-names): New test case module tst-join7mod.
914         * nptl/tst-join7.c: New file.
915         * nptl/tst-join7mod.c: New file.
916         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
917         all translation units in libc.so, libpthread.so and rtld.
919 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
923 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
925         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
926         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
927         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
928         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
929         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
930         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
931         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
932         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
933         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
934         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
935         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
936         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
937         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
938         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
939         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
940         implementation.
942 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
944         [BZ #17711]
945         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
946         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
947         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
948         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
949         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
950         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
952 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
954         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
955         instead of just saying load lock in the comments.
957 2015-07-23  Roland McGrath  <roland@hack.frob.com>
959         * sysdeps/unix/Subdirs: Moved ...
960         * sysdeps/posix/Subdirs: ... here.
961         * login/pty.h (struct termios, struct winsize): Add forward decls.
962         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
963         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
964         * sysdeps/arm/nacl/libc.abilist: Updated.
965         * sysdeps/nacl/libutil.abilist: New file.
967         * bits/signum.h: Update comments to mention 1003.1-2013 too.
968         (SIGWINCH): New macro.
970         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
971         * sysdeps/arm/nacl/libc.abilist: Add it.
973 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
975         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
977 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
979         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
980         Swap __glibc_reserved0 and sa_flags order.
982 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
984         [BZ #18657]
985         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
986         are pending TLS destructor calls.
987         * include/link.h (struct link_map): Add concurrency note for
988         L_TLS_DTOR_COUNT.
989         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
990         Don't touch the link map flag.  Atomically increment
991         l_tls_dtor_count.
992         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
993         Avoid taking the load lock and don't touch the link map flag.
994         * stdlib/tst-tls-atexit-nodelete.c: New test case.
995         * stdlib/Makefile (tests): Use it.
996         * stdlib/tst-tls-atexit.c (do_test): dlopen
997         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
998         to allow tst-tls-atexit-nodelete test case to use it.
1000 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1002         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1003         to bits/types.h.
1004         (msgqnum_t): New typedef.
1005         (msglen_t): Likewise.
1006         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1007         and msg_qbytes type to msglen_t.
1009 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1011         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1012         pad0 to __glibc_reserved0.
1013         (struct stat64): Likewise.
1015 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1017         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1018         Change sa_flags from a long to an int and add __glibc_reserved0 before
1019         it for padding.
1021 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1023         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1024         anonymous by deleting "siginfo" name.
1026 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1028         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1029         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1030         rather than __nacl_irt_filename.
1031         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1033         * NEWS: New item for arm-nacl port.
1034         * sysdeps/arm/nacl/libc.abilist: New file.
1035         * sysdeps/nacl/ld.abilist: New file.
1036         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1037         * sysdeps/nacl/libanl.abilist: New file.
1038         * sysdeps/nacl/libcrypt.abilist: New file.
1039         * sysdeps/nacl/libdl.abilist: New file.
1040         * sysdeps/nacl/libm.abilist: New file.
1041         * sysdeps/nacl/libpthread.abilist: New file.
1042         * sysdeps/nacl/libresolv.abilist: New file.
1043         * sysdeps/nacl/librt.abilist: New file.
1045 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1047         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1048         __startcontext to initialize the new context.
1049         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1050         up CFI directive to forbid further backtracing.
1052 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1054         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1055         reference.
1056         * charmaps/ANSI_X3.4-1968: Likewise.
1057         * charmaps/BS_4730: Likewise.
1058         * charmaps/BS_VIEWDATA: Likewise.
1059         * charmaps/CP1250: Likewise.
1060         * charmaps/CP1251: Likewise.
1061         * charmaps/CP1252: Likewise.
1062         * charmaps/CP1253: Likewise.
1063         * charmaps/CP1254: Likewise.
1064         * charmaps/CP1255: Likewise.
1065         * charmaps/CP1256: Likewise.
1066         * charmaps/CSN_369103: Likewise.
1067         * charmaps/EBCDIC-DK-NO: Likewise.
1068         * charmaps/GB_1988-80: Likewise.
1069         * charmaps/GREEK-CCITT: Likewise.
1070         * charmaps/GREEK7: Likewise.
1071         * charmaps/INIS-8: Likewise.
1072         * charmaps/ISIRI-3342: Likewise.
1073         * charmaps/ISO_2033-1983: Likewise.
1074         * charmaps/ISO_5427-EXT: Likewise.
1075         * locales/POSIX: Likewise.
1076         * locales/ar_SA: Likewise.
1077         * locales/be_BY: Likewise.
1078         * locales/be_BY@latin: Likewise.
1079         * locales/ca_ES: Likewise.
1080         * locales/cs_CZ: Likewise.
1081         * locales/da_DK: Likewise.
1082         * locales/de_BE: Likewise.
1083         * locales/de_CH: Likewise.
1084         * locales/de_LU: Likewise.
1085         * locales/en_AU: Likewise.
1086         * locales/en_BW: Likewise.
1087         * locales/en_CA: Likewise.
1088         * locales/en_DK: Likewise.
1089         * locales/en_GB: Likewise.
1090         * locales/en_IE: Likewise.
1091         * locales/en_NZ: Likewise.
1092         * locales/en_ZA: Likewise.
1093         * locales/en_ZW: Likewise.
1094         * locales/es_AR: Likewise.
1095         * locales/es_BO: Likewise.
1096         * locales/es_CL: Likewise.
1097         * locales/es_CO: Likewise.
1098         * locales/es_DO: Likewise.
1099         * locales/es_EC: Likewise.
1100         * locales/es_ES: Likewise.
1101         * locales/es_HN: Likewise.
1102         * locales/es_MX: Likewise.
1103         * locales/es_PA: Likewise.
1104         * locales/es_PE: Likewise.
1105         * locales/es_PY: Likewise.
1106         * locales/es_SV: Likewise.
1107         * locales/es_US: Likewise.
1108         * locales/es_UY: Likewise.
1109         * locales/es_VE: Likewise.
1110         * locales/et_EE: Likewise.
1111         * locales/fa_IR: Likewise.
1112         * locales/fo_FO: Likewise.
1113         * locales/fr_CA: Likewise.
1114         * locales/fr_CH: Likewise.
1115         * locales/gv_GB: Likewise.
1116         * locales/he_IL: Likewise.
1117         * locales/hr_HR: Likewise.
1118         * locales/id_ID: Likewise.
1119         * locales/is_IS: Likewise.
1120         * locales/it_CH: Likewise.
1121         * locales/iw_IL: Likewise.
1122         * locales/kl_GL: Likewise.
1123         * locales/ko_KR: Likewise.
1124         * locales/kw_GB: Likewise.
1125         * locales/lg_UG: Likewise.
1126         * locales/lt_LT: Likewise.
1127         * locales/lv_LV: Likewise.
1128         * locales/mi_NZ: Likewise.
1129         * locales/nhn_MX: Likewise.
1130         * locales/nl_BE: Likewise.
1131         * locales/pl_PL: Likewise.
1132         * locales/sk_SK: Likewise.
1133         * locales/sl_SI: Likewise.
1134         * locales/sv_FI: Likewise.
1135         * locales/tl_PH: Likewise.
1136         * locales/tr_TR: Likewise.
1137         * locales/vi_VN: Likewise.
1139 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1141         [BZ #17475]
1142         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1143         of tu_IN and bh_IN.
1145 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1147         [BZ #18694]
1148         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1149         bits/wordsize.h.
1150         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1152 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1154         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1155         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1156         (spawn_thread): New function.
1157         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1158         (do_test): ... here.  Use IS_LOADED to test for its
1159         availability.
1161 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1163         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1165 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1167         [BZ #18696]
1168         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1169         si_addr_bnd.
1170         (si_lower): New.
1171         (si_upper): Likewise.
1173 2015-07-16  David S. Miller  <davem@davemloft.net>
1175         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1177 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1179         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1180         buffer.
1181         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1182         fail output information.
1184 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1187         and strstr-ppc64..
1188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1189         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1190         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1191         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1192         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1194 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1196         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1197         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1198         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1199         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1201 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1203         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1204         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1205         rtld_hidden_proto.
1206         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1208 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1210         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1211         the test can fail.
1213         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1215         [BZ #18676]
1216         * elf/tst-nodelete-opened.c: New test case.
1217         * elf/tst-nodelete-opened-lib.c: New test case module.
1218         * elf/Makefile (tests, modules-names): Use them.
1219         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1220         early.
1222 2015-07-15  David S. Miller  <davem@davemloft.net>
1224         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1225         futex-intenal.h
1226         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1227         * sysdeps/sparc/sparc64/Makefile: Likewise.
1228         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1229         Remove space from macro define.
1230         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1232 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1234         [BZ #17475]
1235         * locale/iso-639.def: Update Bhili and Tulu language codes as
1236         per iso639-3.
1238 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1240         * elf/tst-leaks1.c (main): Converted to ...
1241         (do_test): ... this.
1242         (TEST_FUNCTION): New macro.
1243         Include test-skeleton.c.
1244         * localedata/tst-langinfo.c (main): Converted to ...
1245         (do_test): ... this.
1246         (TEST_FUNCTION): New macro.
1247         Include test-skeleton.c.
1248         * math/test-fpucw.c (main): Converted to ...
1249         (do_test): ... this.
1250         (TEST_FUNCTION): New macro.
1251         Include test-skeleton.c.
1252         * math/test-tgmath.c (main): Converted to ...
1253         (do_test): ... this.
1254         (TEST_FUNCTION): New macro.
1255         Include test-skeleton.c.
1256         * math/test-tgmath2.c (main): Converted to ...
1257         (do_test): ... this.
1258         (TEST_FUNCTION): New macro.
1259         Include test-skeleton.c.
1260         * setjmp/tst-setjmp.c (main): Converted to ...
1261         (do_test): ... this.
1262         (TEST_FUNCTION): New macro.
1263         Include test-skeleton.c.
1264         * stdio-common/tst-sscanf.c (main): Converted to ...
1265         (do_test): ... this.
1266         (TEST_FUNCTION): New macro.
1267         Include test-skeleton.c.
1268         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1269         (do_test): ... this.
1270         (TEST_FUNCTION): New macro.
1271         Include test-skeleton.c.
1273         * elf/tst-audit9.c (main): Converted to ...
1274         (do_test): ... this.
1275         (TEST_FUNCTION): New macro.
1276         Include test-skeleton.c.
1278 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1280         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1282 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1284         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1285         New variable.
1287 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1289         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1291 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1293         * sysdeps/generic/dl-fileid.h: New file.
1294         * sysdeps/posix/dl-fileid.h: New file.
1295         * sysdeps/nacl/dl-fileid.h: New file.
1296         * include/link.h: Include <dl-fileid.h>.
1297         (struct link_map): Replace l_dev and l_ino with l_file_id.
1298         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1299         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1300         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1302 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1304         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1306 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1308         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1309         Add iff $CXX is set.
1310         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1311         Likewise.
1312         (tst-nodelete-zmodiff): Likewise.
1313         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1315 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1317         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1319 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1321         * sysdeps/aarch64/fpu/math_private.h
1322         (define math_opt_barrier): Add AArch64 version.
1323         (math_force_eval): Likewise.
1325 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1327         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1329 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1331         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1332         %ld with %jd and cast to intmax_t.
1333         (do_test_length_zero): Likewise.
1335 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1337         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1339 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1341         * sysdeps/tile/libm-test-ulps: Regenerated.
1343         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1344         Comment out the whole function, not just its body.
1346 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1348         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1349         locks.
1351         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1353 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1355         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1356         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1358 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1360         * sysdeps/nptl/futex-internal.h: New file.
1361         * sysdeps/nacl/futex-internal.h: New file.
1362         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1363         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1364         error checking.
1365         (setxid_unmark_thread): Likewise.
1366         (__nptl_setxid): Likewise.
1367         (__wait_lookup_done): Likewise.
1368         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1369         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1370         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1371         * nptl/pthread_once.c (clear_once_control): Likewise.
1372         (__pthread_once_slow): Likewise.
1373         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1374         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1375         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1376         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1377         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1378         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1379         Likewise.
1380         (__pthread_rwlock_rdlock): Likewise.
1381         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1382         Likewise.
1383         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1384         Likewise.
1385         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1386         Likewise.
1387         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1388         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1389         Likewise.
1390         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1391         __ASSUME_PRIVATE_FUTEX check.
1392         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1393         Check that shared futexes are supported.
1394         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1395         wrappers with error checking.
1396         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1397         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1398         * nptl/pthread_barrierattr_setpshared.c
1399         (pthread_barrierattr_setpshared): Check that shared futexes are
1400         supported.
1401         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1402         Likewise.
1403         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1404         Likewise.
1405         * nptl/sem_init.c (futex_private_if_supported): Remove.
1406         (__new_sem_init): Adapt and check that shared futexes are supported.
1407         * nptl/sem_open.c (sem_open): Likewise.
1408         * nptl/sem_post.c (futex_wake): Remove.
1409         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1410         (do_futex_wait): Use futex wrappers with error checking.
1411         * nptl/sem_wait.c: Include lowlevellock.h.
1412         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1413         Use futex_supports_pshared.
1414         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1415         Use futex wrappers with error checking.
1416         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1417         Likewise.
1418         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1419         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1420         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1421         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1422         (futex_wake): Likewise.
1423         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1424         (do_futex_wait): Use futex wrappers with error checking.
1425         (__new_sem_wait_slow): Update EINTR handling.
1426         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1428 2015-07-09  Martin Sebor  <msebor@redhat.com>
1430         [BZ #18435]
1431         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1432         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1433         * nptl/Makefile (test-xfail-tst-once5): Define.
1435 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1437         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1438         * elf/dl-minimal.c: For readability, reorder some definitions and
1439         introduce more page breaks.  Include <stdio.h>.
1440         (__libc_fatal): New function.
1442         * include/unistd.h: Add rtld_hidden_proto for _exit.
1443         * posix/_exit.c: Add rtld_hidden_def.
1444         * sysdeps/mach/hurd/_exit.c: Likewise.
1445         * sysdeps/nacl/_exit.c: Likewise.
1446         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1447         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1449 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1451         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1452         bndmov encoding with zero displacement.
1454 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1455             H.J. Lu  <hongjiu.lu@intel.com>
1457         [BZ #18134]
1458         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1459         * sysdeps/i386/configure: Regenerated.
1460         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1461         (_dl_runtime_profile): Save and restore Intel MPX return bound
1462         registers when calling _dl_call_pltexit.  Add
1463         PRESERVE_BND_REGS_PREFIX before return.
1464         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1465         (LRV_BND1_OFFSET): Likewise.
1466         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1467         lrv_bnd1.
1468         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1469         typo in bndmov encoding.
1470         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1471         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1472         branch instructions to preserve bounds.
1474 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1477         [GLIBC_2.22]: Add fmemopen.
1479 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1481         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1482         returns an error, also try to use host port from __mach_host_self for
1483         the __vm_wire call.
1484         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1486 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1488         [BZ #18400]
1489         [BZ #18648]
1490         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1491         Fix pr_uid and pr_gid members.
1492         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1493         definition to elf_greg_t.
1495 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1497         [BZ #18383]
1498         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1499         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1500         * sysdeps/arm/configure: Regenerated.
1501         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1502         (test-xfail-tst-tlsalign-static): Variable removed.
1504         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1505         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1506         rather than explicit 'ln -s'.
1508         * resolv/rpc/netdb.h: New file.
1509         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1511 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1513         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1514         length buffers.
1515         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1516         test-skeleton.c.
1518         [BZ #6544]
1519         [BZ #11216]
1520         [BZ #12836]
1521         [BZ #13151]
1522         [BZ #13152]
1523         [BZ #14292]
1524         * include/stdio.h (fmemopen): Remove hidden prototype.
1525         (__fmemopen): Add new hidden prototype.
1526         * libio/Makefile: Add oldfmemopen object.
1527         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1528         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1529         compliance.
1530         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1531         symbol compatibility.
1532         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1533         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1534         fmemopen.
1535         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1536         on append and read mode.
1537         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1538         fmemopen.
1539         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1540         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1541         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1542         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1543         Likewise.
1544         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1545         [GLIBC_2.22]: Likewise.
1546         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1547         Likewise.
1548         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1549         Likewise.
1550         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1551         [GLIBC_2.22]: Likewise.
1552         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1553         [GLIBC_2.22]: Likewise.
1554         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1555         [GLIBC_2.22]: Likewise.
1556         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1557         [GLIBC_2.22]: Likewise.
1558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1559         [GLIBC_2.22]: Likewise.
1560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1561         [GLIBC_2.22]: Likewise.
1562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1563         [GLIBC_2.22]: Likewise.
1564         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1565         Likewise.
1566         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1567         Likewise.
1568         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1569         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1570         [GLIBC_2.22]: Likewise.
1571         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1572         [GLIBC_2.22]: Likewise.
1573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1574         [GLIBC_2.22]: Likewise.
1575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1576         [GLIBC_2.22]: Likewise.
1577         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1578         Likewise.
1579         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1580         Likewise.
1581         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1582         Likewise.
1583         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1584         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1586 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1588         [BZ #18643]
1589         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1590         IPV6_PATHMTU, and IPV6_DONTFRAG.
1592 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1594         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1595         and _IO_UNBUFFERED.
1596         * libio/oldfileops.c: Likewise.
1597         * libio/wfileops.c: Likewise.
1599 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1601         * nscd/selinux.c: Delete selinux/flask.h include.
1603 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1605         [BZ #18641]
1606         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1607         (putpwent): Likewise.
1608         (getpwnam): Likewise.
1609         (getpwent_r): Likewise.
1610         (getpwuid_r): Likewise.
1611         (getpwnam_r): Likewise.
1612         (fgetpwent_r): Likewise.
1614 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1616         [BZ #18557]
1617         * inet/rcmd.c (__validuser2_sa): Check user first to
1618         short-circuit host check.
1620 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1621             Mikhail Ilin  <m.ilin@samsung.com>
1623         [BZ #17833]
1624         * elf/Makefile (tests): Add tst-nodelete.
1625         (modules-names): Add tst-nodelete-uniquemod.
1626         (tst-nodelete-uniquemod.so-no-z-defs): New.
1627         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1628         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1629         ($(objpfx)tst-nodelete): Likewise.
1630         ($(objpfx)tst-nodelete.out): Likewise.
1631         (LDFLAGS-tst-nodelete): Likewise.
1632         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1633         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1634         implement forced object deletion.
1635         (_dl_close): Pass false to _dl_close_worker.
1636         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1637         * elf/tst-nodelete.cc: New file.
1638         * elf/tst-nodeletelib.cc: Likewise.
1639         * elf/tst-znodeletelib.cc: Likewise.
1640         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1642 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1644         [BZ #18508]
1645         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1646         Depend on $(libdl).
1647         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1648         is not called infinitely times.
1649         (backtrace_helper): New function.
1650         (trace_arg): New struct.
1651         (st1): Enlarge stack size.
1652         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1653         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1654         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1655         Likewise.
1657 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1659         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1661 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1663         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1664         Include sys/types.h instead of bits/types.h.
1665         Remove inclusion of bits/wordsize.h.
1667 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1669         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1670         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1671         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1672         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1673         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1674         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1676 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1678         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1679         link-defines.sym.
1680         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1681         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1682         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1683         and LR_SIZE.
1684         * sysdeps/i386/link-defines.sym: New file.
1686 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1688         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1689         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1690         ($(objpfx)tst-audit3): New rule.
1691         ($(objpfx)tst-audit3.out): Likewise.
1692         * sysdeps/i386/tst-audit3.c: New file.
1693         * sysdeps/i386/tst-audit3.h: Likewise.
1694         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1695         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1697 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1699         [BZ #18633]
1700         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1701         pointer in C code.
1702         (__strcat_c): Likewise.
1703         (__strcat_g): Likewise.
1705 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1707         [BZ #18592]
1708         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1710 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1712         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1713         New function.  (__ieee754_sqrtf): New function.
1714         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1715         New function.
1716         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1717         New function.
1719 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1721         * sysdeps/ieee754/support.c: Remove unused file.
1723 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1725         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1726         registers instead of d ones so the layout is kernel abi compatible.
1727         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1728         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1729         Likewise.
1731 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1733         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1735 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1737         [BZ #18619]
1738         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1739         and return argument in case of subnormal argument.
1741 2015-07-01  Martin Sebor  <msebor@redhat.com>
1743         [BZ #18435]
1744         * nptl/Makefile: Add tst-once5.cc.
1745         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1746         Remove macro redefinitions.
1747         * nptl/tst-once5.cc: New test.
1749 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1751         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1753         * sysdeps/arm/libm-test-ulps: Regenerated.
1755         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1756         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1758 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1760         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1761         lll_lock_wait_private and lll_futex_wake probes.
1763         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1764         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1765         Likewise.
1766         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1767         atomic_spin_nop.
1768         * sysdeps/x86_64/bits/atomic.h: Likewise.
1769         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1770         to atomic_spin_nop and move ...
1771         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1772         ... here and ...
1773         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1774         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1775         atomic_spin_nop instead of BUSY_WAIT_NOP.
1776         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1777         Likewise.
1778         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1779         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1780         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1781         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1782         instead of atomic_delay.
1784 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1786         [BZ #18613]
1787         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1788         X_ADJ not X when adjusting exponent.
1789         (__ieee754_gamma_r): Do intermediate computations in
1790         round-to-nearest then adjust overflowing and underflowing results
1791         as needed.
1792         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1793         of X_ADJ not X when adjusting exponent.
1794         (__ieee754_gammaf_r): Do intermediate computations in
1795         round-to-nearest then adjust overflowing and underflowing results
1796         as needed.
1797         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1798         log of X_ADJ not X when adjusting exponent.
1799         (__ieee754_gammal_r): Do intermediate computations in
1800         round-to-nearest then adjust overflowing and underflowing results
1801         as needed.  Use 1.0L not 1.0f as numerator of division.
1802         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1803         log of X_ADJ not X when adjusting exponent.
1804         (__ieee754_gammal_r): Do intermediate computations in
1805         round-to-nearest then adjust overflowing and underflowing results
1806         as needed.  Use 1.0L not 1.0f as numerator of division.
1807         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1808         of X_ADJ not X when adjusting exponent.
1809         (__ieee754_gammal_r): Do intermediate computations in
1810         round-to-nearest then adjust overflowing and underflowing results
1811         as needed.  Use 1.0L not 1.0f as numerator of division.
1812         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1813         to auto-libm-test-in.
1814         (tgamma_test): Use ALL_RM_TEST.
1815         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1816         tests of tgamma with spurious-overflow.
1817         * math/auto-libm-test-out: Regenerated.
1818         * math/gen-libm-have-vector-test.sh: Do not check for START.
1819         * sysdeps/i386/fpu/libm-test-ulps: Update.
1820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1822         [BZ #18612]
1823         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1824         arguments, just return 0.5 times the argument, with underflow
1825         forced as needed.
1826         * math/auto-libm-test-in: Add more tests of j1.
1827         * math/auto-libm-test-out: Regenerated.
1829         [BZ #16559]
1830         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1831         (__ieee754_j1): Force underflow exception for small results.
1832         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1833         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1834         (__ieee754_j1f): Force underflow exception for small results.
1835         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1836         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1837         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1838         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1839         (__ieee754_j1l): Force underflow exception for small results.
1840         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1841         * math/auto-libm-test-in: Add more tests of j1 and jn.
1842         * math/auto-libm-test-out: Regenerated.
1844         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1845         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1846         (PF_MPLS): Likewise.
1847         (AF_IB): Likewise.
1848         (AF_MPLS): Likewise.
1849         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1850         value and macro.
1851         (MS_RMT_MASK): Include MS_LAZYTIME.
1853 2015-06-26  Mel Gorman  <mgorman@suse.de>
1855         [BZ #18502]
1856         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1857         already minimal.
1859 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1861         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1862         (DT_MIPS_NUM): Update.
1863         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1864         DT_MIPS_RLD_MAP_REL.
1866 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1868         [BZ #16559]
1869         [BZ #18602]
1870         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1871         round-to-nearest internally then recompute results that
1872         underflowed to zero in the original rounding mode.
1873         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1874         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1876         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1877         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1878         * sysdeps/i386/fpu/libm-test-ulps: Update.
1879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1881 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1883         * NEWS: Fixed description of link with vector math library.
1885 2015-06-25  Andreas Schwab  <schwab@suse.de>
1887         [BZ #18549]
1888         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1889         * libio/test-fmemopen.c (do_test): Add test for it.
1891 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1893         [BZ #17841]
1894         * Makeconfig (no-pie-ldflag): New.
1895         (+link): Set to $(+link-pie) if default to PIE.
1896         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1897         * config.make.in (build-pie-default): New.
1898         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1899         is default.  AC_SUBST.
1900         * configure: Regenerated.
1901         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1903 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1905         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1906         to 'unsigned int'.
1908         * resolv/gai_misc.h (struct waitlist): Change type of field
1909         counterp to 'volatile unsigned int *'.
1910         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1911         FUTEXADDR and OLDVAL.
1912         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1913         Give local variable TOTAL type 'volatile unsigned int'.
1914         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1915         * resolv/gai_suspend.c (gai_suspend):
1916         Give local variable CNTR type 'unsigned int'.
1918         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1919         counterp to 'volatile unsigned int *'.
1920         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1921         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1922         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1923         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1924         Give local variable TOTAL type 'volatile unsigned int'.
1925         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1927 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1929         [BZ #18383]
1930         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1931         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1932         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1933         comment for i386/x86-64.
1934         (test-xfail-tst-tlsalign-extern-static): Removed.
1936 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1938         * math/test-double.h: New file.
1939         * math/test-float.h: Likewise.
1940         * math/test-ldouble.h: Likewise.
1941         * math/test-math-inline.h: Likewise.
1942         * math/test-math-no-inline.h: Likewise.
1943         * math/test-math-scalar.h: Likewise.
1944         * math/test-math-vector.h: Likewise.
1945         * math/test-vec-loop.h: Remove file.  Contents moved into
1946         test-math-vector.h.
1947         * math/libm-test.inc (MATHCONST): Do not document macro.
1948         * math/test-double.c: Include test-double.h, test-math-no-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_DOUBLE): Likewise.
1958         (TEST_MATHVEC): Likewise.
1959         (__NO_MATH_INLINES): Likewise.
1960         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1961         and test-math-scalar.h.
1962         (FUNC): Remove macro.
1963         (FUNC_TEST): Likewise.
1964         (FLOAT): Likewise.
1965         (MATHCONST): Likewise.
1966         (PRINTF_EXPR): Likewise.
1967         (PRINTF_XEXPR): Likewise.
1968         (PRINTF_NEXPR): Likewise.
1969         (TEST_FLOAT): Likewise.
1970         (TEST_MATHVEC): Likewise.
1971         (__NO_MATH_INLINES): Likewise.
1972         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1973         and test-math-scalar.h.
1974         (FUNC): Remove macro.
1975         (FUNC_TEST): Likewise.
1976         (FLOAT): 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         (TEST_INLINE): Likewise.
1984         (__NO_MATH_INLINES): Likewise.
1985         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1986         test-math-scalar.h.
1987         (FUNC): Remove macro.
1988         (FUNC_TEST): Likewise.
1989         (FLOAT): Likewise.
1990         (MATHCONST): Likewise.
1991         (PRINTF_EXPR): Likewise.
1992         (PRINTF_XEXPR): Likewise.
1993         (PRINTF_NEXPR): Likewise.
1994         (TEST_FLOAT): Likewise.
1995         (TEST_MATHVEC): Likewise.
1996         (TEST_INLINE): Likewise.
1997         (__NO_MATH_INLINES): Likewise.
1998         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1999         and test-math-scalar.h.
2000         (FUNC): Remove macro.
2001         (FUNC_TEST): Likewise.
2002         (FLOAT): Likewise.
2003         (MATHCONST): Likewise.
2004         (PRINTF_EXPR): Likewise.
2005         (PRINTF_XEXPR): Likewise.
2006         (PRINTF_NEXPR): Likewise.
2007         (TEST_LDOUBLE): Likewise.
2008         (TEST_MATHVEC): Likewise.
2009         (TEST_INLINE): Likewise.
2010         (__NO_MATH_INLINES): Likewise.
2011         * math/test-ldouble.c: Include test-ldouble.h,
2012         test-math-no-inline.h and test-math-scalar.h.
2013         (FUNC): Remove macro.
2014         (FUNC_TEST): Likewise.
2015         (FLOAT): Likewise.
2016         (MATHCONST): Likewise.
2017         (PRINTF_EXPR): Likewise.
2018         (PRINTF_XEXPR): Likewise.
2019         (PRINTF_NEXPR): Likewise.
2020         (TEST_LDOUBLE): Likewise.
2021         (TEST_MATHVEC): Likewise.
2022         (__NO_MATH_INLINES): Likewise.
2023         * math/test-double-vlen2.h: Include test-double.h,
2024         test-math-no-inline.h and test-math-vector.h.
2025         (FLOAT): Remove macro.
2026         (FUNC): Likewise.
2027         (MATHCONST): Likewise.
2028         (PRINTF_EXPR): Likewise.
2029         (PRINTF_XEXPR): Likewise.
2030         (PRINTF_NEXPR): Likewise.
2031         (TEST_DOUBLE): Likewise.
2032         (TEST_MATHVEC): Likewise.
2033         (__NO_MATH_INLINES): Likewise.
2034         (CNCT): Likewise.
2035         (CONCAT): Likewise.
2036         (WRAPPER_NAME): Likewise.
2037         (WRAPPER_DECL): Likewise.
2038         (WRAPPER_DECL_ff): Likewise.
2039         (WRAPPER_DECL_fFF): Likewise.
2040         (VECTOR_WRAPPER): Likewise.
2041         (VECTOR_WRAPPER_ff): Likewise.
2042         (VECTOR_WRAPPER_fFF): Likewise.
2043         (VEC_LEN): New macro.
2044         * math/test-double-vlen4.h: Include test-double.h,
2045         test-math-no-inline.h and test-math-vector.h.
2046         (FLOAT): Remove macro.
2047         (FUNC): Likewise.
2048         (MATHCONST): Likewise.
2049         (PRINTF_EXPR): Likewise.
2050         (PRINTF_XEXPR): Likewise.
2051         (PRINTF_NEXPR): Likewise.
2052         (TEST_DOUBLE): Likewise.
2053         (TEST_MATHVEC): Likewise.
2054         (__NO_MATH_INLINES): Likewise.
2055         (CNCT): Likewise.
2056         (CONCAT): Likewise.
2057         (WRAPPER_NAME): Likewise.
2058         (WRAPPER_DECL): Likewise.
2059         (WRAPPER_DECL_ff): Likewise.
2060         (WRAPPER_DECL_fFF): Likewise.
2061         (VECTOR_WRAPPER): Likewise.
2062         (VECTOR_WRAPPER_ff): Likewise.
2063         (VECTOR_WRAPPER_fFF): Likewise.
2064         (VEC_LEN): New macro.
2065         * math/test-double-vlen8.h: Include test-double.h,
2066         test-math-no-inline.h and test-math-vector.h.
2067         (FLOAT): Remove macro.
2068         (FUNC): Likewise.
2069         (MATHCONST): Likewise.
2070         (PRINTF_EXPR): Likewise.
2071         (PRINTF_XEXPR): Likewise.
2072         (PRINTF_NEXPR): Likewise.
2073         (TEST_DOUBLE): Likewise.
2074         (TEST_MATHVEC): Likewise.
2075         (__NO_MATH_INLINES): Likewise.
2076         (CNCT): Likewise.
2077         (CONCAT): Likewise.
2078         (WRAPPER_NAME): Likewise.
2079         (WRAPPER_DECL): Likewise.
2080         (WRAPPER_DECL_ff): Likewise.
2081         (WRAPPER_DECL_fFF): Likewise.
2082         (VECTOR_WRAPPER): Likewise.
2083         (VECTOR_WRAPPER_ff): Likewise.
2084         (VECTOR_WRAPPER_fFF): Likewise.
2085         (VEC_LEN): New macro.
2086         * math/test-float-vlen4.h: Include test-float.h,
2087         test-math-no-inline.h and test-math-vector.h.
2088         (FLOAT): Remove macro.
2089         (FUNC): Likewise.
2090         (MATHCONST): Likewise.
2091         (PRINTF_EXPR): Likewise.
2092         (PRINTF_XEXPR): Likewise.
2093         (PRINTF_NEXPR): Likewise.
2094         (TEST_FLOAT): Likewise.
2095         (TEST_MATHVEC): Likewise.
2096         (__NO_MATH_INLINES): Likewise.
2097         (CNCT): Likewise.
2098         (CONCAT): Likewise.
2099         (WRAPPER_NAME): Likewise.
2100         (WRAPPER_DECL): Likewise.
2101         (WRAPPER_DECL_ff): Likewise.
2102         (WRAPPER_DECL_fFF): Likewise.
2103         (VECTOR_WRAPPER): Likewise.
2104         (VECTOR_WRAPPER_ff): Likewise.
2105         (VECTOR_WRAPPER_fFF): Likewise.
2106         (VEC_LEN): New macro.
2107         * math/test-float-vlen8.h: Include test-float.h,
2108         test-math-no-inline.h and test-math-vector.h.
2109         (FLOAT): Remove macro.
2110         (FUNC): Likewise.
2111         (MATHCONST): Likewise.
2112         (PRINTF_EXPR): Likewise.
2113         (PRINTF_XEXPR): Likewise.
2114         (PRINTF_NEXPR): Likewise.
2115         (TEST_FLOAT): Likewise.
2116         (TEST_MATHVEC): Likewise.
2117         (__NO_MATH_INLINES): Likewise.
2118         (CNCT): Likewise.
2119         (CONCAT): Likewise.
2120         (WRAPPER_NAME): Likewise.
2121         (WRAPPER_DECL): Likewise.
2122         (WRAPPER_DECL_ff): Likewise.
2123         (WRAPPER_DECL_fFF): Likewise.
2124         (VECTOR_WRAPPER): Likewise.
2125         (VECTOR_WRAPPER_ff): Likewise.
2126         (VECTOR_WRAPPER_fFF): Likewise.
2127         (VEC_LEN): New macro.
2128         * math/test-float-vlen16.h: Include test-float.h,
2129         test-math-no-inline.h and test-math-vector.h.
2130         (FLOAT): Remove macro.
2131         (FUNC): Likewise.
2132         (MATHCONST): Likewise.
2133         (PRINTF_EXPR): Likewise.
2134         (PRINTF_XEXPR): Likewise.
2135         (PRINTF_NEXPR): Likewise.
2136         (TEST_FLOAT): Likewise.
2137         (TEST_MATHVEC): Likewise.
2138         (__NO_MATH_INLINES): Likewise.
2139         (CNCT): Likewise.
2140         (CONCAT): Likewise.
2141         (WRAPPER_NAME): Likewise.
2142         (WRAPPER_DECL): Likewise.
2143         (WRAPPER_DECL_ff): Likewise.
2144         (WRAPPER_DECL_fFF): Likewise.
2145         (VECTOR_WRAPPER): Likewise.
2146         (VECTOR_WRAPPER_ff): Likewise.
2147         (VECTOR_WRAPPER_fFF): Likewise.
2148         (VEC_LEN): New macro.
2149         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2150         test-vec-loop.h.
2151         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2152         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2153         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2154         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2155         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2156         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2157         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2159 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2161         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2162         (__getlogin_r): ... this.
2164 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2166         [BZ #18594]
2167         * math/s_ccosh.c (__ccosh): Compare with least normal value
2168         instead of comparing class with FP_SUBNORMAL.
2169         * math/s_ccoshf.c (__ccoshf): Likewise.
2170         * math/s_ccoshl.c (__ccoshl): Likewise.
2171         * math/s_cexp.c (__cexp): Likewise.
2172         * math/s_cexpf.c (__cexpf): Likewise.
2173         * math/s_cexpl.c (__cexpl): Likewise.
2174         * math/s_csin.c (__csin): Likewise.
2175         * math/s_csinf.c (__csinf): Likewise.
2176         * math/s_csinh.c (__csinh): Likewise.
2177         * math/s_csinhf.c (__csinhf): Likewise.
2178         * math/s_csinhl.c (__csinhl): Likewise.
2179         * math/s_csinl.c (__csinl): Likewise.
2180         * math/s_ctan.c (__ctan): Likewise.
2181         * math/s_ctanf.c (__ctanf): Likewise.
2182         * math/s_ctanh.c (__ctanh): Likewise.
2183         * math/s_ctanhf.c (__ctanhf): Likewise.
2184         * math/s_ctanhl.c (__ctanhl): Likewise.
2185         * math/s_ctanl.c (__ctanl): Likewise.
2186         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2187         csin, csinh, ctan and ctanh.
2188         * math/auto-libm-test-out: Regenerated.
2189         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2190         * sysdeps/i386/fpu/libm-test-ulps: Update.
2191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2193 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2195         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2196         return value is wrong, print the expected value too.
2198 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2200         [BZ #18585]
2201         * elf/readlib.c (is_gdb_python_file): New.
2202         (process_file): Don't issue errors on filenames with -gdb.py
2203         suffix.
2205 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2207         * math/auto-libm-test-in: Add more tests of csin and csinh.
2208         * math/auto-libm-test-out: Regenerated.
2209         * math/libm-test.inc (csin_test_data): Remove tests moved to
2210         auto-libm-test-in.
2211         (csinh_test_data): Likewise.
2213         [BZ #18593]
2214         * math/s_csin.c (__csin): Negate before rather than after possibly
2215         overflowing multiplication.
2216         * math/s_csinf.c (__csinf): Likewise.
2217         * math/s_csinh.c (__csinh): Likewise.
2218         * math/s_csinhf.c (__csinhf): Likewise.
2219         * math/s_csinhl.c (__csinhl): Likewise.
2220         * math/s_csinl.c (__csinl): Likewise.
2221         * math/auto-libm-test-in: Add some tests of csin and csinh.
2222         * math/auto-libm-test-out: Regenerated.
2223         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2224         (csinh_test_data): Likewise.
2225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2227         [BZ #18586]
2228         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2229         underflow exception for small results.
2231 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2233         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2234         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2235         variable and included header.
2236         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2237         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2238         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2239         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2240         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2241         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2242         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2243         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2244         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2245         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2246         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2247         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2248         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2249         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2250         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2251         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2253 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2255         [BZ #16526]
2256         [BZ #16538]
2257         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2258         (__sin): Force underflow exception for arguments with small
2259         absolute value.
2260         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2261         (__kernel_sinf): Force underflow exception for arguments with
2262         small absolute value.
2263         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2264         (__kernel_sincosl): Force underflow exception for arguments with
2265         small absolute value.
2266         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2267         (__kernel_sinl): Force underflow exception for arguments with
2268         small absolute value.
2269         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2270         (__kernel_sincosl): Force underflow exception for arguments with
2271         small absolute value.
2272         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2273         (__kernel_sinl): Force underflow exception for arguments with
2274         small absolute value.
2275         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2276         (__kernel_sinl): Force underflow exception for arguments with
2277         small absolute value.
2278         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2279         (__kernel_sinf): Force underflow exception for arguments with
2280         small absolute value.
2281         * math/auto-libm-test-in: Add more tests of sin and sincos.
2282         * math/auto-libm-test-out: Regenerated.
2284         [BZ #18245]
2285         [BZ #18583]
2286         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2287         (__kernel_standard_l): Use feholdexcept and fesetenv around
2288         conversion to double instead of special-casing overflow and
2289         underflow.
2290         * math/libm-test.inc (fmod_test_data): Add more tests.
2291         (remainder_test_data): Likewise.
2292         (sqrt_test_data): Likewise.
2294 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2296         [BZ #17403]
2297         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2298         atomic_read_barrier, atomic_write_barrier): Define.
2299         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2300         atomic_read_barrier, atomic_write_barrier): Define.
2302 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2304         * math/Makefile [$(PERL) != no]
2305         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2306         dependency on libm-test.stmp below the inclusion of Rules.
2308 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2310         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2311         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2312         and included header.
2313         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2314         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2315         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2316         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2317         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2318         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2319         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2320         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2321         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2322         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2323         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2324         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2325         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2326         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2327         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2328         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2329         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2330         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2331         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2333 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2335         [BZ #18371]
2336         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2337         intermediate but not final result might underflow.
2338         * math/s_csqrtf.c (__csqrtf): Likewise.
2339         * math/s_csqrtl.c (__csqrtl): Likewise.
2340         * math/auto-libm-test-in: Add more tests of csqrt.
2341         * math/auto-libm-test-out: Regenerated.
2342         * sysdeps/i386/fpu/libm-test-ulps: Update.
2344         [BZ #18219]
2345         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2346         threshold on absolute value of exponent for which scaling is used.
2347         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2348         * math/auto-libm-test-in: Add more tests of exp2.
2349         * math/auto-libm-test-out: Regenerated.
2351 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2353         [BZ #17977]
2354         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2355         when initializing interface list, based on the bug analysis
2356         and the patch proposed by Eric Newton.
2357         * resolv/tst-res_hconf_reorder.c: New test.
2358         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2359         tst-res_hconf_reorder.
2360         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2361         and $(shared-thread-library).
2362         (tst-res_hconf_reorder-ENV): New variable.
2364         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2365         in comment.
2367 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2369         [BZ #16353]
2370         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2371         (__expm1): Force underflow exception for arguments with small
2372         absolute value.
2373         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2374         (__expm1f): Force underflow exception for arguments with small
2375         absolute value.
2376         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2377         (__expm1): Force underflow exception for arguments with small
2378         absolute value.
2379         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2380         (__expm1f): Force underflow exception for arguments with small
2381         absolute value.
2382         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2383         Check for small arguments before calling __expm1.
2384         * math/auto-libm-test-in: Do not mark underflow exceptions as
2385         possibly missing for bug 16353.
2386         * math/auto-libm-test-out: Regenerated.
2388 2015-06-22  Andreas Schwab  <schwab@suse.de>
2390         [BZ #18513]
2391         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2392         PTR queries.
2394 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2396         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2398         * string/strcoll_l.c: Remove unused struct element idxnow.
2400 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2402         [BZ #18569]
2403         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2404         underflow and return argument in case of subnormal argument.
2405         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2406         Likewise.
2407         * math/auto-libm-test-in: Add more tests of expm1.
2408         * math/auto-libm-test-out: Regenerated.
2410         [BZ #16361]
2411         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2412         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2413         tiny results.
2414         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2415         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2416         tiny results.
2417         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2418         mark underflow exceptions as possibly missing for bug 16361.
2419         * math/auto-libm-test-out: Regenerated.
2421 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2423         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2424         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2425         Remove variable.
2426         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2427         (test-xfail-XOPEN2K8/utmpx.h/conform).
2429         * conform/conformtest.pl ($xerrors): New variable.
2430         (note_error): New function.
2431         (compiletest): New argument $xfail.  Use not_error.
2432         (runtest): Likewise.
2433         (top level): Handle xfail- lines.  Update calls to compiletest and
2434         runtest.  Handle xfail- and optional- in headers listed with
2435         allow-header.
2436         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2437         (O_EXEC): Likewise.
2438         (O_SEARCH): Likewise.
2439         * conform/data/stropts.h-data (ioctl): Likewise.
2440         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2441         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2442         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2443         (msghdr.msg_controllen): Likewise.
2444         (cmsghdr.cmsg_len): Likewise.
2445         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2446         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2447         variable.
2448         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2449         (test-xfail-XPG4/stropts.h/conform): Likewise.
2450         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2451         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2452         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2453         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2454         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2455         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2456         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2457         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2458         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2459         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2460         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2461         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2462         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2463         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2464         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2465         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2466         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2467         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2468         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2470 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2472         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2473         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2474         definitions for proper unfolding of __MATHDECL_VEC.
2476 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2478         * benchtests/bench-strcoll.c:
2479         Include string.h.
2480         (main): Remove unused variable res.
2482 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2484         * timezone/Makefile (%/UTC %/Universal):
2485         Generate test-result files for UTC and Universal.
2487 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2489         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2491 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2493         [BZ #16350]
2494         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2495         for arguments with small absolute value.
2496         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2497         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2498         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2499         (__asinh): Force underflow exception for arguments with small
2500         absolute value.
2501         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2502         (__asinhf): Force underflow exception for arguments with small
2503         absolute value.
2504         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2505         (__asinhl): Force underflow exception for arguments with small
2506         absolute value.
2507         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2508         (__asinhl): Force underflow exception for arguments with small
2509         absolute value.
2510         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2511         (__asinhl): Force underflow exception for arguments with small
2512         absolute value.
2513         * math/auto-libm-test-in: Do not mark underflow exceptions as
2514         possibly missing for bug 16350.
2515         * math/auto-libm-test-out: Regenerated.
2517         * include/bits/ipc.h: Remove file.
2518         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2519         variable.
2520         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2521         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2522         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2523         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2524         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2525         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2526         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2527         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2528         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2530         * math/auto-libm-test-in: Remove spurious underflow allowance for
2531         tests of cexp.
2532         * math/auto-libm-test-out: Regenerated.
2534         [BZ #18558]
2535         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2536         unconditional definition.
2537         (MCAST_BLOCK_SOURCE): Likewise.
2538         (MCAST_UNBLOCK_SOURCE): Likewise.
2539         (MCAST_LEAVE_GROUP): Likewise.
2540         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2541         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2542         (MCAST_MSFILTER): Likewise.
2543         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2544         Remove variable.
2545         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2546         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2547         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2548         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2549         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2551 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2553         * NEWS: Mention addition of x86_64 vector sincosf.
2554         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2555         * math/test-float-vlen4.h: Likewise.
2556         * math/test-float-vlen8.h: Likewise.
2557         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2558         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2559         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2560         * sysdeps/x86_64/fpu/Versions: New versions added.
2561         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2562         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2563         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2564         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2565         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2566         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2567         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2568         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2569         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2570         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2571         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2572         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2573         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2574         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2575         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2576         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2577         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2578         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2579         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2580         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2581         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2582         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2583         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2584         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2586         * NEWS: Mention addition of x86_64 vector sincos.
2587         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2588         * math/math.h (__MATHDECL_VEC): New macro.
2589         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2590         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2591         declaration under condition.
2592         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2593         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2594         TEST_VEC_LOOP change.
2595         * math/test-double-vlen4.h: Likewise.
2596         * math/test-double-vlen8.h: Likewise.
2597         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2598         * math/test-float-vlen4.h: Likewise.
2599         * math/test-float-vlen8.h: Likewise.
2600         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2601         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2602         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2603         * sysdeps/x86_64/fpu/Versions: New versions added.
2604         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2605         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2606         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2607         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2608         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2609         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2610         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2611         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2612         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2613         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2614         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2615         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2616         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2617         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2618         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2619         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2620         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2621         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2622         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2624         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2625         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2626         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2627         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2629         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2630         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2631         redirections for powf.
2632         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2633         * sysdeps/x86_64/fpu/Versions: New versions added.
2634         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2635         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2636         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2637         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2638         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2639         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2640         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2641         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2642         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2643         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2644         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2645         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2646         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2647         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2648         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2649         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2650         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2651         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2652         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2653         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2654         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2655         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2656         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2657         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2658         * math/test-float-vlen16.h: Fixed 2 argument macro.
2659         * math/test-float-vlen4.h: Likewise.
2660         * math/test-float-vlen8.h: Likewise.
2661         * NEWS: Mention addition of x86_64 vector powf.
2663 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2665         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2666         and redefine.
2667         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2668         and redefine.
2669         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2670         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2671         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2673         [BZ #18553]
2674         * resource/getpriority.c (getpriority): Rename to __getpriority
2675         and define as weak alias of __getpriority.
2676         * resource/setpriority.c (setpriority): Rename to __setpriority
2677         and define as weak alias of __setpriority.
2678         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2679         __getpriority and define as weak alias of __getpriority.
2680         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2681         __setpriority and define as weak alias of __setpriority.
2682         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2683         strong name.
2684         (setpriority): Use __setpriority as strong name.
2685         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2686         __getpriority and define as weak alias of __getpriority.
2687         * include/sys/resource.h (__getpriority): Declare.  Use
2688         libc_hidden_proto.
2689         (__setpriority): Likewise.
2690         (getpriority): Don't use libc_hidden_proto.
2691         (setpriority): Likewise.
2692         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2693         getpriority.  Call __setpriority instead of setpriority.
2694         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2695         Remove variable.
2697         [BZ #18547]
2698         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2699         as weak alias of __getttynam.  Use prototype function definition.
2700         Call __setttyent, __getttyent and __endttyent instead of
2701         setttyent, getttyent and endttyent.
2702         (getttyent): Rename to __getttyent and define as weak alias of
2703         __getttyent.  Call __setttyent instead of setttyent.  Call
2704         __fgets_unlocked instead of fgets_unlocked.
2705         (setttyent): Rename to __setttyent and define as weak alias of
2706         __setttyent.
2707         (endttyent): Rename to __endttyent and define as weak alias of
2708         __endttyent.
2709         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2710         (__setttyent): Likewise.
2711         (__endttyent): Likewise.
2712         (getttyent): Don't use libc_hidden_proto.
2713         (setttyent): Likewise.
2714         (endttyent): Likewise.
2715         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2716         __endttyent instead of setttyent, getttyent and endttyent.
2717         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2718         Remove variable.
2720         [BZ #18546]
2721         * socket/recv.c (__recv): Use libc_hidden_def.
2722         * socket/socket.c (__socket): Likewise.
2723         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2724         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2725         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2726         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2727         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2728         libc_hidden_def.
2729         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2730         libc_hidden_weak.
2731         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2732         Use libc_hidden_proto.
2733         (__recv): Likewise.
2734         * socket/Versions (libc): Export __recv and __socket at version
2735         GLIBC_PRIVATE.
2736         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2737         instead of recv.
2738         (init_mq_netlink): Call __socket instead of socket.
2739         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2740         Remove variable.
2742         [BZ #18545]
2743         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2744         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2745         hidden_weak.
2746         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2747         define as alias of __mq_timedsend.  Use hidden_weak.
2748         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2749         __mq_timedsend as strong name.
2750         (mq_timedreceive): Use __mq_timedreceive as strong name.
2751         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2752         (__mq_timedreceive): Likewise.
2753         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2754         __mq_timedreceive instead of mq_timedreceive.
2755         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2756         instead of mq_timedsend.
2757         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2758         Remove variable.
2760         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2761         hidden_def and hidden_weak instead of libc_hidden_def and
2762         libc_hidden_weak.
2763         (top level): Refer to hidden_def in comment.
2764         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2765         macro.  Use it instead of libc_hidden_def.
2766         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2767         specify __GI_* name explicitly.
2768         (mq_timedreceive): Likewise.
2769         (mq_setattr): Likewise.
2771         [BZ #18544]
2772         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2773         __pthread_barrier_init and define as weak alias of
2774         __pthread_barrier_init.
2775         * sysdeps/sparc/nptl/pthread_barrier_init.c
2776         (pthread_barrier_init): Likewise.
2777         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2778         __pthread_barrier_wait and define as weak alias of
2779         __pthread_barrier_wait.
2780         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2781         (pthread_barrier_wait): Likewise.
2782         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2783         (pthread_barrier_wait): Likewise.
2784         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2785         (pthread_barrier_wait): Likewise.
2786         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2787         (pthread_barrier_wait): Likewise.
2788         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2789         __pthread_barrier_wait at version GLIBC_PRIVATE.
2790         * include/pthread.h (__pthread_barrier_init): Declare.
2791         (__pthread_barrier_wait): Likewise.
2792         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2793         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2794         (helper_thread): Likewise.
2795         (init_mq_netlink): Call __pthread_barrier_init instead of
2796         pthread_barrier_init.
2798         [BZ #18542]
2799         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2800         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2801         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2802         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2803         vswscanf.
2804         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2805         Remove variable.
2807         [BZ #18540]
2808         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2809         strong alias of _IO_fflush.  Use libc_hidden_def.
2810         * libio/iofflush_u.c (fflush_unlocked): Rename to
2811         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2812         Use libc_hidden_weak.
2813         * include/stdio.h (__fflush_unlocked): Declare.  Use
2814         libc_hidden_proto.
2815         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2816         fflush_unlocked.
2817         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2818         Remove variable.
2820         [BZ #18539]
2821         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2822         define as weak alias of __addseverity.
2823         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2824         Remove variable.
2825         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2826         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2827         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2829         [BZ #18536]
2830         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2831         (__tfind): Likewise.
2832         (__tdelete): Likewise.
2833         (__twalk): Likewise.
2834         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2835         __twalk to GLIBC_PRIVATE.
2836         * include/search.h (__tsearch): Use libc_hidden_proto.
2837         (__tfind): Likewise.
2838         (__tdelete): Likewise.
2839         (__twalk): Likewise.
2840         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2841         Call __tdelete instead of tdelete.
2842         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2843         tfind.  Call __tsearch instead of tsearch.
2844         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2845         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2846         Remove variable.
2847         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2849         [BZ #18534]
2850         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2851         (dprintf): Define as a weak alias of __dprintf, not a strong
2852         alias.
2853         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2854         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2855         dprintf.
2856         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2857         Remove variable.
2858         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2859         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2861         [BZ #18533]
2862         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2863         not a strong alias.
2864         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2865         Remove variable.
2867         [BZ #18532]
2868         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2869         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2870         (in6addr_loopback): Rename to __in6addr_loopback and define as
2871         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2872         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2873         libc_hidden_proto.
2874         (__in6addr_any): Likewise.
2875         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2876         in6addr_any.
2877         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2878         variable.
2879         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2881 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2883         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2884         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2885         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2886         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2887         redirections for pow.
2888         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2889         * sysdeps/x86_64/fpu/Versions: New versions added.
2890         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2891         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2892         build of SSE, AVX2 and AVX512 IFUNC versions.
2893         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2894         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2895         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2896         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2897         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2898         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2899         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2900         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2901         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2902         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2903         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2904         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2905         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2906         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2907         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2908         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2909         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2910         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2911         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2912         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2913         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2914         * NEWS: Mention addition of x86_64 vector pow.
2916         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2917         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2918         redirections for expf.
2919         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2920         * sysdeps/x86_64/fpu/Versions: New versions added.
2921         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2922         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2923         build of SSE, AVX2 and AVX512 IFUNC versions.
2924         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2925         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2926         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2927         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2928         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2929         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2930         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2931         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2932         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2933         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2934         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2935         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2936         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2937         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2938         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2939         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2940         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2941         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2942         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2943         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2944         * NEWS: Mention addition of x86_64 vector expf.
2946         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2947         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2948         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2949         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2950         redirections for exp.
2951         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2952         * sysdeps/x86_64/fpu/Versions: New versions added.
2953         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2954         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2955         build of SSE, AVX2 and AVX512 IFUNC versions.
2956         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2957         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2958         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2959         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2960         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2961         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2962         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2963         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2964         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2965         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2966         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2967         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2968         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2969         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2970         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2971         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2972         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2973         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2974         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2975         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2976         * NEWS: Mention addition of x86_64 vector exp.
2978         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2979         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2980         redirections for logf.
2981         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2982         * sysdeps/x86_64/fpu/Versions: New versions added.
2983         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2984         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2985         build of SSE, AVX2 and AVX512 IFUNC versions.
2986         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2987         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2988         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2989         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2990         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2991         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2992         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2993         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2994         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2995         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2996         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2997         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2998         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2999         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3000         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3001         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3002         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3003         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3004         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3005         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3006         * NEWS: Mention addition of x86_64 vector logf.
3008         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3009         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3010         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3011         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3012         redirections for log.
3013         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3014         * sysdeps/x86_64/fpu/Versions: New versions added.
3015         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3016         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3017         build of SSE, AVX2 and AVX512 IFUNC versions.
3018         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3019         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3020         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3021         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3022         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3023         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3024         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3025         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3026         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3027         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3028         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3029         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3030         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3031         test.
3032         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3033         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3034         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3035         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3036         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3037         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3038         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3039         * NEWS: Mention addition of x86_64 vector log.
3041 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3043         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3044         cfi_adjust_cfa_offset argument.
3045         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3046         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3048         [BZ #18034]
3049         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3050         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3051         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3052         ordering using ldar.
3053         (_dl_tlsdesc_dynamic): Likewise.
3054         (_dl_tlsdesc_return_lazy): Likewise.
3055         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3056         relaxed atomics instead of volatile and synchronize with release store.
3057         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3058         volatile.
3059         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3061 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3063         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3064         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3065         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3066         * sysdeps/x86_64/fpu/Versions: New versions added.
3067         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3068         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3069         build of SSE, AVX2 and AVX512 IFUNC versions.
3070         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3071         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3072         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3073         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3074         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3075         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3076         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3077         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3078         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3079         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3080         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3081         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3082         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3083         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3084         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3085         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3086         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3087         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3088         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3089         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3090         * NEWS: Mention addition of x86_64 vector sinf.
3092 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3094         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3095         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3096         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3097         Remove variable.
3098         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3099         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3101 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3103         [BZ #18530]
3104         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3105         strong alias of _IO_fputs.  Use libc_hidden_def.
3106         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3107         and define as weak alias of __fputs_unlocked.  Use
3108         libc_hidden_weak.
3109         * include/stdio.h (__fputs_unlocked): Declare.  Use
3110         libc_hidden_proto.
3111         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3112         fputs_unlocked.
3114         [BZ #18529]
3115         * resolv/netdb.h [__USE_POSIX]: Change condition to
3116         [__USE_XOPEN2K].
3117         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3118         not expect.
3119         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3120         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3121         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3122         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3123         [XPG4 || UNIX98] (AI_ALL): Likewise.
3124         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3125         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3126         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3127         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3128         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3129         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3130         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3131         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3132         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3133         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3134         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3135         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3136         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3137         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3138         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3139         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3140         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3141         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3142         [XPG4 || UNIX98] (gai_strerror): Likewise.
3143         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3144         [XPG4 || UNIX98] (getnameinfo): Likewise.
3146         [BZ #18528]
3147         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3148         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3149         __USE_XOPEN2K8].
3150         (getgrent): Likewise.
3151         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3152         expect.
3153         [XPG3 || POSIX2008] (endgrent): Likewise.
3154         [XPG3] (setgrent): Likewise.
3155         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3156         variable.
3157         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3159         [BZ #18527]
3160         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3161         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3162         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3163         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3164         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3165         * include/unistd.h (__getlogin_r): Declare.  Use
3166         libc_hidden_proto.
3167         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3168         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3169         variable.
3170         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3171         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3172         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3174 2015-06-12  Martin Sebor  <msebor@redhat.com>
3176         [BZ #18512]
3177         * Makerules (check-install-supported): New target.
3178         (install): Add check-install-supported as a dependency.
3179         * manual/install.texi (Installing the C Library): Document
3180         that overriding prefix and exec_prefix is not supported.
3181         Mention DESTDIR.
3182         * INSTALL: Regenerate from the above.
3184 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3186         [BZ #18519]
3187         * posix/Versions (libc): Export __libc_pread at version
3188         GLIBC_PRIVATE.
3189         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3190         instead of pread.
3191         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3192         variable.
3194         [BZ #18522]
3195         * misc/efgcvt_r.c
3196         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3197         (cvt_symbol): Use weak_alias instead of strong_alias.
3198         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3199         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3200         Remove variable.
3201         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3202         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3204         [BZ #18520]
3205         * inet/herrno.c (h_errno): Rename to __h_errno.
3206         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3207         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3208         to __h_errno instead of h_errno.
3209         * nptl/herrno.c (h_errno): Rename to __h_errno.
3210         (__h_errno_location): Refer to __h_errno not h_errno.
3211         * resolv/Versions (h_errno): Rename to __h_errno.
3212         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3213         Remove variable.
3214         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3216 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3218         * configure.ac: More strict check for AVX512 assembler support.
3219         * configure: Regenerated.
3221         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3222         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3223         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3224         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3225         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3226         * sysdeps/x86_64/fpu/Versions: New versions added.
3227         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3228         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3229         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3230         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3231         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3233         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3234         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3235         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3236         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3237         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3238         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3239         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3240         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3241         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3242         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3243         test.
3244         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3245         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3247         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3248         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3249         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3250         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3251         * NEWS: Mention addition of x86_64 vector sin.
3253 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3255         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3256         comment.
3258 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3260         [BZ #18479]
3261         * nptl/pt-interp.c: New file.
3262         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3263         Add pt-interp.
3264         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3265         $(common-objpfx)runtime-linker.h.
3267 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3269         * Makeconfig (+interp): Remove unused variable.
3270         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3271         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3272         $(elf-objpfx)runtime-linker.h.
3273         ($(elf-objpfx)runtime-linker.h): Rename to
3274         $(common-objpfx)runtime-linker.h and move ...
3275         * Makerules [$(build-shared) = yes]: ... here.
3276         * elf/interp.c: Include <runtime-linker.h> instead of
3277         <elf/runtime-linker.h>.
3279 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3281         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3282         (__gettimeofday_syscall): Remove vsyscall fallback.
3283         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3284         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3285         Add syscall fallback function.
3286         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3287         if vDSO is not present.
3288         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3289         fallback function.
3290         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3291         present.
3292         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3293         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3295 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3297         [BZ #18497]
3298         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3299         of wcscmp.
3300         (wcscmp): Define as weak alias of WCSCMP.
3301         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3302         wcscoll.
3303         (USE_HIDDEN_DEF): Define.
3304         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3305         __wcscoll.  Don't use libc_hidden_weak.
3306         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3307         wcscmp.
3308         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3309         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3310         __GI_wcscmp.
3311         (weak_alias): Undefine and redefine.
3312         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3313         __wcscmp and define as weak alias of __wcscmp.
3314         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3315         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3316         (__wcscoll): Likewise.
3317         (wcscmp): Don't use libc_hidden_proto.
3318         (wcscoll): Likewise.
3319         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3320         wcscoll.
3321         * posix/regexec.c (check_node_accept_bytes): Likewise.
3322         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3323         variable.
3324         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3325         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3327         [BZ #18507]
3328         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3329         __fstatvfs and define as weak alias of __fstatvfs.  Use
3330         libc_hidden_weak.
3331         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3332         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3333         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3334         Define as alias of __fstatvfs, not fstatvfs.
3335         (fstatvfs64): Likewise.
3336         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3337         Define as alias of __statvfs, not statvfs.
3338         (statvfs64): Likewise.
3339         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3340         Remove variable.
3342 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3345         (HAVE_GETCPU_VSYSCALL): Define.
3346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3347         (HAVE_GETCPU_VSYSCALL): Likewise.
3348         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3349         * sysdeps/unix/sysv/linux/sched_getcpu.c
3350         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3351         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3352         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3353         prototype.
3354         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3355         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3356         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3358         Define.
3359         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3360         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3361         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3362         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3364 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3366         * sysdeps/x86_64/fpu/Makefile: New file.
3367         * sysdeps/x86_64/fpu/Versions: New file.
3368         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3369         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3370         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3371         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3372         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3373         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3374         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3375         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3376         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3377         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3378         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3379         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3380         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3381         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3382         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3383         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3384         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3385         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3386         * sysdeps/x86_64/configure: Regenerated.
3387         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3388         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3389         * manual/install.texi (Configuring and compiling): Document
3390         --disable-mathvec.
3391         * INSTALL: Regenerated.
3392         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3394         * math/Makefile: Added rules for vector tests.
3395         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3396         declaration under condition.
3397         * math/test-double-vlen2.h: New file.
3398         * math/test-double-vlen4.h: New file.
3399         * math/test-double-vlen8.h: New file.
3400         * math/test-vec-loop.h: Added initialization macro.
3401         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3402         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3403         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3404         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3405         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3406         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3407         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3408         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3409         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3410         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3411         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3413         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3414         * sysdeps/x86_64/fpu/Versions: New versions added.
3415         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3416         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3417         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3418         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3419         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3420         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3421         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3422         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3423         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3424         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3425         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3426         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3427         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3428         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3429         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3430         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3431         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3432         * NEWS: Mention addition of x86_64 vector cosf.
3434         * math/Makefile: Added CFLAGS for new tests.
3435         * math/test-float-vlen16.h: New file.
3436         * math/test-float-vlen4.h: New file.
3437         * math/test-float-vlen8.h: New file.
3438         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3439         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3440         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3441         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3442         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3443         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3444         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3445         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3446         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3447         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3448         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3450 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3452         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3453         * locale/programs/ld-ctype.c: Likewise.
3455 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3457         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3458         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3459         bit_ZMM16_31_state): New macro.
3460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3461         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3463 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3465         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3467 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3469         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3471 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3473         [BZ #18498]
3474         * libio/memstream.c (open_memstream): Rename to __open_memstream
3475         and define as weak alias of __open_memstream.
3476         * include/stdio.h (__open_memstream): Declare.  Use
3477         libc_hidden_proto.
3478         (open_memstream): Don't use libc_hidden_proto.
3479         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3480         open_memstream.
3481         * posix/getopt.c (_getopt_internal_r): Likewise.
3482         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3483         variable.
3484         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3485         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3486         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3488         [BZ #18496]
3489         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3490         instead of wcrtomb.
3492         [BZ #18483]
3493         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3494         [__USE_XOPEN2K8].  Remove redundant #endif.
3495         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3496         Remove redundant #if.
3497         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3498         Remove variable.
3499         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3500         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3502         [BZ #18495]
3503         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3504         (__iswlower): Likewise.
3505         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3506         (__iswlower): Likewise.
3507         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3508         instead of towlower.
3509         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3510         instead of iswlower.  Call __towupper instead of towupper.
3511         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3512         instead of iswalnum.
3514 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3516         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3517         errors to stderr.
3519 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3521         [BZ #15661]
3522         [BZ #17322]
3523         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3524         Check for overflow properly.  Check for O_APPEND.  Ignore large
3525         file system block sizes.  Add comments about problems.
3526         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3527         * manual/filesys.texi (Storage Allocation): New node.
3529 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3531         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3532         cancellable syscalls.
3533         (SYS_ify): Add guard to no redefine it.
3534         (INLINE_SYSCALL): Likewise.
3535         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3536         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3537         SYSCALL_CANCEL instead.
3538         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3539         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3540         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3541         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3542         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3543         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3544         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3545         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3546         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3547         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3548         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3549         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3550         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3551         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3552         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3553         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3554         Likewise.
3555         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3556         (__libc_pread64): Likewise.
3557         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3558         (__libc_preadv): Likewise.
3559         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3560         (__libc_readv64): Likewise.
3561         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3562         (__libc_pwrite): Likewise.
3563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3564         (__libc_pwrite64): Likewise.
3565         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3566         (__libc_pwritev): Likewise.
3567         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3568         (__libc_pwritev64): Likewise.
3569         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3570         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3571         (sync_file_range): Likewise.
3572         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3573         Likewise.
3574         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3575         Likewise.
3576         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3577         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3578         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3579         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3580         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3581         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3582         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3583         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3585         Likewise.
3586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3587         (__libc_read64): Likewise.
3588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3589         Likewise.
3590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3591         Likewise.
3592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3593         Likewise.
3594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3595         Likewise.
3596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3597         (__libc_pread64): Likewise.
3598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3599         Likewise.
3600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3601         (__libc_pwrite64): Likewise.
3602         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3603         (sync_file_range): Likewise.
3604         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3605         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3606         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3607         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3608         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3609         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3610         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3611         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3612         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3613         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3614         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3615         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3616         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3617         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3618         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3619         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3620         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3621         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3622         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3623         Likewise.
3624         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3625         Likewise.
3626         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3627         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3628         Likewise.
3629         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3630         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3631         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3632         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3633         Likewise.
3634         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3635         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3636         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3637         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3638         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3640 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3642         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3643         Include dl-vdso.
3644         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3645         Use VDSO routines for gettimeofday, clock_gettime if
3646         available.
3647         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3648         Declare VDSO symbols.
3649         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3650         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3651         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3652         * sysdeps/unix/sysv/linux/arm/Versions: Add
3653         __vdso_clock_gettime.
3655 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3657         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3658         be an inline implementation regardless of library is built within.
3659         (open_not_cancel_2): Likewise.
3660         (__read_nocancel): Likewise.
3661         (__write_nocancel): Likewise.
3662         (openat_not_cancel): Likewise.
3663         (openat_not_cancel_3): Likewise.
3664         (openat64_not_cancel): Likewise.
3665         (openat64_not_cancel_3): Likewise.
3666         (__close_nocancel): Likewise.
3667         (pause_not_cancel): Likewise.
3668         (nanosleep_not_cancel): Likewise.
3669         (sigsuspend_not_cancel): Likewise.
3671 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3673         [BZ #14958]
3674         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3675         wake-up.
3676         (__pthread_rwlock_rdlock_slow): Likewise.
3677         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3678         Likewise.
3679         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3680         Likewise.
3681         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3682         * nptl/tst-rwlock16.c: New file.
3683         * nptl/Makefile (tests): Add new test.
3685 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3687         [BZ #18324]
3688         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3689         missing wake-up of readers.
3690         * nptl/tst-rwlock15.c: New file.
3691         * nptl/Makefile (tests): Add new test.
3693 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3695         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3696         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3697         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3698         and __nacl_supply_interface_rtld.
3699         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3700         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3701         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3702         Add __nacl_supply_interface_rtld.
3703         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3705 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3707         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3708         isfinite.
3709         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3710         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3712 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3714         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3715         __signbit* with standard C99 macros.
3716         * math/e_exp10l.c: Likewise.
3717         * math/e_exp2l.c: Likewise.
3718         * math/e_scalb.c: Likewise.
3719         * math/e_scalbf.c: Likewise.
3720         * math/e_scalbl.c: Likewise.
3721         * math/s_ldexp.c: Likewise.
3722         * math/s_ldexpf.c: Likewise.
3723         * math/s_ldexpl.c: Likewise.
3724         * math/w_atan2.c: Likewise.
3725         * math/w_atan2f.c: Likewise.
3726         * math/w_atan2l.c: Likewise.
3727         * math/w_cosh.c: Likewise.
3728         * math/w_coshf.c: Likewise.
3729         * math/w_coshl.c: Likewise.
3730         * math/w_exp10.c: Likewise.
3731         * math/w_exp10f.c: Likewise.
3732         * math/w_exp10l.c: Likewise.
3733         * math/w_exp2.c: Likewise.
3734         * math/w_exp2f.c: Likewise.
3735         * math/w_exp2l.c: Likewise.
3736         * math/w_fmod.c: Likewise.
3737         * math/w_fmodf.c: Likewise.
3738         * math/w_fmodl.c: Likewise.
3739         * math/w_hypot.c: Likewise.
3740         * math/w_hypotf.c: Likewise.
3741         * math/w_hypotl.c: Likewise.
3742         * math/w_jnl.c: Likewise.
3743         * math/w_lgamma.c: Likewise.
3744         * math/w_lgamma_r.c: Likewise.
3745         * math/w_lgammaf.c: Likewise.
3746         * math/w_lgammaf_r.c: Likewise.
3747         * math/w_lgammal.c: Likewise.
3748         * math/w_lgammal_r.c: Likewise.
3749         * math/w_pow.c: Likewise.
3750         * math/w_powf.c: Likewise.
3751         * math/w_powl.c: Likewise.
3752         * math/w_remainder.c: Likewise.
3753         * math/w_remainderf.c: Likewise.
3754         * math/w_remainderl.c: Likewise.
3755         * math/w_scalb.c: Likewise.
3756         * math/w_scalbf.c: Likewise.
3757         * math/w_scalbl.c: Likewise.
3758         * math/w_scalbln.c: Likewise.
3759         * math/w_scalblnf.c: Likewise.
3760         * math/w_scalblnl.c: Likewise.
3761         * math/w_sinh.c: Likewise.
3762         * math/w_sinhf.c: Likewise.
3763         * math/w_sinhl.c: Likewise.
3764         * math/w_tgamma.c: Likewise.
3765         * math/w_tgammaf.c: Likewise.
3766         * math/w_tgammal.c: Likewise.
3767         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3768         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3769         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3770         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3771         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3772         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3773         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3774         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3775         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3776         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3777         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3778         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3779         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3780         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3781         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3782         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3783         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3784         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3785         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3786         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3787         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3788         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3789         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3790         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3791         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3792         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3793         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3794         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3795         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3796         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3797         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3798         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3799         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3800         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3801         * stdio-common/printf_fp.c: Likewise.
3802         * stdio-common/printf_fphex.c: Likewise.
3803         * stdio-common/printf_size.c: Likewise.
3805 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3807         [BZ #18470]
3808         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3809         strnlen.
3810         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3811         Remove variable.
3812         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3813         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3814         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3815         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3816         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3817         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3818         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3819         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3820         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3821         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3823         [BZ #18468]
3824         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3825         weak alias of __wmemchr.  Use libc_hidden_weak.
3826         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3827         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3828         instead of wmemchr.
3830 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3832         [BZ #18383]
3833         * elf/tst-tlsalign-extern.c: New file.
3834         * elf/tst-tlsalign-extern-static.c: New file.
3835         * elf/tst-tlsalign-vars.c: New file.
3836         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3837         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3838         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3839         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3840         (test-xfail-tst-tlsalign-extern-static): New variable.
3842 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3844         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3845         Use variable name _sc_err instead of err.
3846         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3847         instead of ret.
3848         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3849         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3850         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3851         (INLINE_SYSCALL): Likewise.
3853         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3854         * include/string.h (__strnlen): Use libc_hidden_proto.
3855         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3856         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3857         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3858         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3859         (libc_hidden_def): Undefine and redefine.
3860         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3861         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3862         __GI_strnlen.
3863         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3864         libc_hidden_def.
3865         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3867         [BZ #18469]
3868         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3869         weak alias of __towlower.  Use libc_hidden_weak.
3870         (towupper): Rename to __towupper and define as weak alias of
3871         __towupper.  Use libc_hidden_weak.
3872         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3873         (__towupper): Likewise.
3874         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3875         __towlower instead of towlower.
3877 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3879         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3880         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3882 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3884         * sysdeps/aarch64/libm-test-ulps: Update.
3886 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3888         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3889         Define.
3890         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3891         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3892         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3893         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3894         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3895         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3896         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3898 2015-06-01  Martin Sebor  <msebor@redhat.com>
3900         [BZ #18116]
3901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3902         (__setcontext): Use extended four-operand version of mtsf whenever
3903         possible.
3904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3905         (__novec_swapcontext): Likewise.
3907 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3909         * benchtests/scripts/compare_bench.py: New file.
3910         * benchtests/scripts/import_bench.py (mean): New function.
3911         (split_list): Likewise.
3912         (do_for_all_timings): Likewise.
3913         (compress_timings): Likewise.
3915         * benchtests/scripts/import_bench.py: New file.
3916         * benchtests/scripts/validate_benchout.py: Import import_bench
3917         instead of jsonschema.
3918         (validate_bench): Remove function.
3919         (main): Use import_bench.
3921 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3923         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3924         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3926 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3930 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3932         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3933         set THREAD_SELF->tid to a magic value and futex-wake it.
3934         Pass its address to the thread_exit system call.
3935         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3936         bit is clear.
3937         * sysdeps/nacl/lowlevellock.h: New file.
3938         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3940         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3941         Add TIMEOUT to current time, don't subtract it.
3943 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3945         [BZ #2981]
3946         [BZ #18422]
3947         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3948         ($(objpfx)tst-audit2.out): Also depend on
3949         $(objpfx)tst-auditmod9b.so.
3950         * elf/tst-audit2.c: Include <dlfcn.h>.
3951         (calloc_called): New.
3952         (calloc): Allow to be called more than once.
3953         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3955 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3957         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3958         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3960 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3962         * stdlib/monetary.h: Fix comment.
3964 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3966         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3967         Avoid using variables in #defines that might cause shadowing.
3968         (INTERNAL_VSYSCALL_CALL): Likewise.
3970 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3972         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3974         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3975         * nptl/lll_timedlock_wait.c: ... to this new file.
3976         * nptl/Makefile (libpthread-routines): Add it.
3977         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3978         * nptl/lll_timedwait_tid.c: ... to this new file.
3979         * nptl/Makefile (libpthread-routines): Add it.
3980         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3981         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3982         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3983         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3984         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3985         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3986         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3987         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3988         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3989         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3991 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3993         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3994         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3995         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3997         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3998         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3999         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4000         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4001         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4002         * sysdeps/unix/sysv/linux/tile/sysdep.h
4003         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4004         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4005         using vDSO syscall macro.
4007 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4009         [BZ #17293]
4010         * uk_UA: Fix sorting order for Ukrainian locale
4012 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4014         * stdlib/monetary.h: Fix comment.
4016 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4018         [BZ #18234]
4019         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4020         st_mtim and st_ctim members.
4021         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4022         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4023         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4024         (struct stat64): Likewise.
4025         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4026         (struct stat64): Likewise.
4027         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4028         (struct stat64): Likewise.
4030 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4032         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4033         Define and include sysdep-vdso.h.
4034         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4035         Likewise.
4036         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4037         Likewise.
4038         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4039         Define with VDSO_SYMBOL and use PTR_MANGLE.
4040         (__vdso_clock_gettime): Likewise.
4041         (__vdso_clock_getres): Likewise.
4042         (_libc_vdso_platform_setup): Likewise.
4043         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4044         Likewise.
4045         (_libc_vdso_platform_setup): Likewise.
4046         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4047         Likewise.
4048         (__vdso_clock_gettime): Likewise.
4049         (__vdso_clock_getres): Likewise.
4050         (__vdso_get_tbfreq): Likewise.
4051         (__vdso_getcpu): Likewise.
4052         (__vdso_time): Likewise.
4053         (__vdso_sigtramp_rt64): Likewise.
4054         (__vdso_signtramp32): Likewise.
4055         (__vdso_sigtramp_rt32): Likewise.
4056         (_libc_vdso_platform_setup): Likewise.
4057         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4058         Likewise.
4059         (__vdso_clock_gettime): Likewise.
4060         (__vdso_clock_getres): Likewise.
4061         (_libc_vdso_platform_setup): Likewise.
4062         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4063         Likewise.
4064         (__vdso_clock_gettime): Likewise.
4065         (_libc_vdso_platform_setup): Likewise.
4066         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4067         Likewise.
4068         (__vdso_getcpu): Likewise.
4069         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4070         Use VDSO_SYMBOL macro to define.
4071         (__vdso_clock_gettime): Likewise.
4072         (__vdso_clock_getres): Likewise.
4073         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4074         Likewise.
4075         (__vdso_clock_gettime): Likewise.
4076         (__vdso_clock_getres): Likewise.
4077         (__vdso_get_tbfreq): Likewise.
4078         (__vdso_getcpu): Likewise.
4079         (__vdso_time): Likewise.
4080         (__vdso_sigtramp_rt64): Likewise.
4081         (__vdso_signtramp32): Likewise.
4082         (__vdso_sigtramp_rt32): Likewise.
4083         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4084         Likewise.
4085         (__vdso_clock_gettime): Likewise.
4086         (__vdso_clock_getres): Likewise.
4087         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4088         Likewise.
4089         (__vdso_clock_gettime): Likewise.
4090         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4091         Likewise.
4092         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4093         macro.
4094         (INTERNAL_VSYSCALL): Likewise.
4095         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4096         Remove macro.
4097         (INTERNAL_VSYSCALL): Likewise.
4098         (INTERNAL_VSYSCALL_NCS): Likewise.
4099         (INTERNAL_VSYSCALL_CALL): New macro.
4100         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4101         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4102         Likewise.
4103         (INTERNAL_VSYSCALL): Likewise.
4104         (INTERNAL_VSYSCALL_NCS): Likewise.
4105         (INTERNAL_VSYSCALL_CALL): New macro.
4106         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4108         (INLINE_VSYSCALL): Remove macro.
4109         (INTERNAL_VSYSCALL): Remove macro.
4110         (INTERNAL_VSYSCALL_NCS): Remove macro.
4111         (INTERNAL_VSYSCALL_CALL): New macro.
4112         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4113         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4114         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4115         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4116         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4118         (INLINE_VSYSCALL): Remove macro.
4119         (INTERNAL_VSYSCALL): Likewise.
4120         (INTERNAL_VSYSCALL_NCS): Likewise.
4121         (INTERNAL_VSYSCALL_CALL): New macro.
4122         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4123         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4124         PTR_DEMANGLE on vDSO pointer.
4125         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4126         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4127         macro.
4128         (INTERNAL_SYSCALL): Likewise.
4129         (INTERNAL_VSYSCALL_NCS): Remove macro.
4130         (INTERNAL_VSYSCALL_CALL): New macro.
4131         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4132         Remove macro.
4133         (INTERNAL_VSYSCALL): Likewise.
4134         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4135         sysdep-vdso.h instead of libc-vdso.h.
4136         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4137         definition.
4138         (INLINE_VSYSCALL): Likewise.
4139         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4140         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4141         definition.
4142         (INLINE_VSYSCALL): Likewise.
4143         (INTERNAL_VSYSCALL): Likewise.
4144         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4145         * sysdeps/unix/sysv/linux/timespec_get.c
4146         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4147         (timespec_get): Use ANSI prototype.
4148         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4149         and definition for Linux.
4151 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4153         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4154         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4156 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4158         [BZ #2981]
4159         [BZ #18410]
4160         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4161         for missing DT_PLTRELSZ.
4163 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4165         Remove obsolete aliases that broke 'locale -a'
4166         [BZ #18412]
4167         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4168         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4169         breaking some applications that use 'locale -a' output.
4170         Change the encoding of this file from Latin-1 to ASCII to avoid
4171         other potential problems with people grepping this file.
4173 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4175         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4176         -fasynchronous-unwind-tables.
4177         (CFLAGS-sendto.c): Likewise.
4178         (CFLAGS-sendmsg.c): Likewise.
4179         (CFLAGS-connect.c): Likewise.
4180         (CFLAGS-recvmsg.c): Likewise.
4181         (CFLAGS-recvfrom.c): Likewise.
4182         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4183         (SOCKETCALL): New macro: non-cancellable socketcall.
4184         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4185         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4186         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4187         * sysdeps/unix/sysv/linux/accept.c: New file.
4188         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4189         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4190         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4191         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4192         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4193         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4194         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4195         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4196         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4197         * sysdeps/unix/sysv/linux/send.c: Likewise.
4198         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4199         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4200         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4201         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4202         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4203         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4204         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4205         prototype.
4206         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4207         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4208         instead of __internal_xxx function.
4209         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4210         prototype.
4211         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4212         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4213         instead of __internal_xxx function.
4214         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4215         prototype.
4216         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4217         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4218         instead of __internal_xxx function.
4219         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4220         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4221         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4222         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4223         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4224         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4225         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4226         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4227         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4228         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4229         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4230         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4231         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4232         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4233         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4234         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4235         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4236         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4237         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4238         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4241         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4242         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4243         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4244         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4245         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4246         * sysdeps/unix/sysv/linux/send.S: Likewise.
4247         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4248         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4249         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4250         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4251         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4252         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4253         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4254         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4255         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4256         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4257         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4258         socketcall is implemented in GLIBC.
4260 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4262         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4263         (__fma): Ignore uninitialized warnings around packing.
4264         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4265         (__fmaf): Ignore uninitialized warnings around packing.
4266         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4267         (__fmal): Ignore uninitialized warnings around packing.
4269         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4270         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4271         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4272         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4274         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4275         switch statement into default case.
4276         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4278         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4279         a conditional in forcing "inexact".
4280         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4281         Likewise.
4283 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4285         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4286         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4287         for each INTERNAL_SYSCALL use.
4289 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4291         [BZ #438]
4292         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4293         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4294         variable.
4296         [BZ #18444]
4297         * string/basename.c (basename): Rename to __basename and define as
4298         weak alias of __basename.  Use libc_hidden_weak.
4299         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4300         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4301         __basename instead of basename.
4302         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4303         Remove variable.
4304         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4306 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4308         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4309         (_IO_JUMPS_FILE_plus): New.
4310         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4311         _IO_CAST_FIELD_ACCESS.
4312         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4313         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4314         * libio/freopen.c (freopen): Likewise.
4315         * libio/freopen64.c (freopen64): Likewise.
4316         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4317         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4318         * libio/iofwide.c (_IO_fwide): Likewise.
4319         * libio/memstream.c (open_memstream): Likewise.
4320         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4321         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4322         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4324 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4326         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4327         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4328         NADJ.
4329         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4330         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4331         NADJ.
4332         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4333         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4334         NADJ.
4336         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4337         (p == 4) case.
4339         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4340         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4341         Remove variable.
4342         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4343         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4344         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4346 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4348         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4349         Adjust jump table label generation macros.
4351 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4353         * stdio-common/vfprintf.c (vfprintf): Move local variables
4354         args_malloced, specs, specs_malloced, and the code after
4355         do_positional to the printf_positional function.
4356         (printf_positional): New function.
4358 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4360         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4361         function.
4362         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4363         STEP4_TABLE, process_arg): Move macro definitions
4364         out of the vfprintf function.  (Cosmetic change only.)
4366 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4368         * benchtests/Makefile (stdio-common-bench): Define.
4369         (benchset): Add stdio-common-bench.
4370         * sprintf-inputs: New file.
4371         * sprintf-source.c: New file.
4373 2015-05-21  Andreas Schwab  <schwab@suse.de>
4375         [BZ #13028]
4376         [BZ #17053]
4377         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4378         of struct __res_state.
4379         * resolv/res_send.c (__libc_res_nsend): Likewise.
4380         (get_nsaddr): New function.
4381         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4382         statp directly.
4384 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4386         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4387         -D_POSIX_C_SOURCE=199506L.
4389         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4391         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4392         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4393         Do not mention otherwise.
4394         [POSIX] (_XOPEN_VERSION): Do not expect.
4395         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4396         [POSIX] (_POSIX2_C_BIND): Likewise.
4397         [POSIX] (_POSIX2_VERSION): Likewise.
4398         [POSIX] (_XOPEN_XPG2): Likewise.
4399         [POSIX] (_XOPEN_XPG3): Likewise.
4400         [POSIX] (_XOPEN_XPG4): Likewise.
4401         [POSIX] (_XOPEN_UNIX): Likewise.
4402         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4403         [POSIX] (_POSIX_BARRIERS): Likewise.
4404         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4405         [POSIX] (_POSIX_CPUTIME): Likewise.
4406         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4407         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4408         [POSIX] (_POSIX_SHELL): Likewise.
4409         [POSIX] (_POSIX_SPAWN): Likewise.
4410         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4411         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4412         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4413         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4414         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4415         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4416         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4417         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4418         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4419         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4420         [POSIX] (_POSIX2_PBS): Likewise.
4421         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4422         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4423         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4424         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4425         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4426         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4427         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4428         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4429         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4430         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4431         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4432         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4433         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4434         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4435         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4436         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4437         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4438         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4439         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4440         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4441         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4442         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4443         [POSIX] (_SC_2_C_BIND): Likewise.
4444         [POSIX] (_SC_2_C_VERSION): Likewise.
4445         [POSIX] (_SC_2_PBS): Likewise.
4446         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4447         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4448         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4449         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4450         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4451         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4452         [POSIX] (_SC_BARRIERS): Likewise.
4453         [POSIX] (_SC_BASE): Likewise.
4454         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4455         [POSIX] (_SC_DEVICE_IO): Likewise.
4456         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4457         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4458         [POSIX] (_SC_FD_MGMT): Likewise.
4459         [POSIX] (_SC_FIFO): Likewise.
4460         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4461         [POSIX] (_SC_FILE_LOCKING): Likewise.
4462         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4463         [POSIX] (_SC_IOV_MAX): Likewise.
4464         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4465         [POSIX] (_SC_NETWORKING): Likewise.
4466         [POSIX] (_SC_PAGE_SIZE): Likewise.
4467         [POSIX] (_SC_PASS_MAX): Likewise.
4468         [POSIX] (_SC_PIPE): Likewise.
4469         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4470         [POSIX] (_SC_REGEXP): Likewise.
4471         [POSIX] (_SC_SHELL): Likewise.
4472         [POSIX] (_SC_SIGNALS): Likewise.
4473         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4474         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4475         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4476         [POSIX] (_SC_USER_GROUPS): Likewise.
4477         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4478         [POSIX] (_SC_STREAMS): Likewise.
4479         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4480         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4481         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4482         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4483         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4484         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4485         [POSIX] (_PC_FILESIZEBITS): Likewise.
4486         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4487         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4488         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4489         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4490         [POSIX] (uid_t): Likewise.
4491         [POSIX] (gid_t): Likewise.
4492         [POSIX] (off_t): Likewise.
4493         [POSIX] (pid_t): Likewise.
4494         [POSIX] (cuserid): Allow.
4495         (_SC_2_CHAR_TERM): Require constant.
4496         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4497         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4498         variable.
4500 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4502         * sysdeps/nacl/pthread-pids.h: New file.
4503         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4504         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4506         * nptl/pthread-pids.h: New file.
4507         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4508         * nptl/nptl-init.c: Include <pthread-pids.h>.
4509         (__pthread_initialize_minimal_internal):
4510         Call __pthread_initialize_pids instead of set_tid_address syscall.
4512         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4513         * sysdeps/posix/usleep.c: ... here.
4515 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4517         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4518         call_pselect6 object.
4519         [$(subdir) = io]: Remove call_sync_file_range object.
4520         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4521         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4522         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4523         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4525 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4527         * math/s_cproj.c: Add include "math_private.h".
4528         * math/s_cprojf.c: Likewise.
4529         * math/s_cprojl.c: Likewise.
4531 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4533         [BZ #18244]
4534         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4535         high mantissa bit when testing whether P is a NaN.
4536         * math/libm-test.inc (remainder_test_data): Add more tests.
4537         (remquo_test_data): Likewise.
4539         [BZ #18049]
4540         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4541         below -32, return the argument, with underflow if subnormal.
4542         * math/auto-libm-test-in: Add more tests of atanh.
4543         * math/auto-libm-test-out: Regenerated.
4545 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4547         [BZ #18434]
4548         * nptl/tst-sem15.c: New file.
4549         * nptl/Makefile (tests): Add it.
4550         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4551         s/<</>>/ to fix typo in EOVERFLOW check.
4552         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4554 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4556         * manual/strings.texi (envz_remove): Fix typo in safety
4557         annotations.
4559 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4560             Steve Ellcey  <sellcey@imgtec.com>
4562         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4563         in order to avoid strict alias warnings.
4564         (iruserok_af): Ditto for ra.
4566 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4568         [BZ #17581]
4569         * malloc/hooks.c
4570         (magicbyte): Convert to a function and avoid returning 0x01.
4571         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4572         (mem2chunk_check): Fix unsigned comparisons to zero.
4573         Hoist defs of sz and magic.
4575 2015-05-19  Richard Henderson  <rth@redhat.com>
4577         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4579         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4581 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4583         [BZ #16159]
4584         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4585         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4586         (reused_arena): Find a non-corrupt arena.
4587         (heap_trim): Pass arena to unlink.
4588         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4589         malloc_printerr.
4590         (top_check): Likewise.
4591         (free_check): Likewise.
4592         (realloc_check): Likewise.
4593         * malloc/malloc.c (malloc_printerr): Add arena argument.
4594         (unlink): Likewise.
4595         (munmap_chunk): Adjust.
4596         (ARENA_CORRUPTION_BIT): New macro.
4597         (arena_is_corrupt): Likewise.
4598         (set_arena_corrupt): Likewise.
4599         (sysmalloc): Use mmap if there are no usable arenas.
4600         (_int_malloc): Likewise.
4601         (__libc_malloc): Don't fail if arena_get returns NULL.
4602         (_mid_memalign): Likewise.
4603         (__libc_calloc): Likewise.
4604         (__libc_realloc): Adjust for additional argument to
4605         malloc_printerr.
4606         (_int_free): Likewise.
4607         (malloc_consolidate): Likewise.
4608         (_int_realloc): Likewise.
4609         (_int_memalign): Don't touch corrupt arenas.
4610         * malloc/tst-malloc-backtrace.c: New test case.
4612         * Makefile (summarize-tests): Fix return value on success.
4614         * manual/string.texi (Envz Functions): Add envz_remove.
4616 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4618         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4619         (invalid_name): New function, broken out of ...
4620         (__opendirat): ... here.  Call it.
4621         (need_isdir_precheck): New function, broken out of ...
4622         (__opendirat): ... here.  Call it.
4623         Use __fxstatat64, not __xstatat64.
4624         (opendir_oflags): New function, broken out of ...
4625         (__opendirat): ... here.  Call it.
4626         (opendir_tail): New function, broken out of ...
4627         (__opendirat): ... here.  Call it.
4628         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4629         opendir_tail, rather than punting to __opendirat.
4630         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4632 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4634         * .gitignore: Ignore generated *.pyc.
4636 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4638         * include/stdio.h: Define __need_wint_t.
4639         * test-skeleton.c: Avoid `for' loop initial declaration.
4640         * nptl/tst-initializers1.c: Use test-skeleton.c.
4642 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4644         [BZ #18418]
4645         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4647 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4649         [BZ #16352]
4650         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4651         (__ieee754_atanh): Force underflow exception for results with
4652         small absolute value.
4653         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4654         (__ieee754_atanhf): Force underflow exception for results with
4655         small absolute value.
4656         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4657         (__ieee754_atanh): Force underflow exception for results with
4658         small absolute value.
4659         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4660         (__ieee754_atanhf): Force underflow exception for results with
4661         small absolute value.
4662         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4663         (__ieee754_atanhl): Force underflow exception for results with
4664         small absolute value.
4665         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4666         (__ieee754_atanhl): Force underflow exception for results with
4667         small absolute value.
4668         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4669         (__ieee754_atanhl): Force underflow exception for results with
4670         small absolute value.
4671         * math/auto-libm-test-in: Do not allow missing underflow
4672         exceptions from atanh.
4673         * math/auto-libm-test-out: Regenerated.
4675         [BZ #18221]
4676         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4677         2**-28 as threshold for returning x or +/- 1/x.
4678         * math/auto-libm-test-in: Add more tests of tan.
4679         * math/auto-libm-test-out: Regenerated.
4681         [BZ #18220]
4682         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4683         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4684         * math/auto-libm-test-in: Add another test of lgamma.
4685         * math/auto-libm-test-out: Regenerated.
4687 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4689         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4690         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4691         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4692         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4693         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4694         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4695         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4696         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4697         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4698         (log1): Use fabs.  (my_log2): Use fabs.
4699         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4700         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4701         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4702         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4703         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4704         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4705         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4706         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4707         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4708         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4709         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4711 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4713         [BZ #18217]
4714         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4715         as threshold for returning 1 - x.
4716         * math/auto-libm-test-in: Add more tests of erfc.
4717         * math/auto-libm-test-out: Regenerated.
4719 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4721         [BZ #18196]
4722         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4723         threshold for large arguments.
4724         * math/auto-libm-test-in: Add another test of atan.
4725         * math/auto-libm-test-out: Regenerated.
4727         [BZ #16339]
4728         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4729         (__log1p): Force underflow exception for results with small
4730         absolute value.
4731         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4732         (__log1pf): Force underflow exception for results with small
4733         absolute value.
4734         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4735         (__log1p): Force underflow exception for results with small
4736         absolute value.
4737         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4738         (__log1pf): Force underflow exception for results with small
4739         absolute value.
4740         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4741         (__log1pl): Force underflow exception for results with small
4742         absolute value.
4743         * math/auto-libm-test-in: Do not allow missing underflow
4744         exceptions from log1p.
4745         * math/auto-libm-test-out: Regenerated.
4747 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4748             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4750         [BZ #16704]
4751         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4753 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4755         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4756         (libmvec): New variable.
4757         * configure.ac: Added option for mathvec build.
4758         * configure: Regenerated.
4759         * mathvec/Depend: New file.
4760         * mathvec/Makefile: New file.
4761         * shlib-versions: Added libmvec.
4762         * math/Makefile: Added rule for libm.so installation.
4764         * bits/math-vector.h: New file.
4765         * bits/libm-simd-decl-stubs.h: New header.
4766         * math/Makefile (headers): Added new header
4767         libm-simd-decl-stubs.h.
4768         * math/math.h (__MATHCALL_VEC): New macro.
4770         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4771         for conditions in testing functions.
4772         * math/Makefile: Added call of libm-have-vector-test.sh.
4773         * math/libm-test.inc (HAVE_VECTOR): New macros.
4775         * math/libm-test.inc: START refactored.
4776         * math/test-double.c (TEST_MATHVEC): Add define.
4777         * math/test-float.c: Likewise.
4778         * math/test-idouble.c: Likewise.
4779         * math/test-ifloat.c: Likewise.
4780         * math/test-ildoubl.c: Likewise.
4781         * math/test-ldouble.c: Likewise.
4782         * sysdeps/generic/math-tests-arch.h
4783         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4784         architecture check.
4786         * math/test-double.c (FUNC_TEST): New macro.
4787         * math/test-float.c: Likewise.
4788         * math/test-idouble.c: Likewise.
4789         * math/test-ifloat.c: Likewise.
4790         * math/test-ildoubl.c: Likewise.
4791         * math/test-ldouble.c: Likewise.
4792         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4794 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4796         * sysdeps/nacl/fdopendir.c: New file.
4798         * dirent/scandir-tail.c: New file.
4799         * dirent/scandir64-tail.c: New file.
4800         * dirent/Makefile (routines): Add them.
4801         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4802         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4803         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4804         [!SCANDIR] (SCANDIR_TAIL): New macro.
4805         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4806         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4807         (SCANDIRAT): Macro removed.
4808         (SCANDIR_TAIL): New macro.
4809         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4810         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4811         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4812         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4813         (READDIR): Macro removed.
4814         (SCANDIR_TAIL): New macro.
4815         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4816         (SCANDIR_TAIL): New macro.
4818         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4819         * dirent/scandir-cancel.c: ... to this new file.
4820         * dirent/Makefile (routines): Add it.
4821         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4822         * sysdeps/unix/sysv/linux/i386/scandir64.c
4823         (SKIP_SCANDIR_CANCEL): Macro removed.
4824         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4826         * dirent/tst-scandir.c: New file.
4827         * dirent/tst-scandir64.c: New file.
4828         * dirent/Makefile (tests): Add them.
4830 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4832         [BZ #18409]
4833         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4835 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4837         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4838         list.
4840 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4842         * benchtests/bench-strcoll.c: New benchmark.
4843         * benchtests/Makefile: Generate locales and run benchmark.
4844         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4845         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4846         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4847         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4848         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4849         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4850         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4851         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4852         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4853         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4854         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4855         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4856         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4857         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4858         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4859         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4860         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4861         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4862         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4863         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4864         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4865         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4866         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4867         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4869 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4871         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4872         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4874 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4876         * posix/uname-values.h: New file.
4877         * posix/uname.c: Include that instead of <config-name.h>.
4878         * sysdeps/nacl/uname-values.h: New file.
4879         * sysdeps/arm/nacl/uname-values.h: New file.
4881 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4883         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4884         splitting into fields.
4886 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4888         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4889         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4890         * locale/localeinfo.h: Add enum collation_encoding_type.
4891         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4892         * programs/ld-collate.c (collate_output): Add encoding type info.
4893         * string/strcoll_l.c (STRDIFF): New function.
4894         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4895         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4897 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4899         [BZ #18397]
4900         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4901         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4902         <fpu_control.h> instead of <math/fpu_control.c>.
4903         * sysdeps/mips/mips32/fpu/Makefile: New file.
4905 2015-05-11  Andreas Schwab  <schwab@suse.de>
4907         [BZ #18007]
4908         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4909         nss_endgrent.
4910         (_nss_compat_endgrent): Call nss_endgrent.
4911         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4912         nss_endpwent.
4913         (_nss_compat_endpwent): Call nss_endpwent.
4914         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4915         needent, call nss_setspent only if non-zero.
4916         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4917         (internal_endspent): Don't call nss_endspent.
4918         (_nss_compat_endspent): Call nss_endspent.
4919         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4920         Remove.  All uses removed.
4921         (internal_setent): Remove parameter stayopen, add parameter
4922         stream.  Use it instead of global variable.
4923         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4924         (internal_endent, internal_getent): Add parameter stream.  Use it
4925         instead of global variable.
4926         (CONCAT(_nss_files_end,ENTNAME))
4927         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4928         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4929         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4930         uses removed.
4931         (internal_setent, internal_endent): Add parameter stream.  Use it
4932         instead of global variable.
4933         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4934         stream.
4935         (get_next_alias): Add parameter stream.
4936         (_nss_files_getaliasent_r): Pass global stream.
4937         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4938         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4939         (_nss_files_gethostbyname4_r): Pass local stream to
4940         internal_setent, internal_getent and internal_endent.  Remove
4941         locking.
4943 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4945         * tst-strfmon1.c (tests): Update expected currency symbol.
4947 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4949         * sysdeps/nacl/gethostname.c: New file.
4951 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4953         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4954         and sinh.
4955         * math/auto-libm-test-out: Regenerated.
4956         * sysdeps/i386/fpu/libm-test-ulps: Update.
4957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4959 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4961         [BZ #18125]
4962         * stdlib/tst-setcontext3.c: New file.
4963         * stdlib/tst-setcontext3.sh: New file.
4964         * stdlib/Makefile (tests): Add tst-setcontext3.
4965         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4966         to verify test program created output file.
4967         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4968         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4969         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4970         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4972 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4974         [BZ #18383]
4975         * elf/tst-tlsalign.c: New file.
4976         * elf/tst-tlsalign-static.c: New file.
4977         * elf/tst-tlsalign-lib.c: New file.
4978         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4979         (tests-static): Add tst-tlsalign-static.
4980         (modules-names): Add tst-tlsalign-lib.
4981         (test-xfail-tst-tlsalign): New variable.
4982         (test-xfail-tst-tlsalign-static): New variable.
4984         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4985         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4987 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4989         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4990         csqrt, erfc, sin and sincos.
4991         * math/auto-libm-test-out: Regenerated.
4992         * sysdeps/i386/fpu/libm-test-ulps: Update.
4993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4995 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4997         * sysdeps/aarch64/libm-test-ulps: Update.
4999 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5001         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5002         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5003         * math/auto-libm-test-out: Regenerated.
5004         * sysdeps/i386/fpu/libm-test-ulps: Update.
5005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5007 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5009         [BZ #18265]
5010         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5011         (wcsncpy): Likewise.
5013 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5015         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5016         Assume __ASSUME_FALLOCATE is always true.
5017         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5018         (__posix_fallocate64_l64): Likweise.
5019         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5020         (posix_fallocate): Likewise.
5021         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5022         (__posix_fallocate64_l64): Likewise.
5023         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5024         [!__ASSUME_FALLOCATE]: Add comment.
5026 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5028         * sysdeps/unix/sysv/linux/i386/Makefile
5029         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5030         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5031         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5032         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5033         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5034         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5035         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5037 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5039         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5040         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5041         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5048         * math/auto-libm-test-in: Add more tests of tgamma.
5049         * math/auto-libm-test-out: Regenerated.
5050         * sysdeps/i386/fpu/libm-test-ulps: Update.
5051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5053         * math/auto-libm-test-in: Add more tests of tanh.
5054         * math/auto-libm-test-out: Regenerated.
5055         * sysdeps/i386/fpu/libm-test-ulps: Update.
5056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5058         * math/auto-libm-test-in: Add more tests of tan.
5059         * math/auto-libm-test-out: Regenerated.
5060         * sysdeps/i386/fpu/libm-test-ulps: Update.
5061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5063         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5064         * math/auto-libm-test-out: Regenerated.
5065         * sysdeps/i386/fpu/libm-test-ulps: Update.
5066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5068         * math/auto-libm-test-in: Add another test of pow.
5069         * math/auto-libm-test-out: Regenerated.
5070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5072         * math/auto-libm-test-in: Add more tests of lgamma.
5073         * math/auto-libm-test-out: Regenerated.
5074         * sysdeps/i386/fpu/libm-test-ulps: Update.
5075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5077         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5078         log1p.
5079         * math/auto-libm-test-out: Regenerated.
5080         * sysdeps/i386/fpu/libm-test-ulps: Update.
5081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5083 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5085         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5086         Elf64_Chdr structs and ELFCOMPRESS constants.
5088 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5090         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5091         expm1.
5092         * math/auto-libm-test-out: Regenerated.
5093         * sysdeps/i386/fpu/libm-test-ulps: Update.
5094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5096         * math/auto-libm-test-in: Add more tests of erf and erfc.
5097         * math/auto-libm-test-out: Regenerated.
5098         * sysdeps/i386/fpu/libm-test-ulps: Update.
5099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5101 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5103         * config.h.in (HAVE_AARCH64_BE): Add.
5105 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5107         * math/auto-libm-test-in: Add more tests of csqrt.
5108         * math/auto-libm-test-out: Regenerated.
5109         * sysdeps/i386/fpu/libm-test-ulps: Update.
5110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5112         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5113         * math/auto-libm-test-out: Regenerated.
5114         * sysdeps/i386/fpu/libm-test-ulps: Update.
5115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5117         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5119 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5121         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5122         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5124         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5125         (euidaccess, eaccess): Define as weak aliases.
5127         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5128         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5129         but __suseconds_t is often 'long int' so some sources assume that
5130         type is being used (e.g. they use %ld to print tv_usec).
5132 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5134         [BZ #18007]
5135         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5136         (CVE-2014-8121)
5137         * nss/tst-nss-getpwent.c: New file.
5138         * nss/Makefile (tests): Add new test.
5140 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5142         [BZ #18346]
5143         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5144         exponents less than 48 as cases where high part of mantissa needs
5145         examining to determine whether argument is integral.
5146         * math/libm-test.inc (round_test_data): Add more tests.
5148 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5150         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5152 2015-04-27  David S. Miller  <davem@davemloft.net>
5154         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5155         __tls_get_addr.
5156         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5158 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5160         [BZ#18333]
5161         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5163 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5165         [BZ#18333]
5166         * time/tzset.c (parse_tzname): Return error on memory allocation
5167         failure.
5168         * test-skeleton.c (struct temp_name_list): Change type of name
5169         member to non-const.
5170         (add_temp_file): Create a copy of the file name.
5171         (delete_temp_files): Deallocate memory.
5172         (create_temp_file): Add comment.
5174 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5176         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5177         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5179 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5181         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5182         * sysdeps/arm/configure: Regenerated.
5184 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5186         [BZ #17715]
5187         * time/tzfile.c (__tzfile_read): Check for large values of
5188         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5189         * time/tzset.c (__tzstring_len): New function, based on the old
5190         __tzstring function.
5191         (__tzstring): Call __tzstring_len.
5192         (parse_tzname): New helper function extracted from
5193         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5194         the input string.
5195         (parse_offset): New helper function extracted from
5196         __tzset_parse_tz.  Replace switch with fallthrough with
5197         initialization before sscanf.
5198         (parse_rule): Likewise.
5199         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5200         new-style function definition.
5201         * timezone/Makefile (tests): Add tst-tzset.
5202         (tst-tzset.out): Dependencies on time zone files.
5203         (tst-tzset-ENV): Set TZDIR.
5204         (testdata/XT%): Copy crafted time zone files.
5205         * timezone/README: Mention crafted time zone files.
5206         * timezone/testdata/XT1, timezone/testdata/XT2,
5207         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5208         files.
5209         * timezone/tst-tzset.c: New test.
5211 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5213         * Makeconfig (+gccwarn): Remove -Winline.
5215 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5217         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5219 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5221         * NEWS: Mention sysconf() cache information support for s390.
5222         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5224 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5226         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5227         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5228         (__nearbyint): Likewise.
5229         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5230         (copysignl): Likewise.
5232 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5234         [BZ #18287]
5235         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5236         based on padding.  (CVE-2015-1781)
5238 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5240         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5241         libc-vdso.h.
5242         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5243         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5244         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5245         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5246         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5247         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5248         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5249         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5250         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5251         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5252         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5253         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5254         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5255         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5256         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5257         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5258         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5259         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5260         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5261         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5262         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5263         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5264         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5266 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5268         * stdlib/setenv.c (__add_to_environ):
5269         Dump core quickly if setenv (..., NULL, ...) is called.
5270         This time, do it the right way, and pacify GCC with a pragma.
5272 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5274         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5275         IMAP->l_prev cannot be null, and #if out the code for the contrary
5276         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5277         believe that NS (&_dl_ns[NSID]) could point outside the array.
5279         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5280         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5281         before using NSID as an index.
5283 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5285         [BZ #17825]
5286         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5287         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5288         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5290 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5292         Add preliminary port to Google Native Client on ARM.
5293         * abi-tags (.*-.*-nacl.*): New entry.
5294         * sysdeps/arm/nacl: New directory.
5295         * sysdeps/nacl: New directory.
5297 2015-04-16  David S. Miller  <davem@davemloft.net>
5299         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5300         lowlevellock-futex.h
5302 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5304         * sysdeps/tile/configure.ac: New file.
5305         * sysdeps/tile/configure: Regenerated.
5307 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5309         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5310         conditionals for weak_alias and libc_hidden_weak.
5311         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5312         libc_hidden_weak and weak_alias.
5313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5314         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5315         and weak_alias for static one.
5317 2015-04-15  David S. Miller  <davem@davemloft.net>
5319         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5321 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5323         [BZ #18206]
5324         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5325           Use signed comparision instead of substraction to avoid
5326           overflow bug.
5327         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5328           Take the sign of ret.
5329         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5330           Do not expect precise return values. Only the sign matters.
5331         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5332         * wcsmbs/test-wcsncmp.c: New File.
5333         * string/test-strncmp.c: Add wcsncmp support.
5335 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5337         [BZ #6792]
5338         * math/w_log1p.c: New file.
5339         * math/w_log1pf.c: Likewise.
5340         * math/w_log1pl.c: Likewise.
5341         * math/Makefile (libm-calls): Add w_log1p.
5342         * math/s_log1pl.c (log1pl): Remove weak_alias.
5343         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5344         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5345         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5346         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5347         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5348         [NO_LONG_DOUBLE] (log1pl): Likewise.
5349         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5350         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5351         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5352         (log1p): Remove long_double_symbol.
5353         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5354         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5355         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5356         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5357         remove weak_alias for corresponding log1p function.
5358         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5359         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5360         * sysdeps/ia64/fpu/w_log1p.c: New file.
5361         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5362         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5363         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5365 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5367         [BZ #18247]
5368         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5369         decimal exponent by 1.
5370         * stdlib/tst-strtod-round-data: Add more tests.
5371         * stdlib/tst-strtod-round.c (tests): Regenerated.
5373 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5375         * math/auto-libm-test-in: Add more tests of clog and clog10.
5376         * math/auto-libm-test-out: Regenerated.
5377         * sysdeps/i386/fpu/libm-test-ulps: Update.
5378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5380 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5382         * Makeconfig (module-cppflags): Exclude all .v.i files.
5383         (skip-module-cppflags): Variable removed.
5385         * configure.ac (libc_config_ok): Initialize before reading
5386         preconfigure scripts, not after.
5387         * configure: Regenerated.
5389         * test-skeleton.c (TIMEOUT): Move #define to top level.
5390         (main): Grok environment variable TEST_DIRECT.  If set, print
5391         test expectation details into that file and then behave as if
5392         given --direct.
5394 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5396         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5397         warning on 32-bit.
5399 2015-04-08  David S. Miller  <davem@davemloft.net>
5401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5403 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5405         * math/auto-libm-test-in: Add more tests of atanh.
5406         * math/auto-libm-test-out: Regenerated.
5407         * sysdeps/i386/fpu/libm-test-ulps: Update.
5408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5410         * math/auto-libm-test-in: Add more tests of atan.
5411         * math/auto-libm-test-out: Regenerated.
5412         * sysdeps/i386/fpu/libm-test-ulps: Update.
5413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5415 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5417         * elf/pldd.c (main): Rewrite to use struct
5418         scratch_buffer instead of extend_alloca.
5419         * elf/pldd-xx.c (find_maps): Likewise.
5420         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5421         <alloca.h>.
5422         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5423         scratch_buffer instead of extend_alloca.
5424         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5425         grp/compat-initgroups.c.
5426         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5427         Rewrite to use struct scratch_buffer instead of extend_alloca.
5428         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5429         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5431 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5433         * math/auto-libm-test-in: Add more tests of cbrt.
5434         * math/auto-libm-test-out: Regenerated.
5435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5437         * math/auto-libm-test-in: Add more tests of cabs.
5438         * math/auto-libm-test-out: Regenerated.
5439         * sysdeps/i386/fpu/libm-test-ulps: Update.
5440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5442         [BZ #18210]
5443         [BZ #18211]
5444         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5445         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5446         computations.
5447         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5448         clog10.
5449         * math/auto-libm-test-out: Regenerated.
5450         * sysdeps/i386/fpu/libm-test-ulps: Update.
5451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5453         [BZ #18197]
5454         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5455         (atan): Set FE_TONEAREST mode for internal computations.
5456         * math/auto-libm-test-in: Add more tests of atan.
5457         * math/auto-libm-test-out: Regenerated.
5459 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5461         [BZ #17930]
5462         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5464 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5466         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5468 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5470         * include/scratch_buffer.h: New file.
5471         * malloc/scratch_buffer_grow.c: Likewise.
5472         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5473         * malloc/scratch_buffer_set_array_size.c: Likewise.
5474         * malloc/tst-scratch_buffer.c: Likewise.
5475         * malloc/Makefile (routines): Add scratch_buffer_grow.
5476         (tests): Add test case.
5477         * malloc/Versions (GLIBC_PRIVATE): Export
5478         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5479         __libc_scratch_buffer_set_array_size.
5481 2015-04-06  Richard Henderson  <rth@redhat.com>
5483         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5484         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5486         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5487         unsigned int before printing.
5489 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5491         [BZ #17596]
5492         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5493         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5495 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5497         * include/libc-internal.h (libc_max_align_t): Define.
5499 2015-04-02  Andreas Schwab  <schwab@suse.de>
5501         [BZ #16850]
5502         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5504 2015-04-02  Mel Gorman  <mgorman@suse.de>
5506         [BZ #17195]
5507         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5508         as well as the main arena.
5510 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5512         [BZ #18185]
5513         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5514         sharing L2 cache to 2 for Silvermont/Knights Landing.
5516 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5518         [BZ #17711]
5519         * config.make.in (have-protected-data): New.
5520         * configure.ac: Check linker support for protected data symbol.
5521         * configure: Regenerated.
5522         * elf/Makefile (modules-names): Add tst-protected1moda and
5523         tst-protected1modb if $(have-protected-data) is yes.
5524         (tests): Add tst-protected1a and tst-protected1b if
5525         $(have-protected-data) is yes.
5526         ($(objpfx)tst-protected1a): New.
5527         ($(objpfx)tst-protected1b): Likewise.
5528         (tst-protected1modb.so-no-z-defs): Likewise.
5529         * elf/tst-protected1a.c: New file.
5530         * elf/tst-protected1b.c: Likewise.
5531         * elf/tst-protected1mod.h: Likewise.
5532         * elf/tst-protected1moda.c: Likewise.
5533         * elf/tst-protected1modb.c: Likewise.
5535 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5537         [BZ #17711]
5538         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5539         indicates it is called from do_lookup_x on relocation against
5540         protected data, skip the data definion in the executable from
5541         copy reloc.
5542         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5543         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5544         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5545         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5546         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5547         otherwise to 0.
5548         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5549         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5550         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5551         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5552         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5553         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5555 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5557         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5558         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5560 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5562         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5563         THREAD_SETMEM_NC.
5564         * sysdeps/x86_64/nptl/tls.h: Ditto.
5566 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5568         * dlfcn/tststatic.c (main): Converted to ...
5569         (do_test): ... this.
5570         (TEST_FUNCTION): New macro.
5571         Include test-skeleton.c.
5573 2015-03-26  Alan Modra  <amodra@gmail.com>
5575         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5576         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5577         zero for undefined weak.
5578         (elf_machine_plt_conflict): Similarly.
5580 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5582         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5583         atanh.
5584         * math/auto-libm-test-out: Regenerated.
5585         * sysdeps/i386/fpu/libm-test-ulps: Update.
5586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5588         * math/auto-libm-test-in: Add another test of asin.
5589         * math/auto-libm-test-out: Regenerated.
5590         * sysdeps/i386/fpu/libm-test-ulps: Update.
5591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5593         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5594         Remove macro.
5595         (LLL_EBX_REG): Likewise.
5596         (LLL_ENTER_KERNEL): Likewise.
5598         * math/auto-libm-test-in: Add more tests of asin.
5599         * math/auto-libm-test-out: Regenerated.
5600         * sysdeps/i386/fpu/libm-test-ulps: Update.
5601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5603         [BZ #18138]
5604         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5605         libc_do_syscall_args): New structure.
5606         (INTERNAL_SYSCALL_MAIN_0): New macro.
5607         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5608         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5609         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5610         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5611         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5612         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5613         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5614         Replace conditional definitions by conditional definitions of ....
5615         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5616         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5617         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5618         (libpthread-sysdep_routines): Add libc-do-syscall.
5619         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5620         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5621         to __NR_futex not 240.
5623 2015-03-25  Alan Modra  <amodra@gmail.com>
5625         * NEWS: Advertise TLS optimization.
5626         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5627         (DT_PPC_NUM): Increment.
5628         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5629         (CHECK_STATIC_TLS): Use here.
5630         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5631         TLS descriptors.
5632         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5633         * sysdeps/powerpc/dl-tls.c: New file.
5634         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5635         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5636         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5637         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5642 2015-03-25  Alan Modra  <amodra@gmail.com>
5644         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5645         for overlapping .opd entries" to "support...".
5646         * sysdeps/powerpc/powerpc64/configure: Regenerate
5648 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5650         * math/auto-libm-test-in: Add more tests of acos.
5651         * math/auto-libm-test-out: Regenerated.
5652         * sysdeps/i386/fpu/libm-test-ulps: Update.
5653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5655         * math/auto-libm-test-in: Add more tests of expm1.
5656         * math/auto-libm-test-out: Regenerated.
5657         * sysdeps/i386/fpu/libm-test-ulps: Update.
5658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5660 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5662         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5663         * math/auto-libm-test-out: Regenerated.
5664         * sysdeps/i386/fpu/libm-test-ulps: Update.
5665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5667         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5670         * math/auto-libm-test-in: Add more tests of log2.
5671         * math/auto-libm-test-out: Regenerated.
5672         * sysdeps/i386/fpu/libm-test-ulps: Update.
5673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5675 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5677         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5678         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5679         _IO_IS_APPENDING bit in READ_WRITE instead.
5681 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5683         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5684         (__determine_cpumask_size): Replace extend_alloca with a
5685         variable-length array.  Do not treat res == 0 as an error.
5687 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5689         [BZ #18100]
5690         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5691         and integer overflow.
5692         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5693         (main): Add integer overflow tests.
5694         * manual/pattern.texi (Calling Wordexp): Document additional use
5695         for WRDE_SYNTAX.
5697 2015-03-23  Alan Modra  <amodra@gmail.com>
5699         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5700         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5701         and false branch of conditional.
5702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5703         Likewise.
5705 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5707         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5708         libc-modules.h
5709         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5710         unused declaration of _hurd_intr_rpc_msg_in_trap.
5711         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5712         defined instead of whether it is non-zero.
5713         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5714         input constraint instead of both input and output constraint.  Use ecx
5715         clobber instead of %ecx.
5716         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5717         mutex_unlock): Use a statement expression instead of an expression list.
5718         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5719         type to vm_size_t instead of vm_address_t.
5720         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5721         defined instead of whether it is non-zero.
5722         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5723         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5724         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5725         comparisons with mapaddr.
5726         * nscd/nscd-client.h: Include <time.h>.
5727         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5728         9th parameter to __vm_region instead of int.
5729         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5730         * scripts/check-local-headers.sh (exclude): Add device/,
5731         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5732         cthreads.h.
5734 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5736         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5737         to account for alignment padding.
5738         * sysdeps/arm/memmove.S: Likewise.
5740 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5742         * sysdeps/unix/sysv/linux/generic/README: New file.
5744 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5746         [BZ #18138]
5747         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5748         (futex_abstimed_wait)
5749         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5750         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5751         of lll_futex_timed_wait.
5753 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5755         [BZ #17542]
5756         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5758 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5760         [BZ #17090]
5761         [BZ #17620]
5762         [BZ #17621]
5763         [BZ #17628]
5764         * NEWS: Update.
5765         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5766         entries with Static TLS too.  Skip entries past the end of the
5767         allocated DTV, from Alan Modra.
5768         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5769         Static TLS DTV entry set up from...
5770         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5771         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5772         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5773         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5774         for Static TLS.
5775         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5776         that the slot we find is associated with the given map before
5777         using its generation count.
5778         * nptl_db/db_info.c: Include ldsodefs.h.
5779         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5780         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5781         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5782         (link_map::l_tls_offset): New struct field.
5783         (dtv_t::counter): Likewise.
5784         (rtld_global): New struct.
5785         (_rtld_global): New rtld variable.
5786         (dl_tls_dtv_slotinfo_list): New rtld global field.
5787         (dtv_slotinfo_list): New struct.
5788         (dtv_slotinfo): Likewise.
5789         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5790         (td_lookup): Rename to...
5791         (td_mod_lookup): ... this.  Use new mod parameter instead of
5792         LIBPTHREAD_SO.
5793         * nptl_db/td_thr_tlsbase.c: Include link.h.
5794         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5795         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5796         addresses even if the DTV is out of date or missing them.
5797         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5798         index zero-length arrays.
5799         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5800         (td_lookup): Make it a macro implemented in terms of...
5801         (td_mod_lookup): ... this declaration.
5802         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5803         (DB_MAIN_VARIABLE): Likewise.
5805 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5807         [BZ #18134]
5808         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5810 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5812         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5814 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5816         [BZ #18128]
5817         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5818         (atomic_add, atomic_increment_and_test)
5819         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5821 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5823         * stdlib/setenv.c (__add_to_environ):
5824         Dump core quickly if setenv (..., NULL, ...) is called.
5826 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5828         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5829         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5830         all the necessary asm magic in one place.
5831         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5832         using those.
5834 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5836         [BZ #14906]
5837         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5838         traced file mtime. Use consistent log message.
5839         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5840         (register_traced_file): Call install_watches. Always set mtime.
5841         (invalidate_cache): Iterate over all trace files. Call install_watches.
5842         (inotify_check_files): Don't inline. Handle watching parent
5843         directories and configuration file movement in and out.
5844         (handle_inotify_events): New function.
5845         (main_loop_poll): Call handle_inotify_events.
5846         (main_loop_epoll): Likewise.
5847         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5848         (struct traced_file): Use array of inotify fds. Add parent directory,
5849         and basename.
5850         (struct database_dyn): Remove unused file_mtime.
5851         (init_traced_file): New inline function.
5852         (define_traced_file): New macro.
5853         * nss/nss_db/db-init.c: Use define_traced_file.
5854         (_nss_db_init): Use init_traced_file.
5855         * nss/nss_files/files-init.c: Use define_traced_file.
5856         (_nss_files_init): Use init_traced_file.
5858 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5860         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5861         [_LIBC]: Do not include <stdlib.h>.
5862         [!_LIBC] (abort): Remove declaration.
5863         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5864         _FP_STATIC_ASSERT instead of conditionally calling abort.
5865         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5866         (_FP_EXTEND_CNAN): Likewise.
5867         (FP_TRUNC): Likewise.
5868         (__FP_CLZ): Likewise.
5869         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5871 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5873         * manual/string.texi (XPG basename): Fix prototype.
5875 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5877         [BZ #18080]
5878         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5879         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5880         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5881         (__setcontext): Likewise.
5882         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5883         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5884         Call rt_sigprocmask syscall one time to set new signal mask
5885         and retrieve the current signal mask instead of two calls.
5886         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5887         (__swapcontext): Likewise.
5888         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5889         * stdlib/tst-setcontext2.c: New file.
5891 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5893         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5895 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5897         [BZ #18093]
5898         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5899         the wrong size.
5901 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5903         [BZ #18043]
5904         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5906 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5908         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5909         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5910         Remove define.
5911         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5912         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5913         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5914         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5915         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5916         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5917         define.
5918         * nptl_db/td_symbol_list.c (td_lookup): Remove
5919         HAVE_ASM_GLOBAL_DOT_NAME code.
5920         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5921         HAVE_ASM_GLOBAL_DOT_NAME check.
5922         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5923         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5924         (DOT_LABEL): Remove define.
5925         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5926         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5927         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5928         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5929         (__TLS_GET_ADDR): Likewise.
5930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5931         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5933 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5935         [BZ #18111]
5936         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5937         (_FPU_SETCW): Initialize cw from fpsr before storing.
5938         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5939         (fesetexceptflag): Rewrite using fpu_control.h.
5940         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5942 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5944         [BZ #18110]
5945         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5946         asms.
5947         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5949 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5951         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5952         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5953         abort.
5954         (_FP_FMA): Likewise.
5955         (_FP_DIV): Likewise.
5957 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5959         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5960         with 0 in that case.
5961         * Makefile (summarize-tests): New canned sequence, factored out of
5962         commands for targets tests and xtests.  Display summary lines that
5963         don't start with PASS: or XFAIL: rather than ones that do start with
5964         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5965         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5966         do start with ERROR: or FAIL:.
5967         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5968         (except for [$(build-shared) = yes]).
5969         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5970         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5971         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5972         * nptl/Makefile: Revert 2015-03-04 changes.
5973         [$(CXX) empty] (tests-unsupported): New variable.
5974         * debug/Makefile: Likewise.
5976         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5977         gnulib file.  Replace __attribute with __attribute__ throughout.
5979 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5981         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5983 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5985         [BZ #18104]
5986         * math/auto-libm-test-in: Add another test of pow.
5987         * math/auto-libm-test-out: Regenerated.
5989 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5991         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5992         $(config-cflags-nofma).
5994 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5996         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5997         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5998         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5999         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6000         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6001         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6002         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6003         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6004         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6005         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6006         Add comment on closing #endif.
6008 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6010         * posix/wordexp.c (CHAR_IN_SET): New macro.
6011         (parse_param): Use it.
6013 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6015         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6017 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6019         [BZ #18043]
6020         * posix/wordexp.c (parse_param): Fix buffer overflow.
6021         * posix/wordexp-test.c (test_case): Add test case.
6023 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6025         [BZ #18042]
6026         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6027         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6029 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6031         [BZ #18043]
6032         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6033         (do_bz18043): Delete.
6034         (at_page_end): New.
6035         (testit): Refactor to have words at the edge of unreadable page.
6037 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6039         [BZ #16734]
6040         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6041         Cleanup read-only streams as well.
6042         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6044 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6046         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6047         <bits/libc-lockP.h>
6049 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6051         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6052         on [__KERNEL__].
6053         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6054         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6055         * soft-fp/op-common.h (_FP_DECL): Likewise.
6057 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6059         * elf/ifuncdep2.c (global): Replace
6060         __attribute__((visibility("protected"))) with
6061         asm (".protected global").
6062         * elf/ifuncmod1.c (global): Likewise.
6063         * elf/ifuncmod5.c (global): Likewise.
6065 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6067         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6068         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6070 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6072         * manual/install.texi (Configuring and compiling):
6073         Document test-wrapper-env-only.
6074         * INSTALL: Regenerated.
6076 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6078         [BZ #18043]
6079         * posix/wordexp.c (parse_param): Fix buffer overflow.
6080         * posix/wordexp-test.c (do_bz18043): Add test case.
6082 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6084         * time/tst-strptime2.c (do_test): Ensure failing tests are
6085         reported correctly.
6086         * time/tst-strptime3.c (do_test): Likewise.
6088 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6090         Fix aio_error thread-safety.
6091         * sysdeps/pthread/aio_error.c: New file
6092         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6093         synchronization.
6095 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6097         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6098         (group_number, vfprintf): Use it.
6099         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6100         (JUMP, REF): Use it.
6101         (WORK_BUFFER_SIZE): New enum constant.
6102         (process_arg, vfprintf): Use it.
6104 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6106         * manual/errno.texi (Error Messages): Complete example function
6107         by adding missing #define.
6108         (program_invocation_name): Add statement indicating GNU
6109         extension and reference which header file declares the variable.
6110         (program_invocation_short_name): Likewise.
6112 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6114         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6115         compatibility note.
6117 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6119         * Makeconfig (test-wrapper-env-only): New variable.
6120         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6121         then use that with $(test-wrapper-env-only) rather than using
6122         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6124 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6126         [BZ #18082]
6127         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6128         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6129         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6130         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6131         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6132         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6133         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6134         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6135         Likewise.
6136         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6137         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6138         Likewise.
6139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6140         Likewise.
6141         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6142         Likewise.
6143         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6144         Likewise.
6145         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6146         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6147         Likewise.
6148         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6149         Likewise.
6150         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6151         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6153 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6155         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6156         (ETH_ALEN): New macro.
6157         (struct ether_addr): Use it for length of ether_addr_octet.
6159         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6160         (setdb): Don't call __nss_configure_lookup for "rpc".
6161         (do_test): Don't call test_rpc.
6162         (output_rpcent, test_rpc): Functions moved ...
6163         * sunrpc/test-rpcent.c: ... to this new file.
6164         * sunrpc/Makefile (tests): Add it.
6166         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6167         __xpg_sigpause.
6168         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6169         * nptl/tst-signal6.c: Likewise.
6170         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6171         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6173         * configure.ac (libc_cv_cxx_link_ok): New check.
6174         Reset CXX to empty if it fails to link.
6175         * configure: Regenerated.
6176         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6177         bug-atexit3-lib only if $(CXX) is nonempty.
6178         * nptl/Makefile (tests): Likewise for tst-cancel24.
6179         (tests, tests-static): Likewise for tst-cancel24-static.
6180         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6181         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6182         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6183         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6185 2015-03-04  Andreas Schwab  <schwab@suse.de>
6187         [BZ #17631]
6188         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6189         for non-GCC compilers.
6190         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6191         Likewise.
6193 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6195         [BZ #17776]
6196         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6197         integer before bitwise and assembly operations.
6198         (feclearexcept): Likewise.
6199         * math/test-fenvinline.c: New file.
6200         * math/Makefile: Add test-fenvinline test.
6202 2015-03-03  Alan Modra  <amodra@gmail.com>
6204         [BZ #16512]
6205         * scripts/localplt.awk: Strip off symbol version.
6206         * NEWS: Mention bug fix.
6208 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6210         * sysdeps/pthread/timer_routines.c
6211         (timer_free_list, thread_free_list, thread_active_list): Make static.
6213 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6215         [BZ #17779]
6216         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6217         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6218         Undefine.
6219         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6220         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6221         Likewise.
6222         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6223         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6224         Likewise.
6226 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6228         [BZ #18036]
6229         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6230         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6232 2015-03-02  Andreas Schwab  <schwab@suse.de>
6234         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6235         variable name.
6237 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6239         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6240         Return error status.
6242 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6244         [BZ #15969]
6245         * locale/findlocale.c (_nl_find_locale): Introduce const
6246         version of loc_name and drop unsafe type casts.
6248 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6250         * dlfcn/tststatic2.c (main): Converted to ...
6251         (do_test): ... this.
6252         (TEST_FUNCTION): New macro.
6253         Include test-skeleton.c.
6255 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6257         [BZ #17711]
6258         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6259         (tests-pie): Add vismain.
6260         (CFLAGS-vismain.c): New.
6261         * elf/vismain.c: Add comments for PIE requirement.
6263 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6265         [BZ #18046]
6266         [BZ #18047]
6267         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6268         0x1p-56L as threshold for just returning the argument.
6269         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6270         0x1p-32L as threshold for just returning the argument.
6271         * math/auto-libm-test-in: Add more tests of atanh.
6272         * math/auto-libm-test-out: Regenerated.
6273         * sysdeps/i386/fpu/libm-test-ulps: Update.
6274         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6276 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6278         * string/bcopy.c (bcopy): Call memmove for performance.
6280 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6282         * string/bzero.c (__bzero): Call memset for performance.
6284 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6286         [BZ #18068]
6287         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6288         to 00100000.
6290 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6292         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6294 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6296         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6297         (__kernel_standard): Use CSTR macro when setting exc.name.
6298         * sysdeps/ieee754/Makefile [$(subdir) = math]
6299         (CFLAGS-k_standard.c): Remove variable.
6301         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6302         setting p and q from "else if" to "else".
6303         (qzero): Likewise.
6304         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6305         (qone): Likewise.
6306         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6307         (qzerof): Likewise.
6308         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6309         (qonef): Likewise.
6310         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6311         (qzero): Likewise.
6312         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6313         (qone): Likewise.
6315         [BZ #18038]
6316         [BZ #18039]
6317         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6318         return pi/2 for arguments below 0x1p-113L.
6319         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6320         return pi/2 for arguments below 0x1p-106L.
6321         * math/auto-libm-test-in: Add more tests of acos.
6322         * math/auto-libm-test-out: Regenerated.
6324         [BZ #16351]
6325         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6326         (MO): New macro.
6327         (__ieee754_asin): Force underflow exception for results with small
6328         absolute value.
6329         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6330         (MO): New macro.
6331         (__ieee754_asinf): Force underflow exception for results with
6332         small absolute value.
6333         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6334         (__ieee754_asin): Force underflow exception for results with small
6335         absolute value.
6336         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6337         (__ieee754_asinf): Force underflow exception for results with
6338         small absolute value.
6339         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6340         (__ieee754_asinl): Force underflow exception for results with
6341         small absolute value.
6342         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6343         (__ieee754_asinl): Force underflow exception for results with
6344         small absolute value.
6345         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6346         (__ieee754_asinl): Force underflow exception for results with
6347         small absolute value.
6348         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6349         Include <math.h>.
6350         * math/auto-libm-test-in: Do not mark underflow exceptions as
6351         possibly missing for bug 16351.
6352         * math/auto-libm-test-out: Regenerated.
6354         [BZ #18030]
6355         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6356         of power of 2 down when low part has opposite sign.
6357         * math/libm-test.inc (logb_test_data): Add more tests.
6359 2015-02-26  Andreas Schwab  <schwab@suse.de>
6361         [BZ #18032]
6362         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6363         over collating symbol inside a bracket expression.  Minor cleanup.
6364         * posix/tst-fnmatch3.c (do_test): Add test case.
6366 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6368         [BZ #18029]
6369         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6370         Adjust exponent of power of 2 down when low part has opposite
6371         sign.
6372         * math/libm-test.inc (ilogb_test_data): Add more tests.
6374 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6376         [BZ #15969]
6377         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6378         the previous change.
6380         [BZ #15969]
6381         * locale/findlocale.c (_nl_find_locale): Retry archive search
6382         after alias expansion.
6384 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6386         * iconv/tst-iconv3.c (main): Converted to ...
6387         (do_test): ... this.
6388         (TEST_FUNCTION): New macro.
6389         Include test-skeleton.c.
6391         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6392         (convert): Make function static.
6393         (test_unalign): Likewise.  Add const to argument pointee types.
6394         (main): Replace with static function do_test.
6395         Print "Succeeded." only if RET is zero.
6396         (TEST_FUNCTION): New macro.
6397         Include test-skeleton.c.
6399         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6400         returns a null pointer.
6402 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6404         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6405         to __memcpy_ppc only for static builds.
6407 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6409         [BZ #18020]
6410         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6411         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6412         * math/auto-libm-test-in: Add more tests of asinh.
6413         * math/auto-libm-test-out: Regenerated.
6414         * sysdeps/i386/fpu/libm-test-ulps: Update.
6415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6417 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6419         [BZ #15850]
6420         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6421         and ip6_mtuinfo definitions here.
6422         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6423         in this define too.  Update comment.
6425 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6427         * elf/sprof.c (load_shobj): Tweak error message to match others.
6429 2015-02-24  Kevin Easton  <kevin@guarana.org>
6431         [BZ #16145] (partial fix)
6432         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6433         to reduce lock contention.
6435 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6437         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6438         (struct timex): Update time comment.
6439         (ADJ_SETOFFSET): Define.
6441 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6443         [BZ #18019]
6444         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6445         2**56 not 2**28 as threshold for log (2x) formula.
6446         * math/auto-libm-test-in: Add more tests of acosh.
6447         * math/auto-libm-test-out: Regenerated.
6448         * sysdeps/i386/fpu/libm-test-ulps: Update.
6449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6451 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6453         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6454         parenthesis around the buf assignment.
6455         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6457 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6459         [BZ #16783]
6460         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6461         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6462         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6463         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6464         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6465         * math/libm-test.inc (scalb_test_data): Add more tests.
6467 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6469         [BZ #17916]
6470         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6471         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6473 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6475         [BZ #17523]
6476         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6477         * io/bits/fcntl2.h (open): Use it.
6478         (openat): Likewise.
6479         * io/open.c (__libc_open): Likewise.
6480         * io/open64.c (__libc_open64): Likewise.
6481         * io/open64_2.c (__open64_2): Likewise.
6482         * io/open_2.c (__open_2): Likewise.
6483         * io/openat.c (__openat): Likewise.
6484         * io/openat64.c (__openat64): Likewise.
6485         * io/openat64_2.c (__openat64_2): Likewise.
6486         * io/openat_2.c (__openat_2): Likewise.
6487         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6488         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6489         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6490         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6491         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6492         (__open_nocancel): Likewise.
6493         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6494         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6495         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6497 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6499         [BZ #14841]
6500         * resolv/gethnamaddr.c (getanswer): Skip logging if
6501         RES_USE_DNSSEC is set.
6502         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6504 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6506         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6508 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6510         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6511         201304L, for Unicode 7.
6513 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6515         [BZ #17836]
6516         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6517         shared library.  Add gmon-start.os otherwise.
6518         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6519         $(objpfx)gmon-start.os if builing shared library.
6520         ($(objpfx)g$(static-start-installed-name)): Likewise.
6522 2015-02-23  Andreas Schwab  <schwab@suse.de>
6524         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6526 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6528         [BZ #17269]
6529         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6530         (enlarge_userbuf): Likewise.
6532 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6534         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6535         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6536         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6537         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6539 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6541         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6542         expression inside statement expression.
6544 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6546         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6547         <sysdeps/nptl/lowlevellock.h> and remove macros and
6548         functions that are now defined there.
6549         (SYS_futex): Remove.
6550         (lll_compare_and_swap): Remove.
6551         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6553 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6555         [BZ #17999]
6556         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6557         instead of scandirat.
6558         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6559         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6560         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6561         __scandirat.
6562         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6563         (__scandirat): Declare.  Use libc_hidden_proto.
6564         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6565         Remove variable.
6566         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6568 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6570         [BZ #15319]
6571         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6572         (MO): New macro.
6573         (__ieee754_atan2): For results with small absolute value, force
6574         underflow exception and remove excess range and precision from
6575         return value.
6576         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6577         (MO): New macro.
6578         (__ieee754_atan2f): For results with small absolute value, force
6579         underflow exception and remove excess range and precision from
6580         return value.
6581         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6582         (MO): New macro.
6583         (__atan): For results with small absolute value, force underflow
6584         exception and remove excess range and precision from return value.
6585         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6586         (MO): New macro.
6587         (__atanf): For results with small absolute value, force underflow
6588         exception and remove excess range and precision from return value.
6589         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6590         <math.h>.
6591         (__ieee754_atan2): Force underflow exception for results with
6592         small absolute value.
6593         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6594         <math_private.h>.
6595         (atan): Force underflow exception for results with small absolute
6596         value.
6597         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6598         (__atanf): Force underflow exception for results with small
6599         absolute value.
6600         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6601         <math.h>.
6602         (__atanl): Force underflow exception for results with small
6603         absolute value.
6604         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6605         (__atanl): Force underflow exception for results with small
6606         absolute value.
6607         * sysdeps/x86/fpu/bits/mathinline.h
6608         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6609         (__ieee754_atan2): Only define inline for long double.
6610         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6611         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6612         * math/auto-libm-test-in: Do not mark underflow exceptions as
6613         possibly missing for bug 15319.  Add more tests of atan2.
6614         * math/auto-libm-test-out: Regenerated.
6615         * math/libm-test.inc (casin_test_data): Do not mark underflow
6616         exceptions as possibly missing for bug 15319.
6617         (casinh_test_data): Likewise.
6618         * sysdeps/i386/fpu/libm-test-ulps: Update.
6620 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6622         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6623         * sysdeps/mips/bits/endian.h: Fix comments.
6625 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6627         [BZ #17996]
6628         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6629         (hdestroy_r): Likewise.
6630         (hsearch_r): Likewise.
6631         (__hcreate_r): Declare and use libc_hidden_proto.
6632         (__hdestroy_r): Likewise.
6633         (__hsearch_r): Likewise.
6634         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6635         (hcreate): Call __hcreate_r instead of hcreate_r.
6636         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6637         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6638         as weak alias of __hcreate_r.
6639         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6640         __hdestroy_r.
6641         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6642         __hsearch_r.
6643         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6644         Remove variable.
6645         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6646         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6647         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6648         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6650 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6652         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6653         arena_lock into a single arena_get.
6655 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6657         * dl-reloc.c: Inlucde libc-internal.h.
6658         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6659         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6660         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6661         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6662         (grow_heap): Likewise.
6663         * malloc/malloc.c: Include libc-internal.h.
6664         (do_check_malloc): Call powerof2.
6665         (sysmalloc): Use pagesize. Call ALIGN_UP.
6666         (systrim): Use pagesize.
6667         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6668         (__libc_valloc): Use pagesize.
6669         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6671 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6673         [BZ #17991]
6674         * include/sys/resource.h (__getrlimit64): Declare.  Use
6675         libc_hidden_proto.
6676         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6677         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6678         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6679         getrlimit64.
6680         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6681         __getrlimit64.
6682         [!getrlimit64] (getrlimit64): Define as weak alias of
6683         __getrlimit64.  Use libc_hidden_weak.
6684         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6685         using __getrlimit64 not __new_getrlimit64.
6686         (__GI_getrlimit64): Likewise.
6687         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6688         Likewise.
6689         (__GI_getrlimit64): Likewise.
6690         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6692         (getrlimit): Add __getrlimit64 alias.
6693         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6694         Likewise.
6695         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6696         Remove variable.
6697         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6698         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6700 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6702         * libio/fileops.c: Add missing sys/mman.h
6703         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6705 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6707         * manual/math.texi (Errors in Math Functions): Clarify goals
6708         regarding inexact and underflow exceptions.
6710 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6712         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6713         * sysdeps/mips/memset.S: Ditto.
6715 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6717         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6719 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6721         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6722         (__v1longjmp): Remove versioned symbol.
6723         (__v1siglongjmp): Remove alias and versioned symbol.
6724         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6725         (__v2siglongjmp): Likewise.
6727 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6729         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6731 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6733         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6735 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6737         [BZ #17987]
6738         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6739         zero result does not depend on the sign resulting from
6740         subtraction.
6741         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6742         Likewise.
6743         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6744         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6745         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6746         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6747         * math/libm-test.inc (remquo_test_data): Add more tests.
6749 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6751         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6752         Problem reported by J William Piggott.
6754 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6756         [BZ #17978]
6757         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6758         products 4 * y and 2 * y where those would overflow.
6759         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6760         Likewise.
6761         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6762         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6763         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6764         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6765         * math/libm-test.inc (remquo_test_data): Add more tests.
6767         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6769         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6770         [defined _COMPILING_NEWLIB].
6771         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6772         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6774         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6775         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6777 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6779         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6780         acquired.
6782 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6784         [BZ #17792]
6785         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6786         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6787         HOST_STACK_END_ADDR): Likewise.
6789 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6791         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6792         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6793         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6795 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6797         * sysdeps/generic/c++-types.data: New file.
6798         * sysdeps/generic/ld.abilist: New file.
6799         * sysdeps/generic/libBrokenLocale.abilist: New file.
6800         * sysdeps/generic/libanl.abilist: New file.
6801         * sysdeps/generic/libc.abilist: New file.
6802         * sysdeps/generic/libcrypt.abilist: New file.
6803         * sysdeps/generic/libdl.abilist: New file.
6804         * sysdeps/generic/libm.abilist: New file.
6805         * sysdeps/generic/libpthread.abilist: New file.
6806         * sysdeps/generic/libresolv.abilist: New file.
6807         * sysdeps/generic/librt.abilist: New file.
6809 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6811         [BZ #17569]
6812         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6813         Compute absolute value of x as modified by fmod, not original
6814         value of x.
6815         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6816         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6817         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6818         RUN_TEST_ffI_f1_mod8.
6819         (remquo_test_data): Add more tests.
6821 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6823         * sysdeps/init_array/pt-crti.S: New file.
6825 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6827         [BZ #17967]
6828         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6829         __builtin_fmaf instead of relying on contraction of a * b + c.
6831 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6833         [BZ #17969]
6834         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6835         node.
6837 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6839         [BZ #17964]
6840         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6841         __builtin_fma instead of relying on contraction of a * b + c.
6843 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6845         * Makeconfig (ASFLAGS): Add -Werror=undef.
6846         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6847         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6848         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6850         * Makeconfig (after-link): New variable.
6851         (+link-pie, +link-pie-tests): Use it.
6852         (+link-static, +link-static-tests): Likewise.
6853         (+link, +link-tests): Likewise.
6854         * Makerules (build-module, build-module-asneeded): Likewise.
6855         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6856         Likewise.
6857         * elf/Makefile ($(objpfx)ld.so): Likewise.
6859 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6861         [BZ #17965]
6862         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6863         both struct timeval and struct timespec.
6865 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6867         [BZ #16560]
6868         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6869         and redefine.
6870         (__ieee754_exp2l): Do not multiply small fractional parts by
6871         M_LN2l.
6872         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6873         small argument.
6874         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6875         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6876         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6877         * math/auto-libm-test-in: Add more tests of exp2.
6878         * math/auto-libm-test-out: Regenerated.
6880 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6882         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6883         unaligned path.
6885 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6887         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6888         little endian.
6890 2015-02-12  Andreas Schwab  <schwab@suse.de>
6892         [BZ #15790]
6893         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6894         Filter out elision flags from value returned in kind.
6895         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6896         * nptl/tst-pthread-mutexattr.c: New file.
6898 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6900         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6901         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6902         into gnu-gnu, and update comment to refer to abi-tags.
6904 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6906         [BZ #15467]
6907         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6908         (__sincos): Set errno to EDOM for infinite argument.
6909         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6910         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6911         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6912         (__sincosl): Set errno to EDOM for infinite argument.
6913         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6914         (__sincosl): Set errno to EDOM for infinite argument.
6915         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6916         (__sincosl): Set errno to EDOM for infinite argument.
6917         * math/libm-test.inc (sincos_test_data): Test errno setting.
6919 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6921         * string/strxfrm_l.c: Remove #define STRCMP.
6922         * string/strcoll_l.c: Remove #define STRLEN.
6923         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6924         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6926 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6928         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6929         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6930         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6931         * sysdeps/mips/mips64/Makefile: ... here.
6932         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6933         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6934         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6935         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6936         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6937         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6938         * sysdeps/mips/mips64/n64/Implies: Likewise.
6940 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6942         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6943         <sys/time.h>, <string.h>, and <errno.h>.
6944         (dest_offset, dest_address, value, zero): Remove unused variables.
6945         (ldouble): Remove typedef.
6946         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6947         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6948         1).  Fix code style.
6949         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6950         (check): Function removed.
6951         (CHECK): New macro.
6952         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6953         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6954         Don't call set_sigaction_FP and remove_sigaction_FP here.
6955         (ldouble_test): Just use 'long double' as macro argument, no need for
6956         the 'ldouble' typedef.
6957         (do_test): Set up SIGFPE handler at start, using plain signal rather
6958         than sigaction.  Fix code style.
6960 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6962         [BZ #17949]
6963         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6964         jump label.
6966 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6968         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6969         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6971         * sysdeps/powerpc/configure.ac: Remove file.
6972         * sysdeps/powerpc/configure: Likewise.
6974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6975         [sysdep_routines]: Remove wordcopy-power6 object.
6976         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6977         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6978         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6979         (__memmove_ppc32): Likewise.
6980         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6981         file.
6982         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6983         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6984         Remove preprocessor.
6986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6987         [sysdep_routines]: Remove wide chars objects.
6988         [wcsmbs]: New rule for wide char objects.
6990         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6991         Remove wordcopy-power6 obejct.
6992         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6993         Use local call for wordcopy and memcpy symbols.
6994         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6995         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6996         implementation for loader.
6997         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6999         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7000         Remove wordcopy-power7 object.
7001         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7002         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7003         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7004         (_wordcopy_fwd_dest_aligned): Likewise.
7005         (_wordcopy_bwd_aligned): Likewise.
7006         (_wordcopy_bwd_dest_aligned): Likewise.
7008         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7009         Rewrite to call __memmove_ppc instead of include default
7010         implementation.
7012         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7013         Remove wide chars objects.
7014         [wcsmbs]: New rule for wide char objects.
7016 2015-02-09  Andreas Schwab  <schwab@suse.de>
7018         [BZ #17912]
7019         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7020         in terms of __O_DIRECTORY.
7022 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7024         * time/getdate.c: Include <stdbool.h>.
7025         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7026         call PTR_MANGLE.
7027         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7028         PTR_DEMANGLE.
7030 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7032         Add ersatz _Static_assert on older C hosts
7033         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7034         pre-C11 C platform that is not known to support _Static_assert.
7036 2015-02-07  Richard Braun  <rbraun@sceen.net>
7038         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7039         sigstate.
7040         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7042 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7044         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7045         priority against unexistent AIO_PRIO_DELTA_MAX.
7046         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7047         instead of int.
7048         * misc/fchflags.c (fchflags): Likewise.
7049         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7050         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7051         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7052         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7053         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7054         Declare macros.
7055         [__USE_MISC] (chflags, fchflags): Declare functions.
7056         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7057         EINVAL when nfds is greater than FD_SETSIZE.
7058         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7059         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7060         45.
7061         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7062         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7063         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7064         MACH_RCV_TIMED_OUT.
7065         * hurd/hurd/signal.h (_hurd_self_sigstate,
7066         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7067         Explicit casts from void *.
7068         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7069         * abi-tags: Rename gnu-gnu os into gnu.
7071         [BZ #4719]
7072         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7073         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7074         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7075         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7076         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7077         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7079         [BZ #17944]
7080         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7081         duplicates ADDR->sun_path with sockaddr LEN limitation.
7082         * sysdeps/mach/hurd/connect.c: Include <string.h>
7083         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7084         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7085         * sysdeps/mach/hurd/sendto.c: Likewise.
7086         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7087         implementing it by hand.
7089 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7091         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7092         Use sfi_breg on ldr.
7093         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7094         Likewise.
7096         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7097         it's defined.
7098         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7099         Test SIGSETXID only if it's defined.
7101         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7103         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7104         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7106         * nptl/tst-align2.c: Moved ...
7107         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7108         * nptl/Makefile (tests): Remove tst-align2.
7109         * sysdeps/unix/sysv/linux/Makefile
7110         [$(subdir) = nptl] (tests): Add tst-align-clone.
7111         * nptl/tst-getpid1.c: Moved ...
7112         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7113         * nptl/tst-getpid2.c: Moved ...
7114         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7115         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7116         * sysdeps/unix/sysv/linux/Makefile
7117         [$(subdir) = nptl] (tests): ... here.
7118         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7119         * sysdeps/unix/sysv/linux/Makefile
7120         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7122         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7123         Drop trailing \n from perror argument.  Use return rather than exit.
7125         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7126         on [SA_SIGINFO].
7127         * nptl/tst-cancel21.c (do_test): Likewise.
7128         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7129         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7130         [!SA_SIGINFO]: Make it a stub test.
7132         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7133         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7135         * posix/tst-getlogin.c: Move to ...
7136         * login/tst-getlogin.c: ... here.
7137         * posix/Makefile (tests): Move tst-getlogin to ...
7138         * login/Makefile (tests): ... here.
7140         * libio/tst-atime.c (do_test): Move local variables SV and E
7141         inside [ST_NOATIME] conditional.
7143         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7145         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7147         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7148         (wait_code): New function replaces macro.
7149         Call nanosleep rather than syscall.
7151         * nptl/pt-system.c: Rewritten.  Put everything under
7152         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7153         Use IFUNC to redirect when possible.
7155         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7156         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7157         Use IFUNC to redirect when possible.
7159         * nptl/pt-fork.c: Rewritten.  Put everything under
7160         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7161         Use IFUNC to redirect when possible.
7162         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7164         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7165         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7166         unconditionally nowadays.  This included the only reference to
7167         __vdso_clock_gettime that appears outside libc proper.
7168         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7169         Remove version set (containing only __vdso_clock_gettime).
7170         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7171         Add attribute_hidden.
7172         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7173         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7174         libc_hidden_data_def.
7175         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7176         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7178         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7179         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7180         setrpcent, and getrpcport to ...
7181         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7182         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7183         getrpcbynumber_r, and getrpcent_r to ...
7184         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7185         * inet/getrpcbyname.c: Moved ...
7186         * sunrpc/getrpcbyname.c: ... here.
7187         * inet/getrpcbyname_r.c: Moved ...
7188         * sunrpc/getrpcbyname_r.c: ... here.
7189         * inet/getrpcbynumber.c: Moved ...
7190         * sunrpc/getrpcbynumber.c: ... here.
7191         * inet/getrpcbynumber_r.c: Moved ...
7192         * sunrpc/getrpcbynumber_r.c: ... here.
7193         * inet/getrpcent.c: Moved ...
7194         * sunrpc/getrpcent.c: ... here.
7195         * inet/getrpcent_r.c: Moved ...
7196         * sunrpc/getrpcent_r.c: ... here.
7197         * inet/Makefile (routines): Move those to ...
7198         * sunrpc/Makefile (routines): ... here.
7199         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7200         the $(subdirs) list.
7201         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7202         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7203         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7204         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7206         * elf/Makefile (routines): Include $(all-dl-routines), not just
7207         $(dl-routines).
7208         (rtld-routines): Likewise.  Use = rather than :=.
7209         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7210         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7211         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7212         * sysdeps/arm/Makefile: Likewise.
7213         * sysdeps/i386/Makefile: Likewise.
7214         * sysdeps/x86_64/Makefile: Likewise.
7215         * sysdeps/hppa/Makefile [$(subdir) = elf]
7216         (sysdep_routines, sysdep-rtld-routines): Don't add
7217         $(sysdep-dl-routines) to these.
7218         * sysdeps/ia64/Makefile: Likewise.
7219         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7220         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7221         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7222         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7223         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7224         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7225         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7226         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7227         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7228         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7229         these; sysdep-dl-routines alone is enough.
7231 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7233         [BZ #17932]
7234         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7235         where multiplication results in zero and third argument is finite
7236         and nonzero.
7237         * math/auto-libm-test-in: Add more tests of fma.
7238         * math/auto-libm-test-out: Regenerated.
7240         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7241         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7242         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7243         (_FP_CMP_EQ): Likewise.
7244         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7246         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7247         extra argument CHECK_NAN.  Redefine as wrapper around
7248         _FP_EXTEND_CNAN.
7250 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7252         * version.h (RELEASE): Set to "stable".
7253         (VERSION): Set to "2.21"
7254         * include/features.h (__GLIBC_MINOR__): Set to 21.
7256         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7258 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7259             Paul Eggert  <eggert@cs.ucla.edu>
7261         [BZ #16618]
7262         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7263         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7264         size in bytes. Store needed elements in wpmax. Use needed size
7265         in bytes for extend_alloca.
7267 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7269         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7270         binutls 2.25, and texinfo 5.2.
7271         * INSTALL: Regenerate.
7272         * sysdeps/nios2/configure: Regenerate.
7273         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7274         * manual/contrib.texi: Update.
7275         * po/be.po: Update.
7276         * po/bg.po: Update.
7277         * po/ca.po: Update.
7278         * po/cs.po: Update.
7279         * po/da.po: Update.
7280         * po/de.po: Update.
7281         * po/el.po: Update.
7282         * po/eo.po: Update.
7283         * po/es.po: Update.
7284         * po/fi.po: Update.
7285         * po/fr.po: Update.
7286         * po/gl.po: Update.
7287         * po/hr.po: Update.
7288         * po/hu.po: Update.
7289         * po/ia.po: Update.
7290         * po/id.po: Update.
7291         * po/it.po: Update.
7292         * po/ja.po: Update.
7293         * po/ko.po: Update.
7294         * po/lt.po: Update.
7295         * po/nb.po: Update.
7296         * po/nl.po: Update.
7297         * po/pl.po: Update.
7298         * po/pt_BR.po: Update.
7299         * po/ru.po: Update.
7300         * po/rw.po: Update.
7301         * po/sk.po: Update.
7302         * po/sl.po: Update.
7303         * po/sv.po: Update.
7304         * po/tr.po: Update.
7305         * po/uk.po: Update.
7306         * po/vi.po: Update.
7307         * po/zh_CN.po: Update.
7308         * po/zh_TW.po: Update.
7310         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7311         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7312         * sysdeps/hppa/dl-irel.h: Remove #warning.
7313         * sysdeps/hppa/entry.h: Provide prototype for
7314         __canonicalize_funcptr_for_compare and cast argument.
7315         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7316         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7317         * sysdeps/hppa/sotruss-lib.c: New file.
7318         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7319         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7320         (atomic_compare_and_exchange_bool_acq): Likewise.
7321         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7322         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7324         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7325         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7326         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7328 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7330         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7331         called function in non-PIC case.
7333 2015-01-31  David S. Miller  <davem@davemloft.net>
7335         * sysdeps/sparc/sparc32/bits/atomic.h
7336         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7337         unlock not after it.
7338         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7339         volatile register usage warnings from the compiler.
7341         * sysdeps/sparc/nptl/sem_init.c: Delete.
7342         * sysdeps/sparc/nptl/sem_post.c: Delete.
7343         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7344         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7345         * sysdeps/sparc/sparc32/sem_init.c: New file.
7346         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7347         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7348         padding explicitly initialized.
7349         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7350         padding for in-semaphore spinlock.
7351         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7352         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7353         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7354         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7355         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7356         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7357         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7358         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7359         version.
7360         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7361         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7363 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7365         [BZ #17801]
7366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7367         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7368         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7369         New.
7370         (index_AVX_Fast_Unaligned_Load): Likewise.
7371         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7372         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7373         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7374         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7375         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7376         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7377         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7378         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7379         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7381 2015-01-29  Andreas Schwab  <schwab@suse.de>
7383         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7385 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7387         [BZ #17892]
7388         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7390 2015-01-28  Martin Sebor  <msebor@redhat.com>
7392         * math/README.libm-test: Clarify. Add "How to read the test output."
7394 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7396         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7397         Define to 0.
7399 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7401         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7402         (__HAVE_64B_ATOMICS): Define to 0.
7404 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7406         [BZ #17885]
7407         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7408         value to set as new flag.
7410         [BZ #16576]
7411         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7412         and use _ARCH_PPCSQ instead.
7413         (__ieee754_sqrt): Likewise.
7414         (__ieee754_sqrtf): Likewise.
7415         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7416         _ARCH_PPCSQ is defined.
7417         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7418         fsqrt instruction.
7419         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7420         _ARCH_PPCSQ is defined.
7421         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7422         fsqrts instruction.
7423         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7425 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7427         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7428         bug (GCC BZ #64739).
7430 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7432         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7433         Mark _retval as used.
7434         (lll_futex_wake_unlock): Likewise.
7435         (lll_futex_timed_wait_requeue_pi): Likewise.
7437         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7438         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7439         register variables.
7441         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7442         libm_hidden_def.
7444         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7445         (__bswap_64): Mark as __always_inline.
7447 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7449         [BZ #15378]
7450         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7451         when none of the search directories exist.
7453 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7455         [BZ #17869]
7456         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7457         power8 in .machine directive.
7459         [BZ #17868]
7460         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7461         set dependency from opd value.
7463 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7466         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7467         architecture.
7469 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7471         [BZ #17870]
7472         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7473         with uint64_t.
7474         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7475         (uint64_t) 1.
7476         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7477         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7478         Replace 1UL with (uint64_t) 1.
7479         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7480         int with uint64_t.
7482 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7484         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7485         (if_freenameindex): Likewise.
7487         * resource/getrlimit64.c: Add missing libc_hidden_def.
7489 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7491         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7492         __label__.
7493         (_FP_FMA): Likewise.
7494         (_FP_TO_INT_ROUND): Likewise.
7495         (_FP_FROM_INT): Likewise.
7497 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7499         [BZ #16418]
7500         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7501         Make code racy and cancel safe.
7503 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7505         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7506         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7507         attribution.
7509         * pwd/tst-getpw.c: Rewrite.
7511         [BZ #17702]
7512         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7513         (modules-names): Add moddummy1 and moddummy2.
7514         ($(objpfx)tst-rec-dlopen): Define.
7515         * dlfcn/moddummy1.c: New file.
7516         * dlfcn/moddummy2.c: New file.
7517         * dlfcn/tst-rec-dlopen.c: New file.
7518         * elf/dl-cache.c (_dl_load_cache_lookup):
7519         Return char*. Copy result with alloca/strcpy/strdup.
7520         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7521         returns char*. Free cached. If not saving realname
7522         free cached.
7523         * elf/dl-open.c (dl_open_worker): Do not assert that
7524         _r_debug->r_state is RT_CONSISTENT.
7525         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7526         returns char*.
7528 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7529             Carlos O'Donell  <carlos@redhat.com>
7531         [BZ #12674]
7532         * nptl/sem_waitcommon.c: New file.
7533         * nptl/sem_wait.c: Include sem_waitcommon.c.
7534         (__sem_wait_cleanup, do_futex_wait): Remove.
7535         (__new_sem_wait): Adapt.
7536         (__new_sem_trywait): New function.
7537         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7538         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7539         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7540         (sem_timedwait): Adapt.
7541         * nptl/sem_post.c (__new_sem_post): Adapt.
7542         (futex_wake): New function.
7543         (__old_sem_post): Add release MO fence.
7544         * nptl/sem_open.c (sem_open): Adapt.
7545         * nptl/sem_init.c (__new_sem_init): Adapt.
7546         (futex_private_if_supported): New function.
7547         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7548         (__old_sem_getvalue): Add using previous code.
7549         * sysdeps/nptl/internaltypes.h: Adapt.
7550         * nptl/tst-sem13.c (do_test): Adapt.
7551         * nptl/tst-sem11.c (main): Adapt.
7552         * nptl/sem_trywait.c: Remove.
7553         * nptl/DESIGN-sem.txt: Remove.
7554         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7555         (gen-as-const-headers): Remove structsem.sym.
7556         * nptl/structsem.sym: Remove.
7557         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7558         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7559         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7560         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7561         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7562         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7563         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7564         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7565         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7566         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7567         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7568         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7569         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7570         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7571         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7572         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7573         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7574         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7575         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7576         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7577         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7578         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7580 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7582         * INSTALL: Regenerated.
7584         * po/libc.pot: Regenerated.
7586 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7587             Sandra Loosemore  <sandra@codesourcery.com>
7588             Andrew Jenner  <andrew@codesourcery.com>
7589             Joseph Myers  <joseph@codesourcery.com>
7590             Nathan Sidwell  <nathan@codesourcery.com>
7592         * NEWS: Mention new Nios II port.
7593         * sysdeps/nios2/Implies: New file.
7594         * sysdeps/nios2/Makefile: New file.
7595         * sysdeps/nios2/Subdirs: New file.
7596         * sysdeps/nios2/Versions: New file.
7597         * sysdeps/nios2/__longjmp.S: New file.
7598         * sysdeps/nios2/abort-instr.h: New file.
7599         * sysdeps/nios2/backtrace.c: New file.
7600         * sysdeps/nios2/bits/endian.h: New file.
7601         * sysdeps/nios2/bits/fenv.h: New file.
7602         * sysdeps/nios2/bits/link.h: New file.
7603         * sysdeps/nios2/bits/setjmp.h: New file.
7604         * sysdeps/nios2/bsd-_setjmp.S: New file.
7605         * sysdeps/nios2/bsd-setjmp.S: New file.
7606         * sysdeps/nios2/configure: New generated file.
7607         * sysdeps/nios2/configure.ac: New file.
7608         * sysdeps/nios2/crti.S: New file.
7609         * sysdeps/nios2/crtn.S: New file.
7610         * sysdeps/nios2/dl-init.c: New file.
7611         * sysdeps/nios2/dl-machine.h: New file.
7612         * sysdeps/nios2/dl-sysdep.h: New file.
7613         * sysdeps/nios2/dl-tls.h: New file.
7614         * sysdeps/nios2/dl-trampoline.S: New file.
7615         * sysdeps/nios2/gccframe.h: New file.
7616         * sysdeps/nios2/gmp-mparam.h: New file.
7617         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7618         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7619         * sysdeps/nios2/ldsodefs.h: New file.
7620         * sysdeps/nios2/libc-tls.c: New file.
7621         * sysdeps/nios2/libm-test-ulps: New file.
7622         * sysdeps/nios2/machine-gmon.h: New file.
7623         * sysdeps/nios2/math-tests.h: New file.
7624         * sysdeps/nios2/math_private.h: New file.
7625         * sysdeps/nios2/memusage.h: New file.
7626         * sysdeps/nios2/nptl/Makefile: New file.
7627         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7628         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7629         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7630         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7631         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7632         * sysdeps/nios2/nptl/tls.h: New file.
7633         * sysdeps/nios2/preconfigure: New file.
7634         * sysdeps/nios2/s_fma.c: New file.
7635         * sysdeps/nios2/s_fmaf.c: New file.
7636         * sysdeps/nios2/setjmp.S: New file.
7637         * sysdeps/nios2/sfp-machine.h: New file.
7638         * sysdeps/nios2/sotruss-lib.c: New file.
7639         * sysdeps/nios2/stackguard-macros.h: New file.
7640         * sysdeps/nios2/stackinfo.h: New file.
7641         * sysdeps/nios2/start.S: New file.
7642         * sysdeps/nios2/sysdep.h: New file.
7643         * sysdeps/nios2/tls-macros.h: New file.
7644         * sysdeps/nios2/tst-audit.h: New file.
7645         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7646         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7647         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7648         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7649         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7650         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7651         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7652         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7653         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7654         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7655         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7656         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7657         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7658         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7659         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7660         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7661         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7662         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7663         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7664         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7665         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7666         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7667         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7668         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7669         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7670         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7671         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7672         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7673         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7674         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7675         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7676         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7677         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7678         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7679         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7680         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7681         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7682         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7683         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7684         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7685         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7686         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7687         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7688         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7690 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7692         [BZ #17844]
7693         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7694         (getutent): Use weak_alias in non SHARED case
7695         and default_symbol_version in SHARED case.
7696         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7697         (getutent_r, pututline): Likewise.
7698         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7699         (getutid): Likewise.
7700         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7701         (getutid_r): Likewise.
7702         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7703         (getutline): Likewise.
7704         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7705         (getutline_r): Likewise.
7706         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7707         (updwtmp): Likewise.
7709 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7711         [BZ #17848]
7712         * sysdeps/s390/s390-32/memcmp.S
7713         (memcmp_g5): Rename to __memcmp_g5.
7714         * sysdeps/s390/s390-32/memcpy.S
7715         (memcpy_g5): Rename to __memcpy_g5.
7716         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7717         (memcpy_mvcle) Rename to __memcpy_mvcle.
7718         * sysdeps/s390/s390-32/memset.S
7719         (memset_g5): Rename to __memset_g5.
7720         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7721         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7722         and use prefixed functions.
7723         * sysdeps/s390/s390-32/multiarch/memcmp.S
7724         (memcmp_z196): Rename to __memcmp_z196.
7725         (memcmp_z10): Rename to __memcmp_z10.
7726         (memcmp): Set alias to __memcmp_g5.
7727         (bcmp): Set alias to __memcmp_g5.
7728         * sysdeps/s390/s390-32/multiarch/memcpy.S
7729         (memcpy_z196): Rename to __memcpy_z196.
7730         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7731         (memcpy_z10): Rename to __memcpy_z10.
7732         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7733         (memcpy): Set alias to __memcpy_g5.
7734         * sysdeps/s390/s390-32/multiarch/memset.S
7735         (memset_z196): Rename to __memset_z196.
7736         Jump to __memset_mvcle instead of memset_mvcle.
7737         (memset_z10): Rename to __memset_z10.
7738         Jump to __memset_mvcle instead of memset_mvcle.
7739         (memset_mvcle) Rename to __memset_mvcle.
7740         (memset): Set alias to __memset_g5.
7741         * sysdeps/s390/s390-64/memcmp.S
7742         (memcmp_z900): Rename to __memcmp_z900.
7743         * sysdeps/s390/s390-64/memcpy.S
7744         (memcpy_z900): Rename to __memcpy_z900.
7745         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7746         (memcpy_mvcle) Rename to __memcpy_mvcle.
7747         * sysdeps/s390/s390-64/memset.S
7748         (memset_z900): Rename to __memset_z900.
7749         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7750         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7751         and use prefixed functions.
7752         * sysdeps/s390/s390-64/multiarch/memcmp.S
7753         (memcmp_z196): Rename to __memcmp_z196.
7754         (memcmp_z10): Rename to __memcmp_z10.
7755         (memcmp): Set alias to __memcmp_z900.
7756         (bcmp): Set alias to __memcmp_z900.
7757         * sysdeps/s390/s390-64/multiarch/memcpy.S
7758         (memcpy_z196): Rename to __memcpy_z196.
7759         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7760         (memcpy_z10): Rename to __memcpy_z10.
7761         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7762         (memcpy): Set alias to __memcpy_z900.
7763         * sysdeps/s390/s390-64/multiarch/memset.S
7764         (memset_z196): Rename to __memset_z196.
7765         Jump to __memset_mvcle instead of memset_mvcle.
7766         (memset_z10): Rename to __memset_z10.
7767         Jump to __memset_mvcle instead of memset_mvcle.
7768         (memset_mvcle) Rename to __memset_mvcle.
7769         (memset): Set alias to __memset_z900.
7771 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7773         [BZ #17748]
7774         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7775         __fesetenv instead of fesetenv.
7777 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7779         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7780         macro.
7782 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7784         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7785         regression on LE.
7787         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7788         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7789         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7790         strncmp-power8 object.
7791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7792         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7793         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7794         * NEWS: Update.
7796 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7797             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7799         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7800         trailing byte check.
7802 2015-01-13  David S. Miller  <davem@davemloft.net>
7804         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7806 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7808         * login/logout.c (logout): Use memset rather than bzero.
7809         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7810         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7811         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7812         (_gethtbyaddr): Likewise.
7813         * locale/programs/simple-hash.c (bcopy): Macro removed.
7815 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7817         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7818         Add strcmp-power8 object.
7819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7820         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7821         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7822         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7823         __strcmp_power8 implementation.
7824         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7825         * NEWS: Update.
7827         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7828         Add strncpy-power8 and stpncpy-power8 objects.
7829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7830         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7831         implementations.
7832         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7833         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7834         __stpncpy_power8 implementation.
7835         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7836         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7837         __strncpy_power8 implementation.
7838         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7839         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7840         * NEWS: Update.
7842         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7843         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7844         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7846         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7847         strncat-power8 object.
7848         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7849         __strcat_power8 implementation.
7850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7851         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7852         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7853         optimized strcat for power8.
7855         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7856         strcpy-power8 and stpcpy-power8 objects.
7857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7858         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7859         implementations.
7860         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7861         multiarch stpcpy implementation for POWER8.
7862         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7863         multiarch strcpy implementation for POWER8.
7864         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7865         __strcpy_power8 function.
7866         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7867         stpcpy for POWER8.
7868         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7869         strcpy for POWER8.
7870         * NEWS: Update.
7872 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7874         [BZ #16009]
7875         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7876         weights and rules. Use do_xfrm_cached if data fits in cache,
7877         do_xfrm otherwise.  Moved former main loop to...
7878         * (do_xfrm_cached): New function.
7879         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7880         find_idx, find_position and stack_push.
7881         * (find_idx): New function.
7882         * (find_position): Likewise.
7883         * localedata/sort-test.sh: Added test run for do_xfrm.
7884         * localedata/xfrm-test.c (main): Added command line option
7885         -nocache to run the test with strings that are too large for
7886         the STRXFRM cache.
7888 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7890         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7891         variable to lll_futex_wake call, not the value itself.
7893 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7895         [BZ #17803]
7896         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7897         twom64.  Adjust value to 0x1p-64L.
7898         (__scalblnl): Only return standard underflowing result for K <=
7899         -64 not K <= -63; adjust exponent for underflowing result by 64
7900         not 63.
7901         * math/libm-test.inc (scalbn_test_data): Add more tests.
7902         (scalbln_test_data): Likewise.
7904         [BZ #17834]
7905         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7906         0x1p63L.
7907         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7908         not HX.
7909         * math/libm-test.inc (scalbn_test_data): Add more tests.
7910         (scalbln_test_data): Likewise.
7912 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7913             Stefani Seibold  <stefani@seibold.net>
7915         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7916         (sysdep_routines): Add dl-vdso here, ...
7917         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7918         (sysdep_routines): ... not here.
7919         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7920         fallback when vDSO is not presented.
7921         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7922         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7923         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7924         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7925         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7926         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7927         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7928         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7929         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7930         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7931         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7932         fallback configurable symbol when vDSO is not available.
7933         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7934         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7935         be able to redefine fallback symbol when vDSO is not available.
7936         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7937         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7939 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7941         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7942         (TLS_INIT_TP): Add tm_capable initialization.
7943         (TLS_DEFINE_INIT_TP): Likewise.
7944         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7945         TCB.
7946         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7947         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7948         calculation.
7949         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7950         transactoion is lock elision is built and TCB tm_capable is set.
7951         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7953         (INTERNAL_SYSCALL_NCS): Likewise.
7954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7955         (INTERNAL_SYSCALL_NCS): Likewise.
7956         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7958         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7959         for powerpc.
7960         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7961         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7962         and remove it for 32 bits case.
7963         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7964         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7965         initialization.
7966         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7967         Disable lock elision with rdlocks if elision is not available.
7969         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7970         (sysdep_routines): Add lock elision objects.
7971         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7972         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7973         [pthread_mutex_t] (__elision): Add field.
7974         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7975         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7976         elision definitions for powerpc.
7977         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7978         implementation of lock elision for powerpc.
7979         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7980         implementation of timed lock elision for powerpc.
7981         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7982         implementation of trylock with lock elision for powerpc.
7983         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7984         implementaion of unlock for lock elision for powerpc.
7985         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7986         automatic enable lock elision for mutexes.
7987         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7988         transaction execution definitions for powerpc.
7989         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7990         definitions.
7991         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7992         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7993         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7994         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7995         * NEWS: Update.
7997 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7999         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8000         for #include of <shm-directory.h>.
8002 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8004         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8005         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8007 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8009         [BZ #17791]
8010         * NEWS: Mention bug fix.
8011         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8012         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8013         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8015 2015-01-09  Torvald Riegel <triegel@redhat.com>
8017         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8019 2015-01-09  Torvald Riegel <triegel@redhat.com>
8021         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8023 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8025         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8026         pointer and cast to uintptr_t.
8028 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8030         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8031         removed.
8032         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8034 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8036         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8037         of 0.
8039 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8041         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8042         <nptl/pthreadP.h> instead.
8043         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8045         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8046         already defined.
8047         [__SIGRTMIN] (init): Function removed.
8048         [__SIGRTMIN] (initialized): Variable removed.
8049         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8050         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8051         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8052         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8053         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8054         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8055         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8056         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8057         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8058         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8059         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8060         * sysdeps/nptl/allocrtsig.c: New file.
8061         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8062         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8063         * sysdeps/generic/testrtsig.h: File removed.
8065         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8066         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8068         * nptl/nptl-init.c (pthread_functions): Conditionalize
8069         .ptr__nptl_setxid initialization on [SIGSETXID].
8071         * sysdeps/nptl/sys/procfs.h: New file.
8072         * nptl_db/Makefile (headers): Add it.
8073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8075         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8076         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8077         * nptl/pthread_attr_setaffinity.c: Include it.
8078         * nptl/pthread_setattr_default_np.c: Likewise.
8079         * nptl/check-cpuset.h: New file.
8081 2015-01-08  Richard Henderson  <rth@redhat.com>
8083         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8084         (CFLAGS-tst-execstack-prog.c): Likewise.
8085         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8087 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8088             Sandra Loosemore  <sandra@codesourcery.com>
8089             Andrew Jenner  <andrew@codesourcery.com>
8090             Joseph Myers  <joseph@codesourcery.com>
8091             Nathan Sidwell  <nathan@codesourcery.com>
8093         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8094         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8095         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8096         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8097         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8098         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8099         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8100         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8101         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8102         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8103         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8104         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8105         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8106         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8107         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8108         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8109         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8111 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8113         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8114         timespec struct member in syscall macro.
8115         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8116         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8117         first timeval struct member in syscall macro.
8118         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8120 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8122         [BZ #17748]
8123         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8124         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8125         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8126         __feupdateenv and define as weak alias of __feupdateenv.  Use
8127         libm_hidden_weak.
8128         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8129         libm_hidden_def.
8130         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8131         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8132         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8133         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8134         libm_hidden_def.
8135         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8136         __feupdateenv and define as weak alias of __feupdateenv.  Use
8137         libm_hidden_weak.
8138         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8139         libm_hidden_def.
8140         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8141         __feupdateenv and define as weak alias of __feupdateenv.  Use
8142         libm_hidden_weak.
8143         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8144         libm_hidden_def.
8145         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8146         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8147         (__feupdateenv): Likewise.
8148         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8149         __feupdateenv and define as weak alias of __feupdateenv.  Use
8150         libm_hidden_weak.
8151         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8152         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8153         libm_hidden_def.
8154         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8155         function.
8156         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8157         libm_hidden_def.
8158         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8159         __feupdateenv instead of feupdateenv.
8160         (default_libc_feupdateenv_test): Likewise.
8161         (libc_feresetround_ctx): Likewise.
8163 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8165         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8166         prototype.
8168 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8170         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8171         COLL_SYM in a couple of places to avoid uninitialized variable
8172         wanings on tilegx gcc 4.8.2.
8174 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8176         * sysdeps/aarch64/strcpy.S: New file.
8177         * sysdeps/aarch64/stpcpy.S: New file.
8178         * NEWS: Updated.
8180 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8182         * sysdeps/aarch64/strrchr.S: New file.
8183         * NEWS: Updated.
8185 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8187         [BZ #17658]
8188         * stdlib/setenv.c: Fix memory leak when setting large,
8189         duplicate string.
8191 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8193         [BZ #17273]
8194         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8195         and tabs from buffer before parsing fstab entry.
8196         * misc/tst-mntent.c (main): Add test for mount entry with
8197         trailing spaces and tabs.
8199 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8201         [BZ #17748]
8202         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8203         * math/fesetround.c (fesetround): Rename to __fesetround and
8204         define as weak alias of __fesetround.  Use libm_hidden_weak.
8205         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8206         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8207         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8208         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8209         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8210         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8211         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8212         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8213         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8214         __fesetround_inline.
8215         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8216         __fesetround_inline instead of __fesetround.
8217         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8218         __fesetround and define as weak alias of __fesetround.  Use
8219         libm_hidden_weak.  Call __fesetround_inline instead of
8220         __fesetround.
8221         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8222         __fesetround and define as weak alias of __fesetround.  Use
8223         libm_hidden_weak.
8224         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8225         Likewise.
8226         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8227         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8228         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8229         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8230         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8231         __fesetround and define as weak alias of __fesetround.  Use
8232         libm_hidden_weak.
8233         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8234         __fesetround instead of fesetround.
8235         (default_libc_feholdexcept_setround): Likewise.
8236         (libc_feholdsetround_ctx): Likewise.
8237         (libc_feholdsetround_noex_ctx): Likewise.
8239         [BZ #17748]
8240         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8241         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8242         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8243         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8244         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8245         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8246         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8247         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8248         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8249         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8250         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8251         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8252         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8253         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8254         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8255         libm_hidden_def.
8256         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8257         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8258         Likewise.
8259         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8260         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8261         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8262         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8263         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8264         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8265         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8266         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8267         __fesetenv instead of fesetenv.
8268         (libc_feresetround_noex_ctx): Likewise.
8269         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8270         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8271         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8272         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8273         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8274         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8275         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8276         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8277         (__feupdateenv): Likewise.
8278         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8279         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8280         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8281         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8283 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8285         [BZ #17806]
8286         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8287         addresses have been freed.
8289 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8291         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8292         and nservall.
8294 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8296         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8297         Clean up check_pf allocation pattern. addresses
8299 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8301         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8302         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8303         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8304         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8305         * nptl/pthread_join.c (pthread_join): Likewise.
8306         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8307         * sysdeps/posix/waitid.c (__waitid): Likewise.
8308         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8309         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8310         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8311         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8312         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8313         Likewise.
8314         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8315         (__libc_pread64): Likewise.
8316         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8317         (__libc_pwrite): Likewise.
8318         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8319         (__libc_pwrite64): Likewsie.
8320         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8321         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8322         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8323         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8324         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8325         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8326         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8328         Likewise.
8329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8330         (__libc_pread64): Likewise.
8331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8332         Likewise.
8333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8334         (__libc_pwrite64): Likewise.
8335         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8336         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8337         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8338         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8339         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8340         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8341         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8342         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8343         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8344         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8345         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8346         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8347         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8348         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8349         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8350         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8351         Likewise.
8353 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8355         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8356         (CFLAGS-test-double.c): Likewise.
8357         (CFLAGS-test-ldouble.c): Likewise.
8358         (CPPFLAGS-test-ifloat.c): Likewise.
8359         (CPPFLAGS-test-idouble.c): Likewise.
8360         (CPPFLAGS-test-ildoubl.c): Likewise.
8361         (CFLAGS-test-test-fenv.c): Remove variable.
8362         (CFLAGS-test-misc.c): Likewise.
8364 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8366         [BZ #17797]
8367         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8368         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8369         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8370         CLOCKS_PER_SEC == 1000000.
8371         * time/clocktest.c (main): Replace %ld with %jd and cast to
8372         intmax_t.
8374 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8376         * sysdeps/generic/unwind-resume.h: New file.
8377         * sysdeps/gnu/unwind-resume.c: Include it.
8378         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8379         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8380         argument list.
8381         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8382         global rather than static.
8383         (_Unwind_Resume): Update user.
8384         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8385         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8386         rather than static.  Add __attribute__ ((cold)).
8387         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8388         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8389         * sysdeps/arm/arm-unwind-resume.S: New file.
8390         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8391         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8392         * sysdeps/arm/Makefile [$(subdir) = csu]
8393         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8394         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8395         Add rt-arm-unwind-resume.
8396         [$(subdir) = nptl]
8397         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8398         Add pt-arm-unwind-resume.
8399         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8400         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8402 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8404         [BZ #17748]
8405         * include/fenv.h (__feholdexcept): Declare.  Use
8406         libm_hidden_proto.
8407         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8408         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8409         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8410         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8411         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8412         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8413         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8414         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8415         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8416         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8417         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8418         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8419         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8420         (feholdexcept): Likewise.
8421         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8422         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8423         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8424         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8425         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8426         __feholdexcept instead of feholdexcept.
8427         (default_libc_feholdexcept_setround): Likewise.
8429 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8431         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8432         to avoid using stl/str to align destination.
8434 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8436         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8438 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8440         [BZ #17796]
8441         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8442         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8443         Define as weak alias not strong alias.
8445 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8447         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8448         bltzal with addiupc.
8449         (RTLD_START): Ditto.
8451 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8453         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8454         for __vdso_* functions in declarations.
8455         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8456         definitions.
8457         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8458         INTERNAL_VSYSCALL): Use struct return types to check for error.
8460         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8461         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8462         function with cast from llround().
8463         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8464         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8465         Define.
8467 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8469         [BZ #17793]
8470         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8471         Define as weak alias not strong alias.
8473         [BZ #17635]
8474         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8475         ...
8476         * ctype/ctype-extn.c: ... here.
8477         (__isblank_l): Move to ...
8478         * ctype/ctype-c99_l.c: ... here.  New file.
8479         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8480         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8481         Remove variable.
8482         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8483         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8484         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8485         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8486         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8488         [BZ #17777]
8489         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8490         (posix_fadvise64): Define as weak alias not strong alias.
8491         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8492         (posix_fallocate64): Likewise.
8493         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8494         Remove variable.
8495         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8496         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8497         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8498         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8499         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8501 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8503         [BZ #16191]
8504         * NEWS: Mention bug fix.
8505         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8506         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8507         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8508         (HOST_STACK_END_ADDR): Likewise.
8510 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8512         [BZ #17748]
8513         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8514         * math/fegetround.c (fegetround): Rename to __fegetround and
8515         define as weak alias of __fegetround.  Use libm_hidden_weak.
8516         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8517         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8518         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8519         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8520         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8521         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8522         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8523         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8524         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8525         Undefine after rather than before function definition; use
8526         parentheses around function name in definition.
8527         (__fegetround): Also undefine macro after function definition.
8528         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8529         __fegetround and define as weak alias of __fegetround.  Use
8530         libm_hidden_weak.  Do not undefine as macro.
8531         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8532         Likewise.
8533         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8534         __fegetround and define as weak alias of __fegetround.  Use
8535         libm_hidden_weak.
8536         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8537         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8538         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8539         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8540         __fegetround and define as weak alias of __fegetround.  Use
8541         libm_hidden_weak.
8542         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8543         __fegetround instead of fegetround.
8545         [BZ #17782]
8546         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8547         Condition macro definition on [__USE_MISC].
8549         [BZ #17781]
8550         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8551         (struct sigaction): Change type of sa_flags field to int.
8553         [BZ #17780]
8554         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8555         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8556         __glibc_reserved0.
8558         * nptl/version.c (banner): Use single year in copyright notice.
8560         * NEWS: Update copyright dates.
8561         * catgets/gencat.c (print_version): Likewise.
8562         * csu/version.c (banner): Likewise.
8563         * debug/catchsegv.sh: Likewise.
8564         * debug/pcprofiledump.c (print_version): Likewise.
8565         * debug/xtrace.sh (do_version): Likewise.
8566         * elf/ldconfig.c (print_version): Likewise.
8567         * elf/ldd.bash.in: Likewise.
8568         * elf/pldd.c (print_version): Likewise.
8569         * elf/sotruss.sh: Likewise.
8570         * elf/sprof.c (print_version): Likewise.
8571         * iconv/iconv_prog.c (print_version): Likewise.
8572         * iconv/iconvconfig.c (print_version): Likewise.
8573         * locale/programs/locale.c (print_version): Likewise.
8574         * locale/programs/localedef.c (print_version): Likewise.
8575         * login/programs/pt_chown.c (print_version): Likewise.
8576         * malloc/memusage.sh (do_version): Likewise.
8577         * malloc/memusagestat.c (print_version): Likewise.
8578         * malloc/mtrace.pl: Likewise.
8579         * manual/libc.texinfo: Likewise.
8580         * nptl/version.c (banner): Likewise.
8581         * nscd/nscd.c (print_version): Likewise.
8582         * nss/getent.c (print_version): Likewise.
8583         * nss/makedb.c (print_version): Likewise.
8584         * posix/getconf.c (main): Likewise.
8585         * scripts/test-installation.pl: Likewise.
8586         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8588 2015-01-02  Will Newton  <will.newton@linaro.org>
8590         * sysdeps/arm/armv7/configure: Removed.
8591         * sysdeps/arm/armv7/configure.ac: Likewise.
8593 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8595         * All files with FSF copyright notices: Update copyright dates
8596         using scripts/update-copyrights.
8597         * intl/plural.c: Regenerated.
8598         * locale/programs/charmap-kw.h: Likewise.
8599         * locale/programs/locfile-kw.h: Likewise.
8601 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8603         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8605 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8607         [BZ #17748]
8608         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8609         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8610         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8611         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8612         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8613         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8614         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8615         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8616         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8617         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8618         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8619         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8620         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8621         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8622         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8623         libm_hidden_def.
8624         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8625         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8626         Likewise.
8627         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8628         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8629         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8630         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8631         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8632         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8633         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8634         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8635         __fegetenv instead of fegetenv.
8636         (libc_feholdsetround_noex_ctx): Likewise.
8638 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8640         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8641         (Elf_MIPS_ABIFlags_v0): New structure.
8642         (EF_MIPS_FP64): Define.
8643         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8644         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8645         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8646         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8647         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8648         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8649         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8650         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8651         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8652         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8653         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8654         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8655         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8656         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8657         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8658         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8659         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8660         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8661         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8662         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8663         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8664         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8665         field.
8666         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8667         EF_MIPS_FP64.
8668         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8669         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8670         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8671         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8672         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8673         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8674         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8675         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8676         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8677         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8678         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8679         record the current FP ABI extension.
8680         (mips-mode-switch): Define to show if kernel headers support mode
8681         switching.
8682         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8683         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8684         supported SYSV ABI version to 3.
8685         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8686         feature.
8688 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8689             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8691         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8692         path.
8693         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8695 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8697         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8698         __fegetround and redefine to call __fegetround.  Remove condition
8699         on [!__NO_MATH_INLINES].
8700         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8701         function.
8702         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8703         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8704         Remove macro.
8705         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8706         instead of <fenv_libc.h>.
8707         (__llrintl): Call fegetround instead of __fegetround.
8708         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8709         instead of <fenv_libc.h>.
8710         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8711         (__lrintl): Call fegetround instead of __fegetround.
8712         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8713         instead of <fenv_libc.h>.
8714         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8715         (__rintl): Call fegetround instead of __fegetround.
8717 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8719         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8720         arrays.
8722 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8724         [BZ #17775]
8725         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8726         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8727         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8729 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8731         * sysdeps/i386/tls-macros.h: Include <features.h>.
8732         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8733         (TLS_IE): Likewise.
8734         (TLS_LD): Likewise.
8735         (TLS_GD): Likewise.
8736         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8737         define for GCC >= 5.0.
8739 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8741         * math/test-fenv.c (test_single_exception, set_single_exc,
8742         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8743         feexcp_mask_test, feenable_test, fe_single_test): Add
8744         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8745         case where they are not used.
8746         * math/libm-test.inc: Likewise.
8747         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8748         unused in the absence of FP rounding/exception support.
8749         * stdio-common/tst-printf-round.c: Likewise.
8750         * stdlib/tst-strtod-round.c: Likewise.
8751         * stdlib/tst-strtod-underflow.c: Likewise.
8753 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8755         [BZ #17723]
8756         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8757         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8758         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8759         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8760         libm_hidden_weak.
8761         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8762         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8763         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8764         libm_hidden_def.
8765         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8766         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8767         libm_hidden_weak.
8768         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8769         Likewise.
8770         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8771         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8772         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8773         libm_hidden_weak.
8774         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8775         libm_hidden_def.
8776         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8777         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8778         (__feraiseexcept): Likewise.
8779         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8780         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8781         libm_hidden_weak.
8782         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8783         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8784         libm_hidden_def.
8785         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8786         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8787         Use libm_hidden_def.
8788         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8789         libm_hidden_def.
8790         (feraiseexcept): Define as weak not strong alias.  Use
8791         libm_hidden_weak.
8792         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8793         New inline function.  Factored out of ...
8794         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8795         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8796         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8797         feraiseexcept.
8798         * math/w_acos.c (__acos): Likewise.
8799         * math/w_asin.c (__asin): Likewise.
8800         * math/w_ilogb.c (__ilogb): Likewise.
8801         * math/w_j0.c (y0): Likewise.
8802         * math/w_j1.c (y1): Likewise.
8803         * math/w_jn.c (yn): Likewise.
8804         * math/w_log.c (__log): Likewise.
8805         * math/w_log10.c (__log10): Likewise.
8806         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8807         * sysdeps/aarch64/fpu/math_private.h
8808         (libc_feupdateenv_test_aarch64): Likewise.
8809         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8810         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8811         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8812         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8813         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8814         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8815         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8816         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8817         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8818         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8820 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8822         [BZ #17732]
8823         * io/test-utime.c (main): Replace %ld with %jd and cast to
8824         intmax_t.
8825         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8826         * nptl/tst-mutex5.c: Include <stdint.h>.
8827         (do_test): Replace %ld with %jd and cast to intmax_t.
8828         * posix/tst-regex.c (run_test): Likewise.
8829         (run_test_backwards): Likewise.
8830         * rt/tst-clock.c: Include <stdint.h>.
8831         (clock_test): Replace %ld with %jd and cast to intmax_t.
8832         * rt/tst-cpuclock1.c: Include <stdint.h>.
8833         (do_test): Replace %lu with %ju and cast to uintmax_t.
8834         * rt/tst-cpuclock2.c: Include <stdint.h>.
8835         (do_test): Replace %lu with %ju and cast to uintmax_t.
8836         * rt/tst-mqueue1.c: Include <stdint.h>.
8837         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8838         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8839         intmax_t.
8840         * rt/tst-mqueue4.c (do_test): Likewise.
8841         * rt/tst-timer4.c: Include <stdint.h>.
8842         (check_ts): Replace %ld with %jd and cast to intmax_t.
8843         (do_test): Likewise.
8844         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8845         and cast to intmax_t.
8846         * sysdeps/pthread/tst-timer.c (main): Likewise.
8847         * time/clocktest.c (main): Likewise.
8848         * time/tst-posixtz.c (do_test): Likewise.
8849         * timezone/tst-timezone.c (main): Likewise.
8851 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8852             H.J. Lu  <hongjiu.lu@intel.com>
8854         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8855         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8856         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8857         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8858         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8859         version if bit_Fast_Unaligned_Load is set.
8860         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8861         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8862         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8863         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8864         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8865         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8866         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8867         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8868         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8869         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8870         to 4.
8871         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8872         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8873         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8874         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8876 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8878         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8879         instead of #if to avoid a Wundef warning.
8880         * stdlib/tst-limits.c (do_test): Likewise.
8882         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8883         parallel other exception macros.
8884         (fegetenv): Convert from macro to extern inline so that it applies
8885         retroactively to inline functions already seen by the compiler.
8886         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8888         * posix/Makefile (before-compile): Use $(objpfx) for
8889         posix-conf-vars-def.h.
8891 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8893         * posix/getconf.c (main): Use size_t for type of I.
8894         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8895         NSPEC.
8897         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8898         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8899         * posix/posix-envs.def: Likewise.
8900         * sysdeps/posix/sysconf.c: Likewise.
8901         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8902         (specs): Remove array.
8903         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8904         array.
8906         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8907         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8908         (__sysconf): Use CONF_IS_* macros.
8910         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8911         ($(objpfx)posix-conf-vars-def.h): New target.
8912         * posix/posix-conf-vars.list: New file.
8913         * posix/posix-conf-vars.h: New file.
8914         * posix/confstr.c: Include posix-conf-vars.h.
8915         (confstr): Use CONF_IS_* macros.
8916         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8917         CONF_IS_* macros.
8918         * scripts/gen-posix-conf-vars.awk: New file.
8920 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8922         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8923         fegetround): Add no-op macros to avoid linknamespace issues.
8925         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8926         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8928         * sysdeps/unix/sysv/linux/tile/sysdep.h
8929         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8930         assembly-specific section to avoid a redefinition warning.
8932         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8933         long before casting to pointer to avoid a cast warning.
8935 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8937         * sysdeps/tile/tilegx/Implies: New file.
8939 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8941         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8943 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8945         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8947 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8949         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8950         not define.
8951         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8952         <kernel-features.h>.
8953         (__utimes) [__NR_utimes]: Make code unconditional.
8954         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8955         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8956         (__ASSUME_UTIMES): Do not undefine.
8957         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8958         (__ASSUME_UTIMES): Likewise.
8959         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8960         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8961         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8962         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8964 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8966         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8968 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8970         [BZ #17747]
8971         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8972         alias to weak alias for j0l, y0l.
8973         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8974         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8976         [BZ #17746]
8977         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8978         conversion.
8980 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8982         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8983         to zero if not already defined.
8985 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8987         [BZ #17724]
8988         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8989         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8990         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8991         (char *) casts added.
8992         * sysdeps/ieee754/k_standardf.c: New file.
8993         * sysdeps/ieee754/k_standardl.c: Likewise.
8994         * math/Makefile (libm-support): Remove k_standard.
8995         (libm-calls): Add k_standard.
8997 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8999         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9000         Optimize to avoid an unnecessary FPCR read.
9002 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9004         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9005         Optimize to reduce FPCR/FPSR accesses.
9007 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9009         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9010         Call libc_fetestexcept_aarch64.
9012 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9014         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9015         Call libc_fesetround_aarch64.
9017 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9019         [BZ #17733]
9020         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9021         (__bind): Do not define as weak alias.
9022         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9023         define.
9024         (__getsockname): Do not define as weak alias.
9026 2014-12-22  Will Newton  <will.newton@linaro.org>
9028         * manual/install.texi: Document that we require bison 2.7
9029         or above.
9030         * INSTALL: Regenerate.
9031         * configure.ac: Use AC_CHECK_PROG_VER instead of
9032         AC_PATH_PROG when checking for bison and check for
9033         version 2.7 or above.
9034         * configure: Regenerate.
9036 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9038         [BZ #17745]
9039         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9040         * sysdeps/tile/ffsll.c (ffsll): To here.
9042         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9044 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9046         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9047         if not defined.
9048         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9049         definition.
9050         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9051         hidden ___tls_get_addr.
9052         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9053         hidden __tls_get_addr.
9054         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9055         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9056         Likewise.
9058 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9060         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9061         _dl_init call.
9063 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9065         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9066         from "call _dl_init@PLT".
9067         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9069 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9071         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9072         guarantees.
9074 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9076         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9078 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9080         [BZ #17744]
9081         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9082         strnlen.
9084 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9086         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9087         of multu on MIPSr6.
9088         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9089         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9090         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9091         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9092         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9094 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9096         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9097         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9098         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9099         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9100         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9101         mips32r6/mips64r6.
9102         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9104 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9106         * string/strncat.c (STRNCAT): Simplify implementation.
9108 2014-12-19  David S. Miller  <davem@davemloft.net>
9110         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9111         access the quad as both a long double and as a series of 4 words.
9113         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9114         link_map->l_info array access.
9116 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9118         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9120         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9121         * math/atest-exp2.c (TIMEOUT): Likewise.
9122         * math/atest-sincos.c (TIMEOUT): Likewise.
9124 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9126         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9127         -Wno-error with -fno-builtin-lround.
9129 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9131         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9132         Contains futex constants and functions moved over from ...
9133         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9134         <lowlevellock-futex.h>.
9135         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9136         (lll_timedwait_tid): Add comments and parentheses around macro
9137         arguments.
9139 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9141         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9142         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9143         (__lll_private_flag): Remove.
9144         (lll_futex_wait): Likewise.
9145         (lll_futex_timed_wait): Likewise.
9146         (lll_futex_wake): Likewise.
9147         (lll_futex_requeue): Likewise.
9148         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9149         (__lll_timedwait_tid): Spell out argument names.
9150         (lll_timedwait_tid): Add comments and parentheses around macro
9151         arguments.
9152         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9153         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9155 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9157         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9158         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9159         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9160         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9161         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9162         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9163         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9164         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9165         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9166         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9167         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9168         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9169         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9170         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9171         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9172         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9173         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9174         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9175         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9177 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9179         * sysdeps/x86_64/x32/Makefile: New file.
9181 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9183         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9184         1L with (mp_limb_t) 1.
9186 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9188         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9189         * nptl/libc_pthread_init.c: ... here.
9190         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9191         * nptl/register-atfork.c: ... here.
9193         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9194         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9195         Use assert_perror to check its return value.
9196         (__gai_create_helper_thread): Likewise.
9198         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9200         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9202 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9204         [BZ #17725]
9205         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9206         __profil_counter.
9207         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9208         Likewise.
9209         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9210         Likewise.
9211         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9212         Likewise.
9213         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9214         (profil_counter): Likewise.
9215         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9216         (profil_counter): Likewise.
9217         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9218         Likewise.
9219         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9220         Likewise.
9221         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9222         (profil_counter): Likewise.
9223         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9224         Likewise.
9225         [!__profil_counter] (profil_counter): Define as weak alias of
9226         __profil_counter.
9227         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9228         (profil_counter): Rename to __profil_counter.
9229         [!__profil_counter] (profil_counter): Define as weak alias of
9230         __profil_counter.
9231         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9232         (profil_counter): Rename to __profil_counter.
9233         [!__profil_counter] (profil_counter): Define as weak alias of
9234         __profil_counter.
9235         * sysdeps/posix/profil.c: Update comment referring to
9236         profil_counter.
9237         (__profil): Use __profil_counter instead of profil_counter.
9238         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9239         __profil_counter.  Use __profil_counter_ushort and
9240         __profil_counter_uint in definitions.
9241         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9242         instead of profil_counter_uint and profil_counter_ushort.
9244         [BZ #17722]
9245         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9246         define as weak alias of __inet_makeaddr.
9247         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9248         as weak alias of __inet_addr.
9249         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9250         as weak alias of __inet_pton.  Use libc_hidden_weak.
9251         * include/arpa/inet.h (__inet_pton): Declare.  Use
9252         libc_hidden_proto.
9253         (inet_makeaddr): Don't use libc_hidden_proto.
9254         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9255         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9256         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9257         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9258         Remove variable.
9259         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9260         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9262 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9264         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9266 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9268         * stdio-common/bug-vfprintf-nargs.c (do_test):
9269         Cast value to intptr_t to avoid format warning
9270         for usage with PRIdPTR printing macro.
9272 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9274         * libio/tst-widetext.c (do_test):
9275         Use format type %td instead of %Zd for ptrdiff_t
9276         in order to avoid format warning.
9278 2014-12-17  Andreas Schwab  <schwab@suse.de>
9280         * nscd/mem.c (gc): Add size_t cast to match printf format.
9282 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9284         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9285         (init): Apply PTR_MANGLE to pointers before storing them.
9286         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9287         before using them.
9289 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9291         [BZ #17719]
9292         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9293         define as weak alias of __memrchr.
9294         (__memrchr): Do not define as strong alias of memrchr.
9295         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9296         Remove variable.
9297         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9298         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9299         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9301         [BZ #17717]
9302         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9303         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9304         (if_indextoname): Rename to __if_indextoname and define as weak
9305         alias of __if_indextoname.  Use libc_hidden_weak.
9306         (if_freenameindex): Rename to __if_freenameindex and define as
9307         weak alias of __if_freenameindex.
9308         (if_nameindex): Rename to __if_nameindex and define as weak alias
9309         of __if_nameindex.
9310         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9311         __if_nametoindex and define as weak alias of __if_nametoindex.
9312         Use libc_hidden_weak.
9313         (if_freenameindex): Rename to __if_freenameindex and define as
9314         weak alias of __if_freenameindex.
9315         (if_nameindex): Rename to __if_nameindex and define as weak alias
9316         of __if_nameindex.
9317         (if_indextoname): Rename to __if_indextoname and define as weak
9318         alias of __if_indextoname.  Use libc_hidden_weak.
9319         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9320         __if_nametoindex and define as weak alias of __if_nametoindex.
9321         Use libc_hidden_weak.
9322         (if_freenameindex): Rename to __if_freenameindex and define as
9323         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9324         (if_nameindex_netlink): Use __if_freenameindex instead of
9325         if_freenameindex.
9326         (if_nameindex): Rename to __if_nameindex and define as weak alias
9327         of __if_nameindex.  Use libc_hidden_weak.
9328         (if_indextoname): Rename to __if_indextoname and define as weak
9329         alias of __if_indextoname.  Use libc_hidden_weak.
9330         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9331         libc_hidden_proto.
9332         [!_ISOMAC] (__if_freenameindex): Likewise.
9333         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9334         if_nametoindex.
9335         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9336         variable.
9337         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9338         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9339         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9340         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9341         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9342         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9343         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9345         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9346         Remove variable.
9347         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9348         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9350 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9352         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9353         subscript above bounds'
9355         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9356         bounds.
9358 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9360         * libio/tst-fopenloc.c: Use test-skeleton.c.
9362         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9363         (entry): Rename to ITEM.
9364         (do_test, comp): Adjust.
9366         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9368 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9370         * string/tester.c: Include <libc-internal.h>.
9371         (test_memset): Ignore -Wmemset-transposed-args.
9373 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9375         * misc/tst-mntent2.c (do_test): Fix warning.
9377 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9379         * elf/tst-unique4lib.cc(a): Mark as used.
9381 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9383         [BZ #17630]
9384         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9385         names.
9387 2014-12-16  Allan McRae  <allan@archlinux.org>
9389         * stdio-common/Makefile (tests): Re-add bug26.
9391 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9393         [BZ #17657]
9394         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9395         static array.
9397 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9399         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9400         (__lll_lock_wait): Likewise.
9401         (__lll_timedlock_wait): Likewise.
9402         (__lll_timedwait_tid): Likewise.
9403         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9404         (__lll_robust_timedlock_wait): Likewise.
9405         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9406         (lll_cond_trylock): Likewise.
9407         (__lll_lock): Likewise.
9408         (__lll_robust_lock): Likewise.
9409         (__lll_cond_lock): Likewise.
9410         (lll_robust_cond_lock): Likewise.
9411         (__lll_timedlock): Likewise.
9412         (__lll_robust_timedlock): Likewise.
9413         (__lll_unlock): Likewise.
9414         (__lll_robust_unlock): Likewise.
9415         (lll_wait_tid): Likewise.
9416         (lll_timedwait_tid): Likewise.
9418 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9420         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9422 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9424         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9426 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9428         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9429         * stdio-common/tst-sprintf.c: Likewise.
9431 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9433         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9435 2014-12-15  Jeff Law  <law@redhat.com>
9437         [BZ #16617]
9438         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9439         on the heap.  (CVE-2012-3406)
9440         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9441         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9442         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9444 2014-12-15  Will Newton  <will.newton@linaro.org>
9446         * manual/install.texi: Bump required version of texinfo
9447         to 4.7 from 4.5.
9448         * INSTALL: Regenerated.
9449         * configure.ac: Check for makeinfo version 4.7 and above.
9450         * configure: Regenerated.
9452 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9454         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9455         PREFIX, string constant to insert between directory and name.
9456         * sysdeps/posix/shm_open.c: Update caller.
9457         * sysdeps/posix/shm_unlink.c: Likewise.
9458         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9459         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9460         (SEM_SHM_PREFIX): New macro.
9461         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9462         [$(have-thread-library) = no].
9463         * nptl/Makefile (libpthread-routines): Add shm-directory.
9464         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9465         * sysdeps/nptl/shm-directory.h: New file.
9466         * sysdeps/posix/shm-directory.c
9467         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9468         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9469         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9470         INTERNAL_SYSCALL.
9471         (__where_is_shmfs): Function removed.
9472         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9473         Variables removed.
9474         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9475         Use SHM_GET_NAME.
9476         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9478         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9479         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9480         unconditional for use inside libpthread.
9481         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9483 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9485         * nptl/pthread_getaffinity.c: New file.
9486         * nptl/pthread_setaffinity.c: New file.
9487         * nptl/pthread_getname.c: New file.
9488         * nptl/pthread_setname.c: New file.
9490         * nptl/pthread_create.c (START_THREAD_DEFN)
9491         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9493 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9494             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9496         * resolv/res_send.c (send_vc): Disable warning resplen may
9497         be used uninitialized.
9499 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9501         * nptl/tst-mutex6.c
9502         (ATTR_NULL): New define checks ATTR against NULL.
9503         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9504         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9506 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9508         [BZ #17581]
9509         * malloc/hooks.c
9510         (mem2mem_check): Revert my previous change.
9511         (malloc_check_get_size): Revert my previous change.
9512         (mem2chunk_check): Revert my previous change.
9514 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9516         * sysdeps/posix/shm-directory.c: New file.
9517         * sysdeps/posix/shm-directory.h: New file.
9518         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9519         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9520         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9521         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9522         Transmute EPERM to EACCES.
9523         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9524         from ...
9525         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9526         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9528 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9530         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9531         pointer and cast to uintptr_t.
9532         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9533         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9534         Add cast to avoid warning.
9535         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9537 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9539         * nptl/semaphore.h: Move to ...
9540         * sysdeps/pthread/semaphore.h: ... here.
9541         * Makefile (installed-headers): Change nptl/semaphore.h to
9542         sysdeps/pthread/semaphore.h.
9544 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9546         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9547         generated error format strings.
9549         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9550         -Wformat-extra-args warnings for scanf formats.
9551         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9552         test of zero-length format (duh).
9553         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9554         corner-case scanf format test.
9555         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9556         generated fprintf format string.
9557         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9558         corner-case sprintf format tests.
9559         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9560         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9561         -Wformat-extra-args warnings throughout.
9562         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9563         (CFLAGS-scanf4.c): Likewise.
9564         (CFLAGS-scanf7.c): Likewise.
9565         (CFLAGS-tst-sprintf.c): Likewise.
9566         (CFLAGS-tst-printf.c): Likewise.
9567         (CFLAGS-tst-printfsz.c): Likewise.
9569 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9571         * include/cpio.h: New file.
9572         * include/fmtmsg.h: Likewise.
9574         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9575         corresponding format argument to size_t.
9576         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9577         arguments.
9578         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9579         corresponding format argument to size_t.
9580         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9581         arguments.
9582         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9583         corresponding format argument to size_t.
9584         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9585         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9586         (CFLAGS-tst-mbswcs2.c): Likewise.
9587         (CFLAGS-tst-mbswcs3.c): Likewise.
9588         (CFLAGS-tst-mbswcs4.c): Likewise.
9589         (CFLAGS-tst-mbswcs5.c): Likewise.
9590         (CFLAGS-tst-trans.c): Likewise
9592 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9594         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9595         rather than assuming they won't contain any '%'s.
9597 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9599         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9600         inhibit_loop_to_libcall to avoid recursive calls.
9601         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9602         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9604 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9606         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9607         prototype.
9609 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9611         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9612         integer value instead of boolean.
9614 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9616         * malloc/malloc.c: Fix powerof2 check.
9618 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9620         * locale/programs/locfile.h (maybe_swap_uint32):
9621         Remove inline and add unused attribute.
9623 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9625         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9626         Truncating assembler expression to a .long expression.
9628 2014-12-11  Andreas Schwab  <schwab@suse.de>
9630         * elf/rtld.c (struct map_args): Constify str member.
9631         (do_preload): Constify fname argument.
9633 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9635         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9636         constants definition.
9638 2014-12-11  Andreas Schwab  <schwab@suse.de>
9640         [BZ #16657]
9641         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9642         FORCE_ELISION instead of DO_ELISION.
9643         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9644         Remove.
9645         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9646         Likewise.
9648         * iconvdata/gconv-modules: Remove duplicate entry.
9650 2014-12-11  Will Newton  <will.newton@linaro.org>
9652         Merge gettext 0.19.3 into intl/.
9654         This involves a number of cosmetic changes to comments
9655         and ANSI function definitions and prototypes throughout
9656         all the files. The gettext copyright header is used but
9657         with the date ranges taken from the glibc copy.
9659         * NEWS: Add gettext merge to 2.21.
9660         * intl/bindtextdom.c: Switch to gettext copyright.
9661         Use ANSI definitions and prototypes.
9662         Use gl_* locking primitives rather than __libc_* ones.
9663         Use __builtin_expect rather than __glibc_likely/unlikely.
9664         * intl/dcgettext.c: Switch to gettext copyright.
9665         Use ANSI definitions and prototypes.
9666         * intl/dcigettext.c: Switch to gettext copyright.
9667         Use ANSI definitions and prototypes.
9668         (INTDIV0_RAISES_SIGFPE): New define.
9669         Use gl_* locking primitives rather than __libc_* ones.
9670         Include eval-plural.h instead of plural-eval.c.
9671         Use __builtin_expect rather than __glibc_likely/unlikely.
9672         * intl/dcngettext.c: Switch to gettext copyright.
9673         Use ANSI definitions and prototypes.
9674         * intl/dgettext.c: Likewise.
9675         * intl/dngettext.c: Likewise.
9676         * intl/plural-eval.c: Renamed to...
9677         * intl/eval-plural.h: ...this.
9678         * intl/explodename.c: Switch to gettext copyright.
9679         Use ANSI definitions and prototypes.
9680         (_nl_explode_name): Use strchr instead of __rawmemchr.
9681         * intl/finddomain.c: Switch to gettext copyright.
9682         Use ANSI definitions and prototypes.
9683         Use gl_* locking primitives rather than __libc_* ones.
9684         (_nl_find_domain): Use malloc rather than alloca for
9685         allocation of temporary locale name.
9686         * intl/gettext.c: Switch to gettext copyright.
9687         Use ANSI definitions and prototypes.
9688         * intl/gettextP.h: Switch to gettext copyright.
9689         Use ANSI definitions and prototypes.
9690         Use gl_* locking primitives rather than __libc_* ones.
9691         * intl/gmo.h: Switch to gettext copyright.
9692         (struct sysdep_string): Move struct segment_pair outside of
9693         struct definition.
9694         * intl/hash-string.c: Use ANSI definitions and prototypes.
9695         * intl/hash-string.h: Switch to gettext copyright.
9696         Use ANSI definitions and prototypes.
9697         * intl/l10nflist.c: Switch to gettext copyright.
9698         Use ANSI definitions and prototypes.
9699         (_nl_normalize_codeset): Avoid integer overflow.
9700         * intl/loadinfo.h: Switch to gettext copyright.
9701         Use ANSI definitions and prototypes.
9702         (LIBINTL_DLL_EXPORTED): New define.
9703         (PATH_SEPARATOR): New define.
9704         * intl/loadmsgcat.c: Switch to gettext copyright.
9705         * intl/localealias.c: Switch to gettext copyright.
9706         Use ANSI definitions and prototypes.
9707         (_nl_expand_alias): Use PATH_SEPARATOR.
9708         * intl/ngettext.c: Switch to gettext copyright.
9709         Use ANSI definitions and prototypes.
9710         * intl/plural-exp.c: Likewise.
9711         * intl/plural-exp.h: Switch to gettext copyright.
9712         Use ANSI definitions and prototypes.
9713         (struct expression): Move definition of enum operator outside
9714         of struct definition.
9715         * intl/plural.c: Regenerate.
9716         * intl/plural.y: Switch to gettext copyright.
9717         Use ANSI definitions and prototypes.
9718         Port to bison 3.0.
9719         * intl/textdomain.c: Switch to gettext copyright.
9720         Use ANSI definitions and prototypes.
9721         Use gl_* locking primitives rather than __libc_* ones.
9723 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9725         * debug/warning-nop.c: Add used atrribute.
9727 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9729         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9731         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9732         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9733         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9735 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9736             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9738         [BZ #17634]
9739         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9740         Undefine after defining function.  Define as weak alias of
9741         __wcschr.  Use libc_hidden_weak.
9742         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9743         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9744         (libc_hidden_def): Also define __GI___wcschr alias.
9745         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9746         __wcschr and define as weak alias of __wcschr.
9747         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9748         __wcschr.
9749         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9750         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9751         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9752         libc_hidden_weak.  Do not use libc_hidden_def.
9753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9754         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9755         __GI___wcschr alias.
9756         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9757         [IS_IN (libc)] (wcschr): Define as macro expanding to
9758         __redirect_wcschr.
9759         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9760         [IS_IN (libc)] (__wcschr_power6): Likewise.
9761         [IS_IN (libc)] (__wcschr_power7): Likewise.
9762         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9763         instead of wcschr.
9764         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9765         __libc_wcschr.
9766         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9767         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9768         __wcschr and define as weak alias of __wcschr.  Use
9769         libc_hidden_builtin_def.
9770         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9771         as weak alias of __wcschr.  Use libc_hidden_weak.
9772         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9773         wcschr.
9774         * time/era.c (_nl_init_era_entries): Likewise.
9775         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9776         variable.
9777         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9778         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9780 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9782         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9783         format for long int variable.
9785 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9787         [BZ #10672]
9788         * manual/search.texi: (Array Sort Function): Remove claim how to make
9789         qsort stable.
9791 2014-12-10  Andreas Schwab  <schwab@suse.de>
9793         [BZ #12847]
9794         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9795         user-controlled locks.
9797 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9799         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9800         register.
9802 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9804         * configure.ac (--disable-werror): New configure option.
9805         (enable_werror): New AC_SUBST.
9806         * configure: Regenerated.
9807         * config.make.in (enable-werror): New variable.
9808         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9809         -Wno-error=undef.
9810         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9811         * manual/install.texi (Configuring and compiling): Document
9812         --disable-werror.
9813         * INSTALL: Regenerated.
9814         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9815         (CFLAGS-tst-chk2.c): Likewise.
9816         (CFLAGS-tst-chk3.c): Likewise.
9817         (CFLAGS-tst-chk4.cc): Likewise.
9818         (CFLAGS-tst-chk5.cc): Likewise.
9819         (CFLAGS-tst-chk6.cc): Likewise.
9820         (CFLAGS-tst-lfschk1.c): Likewise.
9821         (CFLAGS-tst-lfschk2.c): Likewise.
9822         (CFLAGS-tst-lfschk3.c): Likewise.
9823         (CFLAGS-tst-lfschk4.cc): Likewise.
9824         (CFLAGS-tst-lfschk5.cc): Likewise.
9825         (CFLAGS-tst-lfschk6.cc): Likewise.
9827         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9828         (main): Disable -Wdeprecated-declarations around calls to
9829         register_printf_function.
9831         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9832         (do_test): Disable -Wdiv-by-zero around some calls to
9833         fwrite_unlocked and fread_unlocked.
9835         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9836         (DIAG_POP_NEEDS_COMMENT): Likewise.
9837         (_DIAG_STR1): Likewise.
9838         (_DIAG_STR): Likewise.
9839         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9840         * stdio-common/bug21.c: Include <libc-internal.h>.
9841         (do_test): Disable -Wformat around call to sscanf.
9842         * stdio-common/scanf14.c: Include <libc-internal.h>.
9843         (main): Disable -Wformat around some calls to scanf functions.
9845 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9847         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9849 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9851         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9852         stack variable alignment.
9854 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9856         [BZ #17682]
9857         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9858         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9859         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9860         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9861         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9862         __getrlimit instead of getrlimit.
9863         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9864         __gettimeofday instead of gettimeofday.
9865         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9866         Likewise.
9867         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9868         Likewise.
9869         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9870         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9871         Remove variable.
9872         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9873         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9875 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9877         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9878         for wide-character tests.
9880 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9882         * io/openat64.c: #include <libc-internal.h>
9883         (__openat64): Prototypify.  Use ignore_value on MODE.
9884         * io/openat.c: Likewise.
9885         * misc/reboot.c: #include <libc-internal.h>
9886         (reboot): Prototypify.  Use ignore_value on HOWTO.
9887         * misc/ptrace.c: #include <libc-internal.h>
9888         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9890 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9892         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9893         XPG4, UNIX98 and XOPEN2K.
9894         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9895         Remove variable.
9896         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9898 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9900         * libio/fileops.c: Use ISO C style for function definitions.
9901         * libio/iofopen.c: Likewise.
9902         * libio/wfileops.c: Likewise.
9904         [BZ #17653]
9905         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9906         offset on EOF.
9907         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9908         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9909         (fgets_func): Function pointer to fgets and fgetws.
9910         (do_ftell_test): Add test to verify ftell value after read
9911         EOF.
9912         (do_test): Set fgets_func.
9914         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9915         O_TRUNC flag for w and w+ modes.
9916         (do_rewind_test): Likewise.
9917         (do_ftell_test): Likewise.
9918         (do_write_test): Likewise.
9920         [BZ #17647]
9921         * libio/fileops.c (do_ftell): Seek only when there are
9922         unflushed writes.
9923         * libio/wfileops.c (do_ftell_wide): Likewise.
9924         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9925         test case.
9926         (do_one_test): Call it.
9928 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9930         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9931         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9932         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9933         Remove variable.
9934         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9935         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9936         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9938 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9940         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9941         Remove variable.
9942         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9944         [BZ #17668]
9945         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9946         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9947         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9948         __freeifaddrs.  Use libc_hidden_weak.
9949         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9950         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9951         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9952         __freeifaddrs.  Use libc_hidden_weak.
9953         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9954         __getifaddrs and define as weak alias of __getifaddrs.  Use
9955         libc_hidden_weak.
9956         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9957         __freeifaddrs.  Use libc_hidden_weak.
9958         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9959         Remove variable.
9960         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9961         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9963 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9965         [BZ #17601]
9966         * sysdeps/mips/start.S (__start): Use indirect jump to call
9967         __libc_start_main.
9969 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9971         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9973         * nptl/tst-mutex1.c: Include <stdbool.h>.
9974         [!ATTR] (ATTR_NULL): New macro.
9975         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9976         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9977         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9979         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9980         to char *.
9982         [BZ #17665]
9983         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9984         Change conditional to [__USE_MISC].
9986         [BZ #17664]
9987         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9988         fgets_unlocked.
9989         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9990         __fgets_unlocked.
9991         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9992         fgets_unlocked.
9993         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9994         Remove variable.
9995         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9996         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9997         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9998         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9999         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10000         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10001         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10002         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10003         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10005         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10007 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10009         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10010         Remove strpbrk objects.
10011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10012         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10013         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10014         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10015         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10016         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10018         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10019         Remove strcspn objects.
10020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10021         (__libc_ifunc_impl_list): Remove strcspn implementation.
10022         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10023         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10024         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10025         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10027         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10028         Remove strspn objetcs.
10029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10030         (__libc_ifunc_impl_list): Remove strspn implementation.
10031         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10032         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10033         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10034         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10036 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10038         [BZ #17581]
10039         * malloc/hooks.c
10040         (mem2mem_check): Add a terminator to the chain of checking blocks.
10041         (malloc_check_get_size): Use it here.
10042         (mem2chunk_check): Ditto.
10044 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10046         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10047         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10049 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10051         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10053         * nptl/nptl-init.c: Include libc-internal.h.
10054         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10056         * elf/ldconfig.c (search_dir): Expand comment.
10058 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10060         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10061         variable.
10062         (linknamespace-symlist-stdlibs-tests): Likewise.
10063         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10064         instead of $(objpfx)symlist-stdlibs.
10065         (linknamespace-libs-isoc): New variable.
10066         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10067         (linknamespace-libs-ISO): New variable.
10068         (linknamespace-libs-ISO99): Likewise.
10069         (linknamespace-libs-ISO11): Likewise.
10070         (linknamespace-libs-XPG3): Likewise.
10071         (linknamespace-libs-XPG4): Likewise.
10072         (linknamespace-libs-POSIX): Likewise.
10073         (linknamespace-libs-UNIX98): Likewise.
10074         (linknamespace-libs-XOPEN2K): Likewise.
10075         (linknamespace-libs-POSIX2008): Likewise.
10076         (linknamespace-libs-XOPEN2K8): Likewise.
10077         ($(objpfx)symlist-stdlibs): Replace by
10078         $(linknamespace-symlist-stdlibs-tests).  Use
10079         $(linknamespace-libs-$*) as set of libraries.
10080         ($(linknamespace-header-tests)): Update dependencies.  Use
10081         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10082         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10083         * conform/linknamespace.pl: Remove comment about considering
10084         definitions of symbols from irrelevant libraries.
10086 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10088         [BZ #13862]
10089         * elf/dl-tls.c: Include <atomic.h>.
10090         (oom): Remove #ifdef SHARED/#endif.
10091         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10092         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10093         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10094         big enough.
10095         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10096         * nptl/Makefile (tests): Add tst-stack4.
10097         (modules-names): Add tst-stack4mod.
10098         ($(objpfx)tst-stack4): New.
10099         (tst-stack4mod.sos): Likewise.
10100         ($(objpfx)tst-stack4.out): Likewise.
10101         ($(tst-stack4mod.sos)): Likewise.
10102         (clean): Likewise.
10103         * nptl/tst-stack4.c: New file.
10104         * nptl/tst-stack4mod.c: Likewise.
10106 2014-11-27  J. Brown  <jb999@gmx.de>
10108         * sysdeps/x86/bits/string.h: Add recent CPUs.
10110 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10112         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10113         sigblock.
10115         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10116         feof.
10118         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10119         variable.
10121 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10123         * nscd/connections.c: Include libc-internal.h because of macro
10124         usage ignore_value.
10126 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10128         * string/bits/string3.h (__warn_memset_zero_len): Don't
10129         declare for gcc newer than 5.0.
10130         (memset): Don't test for zero-length __LEN for gcc newer than
10131         5.0.
10133 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10135         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10136         size_t for %zu format.
10138         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10139         difference, not %ju.
10141 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10143         * include/libc-internal.h (ignore_value): New macro.
10144         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10145         with ignore_value.
10147         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10148         definition.
10150         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10151         pthread_cleanup_push to void *.
10153         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10154         Undefine.
10156         [BZ #16619]
10157         [BZ #16740]
10158         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10159         instead of 1L << 52.
10161         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10162         * libio/bug-rewind2.c (do_test): Likewise.
10164         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10165         * debug/test-strcpy_chk-ifunc.c: Likewise.
10166         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10167         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10168         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10169         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10170         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10171         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10172         * Rules [$(multi-arch) = no] (tests): Do not filter out
10173         $(tests-ifunc).
10174         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10175         * debug/Makefile (tests-ifunc): Remove variable.
10176         (tests): Do not add $(tests-ifunc).
10177         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10178         (tests): Do not add $(tests-ifunc).
10179         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10180         [TEST_IFUNC]: Remove conditionals.
10181         * string/test-string.h (TEST_IFUNC): Remove macro.
10182         [TEST_IFUNC]: Remove conditionals.
10184         * string/test-strchr.c [!WIDE] (L): New macro.
10185         [WIDE] (L): Likewise.
10186         (check1): Use CHAR instead of char.  Use L on string and character
10187         constants.
10189 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10191         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10192         tests.
10193         * sysdeps/powerpc/bits/atomic.h
10194         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10195         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10196         (atomic_exchange_and_add_acq): Likewise.
10197         (atomic_exchange_and_add_rel): Likewise.
10198         * sysdeps/powerpc/powerpc32/bits/atomic.h
10199         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10200         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10201         * sysdeps/powerpc/powerpc64/bits/atomic.h
10202         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10203         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10205 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10207         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10208         Change synchronization of __sched_fifo_min_prio and
10209         __sched_fifo_max_prio.
10210         * nptl/pthread_mutexattr_getprioceiling.c
10211         (pthread_mutexattr_getprioceiling): Likewise.
10212         * nptl/pthread_mutexattr_setprioceiling.c
10213         (pthread_mutexattr_setprioceiling): Likewise.
10214         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10215         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10216         Likewise.
10218 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10220         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10221         void.
10223 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10225         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10226         third argument const.
10228 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10230         fnmatch: work around GCC compiler warning bug with uninit var
10231         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10232         This works around a bug with x86-64 GCC 4.9.2 and earlier
10233         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10234         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10235         used uninitialized in this function [-Wmaybe-uninitialized]".
10237 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10239         * posix/bug-regex31.c (main): Return RES not 0.
10241 2014-11-25  Anton Blanchard <anton@samba.org>
10243         * sysdeps/powerpc/bits/atomic.h
10244         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10246 2014-11-24  Sterling Augustine  <saugustine@google.com>
10248         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10250 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10252         [BZ #17608]
10253         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10255 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10257         [BZ #17633]
10258         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10259         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10260         variable.
10261         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10262         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10264 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10266         * string/strncpy.c (strncpy): Improve performance by using memset.
10268 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10270         * string/strcpy.c (strcpy):
10271         Improve performance by using strlen and memcpy.
10273 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10275         * string/strcoll_l.c (get_next_seq): __always_inline.
10276         * string/strcoll_l.c (do_compare): __always_inline.
10278 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10280         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10281         defined.
10282         * include/mqueue.h: Likewise.
10283         * include/stdlib.h: Likewise.
10285         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10286         (get_null_defines): Adjust.
10287         * sunrpc/Makefile: Adjust comment.
10288         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10289         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10290         (CFLAGS-interp.c): Likewise.
10291         (CFLAGS-ldconfig.c): Likewise.
10292         (CPPFLAGS-.os): Likewise.
10293         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10294         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10295         * extra-modules.mk (extra-modules.mk): Likewise.
10296         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10297         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10298         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10299         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10300         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10301         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10302         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10303         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10304         * iconvdata/Makefile (CPPFLAGS): Likewise.
10305         (cpp-srcs-left): Add libof for all iconvdata routines.
10306         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10307         * include/assert.h: Likewise.
10308         * include/ctype.h: Likewise.
10309         * include/errno.h: Likewise.
10310         * include/libc-symbols.h: Likewise.
10311         * include/math.h: Likewise.
10312         * include/netdb.h: Likewise.
10313         * include/resolv.h: Likewise.
10314         * include/stdio.h: Likewise.
10315         * include/stdlib.h: Likewise.
10316         * include/string.h: Likewise.
10317         * include/sys/stat.h: Likewise.
10318         * include/wctype.h: Likewise.
10319         * intl/l10nflist.c: Likewise.
10320         * libidn/idn-stub.c: Likewise.
10321         * libio/libioP.h: Likewise.
10322         * nptl/libc_multiple_threads.c: Likewise.
10323         * nptl/pthreadP.h: Likewise.
10324         * posix/regex_internal.h: Likewise.
10325         * resolv/res_hconf.c: Likewise.
10326         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10327         * sysdeps/arm/memmove.S: Likewise.
10328         * sysdeps/arm/sysdep.h: Likewise.
10329         * sysdeps/generic/_itoa.h: Likewise.
10330         * sysdeps/generic/symbol-hacks.h: Likewise.
10331         * sysdeps/gnu/errlist.awk: Likewise.
10332         * sysdeps/gnu/errlist.c: Likewise.
10333         * sysdeps/i386/i586/memcpy.S: Likewise.
10334         * sysdeps/i386/i586/memset.S: Likewise.
10335         * sysdeps/i386/i686/memcpy.S: Likewise.
10336         * sysdeps/i386/i686/memmove.S: Likewise.
10337         * sysdeps/i386/i686/mempcpy.S: Likewise.
10338         * sysdeps/i386/i686/memset.S: Likewise.
10339         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10340         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10341         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10342         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10343         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10344         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10345         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10346         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10347         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10348         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10349         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10350         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10351         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10352         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10353         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10354         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10355         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10356         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10357         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10358         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10359         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10360         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10361         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10362         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10363         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10364         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10365         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10366         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10367         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10368         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10369         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10370         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10371         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10372         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10373         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10374         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10375         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10376         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10377         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10378         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10379         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10380         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10381         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10382         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10383         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10384         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10385         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10386         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10387         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10388         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10389         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10390         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10391         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10392         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10393         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10394         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10395         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10396         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10397         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10398         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10399         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10400         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10401         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10402         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10403         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10404         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10405         * sysdeps/posix/closedir.c: Likewise.
10406         * sysdeps/posix/opendir.c: Likewise.
10407         * sysdeps/posix/readdir.c: Likewise.
10408         * sysdeps/posix/rewinddir.c: Likewise.
10409         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10410         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10411         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10412         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10413         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10414         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10415         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10416         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10418         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10420         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10421         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10422         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10423         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10424         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10425         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10426         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10427         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10428         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10429         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10430         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10431         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10432         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10433         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10434         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10435         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10436         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10437         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10438         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10444         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10445         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10446         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10447         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10448         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10449         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10450         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10451         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10452         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10453         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10454         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10455         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10456         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10457         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10458         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10459         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10460         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10462         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10463         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10464         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10465         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10466         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10467         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10468         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10469         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10470         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10471         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10472         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10473         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10474         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10475         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10476         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10477         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10478         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10479         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10480         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10481         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10482         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10483         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10484         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10485         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10486         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10487         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10488         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10489         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10490         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10491         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10492         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10493         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10494         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10495         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10496         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10497         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10498         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10499         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10500         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10501         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10502         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10503         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10504         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10505         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10506         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10507         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10508         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10509         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10510         * sysdeps/unix/alpha/sysdep.S: Likewise.
10511         * sysdeps/unix/alpha/sysdep.h: Likewise.
10512         * sysdeps/unix/make-syscalls.sh: Likewise.
10513         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10514         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10515         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10516         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10517         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10518         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10519         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10520         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10521         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10522         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10523         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10524         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10525         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10526         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10527         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10528         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10529         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10530         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10531         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10532         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10533         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10534         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10535         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10536         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10537         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10538         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10539         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10542         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10543         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10544         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10546         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10547         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10548         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10549         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10550         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10551         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10552         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10553         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10554         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10555         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10556         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10557         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10558         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10559         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10560         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10561         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10562         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10563         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10564         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10565         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10566         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10567         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10568         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10569         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10571         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10572         * sysdeps/x86_64/memcpy.S: Likewise.
10573         * sysdeps/x86_64/memmove.c: Likewise.
10574         * sysdeps/x86_64/memset.S: Likewise.
10575         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10576         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10577         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10578         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10579         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10580         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10581         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10582         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10583         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10584         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10585         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10586         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10587         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10588         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10589         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10590         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10591         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10592         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10593         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10594         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10595         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10596         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10597         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10598         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10599         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10600         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10601         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10602         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10603         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10604         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10605         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10606         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10607         * sysdeps/x86_64/strcmp.S: Likewise.
10609         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10611         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10612         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10613         * elf/rtld-Rules: Likewise.
10614         * elf/setup-vdso.h: Likewise.
10615         * include/assert.h: Likewise.
10616         * include/bits/stdlib-float.h: Likewise.
10617         * include/errno.h: Likewise.
10618         * include/sys/stat.h: Likewise.
10619         * include/unistd.h: Likewise.
10620         * sysdeps/aarch64/setjmp.S: Likewise.
10621         * sysdeps/alpha/setjmp.S: Likewise.
10622         * sysdeps/arm/__longjmp.S: Likewise.
10623         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10624         * sysdeps/arm/setjmp.S: Likewise.
10625         * sysdeps/arm/sysdep.h: Likewise.
10626         * sysdeps/generic/_itoa.h: Likewise.
10627         * sysdeps/generic/dl-sysdep.h: Likewise.
10628         * sysdeps/generic/ldsodefs.h: Likewise.
10629         * sysdeps/i386/dl-tls.h: Likewise.
10630         * sysdeps/i386/setjmp.S: Likewise.
10631         * sysdeps/m68k/setjmp.c: Likewise.
10632         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10633         * sysdeps/mach/hurd/opendir.c: Likewise.
10634         * sysdeps/posix/getcwd.c: Likewise.
10635         * sysdeps/posix/opendir.c: Likewise.
10636         * sysdeps/posix/profil.c: Likewise.
10637         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10638         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10639         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10640         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10641         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10642         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10643         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10644         * sysdeps/s390/dl-tls.h: Likewise.
10645         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10646         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10647         * sysdeps/sh/sh3/setjmp.S: Likewise.
10648         * sysdeps/sh/sh4/setjmp.S: Likewise.
10649         * sysdeps/unix/alpha/sysdep.h: Likewise.
10650         * sysdeps/unix/arm/sysdep.S: Likewise.
10651         * sysdeps/unix/i386/sysdep.S: Likewise.
10652         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10653         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10654         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10655         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10656         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10657         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10658         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10659         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10660         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10661         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10662         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10663         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10664         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10667         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10668         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10670         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10671         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10672         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10673         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10674         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10675         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10676         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10677         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10678         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10679         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10680         * sysdeps/x86_64/setjmp.S: Likewise.
10682         * include/math.h: Use IS_IN instead of IS_IN_libm.
10683         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10684         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10685         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10686         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10687         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10688         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10689         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10690         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10691         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10692         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10693         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10694         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10695         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10696         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10697         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10698         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10699         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10700         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10701         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10702         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10703         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10704         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10705         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10706         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10707         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10708         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10709         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10710         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10711         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10712         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10713         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10714         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10715         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10717         Likewise.
10718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10719         Likewise.
10720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10721         Likewise.
10722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10723         Likewise.
10724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10725         Likewise.
10726         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10727         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10728         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10729         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10730         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10731         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10737         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10738         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10739         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10740         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10741         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10742         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10743         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10744         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10745         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10746         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10747         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10749         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10750         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10752         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10754         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10755         * nptl/pthreadP.h: Likewise.
10756         * nptl_db/structs.def: Likewise.
10757         * sysdeps/arm/sysdep.h: Likewise.
10758         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10759         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10760         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10761         * sysdeps/unix/alpha/sysdep.h: Likewise.
10762         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10763         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10764         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10765         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10766         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10767         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10768         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10769         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10770         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10771         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10772         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10773         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10774         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10775         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10778         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10779         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10780         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10781         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10782         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10783         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10784         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10785         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10786         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10787         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10789         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10790         * nptl/pthreadP.h: Likewise.
10791         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10792         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10793         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10794         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10795         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10796         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10797         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10798         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10799         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10800         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10801         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10802         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10804         Likewise.
10805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10806         Likewise.
10807         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10808         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10809         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10810         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10811         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10812         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10813         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10814         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10816         * dlfcn/dladdr.c: Use IS_IN.
10817         * dlfcn/dladdr1.c: Likewise.
10818         * dlfcn/dlclose.c: Likewise.
10819         * dlfcn/dlerror.c: Likewise.
10820         * dlfcn/dlinfo.c: Likewise.
10821         * dlfcn/dlmopen.c: Likewise.
10822         * dlfcn/dlopen.c: Likewise.
10823         * dlfcn/dlsym.c: Likewise.
10824         * dlfcn/dlvsym.c: Likewise.
10826         * include/ifaddrs.h: Use IS_IN.
10827         * inet/check_pf.c: Likewise.
10828         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10829         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10831         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10832         IS_IN_ldconfig.
10833         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10834         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10836         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10837         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10838         IS_IN (libc).
10840         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10842         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10843         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10844         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10845         * include/libc-symbols.h (IS_IN_LIB): New macro.
10846         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10847         * include/netdb.h: Likewise.
10848         * include/stap-probe.h: Remove all uses of IN_LIB.
10850         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10851         instead of IN_MODULE.
10852         * include/libc-symbols.h (IN_MODULE): Define using
10853         MODULE_NAME.
10854         (PASTE_NAME, PASTE_NAME1): New macros.
10855         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10856         of IN_LIB.
10857         (STAP_PROBE_ASM): Likewise.
10859 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10861         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10862         __mach_init in dlopened libc.
10864 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10866         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10867         * sysdeps/arm/preconfigure: Regenerate.
10869 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10871         * nptl/pthread_create.c (__pthread_create_2_1): Set
10872         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10873         when copying values from IATTR into PD.
10875 2014-11-21  Will Newton  <will.newton@linaro.org>
10876             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10878         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10879         Refactor inline-asm.  Also add comment.
10881         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10882         ElfW macro instead of hardcoded Elf64 types.
10883         (la_aarch64_gnu_pltenter): Likewise.
10884         * sysdeps/aarch64/dl-machine.h
10885         (elf_machine_runtime_setup): Use ElfW(Addr).
10887         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10888         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10889         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10890         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10891         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10892         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10893         (R_AARCH64_TLS_DTPMOD): This.
10894         (R_AARCH64_TLS_DTPREL64): Rename to ...
10895         (R_AARCH64_TLS_DTPREL): This.
10896         (R_AARCH64_TLS_TPREL64): Rename to ...
10897         (R_AARCH64_TLS_TPREL): This.
10898         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10899         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10900         R_AARCH64_TLS_TPREL64.
10901         (elf_machine_rela): Likewise.
10903 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10905         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10906         by setting it to 0.  64b atomics are not supported currently.
10908 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10910         [BZ #16469]
10911         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10912         search domain names.
10914 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10916         [BZ #16469]
10917         * NEWS: Update.
10918         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10919         trailing dot.
10920         * posix/tst-getaddrinfo5.c: New.
10921         * posix/Makefile (tests): Add it.
10923 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10925         [BZ #14498]
10926         * NEWS: Fixed.
10927         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10928         after parsing line but before break_if_match.
10929         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10930         if there is a protocol mismatch.
10932 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10934         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10935         because the potential race is on the user-supplied stream.
10937 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10939         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10940         string literal if not passed a buffer.
10941         * manual/job.texi (ctermid): Update reasoning, note deviation
10942         from posix, suggest mtasurace when not passed a buffer, for
10943         future non-preliminary safety notes.
10945 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10947         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10948         of not passing it a buffer.
10949         Reported by Peng Haitao.
10951 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10953         * manual/Makefile ($(objpfx)stamp-summary): Require
10954         check-safety.sh to pass.
10955         * manual/check-safety.sh: Wish for verification that every
10956         @deftypefn and @deftypefun is followed by a @safety remark.
10958 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10960         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10962         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10963         PTHREAD_CANCEL_ASYNCHRONOUS.
10964         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10965         send SIGCANCEL.
10967         * nptl/default-sched.h: New file.
10968         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10969         * nptl/pthread_create.c: Include it.
10970         (__pthread_create_2_1): Use collect_default_sched instead of making
10971         Linux syscalls here directly.
10973 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10975         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10976         __pthread_once): Use C11 atomics.
10978 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10980         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10982 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10984         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10985         atomic_thread_fence_acquire, atomic_thread_fence_release,
10986         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10987         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10988         atomic_compare_exchange_weak_relaxed,
10989         atomic_compare_exchange_weak_acquire,
10990         atomic_compare_exchange_weak_release,
10991         atomic_exchange_acquire, atomic_exchange_release,
10992         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10993         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10994         atomic_fetch_and_acquire,
10995         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10997 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10999         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11000         USE_ATOMIC_COMPILER_BUILTINS): Define.
11001         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11002         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11003         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11004         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11005         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11006         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11007         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11008         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11009         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11010         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11011         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11012         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11013         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11014         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11015         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11016         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11017         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11018         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11019         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11020         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11021         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11022         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11023         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11024         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11025         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11026         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11027         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11028         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11029         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11030         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11031         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11032         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11033         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11034         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11035         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11036         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11037         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11038         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11039         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11042 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11044         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11045         the sched_priority value here.  It was already checked when the user
11046         called pthread_attr_setschedparam.
11048         * nptl/tst-bad-schedattr.c: New file.
11049         * nptl/Makefile (tests): Add it.
11051 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11052             Florian Weimer  <fweimer@redhat.com>
11053             Joseph Myers  <joseph@codesourcery.com>
11054             Adam Conrad  <adconrad@0c3.net>
11055             Andreas Schwab  <schwab@suse.de>
11056             Brooks  <bmoses@google.com>
11058         [BZ #17625]
11059         * wordexp-test.c (__dso_handle): Add prototype.
11060         (__register_atfork): Likewise.
11061         (__app_register_atfork): New function.
11062         (registered_forks): New global.
11063         (register_fork): New function.
11064         (test_case): Add 3 new tests for WRDE_CMDSUB.
11065         (main): Call __app_register_atfork.
11066         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11067         fork count is non-zero fail the test.
11068         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11069         is set.
11070         (parse_dollars): Remove check for WRDE_NOCMD.
11071         (parse_dquote): Likewise.
11073 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11075         * Makeconfig (built-modules): List non-library modules to be
11076         built.
11077         (module-cppflags): Include libc-modules.h for
11078         everything except shlib-versions.v.i.
11079         (CPPFLAGS): Use it.
11080         (before-compile): Add libc-modules.h.
11081         ($(common-objpfx)libc-modules.h,
11082         $(common-objpfx)libc-modules.stmp): New targets.
11083         (common-generated): Add libc-modules.h and libc-modules.stmp.
11084         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11085         * include/libc-symbols.h: Don't include libc-modules.h.
11086         * include/libc-modules.h: Remove file.
11087         * scripts/gen-libc-modules.awk: New script to generate
11088         libc-modules.h.
11089         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11090         Depend on libc-modules.stmp.
11092         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11094         * Makeconfig (in-module): Get value of libof set for the
11095         translation unit.
11096         (CPPFLAGS): Use $(in-module).
11097         * Makerules: Don't suffix routine names for nonlib.
11098         * include/libc-modules.h: New file.
11099         * include/libc-symbols.h: Include libc-modules.h
11100         (IS_IN): New macro to replace IS_IN_* macros.
11101         * elf/Makefile: Set libof-* for each routine.
11102         * elf/rtld-Rules: Likewise.
11103         * extra-modules.mk: Likewise.
11104         * iconv/Makefile: Likewise.
11105         * iconvdata/Makefile: Likewise.
11106         * locale/Makefile: Likewise.
11107         * malloc/Makefile: Likewise.
11108         * nss/Makefile: Likewise.
11109         * sysdeps/gnu/Makefile: Likewise.
11110         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11111         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11112         * sysdeps/s390/s390-64/Makefile: Likewise.
11113         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11114         CPPFLAGS for nscd instead of nonlib.
11116 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11118         * nptl/createthread.c: New file.
11120         * nptl/createthread.c: Moved ...
11121         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11123         * nptl/createthread.c: Add proper top-line comment.
11124         (do_clone): Folded into ...
11125         (create_thread): ... here.  Take new arguments STOPPED_START and
11126         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11127         increment __nptl_threads, do event-reporting logic, do
11128         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11129         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11130         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11131         just send SIGCANCEL.
11132         * nptl/pthread_create.c: Forward-declare create_thread before
11133         including createthread.c.
11134         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11135         declaration, and new macro START_THREAD_SELF to replace argument.
11136         Remove return statement.
11137         (report_thread_creation): New function.
11138         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11139         synchronization logic, and __nptl_nthreads increment here, around
11140         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11141         PD->parent_cancelhandling here, before create_thread.  When
11142         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11143         __deallocate_stack, and ENOMEM translation here.
11145 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11147         [BZ #17616]
11148         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11149         (mptwo): Rename to __mptwo.
11150         (__inv): Use __mptwo instead of mptwo.
11151         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11152         (mptwo): Rename to __mptwo.
11153         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11154         of mpone and __mptwo instead of mptwo.
11155         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11156         instead of mpone.
11157         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11158         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11159         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11160         of mpone and __mptwo instead of mptwo.
11161         (__mpranred): Use __mpone instead of mpone.
11162         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11163         variable.
11164         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11165         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11166         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11167         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11168         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11169         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11170         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11171         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11172         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11173         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11174         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11175         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11176         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11177         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11178         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11179         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11180         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11181         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11182         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11184 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11186         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11187         replace BSD Handler xref with BSD Signal Handling.
11189 2014-11-17  Richard Henderson  <rth@redhat.com>
11191         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11192         (_FP_PACK_RAW_2): Remove.
11193         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11194         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11195         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11196         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11197         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11198         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11199         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11200         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11201         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11202         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11203         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11204         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11205         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11206         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11207         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11208         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11210 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11212         * signal/signal.h [__USE_MISC]
11213         (struct sigvec): Remove type.
11214         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11215         (sigvec): Remove declaration.
11216         * sysdeps/posix/sigvec.c: Moved ...
11217         * signal/sigvec.c: ... here, replacing old file.
11218         (struct sigvec): New type, copied from old signal.h definition.
11219         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11220         (__sigvec): Convert definition to prototype.
11221         (sigvec): Replace weak_alias with compat_symbol.
11222         * signal/Versions (libc: GLIBC_2.21): New version set.
11223         * include/signal.h: Remove __sigvec declaration.
11224         * sysdeps/unix/bsd/sigvec.c: Remove file.
11225         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11226         * manual/signal.texi (BSD Handler): Remove subsection.
11227         Move siginterrupt up to ...
11228         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11229         (Blocking in BSD): Fold subsection into its parent.
11230         * NEWS: Mention sigvec removal.
11232 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11234         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11235         (DLA_FMS): Make definition conditional only on [__FMA4__].
11236         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11237         definition.
11239         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11240         Make definition conditional only on [PROF].
11241         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11242         definition.
11243         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11244         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11246         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11247         !__GNUC__].
11248         * include/signal.h (__sigpause): Move declaration above call to
11249         libc_hidden_proto.
11250         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11251         variable.
11252         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11253         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11255 2014-11-14  David S. Miller  <davem@davemloft.net>
11257         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11258         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11260 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11262         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11263         * configure: Regenerated.
11264         * manual/install.texi (Tools for Compilation): Document a
11265         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11266         compiler verified to work.
11267         * INSTALL: Regenerated.
11269         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11270         redeclare with asm name.
11271         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11272         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11273         including <string.h>.
11274         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11275         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11276         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11277         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11278         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11279         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11280         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11282 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11284         * stdlib/strtol.c (__strtol): Use prototype definition.
11286         [BZ #17594]
11287         * stdlib/strtol.c (SYM__): New macro.
11288         (SYM__1): Likewise.
11289         (__strtol): Likewise.
11290         (strtol): Rename to __strtol and define as weak alias of
11291         __strtol.  Use libc_hidden_weak.
11293 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11295         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11296         Use numbered labels in inline assembly.
11298 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11300         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11301         Add setjmp LIBC_PROBE.
11302         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11303         Likewise.
11304         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11305         Add longjmp, longjmp_target LIBC_PROBE.
11306         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11307         Likewise.
11309 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11311         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11312         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11313         to get rid of unused variable warning.
11315 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11317         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11318         Check for unwind_backtrace ==  NULL only in SHARED case.
11319         (__backchain_backtrace): Compile only in SHARED case.
11320         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11321         Likewise.
11322         (__backchain_backtrace): Declare as static.
11324 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11326         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11327         (__libc_multiple_threads_ptr): Variable moved ...
11328         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11330 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11332         * conform/GlibcConform.pm: New file.
11333         * conform/conformtest.pl: Use GlibcConform module.
11334         * conform/linknamespace.pl: New file.
11335         * conform/list-header-symbols.pl: Likewise.
11336         * conform/Makefile (linknamespace-symlists-base): New variable.
11337         (linknamespace-symlists-tests): Likewise.
11338         (linknamespace-header-base): Likewise.
11339         (linknamespace-header-tests): Likewise.
11340         (tests-special): Add new tests.
11341         ($(linknamespace-symlists-tests)): New rule.
11342         (linknamespace-libs): New variable.
11343         ($(objpfx)symlist-stdlibs): New rule.
11344         ($(linknamespace-header-tests)): Likewise.
11345         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11346         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11347         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11348         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11349         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11350         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11351         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11352         (test-xfail-ISO/math.h/linknamespace): Likewise.
11353         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11354         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11355         (test-xfail-ISO/time.h/linknamespace): Likewise.
11356         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11357         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11358         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11359         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11360         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11361         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11362         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11363         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11364         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11365         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11366         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11367         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11368         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11369         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11370         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11371         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11372         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11373         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11374         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11375         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11376         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11377         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11378         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11379         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11380         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11381         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11382         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11383         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11384         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11385         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11386         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11387         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11388         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11389         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11390         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11391         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11392         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11393         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11394         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11395         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11396         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11397         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11398         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11399         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11400         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11401         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11402         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11403         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11404         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11405         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11406         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11407         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11408         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11409         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11410         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11411         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11412         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11413         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11414         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11415         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11416         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11417         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11418         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11419         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11420         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11421         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11422         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11423         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11424         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11425         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11426         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11427         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11428         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11429         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11430         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11431         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11432         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11433         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11434         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11435         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11436         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11437         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11438         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11439         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11440         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11441         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11442         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11443         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11444         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11445         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11446         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11447         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11448         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11449         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11450         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11451         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11452         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11453         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11454         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11455         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11456         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11457         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11458         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11459         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11460         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11461         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11462         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11463         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11464         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11465         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11466         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11467         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11468         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11469         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11470         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11471         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11472         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11473         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11474         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11475         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11476         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11477         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11478         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11479         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11480         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11481         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11482         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11483         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11484         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11485         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11486         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11487         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11488         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11489         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11490         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11491         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11492         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11493         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11494         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11495         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11496         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11497         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11498         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11499         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11500         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11501         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11502         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11503         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11504         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11505         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11507         [BZ #17589]
11508         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11509         of fgets_unlocked.
11511         [BZ #17585]
11512         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11513         (memmem): Rename to __memmem and define as weak alias of
11514         __memmem.  Use libc_hidden_weak.
11515         (__memmem): Use libc_hidden_def.
11516         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11517         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11518         memmem.
11520         [BZ #17582]
11521         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11522         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11523         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11524         and define as weak alias of __fgets_unlocked.  Use
11525         libc_hidden_weak.
11526         (__fgets_unlocked): Use libc_hidden_def.
11527         * include/stdio.h (__fgets_unlocked): Declare.  Use
11528         libc_hidden_proto.
11529         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11530         __fgets_unlocked instead of fgets_unlocked.
11531         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11532         (GET_NPROCS_CONF_PARSER): Likewise.
11533         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11534         (GET_NPROCS_CONF_PARSER): Likewise.
11536         [BZ #17574]
11537         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11538         weak alias of __wmemset.  Use libc_hidden_weak.
11539         (__wmemset): Use libc_hidden_def.
11540         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11541         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11542         of wmemset.
11544         [BZ #17573]
11545         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11546         with asm name __mempcpy.
11547         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11549         [BZ #17572]
11550         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11551         and define as weak alias of __rawmemchr.
11552         (__rawmemchr): Do not define as strong alias of rawmemchr.
11554         [BZ #17571]
11555         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11556         alias of __qsort_r.
11557         (qsort): Call __qsort_r instead of qsort_r.
11558         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11559         (__qsort_r): Declare.  Call libc_hidden_proto.
11560         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11561         instead of qsort_r.
11562         * nscd/gai.c (__qsort_r): Define to qsort_r.
11563         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11564         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11565         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11567         [BZ #17570]
11568         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11569         define as weak alias of __malloc_info.
11571         [BZ #17584]
11572         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11573         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11574         (__rewinddir): Use libc_hidden_def.
11575         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11576         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11577         (__rewinddir): Use libc_hidden_def.
11578         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11579         weak alias of __rewinddir.  Don't use libc_hidden_def.
11580         (__rewinddir): Use libc_hidden_def.
11581         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11582         (__rewinddir): Use libc_hidden_proto.
11583         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11584         rewinddir.
11585         (__getcwd): Use __rewinddir instead of rewinddir.
11587         [BZ #17583]
11588         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11589         alias of __fileno.  Use libc_hidden_weak.
11590         (__fileno): Use libc_hidden_def.
11591         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11592         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11593         alias of __ftello.
11594         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11595         __ftello.
11596         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11597         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11598         libc_hidden_def.
11599         (fread_unlocked): Don't use libc_hidden_ver.
11600         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11601         and define as weak alias of __fread_unlocked.  Don't use
11602         libc_hidden_def.
11603         (__fread_unlocked): Use libc_hidden_def.
11604         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11605         (ftello): Don't use libc_hidden_proto.
11606         (__ftello): Declare.  Use libc_hidden_proto.
11607         (fread_unlocked): Don't use libc_hidden_proto.
11608         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11609         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11610         and __ftello instead of fileno, fread_unlocked and ftello.
11612 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11614         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11615         GOT12.
11616         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11617         Likewise.
11618         (_dl_start_user): Likewise.
11619         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11621 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11622             Siddhesh Poyarekar  <siddhesh@redhat.com>
11624         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11625         Move argv and envp down instead of moving argc up.
11626         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11628 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11630         [BZ #17506]
11631         * test-skeleton.c (main): Return successful if one of
11632         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11633         * string/tst-strcoll-overflow.c: Define expected status.
11635 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11637         [BZ #17475]
11638         * locale/iso-639.def: Define Bhili and Tulu language codes.
11640 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11642         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11644 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11646         [BZ #17555]
11647         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11649 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11651         * configure.ac: Updated check of minimal required version to
11652         2.22.
11653         * manual/install.texi (Tools for Compilation): Updated version
11654         number.
11655         * configure: Regenerated.
11656         * INSTALL: Likewise.
11658 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11660         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11661         __tls_get_addr.
11663 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11665         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11666         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11667         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11668         libc_hidden_weak.
11669         (waitpid): Define as alias of __waitpid.
11670         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11671         __waitpid.
11672         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11673         libc_hidden_weak.
11674         (waitpid): Define as alias of __waitpid.
11675         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11676         __libc_waitpid alias.
11677         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11678         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11679         Likewise.
11680         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11681         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11682         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11683         alias.
11684         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11685         __waitpid.
11686         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11687         libc_hidden_weak.
11688         (waitpid): Define as alias of __waitpid.
11690 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11692         * manual/llio.texi: Add comment that write safety has been
11693         fixed in Linux.
11695         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11696         (localplt-build-dso): Add elf/ld.so.
11697         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11698         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11699         and free for ld.so.
11700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11701         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11703         Likewise.
11704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11705         Likewise.
11706         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11707         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11708         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11709         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11710         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11711         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11712         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11713         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11714         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11715         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11716         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11718 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11720         [BZ #14132]
11721         * include/libc-symbols.h (INTUSE): Remove macro.
11722         (INTDEF): Likewise.
11723         (INTVARDEF): Likewise.
11724         (_INTVARDEF): Likewise.
11725         (INTDEF2): Likewise.
11726         (INTVARDEF2): Likewise.
11727         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11728         rtld_hidden_def instead of INTVARDEF.
11729         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11730         (_dl_starting_up_internal): Remove declaration.
11731         (_dl_starting_up): Use rtld_hidden_proto.
11732         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11733         declaration.
11734         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11735         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11736         _dl_starting_up.
11737         * elf/dl-writev.h (_dl_writev): Likewise.
11738         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11739         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11740         _dl_starting_up_internal.
11742 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11744         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11745         test-skeleton.c.
11747 2014-11-05  Will Newton  <will.newton@linaro.org>
11749         * benchtests/Makefile: (bench-malloc): Add malloc thread
11750         scalability benchmark.
11751         * benchtests/bench-malloc-threads.c: New file.
11753 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11755         * sysdeps/aarch64/strchrnul.S: New file.
11757 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11759         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11760         definition.
11761         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11762         Likwise.
11763         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11764         Likewise.
11765         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11766         Likewise.
11767         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11768         Likewise.
11769         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11770         Likewise.
11772 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11774         * catgets/test-gencat.c: Use test-skeleton.c.
11775         * catgets/tst-catgets.c: Likewise.
11776         * csu/tst-empty.c: Likewise.
11777         * elf/tst-audit2.c: Likewise.
11778         * elf/tst-global1.c: Likewise.
11779         * elf/tst-pathopt.c: Likewise.
11780         * elf/tst-piemod1.c: Likewise.
11781         * elf/tst-tls10.c: Likewise.
11782         * elf/tst-tls11.c: Likewise.
11783         * elf/tst-tls12.c: Likewise.
11784         * gnulib/tst-gcc.c: Likewise.
11785         * iconvdata/tst-e2big.c: Likewise.
11786         * iconvdata/tst-loading.c: Likewise.
11787         * iconv/tst-iconv1.c: Likewise.
11788         * iconv/tst-iconv2.c: Likewise.
11789         * inet/test-inet6_opt.c: Likewise.
11790         * inet/tst-gethnm.c: Likewise.
11791         * inet/tst-network.c: Likewise.
11792         * inet/tst-ntoa.c: Likewise.
11793         * intl/tst-codeset.c: Likewise.
11794         * intl/tst-gettext2.c: Likewise.
11795         * intl/tst-gettext3.c: Likewise.
11796         * intl/tst-ngettext.c: Likewise.
11797         * intl/tst-translit.c: Likewise.
11798         * io/test-stat.c: Likewise.
11799         * libio/test-fmemopen.c: Likewise.
11800         * libio/tst-freopen.c: Likewise.
11801         * libio/tst-sscanf.c: Likewise.
11802         * libio/tst-ungetwc1.c: Likewise.
11803         * libio/tst-ungetwc2.c: Likewise.
11804         * libio/tst-widetext.c: Likewise.
11805         * localedata/tst-ctype.c: Likewise.
11806         * localedata/tst-digits.c: Likewise.
11807         * localedata/tst-leaks.c: Likewise.
11808         * localedata/tst-mbswcs1.c: Likewise.
11809         * localedata/tst-mbswcs2.c: Likewise.
11810         * localedata/tst-mbswcs3.c: Likewise.
11811         * localedata/tst-mbswcs4.c: Likewise.
11812         * localedata/tst-mbswcs5.c: Likewise.
11813         * localedata/tst-setlocale.c: Likewise.
11814         * localedata/tst-trans.c: Likewise.
11815         * localedata/tst-wctype.c: Likewise.
11816         * localedata/tst-xlocale1.c: Likewise.
11817         * login/tst-grantpt.c: Likewise.
11818         * malloc/tst-calloc.c: Likewise.
11819         * malloc/tst-malloc.c: Likewise.
11820         * malloc/tst-mallocstate.c: Likewise.
11821         * malloc/tst-mcheck.c: Likewise.
11822         * malloc/tst-mtrace.c: Likewise.
11823         * malloc/tst-obstack.c: Likewise.
11824         * math/atest-exp2.c: Likewise.
11825         * math/atest-exp.c: Likewise.
11826         * math/atest-sincos.c: Likewise.
11827         * math/test-matherr.c: Likewise.
11828         * math/test-misc.c: Likewise.
11829         * math/test-powl.c: Likewise.
11830         * math/tst-definitions.c: Likewise.
11831         * misc/tst-dirname.c: Likewise.
11832         * misc/tst-efgcvt.c: Likewise.
11833         * misc/tst-fdset.c: Likewise.
11834         * misc/tst-hsearch.c: Likewise.
11835         * misc/tst-mntent2.c: Likewise.
11836         * nptl/tst-sem7.c: Likewise.
11837         * nptl/tst-sem8.c: Likewise.
11838         * nptl/tst-sem9.c: Likewise.
11839         * nss/test-netdb.c: Likewise.
11840         * posix/tst-fnmatch.c: Likewise.
11841         * posix/tst-getlogin.c: Likewise.
11842         * posix/tst-gnuglob.c: Likewise.
11843         * posix/tst-mmap.c: Likewise.
11844         * pwd/tst-getpw.c: Likewise.
11845         * resolv/tst-inet_ntop.c: Likewise.
11846         * rt/tst-timer.c: Likewise.
11847         * stdio-common/test-fseek.c: Likewise.
11848         * stdio-common/test-popen.c: Likewise.
11849         * stdio-common/test-vfprintf.c: Likewise.
11850         * stdio-common/tst-cookie.c: Likewise.
11851         * stdio-common/tst-fileno.c: Likewise.
11852         * stdio-common/tst-gets.c: Likewise.
11853         * stdio-common/tst-obprintf.c: Likewise.
11854         * stdio-common/tst-perror.c: Likewise.
11855         * stdio-common/tst-sprintf2.c: Likewise.
11856         * stdio-common/tst-sprintf3.c: Likewise.
11857         * stdio-common/tst-sprintf.c: Likewise.
11858         * stdio-common/tst-swprintf.c: Likewise.
11859         * stdio-common/tst-tmpnam.c: Likewise.
11860         * stdio-common/tst-unbputc.c: Likewise.
11861         * stdio-common/tst-wc-printf.c: Likewise.
11862         * stdlib/tst-environ.c: Likewise.
11863         * stdlib/tst-fmtmsg.c: Likewise.
11864         * stdlib/tst-limits.c: Likewise.
11865         * stdlib/tst-rand48-2.c: Likewise.
11866         * stdlib/tst-rand48.c: Likewise.
11867         * stdlib/tst-random2.c: Likewise.
11868         * stdlib/tst-random.c: Likewise.
11869         * stdlib/tst-strtol.c: Likewise.
11870         * stdlib/tst-strtoll.c: Likewise.
11871         * stdlib/tst-tls-atexit.c: Likewise.
11872         * stdlib/tst-xpg-basename.c: Likewise.
11873         * string/test-ffs.c: Likewise.
11874         * string/tst-bswap.c: Likewise.
11875         * string/tst-inlcall.c: Likewise.
11876         * string/tst-strtok.c: Likewise.
11877         * string/tst-strxfrm.c: Likewise.
11878         * sysdeps/x86_64/tst-audit10.c: Likewise.
11879         * sysdeps/x86_64/tst-audit3.c: Likewise.
11880         * sysdeps/x86_64/tst-audit4.c: Likewise.
11881         * sysdeps/x86_64/tst-audit5.c: Likewise.
11882         * time/tst-ftime_l.c: Likewise.
11883         * time/tst-getdate.c: Likewise.
11884         * time/tst-mktime3.c: Likewise.
11885         * time/tst-mktime.c: Likewise.
11886         * time/tst-posixtz.c: Likewise.
11887         * time/tst-strptime2.c: Likewise.
11888         * time/tst-strptime3.c: Likewise.
11889         * wcsmbs/tst-btowc.c: Likewise.
11890         * wcsmbs/tst-mbrtowc.c: Likewise.
11891         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11892         * wcsmbs/tst-wchar-h.c: Likewise.
11893         * wcsmbs/tst-wcpncpy.c: Likewise.
11894         * wcsmbs/tst-wcrtomb.c: Likewise.
11895         * wcsmbs/tst-wcsnlen.c: Likewise.
11896         * wcsmbs/tst-wcstof.c: Likewise.
11898 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11900         [BZ #14132]
11901         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11902         INTDEF.
11903         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11904         declaration.
11905         (_dl_mcount): Use rtld_hidden_proto.
11906         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11907         _dl_mcount.
11908         * elf/rtld.c (_rtld_global_ro): Likewise.
11910         [BZ #14132]
11911         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11912         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11913         of _dl_init_internal.
11914         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11915         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11916         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11917         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11918         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11919         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11920         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11921         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11922         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11923         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11924         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11925         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11926         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11927         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11928         * sysdeps/tile/dl-start.S (_start): Likewise.
11929         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11930         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11932         [BZ #14132]
11933         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11934         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11935         (rtld_progname): Make macro definition unconditional.
11936         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11937         INTDEF.
11938         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11939         (dl_main): Likewise.
11940         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11941         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11942         instead of _dl_argv_internal.
11943         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11944         __GI__dl_argv instead of INTUSE(_dl_argv).
11945         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11946         __GI__dl_argv instead of _dl_argv_internal.
11948         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11949         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11950         macro.
11951         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11952         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11953         New macro.
11954         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11955         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11956         macro.
11957         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11958         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11960 2014-11-04  Andreas Schwab  <schwab@suse.de>
11962         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11964 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11966         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11967         mtvsrd instruction in binary form.
11969 2014-11-03  Andreas Schwab  <schwab@suse.de>
11971         [BZ #17522]
11972         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11973         for less than MB_LEN_MAX use a local buffer of that size.
11974         * libio/tst-fputws.c: New file.
11975         * libio/Makefile (tests): Add tst-fputws.
11977 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11979         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11980         the size of the fpu_fr.fpu_dregs[] array.
11982 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11984         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11985         (__nanosleep): Do not define as alias.
11986         (nanosleep): Define as alias of __nanosleep.
11987         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11988         __libc_nanosleep name.
11990 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11992         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11993         install.texi in comment.
11995 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11997         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11998         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11999         ... add here and use lwsync or sync ...
12000         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12001         ... and add here using lwsync.
12003 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12005         * elf/dl-machine-reject-phdr.h: New file.
12006         * elf/dl-load.c: #include that.
12007         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12008         if that returned true.
12010 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12012         [BZ #17496]
12013         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12014         gen-as-const-headers chunk.  Add a big scare comment after the last
12015         safe place to touch before-compile.
12017 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12019         * manual/install.texi (Tools for Compilation): Update autoconf
12020         version requirements.
12021         * INSTALL: Regenerated.
12023         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12024         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12025         (__libc_pselect): Likewise.
12027         [BZ #14138]
12028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12033 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12035         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12036         correct barrier instruction.
12037         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12038         Likewise.
12039         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12040         Likewise.
12042 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12044         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12045         after defining inlines.  Instead, just use parens to defeat macro
12046         expansion of __isctype in its declaration.
12048 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12050         * include/sys/uio.h (__libc_readv): Remove declaration.
12051         (__libc_writev): Likewise.
12052         * misc/readv.c (__libc_readv): Rename to __readv.
12053         (__readv): Do not define as alias.
12054         (readv): Define as alias of __readv.
12055         * misc/writev.c (__libc_writev): Rename to __writev.
12056         (__writev): Do not define as alias.
12057         (writev): Define as alias of __writev.
12058         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12059         (__readv): Do not define as alias.
12060         (readv): Define unconditionally as alias of __readv.
12061         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12062         (__writev): Do not define as alias.
12063         (writev): Define unconditionally as alias of __writev.
12064         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12065         name.
12066         (writev): Do not define __libc_writev name.
12068 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12070         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12071         (convert_charseq): New function, broken out of ...
12072         (use_from_charmap): ... here.  Call it.
12073         (use_to_charmap): Use convert_charseq and free instead of duplicating
12074         its code with a variable-length stack struct.
12076 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12078         * include/fcntl.h (__libc_creat): Remove declaration.
12079         * io/creat.c (__libc_creat): Rename to creat.
12080         (creat): Do not define as alias.
12081         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12082         of creat instead of __libc_creat.
12083         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12084         to creat.
12085         (creat): Do not define as alias.
12086         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12087         __libc_creat.
12088         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12089         __libc_creat name.
12090         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12091         Likewise.
12093 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12095         * manual/llio.texi: Add comments discussing why write() may be
12096         considered MT-unsafe on Linux.
12098 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12100         * dl-load.c (local_strdup): Remove.
12101         (expand_dynamic_string_token): Use __strdup.
12102         (decompose_rpath): Likewise.
12103         (_dl_map_object): Likewise.
12105 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12107         [BZ #14132]
12108         * sysdeps/generic/unwind-dw2-fde.c
12109         (__register_frame_info_bases_internal): Do not declare.
12110         (__register_frame_info_table_bases_internal): Likewise.
12111         (__deregister_frame_info_bases_internal): Likewise.
12112         (__register_frame_info_bases): Declare and use hidden_proto before
12113         definition.  Use hidden_def instead of INTDEF.
12114         (__register_frame_info_table_bases): Likewise.
12115         (__deregister_frame_info_bases): Likewise.
12116         (__register_frame_info): Do not use INTUSE.
12117         (__register_frame): Likewise.
12118         (__register_frame_info_table): Likewise.
12119         (__register_frame_table): Likewise.
12120         (__deregister_frame_info): Likewise.
12121         (__deregister_frame): Likewise.
12123 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12125         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12126         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12127         not undefine.
12128         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12129         Likewise.
12130         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12131         Likewise.
12133 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12135         [BZ #14138]
12136         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12137         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12138         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12139         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12140         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12141         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12142         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12143         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12144         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12145         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12146         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12147         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12148         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12149         syscall.
12150         (setfsuid): Likewise.
12151         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12152         (setfsuid): Likewise.
12153         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12154         (setfsuid): Likewise.
12155         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12156         Likewise.
12157         (setfsuid): Likewise.
12158         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12159         (setfsuid): Likewise.
12160         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12161         Likewise.
12162         (setfsuid): Likewise.
12164 2014-10-27  Andreas Schwab  <schwab@suse.de>
12166         [BZ #17501]
12167         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12168         check for Slow_SSE4_2 feature bit.
12169         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12170         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12171         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12172         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12174 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12176         * configure.ac: Validate compiler version with a empirical test of
12177         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12178         $CC -v output.
12179         * configure: Regenerated.
12181         * inet/htons.c (htons): Prototypify.
12182         * inet/htonl.c (htonl): Likewise.
12184 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12186         * string/strncat.c (strncat): Improve performance by using strlen.
12188 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12190         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12192 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12194         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12195         Call libc_fetestexcept_aarch64.
12197 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12199         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12200         Call libc_feholdexcept_aarch64.
12202 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12204         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12205         Call get_rounding_mode.
12207 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12209         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12210         Simplify logic.
12212 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12214         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12215         Simplify logic.
12217 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12219         [BZ #14138]
12220         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12221         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12222         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12223         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12224         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12225         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12226         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12227         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12228         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12229         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12230         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12231         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12232         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12233         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12234         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12235         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12236         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12237         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12238         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12239         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12240         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12241         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12242         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12243         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12244         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12245         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12246         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12247         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12248         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12249         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12250         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12251         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12252         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12253         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12254         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12255         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12256         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12257         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12258         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12259         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12260         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12261         syscall.
12262         (geteuid): Likewise.
12263         (getgid): Likewise.
12264         (getuid): Likewise.
12265         (getresgid): Likewise.
12266         (getresuid): Likewise.
12267         (getgroups): Likewise.
12268         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12269         (geteuid): Likewise.
12270         (getgid): Likewise.
12271         (getuid): Likewise.
12272         (getresgid): Likewise.
12273         (getresuid): Likewise.
12274         (getgroups): Likewise.
12275         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12276         (geteuid): Likewise.
12277         (getgid): Likewise.
12278         (getuid): Likewise.
12279         (getresgid): Likewise.
12280         (getresuid): Likewise.
12281         (getgroups): Likewise.
12282         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12283         Likewise.
12284         (geteuid): Likewise.
12285         (getgid): Likewise.
12286         (getuid): Likewise.
12287         (getresgid): Likewise.
12288         (getresuid): Likewise.
12289         (getgroups): Likewise.
12290         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12291         (geteuid): Likewise.
12292         (getgid): Likewise.
12293         (getuid): Likewise.
12294         (getresgid): Likewise.
12295         (getresuid): Likewise.
12296         (getgroups): Likewise.
12297         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12298         Likewise.
12299         (geteuid): Likewise.
12300         (getgid): Likewise.
12301         (getuid): Likewise.
12302         (getgroups): Likewise.
12304         [BZ #14138]
12305         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12306         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12307         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12308         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12309         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12310         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12311         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12312         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12313         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12314         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12315         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12316         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12317         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12318         __chown.
12319         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12320         (lchown): Likewise.
12321         (fchown): Likewise.
12322         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12323         Likewise.
12324         (lchown): Likewise.
12325         (fchown): Likewise.
12326         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12327         (lchown): Likewise.
12328         (fchown): Likewise.
12329         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12330         Likewise.
12331         (lchown): Likewise.
12332         (fchown): Likewise.
12334 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12336         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12337         Simplify logic.
12339 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12341         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12342         Cleanup logic.
12344 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12346         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12347         Remove unused include.
12349 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12351         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12352         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12353         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12354         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12356 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12357             Helge Deller <deller@gmx.de>
12359         [BZ #17508]
12360         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12361         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12362         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12364 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12366         [BZ #14132]
12367         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12368         Remove macro definition.
12369         (__ashrdi3_v_glibc20): Likewise.
12370         (__lshrdi3_v_glibc20): Likewise.
12371         (__cmpdi2_v_glibc20): Likewise.
12372         (__ucmpdi2_v_glibc20): Likewise.
12373         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12374         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12375         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12376         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12377         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12378         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12380 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12382         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12383         old GNU extension [0] syntax.
12384         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12385         alloca rather than an array member with variable length.
12386         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12387         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12388         (parse_opt): ... here.  Likewise use alloca there.
12389         Validate the -i argument before checking for rootness.
12390         (send_shutdown): New function, broken out of ...
12391         (parse_opt): ... here.
12393 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12395         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12396         macro to get at the _rt_local_ro field.
12397         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12398         ([PIC] case) or _dl_hwcap ([!PIC] case).
12399         * sysdeps/arm/setjmp.S: Likewise.
12401         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12402         * sysdeps/arm/configure.ac: New check to define it.
12403         * sysdeps/arm/configure: Regenerated.
12404         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12405         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12406         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12407         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12408         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12409         Use move/movt pair instead of a load.
12410         (LDST_GLOBAL): Macro removed.
12411         (LDR_GLOBAL): New macro replaces it.
12412         (LDR_HIDDEN): New macro.
12413         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12414         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12416         * setjmp/tst-setjmp-static.c: New file.
12417         * setjmp/Makefile (tests): Add it.
12418         (tests-static): New variable.
12420 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12422         [BZ #17485]
12423         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12425 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12427         [BZ #14132]
12428         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12430 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12432         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12434 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12436         * io/fts.c (dirent_not_directory): New function.
12437         (fts_build): Call it.
12439 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12441         * nptl/version.c (__nptl_main): Use normal __write rather than
12442         INTERNAL_SYSCALL.
12443         (banner): Update copyright years.
12445         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12446         gettimeofday.
12447         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12448         * nptl/pthread_cond_timedwait.c: Likewise.
12449         * nptl/pthread_mutex_timedlock.c: Likewise.
12450         * nptl/sem_timedwait.c: Likewise.
12452         * sysdeps/nptl/bits/libc-lock.h
12453         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12454         (__libc_lock_init_recursive): Return void, not 0.
12455         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12456         (__libc_rwlock_init): Likewise.
12457         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12459 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12461         [BZ #15215]
12462         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12463         (__pthread_once_slow): ... here.
12464         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12465         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12467 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12469         [BZ #15215]
12470         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12471         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12472         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12473         * nptl/pthread_once.c (__pthread_once): Likewise.
12474         Update comments.
12476 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12478         [BZ #14138]
12479         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12480         name.
12481         (writev): Use __libc_writev as strong name.
12482         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12483         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12485 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12487         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12489         * sysdeps/i386/nptl/tls.h
12490         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12491         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12492         New macros.
12493         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12494         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12495         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12496         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12497         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12498         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12500         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12501         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12502         on [__NR_futex].
12503         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12504         broken out of ...
12505         (__pthread_mutex_init): ... here.  Call it.
12506         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12507         Conditionalize PI cases on [__NR_futex].
12508         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12509         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12510         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12512         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12513         conditional on [SIGSETXID].
12514         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12515         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12516         is defined.  Likewise for SIGSETXID.
12517         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12518         Conditionalize definitions on [SIGSETXID].
12519         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12520         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12521         unblocking on [SIGCANCEL].
12523         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12524         [__NR_set_robust_list].
12526 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12528         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12529         (do_compare): Likewise.
12531 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12533         [BZ #15884]
12534         * string/strcoll_l.c: Don't include stdio.h.
12535         (coll_seq): Remove members idxarr and rulearr.
12536         (get_next_seq_cached): Remove function.
12537         (get_next_seq): Likewise.
12538         (get_next_seq_nocache): Rename to get_next_seq.
12539         (do_compare): Remove function.
12540         (do_compare_nocache): Rename to do_compare.
12541         (STRCOLL): Remove weight and rules cache.
12543 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12545         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12546         * sysdeps/arm/sfp-machine.h: ... to here.
12547         * sysdeps/arm/Implies: Remove arm/soft-fp.
12549 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12551         * conform/data/sys/utsname.h-data (*_t): Allow.
12552         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12553         [POSIX] (WEXITED): Do not expect constant.
12554         [POSIX] (WSTOPPED): Likewise.
12555         [POSIX] (WNOHANG): Likewise.
12556         [POSIX] (WNOWAIT): Likewise.
12557         [POSIX] (siginfo_t): Do not expect type or elements.
12558         [POSIX] (pid_t): Do not expect type.
12559         [POSIX] (signal.h): Do not allow header.
12560         [POSIX] (sys/resource.h): Likewise.
12561         [POSIX] (si_*): Do not allow pattern.
12562         [POSIX] (W*): Likewise.
12563         [POSIX] (P_*): Likewise.
12564         [POSIX] (BUS_*): Likewise.
12565         [POSIX] (CLD_*): Likewise.
12566         [POSIX] (FPE_*): Likewise.
12567         [POSIX] (ILL_*): Likewise.
12568         [POSIX] (POLL_*): Likewise.
12569         [POSIX] (SEGV_*): Likewise.
12570         [POSIX] (SI_*): Likewise.
12571         [POSIX] (TRAP_*): Likewise.
12572         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12573         variable.
12575 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12577         [BZ #12926]
12578         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12579         infinite loop when __recvmsg returns 0.
12581 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12583         * CANCEL-FCT-WAIVE: Remove file.
12584         * CANCEL-FILE-WAIVE: Likewise.
12586         [BZ #14132]
12587         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12588         instead of INTVARDEF.
12589         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12590         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12591         rtld_hidden_data_def instead of INTVARDEF.
12592         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12593         * elf/dl-deps.c (expand_dst): Likewise.
12594         * elf/dl-load.c (_dl_dst_count): Likewise.
12595         (_dl_dst_substitute): Likewise.
12596         (decompose_rpath): Likewise.
12597         (_dl_init_paths): Likewise.
12598         (open_path): Likewise.
12599         (_dl_map_object): Likewise.
12600         * elf/rtld.c (dl_main): Likewise.
12601         (process_dl_audit): Likewise.
12602         (process_envvars): Likewise.
12603         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12604         Remove declaration.
12605         (__libc_enable_secure): Use rtld_hidden_proto.
12607 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12609         * elf/dl-load.c
12610         (add_path): New function broken out of _dl_rtld_di_serinfo.
12611         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12613 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12615         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12616         parentheses around macro arguments.
12617         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12618         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12619         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12620         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12621         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12622         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12623         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12624         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12625         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12626         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12627         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12628         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12629         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12630         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12631         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12632         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12633         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12634         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12635         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12636         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12637         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12638         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12639         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12640         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12641         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12642         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12643         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12644         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12645         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12646         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12647         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12648         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12649         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12650         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12651         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12652         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12653         Likewise.
12654         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12655         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12656         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12657         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12658         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12661         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12662         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12663         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12664         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12665         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12666         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12667         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12668         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12669         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12671         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12672         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12673         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12674         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12675         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12676         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12677         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12678         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12679         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12680         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12681         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12682         (_FP_FRAC_SRS_1): Likewise.
12683         (_FP_FRAC_CLZ_1): Likewise.
12684         (_FP_MUL_MEAT_1_imm): Likewise.
12685         (_FP_MUL_MEAT_1_wide): Likewise.
12686         (_FP_MUL_MEAT_1_hard): Likewise.
12687         (_FP_SQRT_MEAT_1): Likewise.
12688         (_FP_FRAC_ASSEMBLE_1): Likewise.
12689         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12690         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12691         (__FP_CLZ_2): Likewise.
12692         (_FP_MUL_MEAT_2_wide): Likewise.
12693         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12694         (_FP_MUL_MEAT_2_gmp): Likewise.
12695         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12696         (_FP_SQRT_MEAT_2): Likewise.
12697         (_FP_FRAC_ASSEMBLE_2): Likewise.
12698         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12699         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12700         (_FP_FRAC_CLZ_4): Likewise.
12701         (_FP_MUL_MEAT_4_wide): Likewise.
12702         (_FP_MUL_MEAT_4_gmp): Likewise.
12703         (_FP_SQRT_MEAT_4): Likewise.
12704         (_FP_FRAC_ASSEMBLE_4): Likewise.
12705         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12706         * soft-fp/op-common.h (_FP_CMP): Likewise.
12707         (_FP_CMP_EQ): Likewise.
12708         (_FP_CMP_UNORD): Likewise.
12709         (_FP_TO_INT): Likewise.
12710         (_FP_FROM_INT): Likewise.
12711         [!__FP_CLZ] (__FP_CLZ): Likewise.
12712         (_FP_DIV_HELP_imm): Likewise.
12713         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12714         Likewise.
12715         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12716         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12717         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12718         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12719         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12720         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12721         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12722         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12723         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12724         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12725         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12726         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12727         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12728         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12729         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12730         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12731         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12732         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12733         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12734         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12735         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12736         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12737         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12738         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12739         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12740         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12741         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12742         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12743         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12744         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12745         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12746         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12747         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12748         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12749         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12750         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12751         (FP_UNPACK_RAW_SP): Likewise.
12752         (FP_PACK_RAW_S): Likewise.
12753         (FP_PACK_RAW_SP): Likewise.
12754         (FP_UNPACK_S): Likewise.
12755         (FP_UNPACK_SP): Likewise.
12756         (FP_UNPACK_SEMIRAW_S): Likewise.
12757         (FP_UNPACK_SEMIRAW_SP): Likewise.
12758         (FP_PACK_S): Likewise.
12759         (FP_PACK_SP): Likewise.
12760         (FP_PACK_SEMIRAW_S): Likewise.
12761         (FP_PACK_SEMIRAW_SP): Likewise.
12762         (_FP_SQRT_MEAT_S): Likewise.
12763         (FP_CMP_S): Likewise.
12764         (FP_CMP_EQ_S): Likewise.
12765         (FP_CMP_UNORD_S): Likewise.
12766         (FP_TO_INT_S): Likewise.
12767         (FP_FROM_INT_S): Likewise.
12769         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12771         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12772         (FP_EX_INVALID_IMZ): Likewise.
12773         (FP_EX_INVALID_IMZ_FMA): Likewise.
12774         (FP_EX_INVALID_ISI): Likewise.
12775         (FP_EX_INVALID_ZDZ): Likewise.
12776         (FP_EX_INVALID_IDI): Likewise.
12777         (FP_EX_INVALID_SQRT): Likewise.
12778         (FP_EX_INVALID_CVI): Likewise.
12779         (FP_EX_INVALID_VC): Likewise.
12780         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12781         "invalid" exceptions.
12782         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12783         (_FP_ADD_INTERNAL): Likewise.
12784         (_FP_MUL): Likewise.
12785         (_FP_FMA): Likewise.
12786         (_FP_DIV): Likewise.
12787         (_FP_CMP_CHECK_NAN): Likewise.
12788         (_FP_SQRT): Likewise.
12789         (_FP_TO_INT): Likewise.
12790         (FP_EXTEND): Likewise.
12792 2014-10-09  Allan McRae  <allan@archlinux.org>
12794         * po/fr.po: Update French translation from translation project.
12796 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12798         [BZ #14132]
12799         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12800         of INTDEF.
12801         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12802         (__cxa_atexit): Use libc_hidden_proto.
12803         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12805         [BZ #14132]
12806         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12807         declaration.
12808         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12809         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12810         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12811         [!_ISOMAC] (__iswctype_internal): Likewise.
12812         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12813         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12814         alias.
12815         (fcntl): Remove __fcntl_internal alias.
12816         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12817         __connect_internal alias.
12818         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12819         Likewise.
12821         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12822         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12823         FP_DENORM_ZERO.
12824         (_FP_CHECK_FLUSH_ZERO): New macro.
12825         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12826         (_FP_CMP): Likewise.
12827         (_FP_CMP_EQ): Likewise.
12828         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12829         FP_DENORM_ZERO.
12830         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12831         (FP_TRUNC): Likewise.
12833         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12834         treated as invalid conversion, not as normal exponent.
12836         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12837         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12838         (_FP_CMP_EQ): Likewise.
12839         (_FP_CMP_UNORD): Likewise.
12840         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12841         (FP_CMP_EQ_D): Likewise.
12842         (FP_CMP_UNORD_D): Likewise.
12843         * soft-fp/extended.h (FP_CMP_E): Likewise.
12844         (FP_CMP_EQ_E): Likewise.
12845         (FP_CMP_UNORD_E): Likewise.
12846         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12847         (FP_CMP_EQ_Q): Likewise.
12848         (FP_CMP_UNORD_Q): Likewise.
12849         * soft-fp/single.h (FP_CMP_S): Likewise.
12850         (FP_CMP_EQ_S): Likewise.
12851         (FP_CMP_UNORD_S): Likewise.
12852         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12853         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12854         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12855         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12856         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12857         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12858         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12859         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12860         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12861         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12862         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12863         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12864         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12865         to FP_CMP_Q.
12866         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12867         FP_CMP_Q.
12868         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12869         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12870         FP_CMP_EQ_Q.
12871         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12872         FP_CMP_Q.
12873         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12874         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12875         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12876         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12877         FP_CMP_EQ_Q.
12878         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12879         FP_CMP_Q.
12880         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12881         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12882         FP_CMP_EQ_Q.
12883         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12884         FP_CMP_Q.
12885         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12886         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12887         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12888         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12889         FP_CMP_EQ_Q.
12891         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12892         a subnormal result, set the underflow exception if trapping on
12893         underflow is enabled.
12894         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12895         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12896         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12897         redefine to 0.
12898         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12899         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12900         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12901         * soft-fp/extendxftf2.c (__extendxftf2): Use
12902         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12904         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12905         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12906         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12907         FP_HANDLE_EXCEPTIONS.
12908         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12909         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12910         FP_HANDLE_EXCEPTIONS.
12911         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12912         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12913         FP_HANDLE_EXCEPTIONS.
12914         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12915         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12916         FP_HANDLE_EXCEPTIONS.
12918 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12920         [BZ #14132]
12921         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12922         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12923         use INTUSE.
12924         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12925         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12926         Remove alias.
12927         (__adjtimex): Define using libc_hidden_ver.
12928         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12929         Remove declaration.
12930         (ntp_gettime): Call __adjtimex directly.
12931         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12932         Remove declaration.
12933         (ntp_gettimex): Call __adjtimex directly.
12934         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12935         __adjtimex_internal alias.
12937 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12939         [BZ #17460]
12940         * nscd/nscd.c (more_help): Rewrite list of tables collection
12941         using xstrdup and asprintf.
12943         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12945 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12946             Roland McGrath  <roland@hack.frob.com>
12948         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12949         (do_lookup_unique): ... local function 'enter' here; update callers.
12951 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12953         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12954         compat_symbol calls on [SHARED].
12955         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12956         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12957         Remove.
12958         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12959         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12960         (oldsetrlimit): Remove.
12961         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12963         (lchown): New syscall entry.
12964         (oldsetrlimit): Remove.
12965         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12966         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12967         (oldsetrlimit): Remove.
12968         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12970         [BZ #14138]
12971         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12972         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12973         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12974         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12975         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12976         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12977         (fchown): Likewise.
12978         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12979         (fchown): Likewise.
12980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12981         Likewise.
12983 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12985         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12986         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12987         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12988         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12989         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12990         Likewise.
12991         (__old_sem_post): Likewise.
12993 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12995         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12996         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12997         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12998         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12999         Use INLINE_VSYSCALL macro.
13000         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13001         __vdso_clock_gettime.
13002         * sysdeps/unix/sysv/linux/tile/init-first.c
13003         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13004         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13005         __vdso_clock_gettime.
13007         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13008         to set up frame more cleanly.
13010         * sysdeps/tile/memcmp.c: New file.
13012         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13014         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13015         * sysdeps/tile/tilegx/strcasestr.c: New file.
13016         * sysdeps/tile/tilegx/strnlen.c: New file.
13017         * sysdeps/tile/tilegx/strstr.c: New file.
13019         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13021 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13023         * nptl/tst-setuid3.c: Write errors to stdout.
13025 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13027         * elf/dl-deps.c
13028         (preload): New functions broken out of _dl_map_object_deps.
13029         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13031 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13033         [BZ #14138]
13034         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13035         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13037 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13039         * sysdeps/mips/strcmp.S: New.
13041 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13043         [BZ #14138]
13044         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13045         (linkat): Likewise.
13046         (mkdirat): Likewise.
13047         (readlinkat): Likewise.
13048         (renameat): Likewise.
13049         (symlinkat): Likewise.
13050         (unlinkat): Likewise.
13051         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13052         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13053         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13054         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13055         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13056         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13057         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13059 2014-09-30  Will Newton  <will.newton@linaro.org>
13061         * math/math.h: Define long double math functions if
13062         _LIBC_TEST is defined.
13063         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13065         * localedata/Makefile: Move assignment to tests-special
13066         into an ifdef testing run-built-tests.
13067         * timezone/Makefile: Likewise.
13069 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13071         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13072         with $(BASH) not $(SHELL).
13074 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13075             Matthew LeGendre  <legendre1@llnl.gov>
13077         [BZ #17411]
13078         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13079         l_reloc_result.
13081 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13083         * stdio-common/printf_fp.c
13084         (hack_digit): New function, broken out of ...
13085         (__printf_fp): ... local function here.  Update call sites.
13086         hack_digit now takes an additional parameter that is a pointer
13087         to a struct of the referenced locals.  Those locals moved inside
13088         the struct and references updated.
13090 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13092         * aclocal.m4: Require autoconf 2.69.
13093         * configure: Regenerated.
13094         * sysdeps/aarch64/configure: Likewise.
13095         * sysdeps/alpha/configure: Likewise.
13096         * sysdeps/arm/armv7/configure: Likewise.
13097         * sysdeps/arm/configure: Likewise.
13098         * sysdeps/ia64/configure: Likewise.
13099         * sysdeps/mach/configure: Likewise.
13100         * sysdeps/mips/configure: Likewise.
13101         * sysdeps/s390/configure: Likewise.
13102         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13105         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13106         file.
13107         * sysdeps/ia64/configure.ac: Likewise.
13109 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13112         specify symbol version for ld.so.  Do not include entry for
13113         libpthread.
13114         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13115         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13116         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13118         [BZ #14171]
13119         * Makeconfig [$(build-shared) = yes]
13120         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13121         makefiles.
13122         [$(build-shared) = yes && $(soversions.mk-done) = t]
13123         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13124         [$(build-shared) = yes && $(soversions.mk-done) = t]
13125         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13126         to Makerules.
13127         [$(build-shared) = yes && $(soversions.mk-done) = t]
13128         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13129         here.
13130         [$(build-shared) = yes && $(soversions.mk-done) = t]
13131         (common-generated): Don't append gnu/lib-names.h and
13132         gnu/lib-names.stmp here.
13133         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13134         (lib-names-h-abi): New variable.
13135         [$(build-shared) = yes && $(soversions.mk-done) = t]
13136         (lib-names-stmp-abi): Likewise.
13137         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13138         abi-variants] (before-compile): Append
13139         $(common-objpfx)$(lib-names-h-abi).
13140         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13141         abi-variants] (common-generated): Append gnu/lib-names.h.
13142         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13143         abi-variants] (install-others-nosubdir): Depend on
13144         $(inst_includedir)/$(lib-names-h-abi).
13145         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13146         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13147         [$(build-shared) = yes && $(soversions.mk-done) = t]
13148         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13149         [$(build-shared) = yes && $(soversions.mk-done) = t]
13150         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13151         [$(build-shared) = yes && $(soversions.mk-done) = t]
13152         (common-generated): Append $(lib-names-h-abi) and
13153         $(lib-names-stmp-abi).
13154         * scripts/lib-names.awk: Do not handle multi being set.
13155         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13156         Remove variable.
13157         (abi-lp64_be-ld-soname): Likewise.
13158         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13159         Likewise.
13160         (abi-hard-ld-soname): Likewise.
13161         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13162         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13163         Remove variable.
13164         (abi-o32_hard-ld-soname): Likewise.
13165         (abi-o32_soft_2008-ld-soname): Likewise.
13166         (abi-o32_hard_2008-ld-soname): Likewise.
13167         (abi-n32_soft-ld-soname): Likewise.
13168         (abi-n32_hard-ld-soname): Likewise.
13169         (abi-n32_soft_2008-ld-soname): Likewise.
13170         (abi-n32_hard_2008-ld-soname): Likewise.
13171         (abi-n64_soft-ld-soname): Likewise.
13172         (abi-n64_hard-ld-soname): Likewise.
13173         (abi-n64_soft_2008-ld-soname): Likewise.
13174         (abi-n64_hard_2008-ld-soname): Likewise.
13175         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13176         Likewise.
13177         (abi-64-v2-ld-soname): Likewise.
13178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13179         ld.so entries.
13180         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13181         variable.
13182         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13183         entry.
13184         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13185         variable.
13186         (abi-64-ld-soname): Likewise.
13187         (abi-x32-ld-soname): Likewise.
13188         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13189         entry.
13190         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13192 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13194         [BZ #14138]
13195         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13196         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13197         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13198         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13199         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13200         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13201         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13202         syscall entry for GLIBC_2.2 symbol version.
13203         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13204         Likewise.
13205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13206         (setrlimit): Likewise.
13207         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13208         Likewise.
13210 2014-09-23  Will Newton  <will.newton@linaro.org>
13212         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13213         _LINUX_ARM_SYSDEP_H include guard too.
13214         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13215         define.
13217 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13219         * sysdeps/unix/sysv/linux/eventfd.c:
13220         Make first argument unsigned.
13221         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13222         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13224 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13226         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13227         * socket/sys/socket.h: Likewise
13228         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13230 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13232         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13234 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13236         * time/tst-ftime.c: New test.
13237         * time/Makefile (tests): Add tst-ftime.
13239 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13241         * soft-fp/extended.h: Fix comment formatting.
13242         * soft-fp/op-1.h: Likewise.
13243         * soft-fp/op-2.h: Likewise.
13244         * soft-fp/op-4.h: Likewise.
13245         * soft-fp/op-8.h: Likewise.
13246         * soft-fp/op-common.h: Likewise.
13247         * soft-fp/soft-fp.h: Likewise.
13249         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13251 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13253         [BZ #6652]
13254         * Makeconfig (soversions-default-setname): Remove variable.
13255         ($(common-objpfx)soversions.i): Don't pass default_setname to
13256         soversions.awk.
13257         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13258         oldest_abi to abi-versions.awk.
13259         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13260         * config.make.in (oldest-abi): Remove variable.
13261         * configure.ac (--enable-oldest-abi): Remove configure option.
13262         * configure: Regenerated.
13263         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13264         text.
13265         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13266         * scripts/soversions.awk: Do not handle default_setname variable.
13267         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13268         variable.
13269         * sysdeps/mach/hurd/configure: Regenerated.
13270         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13271         variable.
13272         * sysdeps/unix/sysv/linux/configure: Regenerated.
13274 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13276         * elf/Makefile (CFLAGS-interp.c): Remove.
13277         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13278         path string.
13279         * elf/interp.c: Include generated runtime-linker.h
13281         * Makerules (lib%.so): Don't include $(+interp) in
13282         prerequisites.
13283         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13284         * dlfcn/eval.c: Remove file.
13286         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13287         macros.
13289         [BZ #17266]
13290         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13291         4.2 and newer.
13293         [BZ #17370]
13294         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13296 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13297             Jakub Jelinek  <jakub@redhat.com>
13299         [BZ #17266]
13300         * libio/stdio.h: Check definition of __fortify_function
13301         instead of __extern_always_inline to include bits/stdio2.h.
13302         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13303         check if __extern_always_inline is defined.
13304         [__USE_MISC || __USE_XOPEN]: Likewise.
13305         [__USE_ISOC99] Likewise.
13306         * misc/sys/cdefs.h (__fortify_function): Define only if
13307         __extern_always_inline is defined.
13308         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13309         __extern_always_inline and __extern_inline only for g++-4.3
13310         and newer or a compatible gcc.
13312 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13314         [BZ #17371]
13315         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13316         last change to handle zero prefix length.
13318 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13320         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13321         _SC_REGEX_VERSION.
13323         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13324         _POSIX_RAW_SOCKETS.
13326 2014-09-13  Allan McRae  <allan@archlinux.org>
13328         * po/ru.po: Update Russian translation from translation project.
13330 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13332         * locale/programs/locale.c (show_locale_vars): Inline local function
13333         into its sole call site.  Clean up some style nits.
13334         (print_item): New function, broken out of ...
13335         (show_info): ... local function here.  Clean up style nits.
13337         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13338         out of ...
13339         (set_class_defaults): ... local function set_default here.
13340         Define set_default as a macro locally to pass constant parameters.
13341         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13342         rather than a shared local.
13344         * stdlib/rpmatch.c (try): New function, broken out of ...
13345         (rpmatch): ... local function here.  Also, prototypify definition.
13347 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13349         * scripts/soversions.awk: Do not handle configuration names.
13350         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13351         vendor and os variables to soversions.awk.
13352         * configure.ac: Do not modify gnu-* host_os.
13353         * configure: Regenerated
13354         * shlib-versions: Remove first column with configuration names.
13355         * nptl/shlib-versions: Likewise.
13356         * nptl_db/shlib-versions: Likewise.
13357         * sysdeps/hppa/shlib-versions: Likewise.
13358         * sysdeps/m68k/shlib-versions: Likewise.
13359         * sysdeps/mach/hurd/shlib-versions: Likewise.
13360         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13361         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13362         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13363         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13364         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13365         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13366         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13367         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13369         Likewise.
13370         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13371         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13372         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13373         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13374         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13375         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13376         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13377         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13380         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13382         Regenerated.
13383         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13385         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13387         * shlib-versions: Remove OS-specific entries.  Moved to files in
13388         sysdeps.
13389         * sysdeps/mach/hurd/shlib-versions: New file.
13390         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13392         * nptl/shlib-versions: Remove architecture-specific entries.
13393         Moved to files in sysdeps.
13394         * shlib-versions: Likewise.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13396         file.
13397         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13398         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13399         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13400         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13402         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13403         (UDP_NO_CHECK6_RX): Likewise.
13405 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13407         * sysdeps/posix/sysconf.c (__sysconf): Spell
13408         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13410 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13412         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13413         loading.
13414         * iconv/Versions (__gconv_transliterate): Export for use from
13415         gconv modules.
13416         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13417         (struct __gconv_trans_data, __gconv_trans_fct,
13418         __gconv_trans_context_fct, __gconv_trans_query_fct,
13419         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13420         definitions.
13421         (struct __gconv_step_data): Remove __trans member.
13422         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13423         longer hidden.  Remove unused trans_data argument.
13424         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13425         (__gconv_translit_find): Remove declaration.
13426         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13427         prototype.
13428         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13429         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13430         trans_data argument.  Add hidden definition.
13431         (__gconv_translit_find): Remove.
13432         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13433         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13434         * iconv/skeleton.c: Remove transliteration initialization.
13435         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13436         __gconv_step_data initialization.
13437         * libio/iofwide.c (__libio_translit_): Remove.
13438         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13439         * wcsmbs/btowc.c (__btowc): Likewise.
13440         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13441         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13442         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13443         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13444         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13445         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13446         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13447         * wcsmbs/wctob.c (wctob): Likewise.
13449 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13451         [BZ #16194]
13452         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13453         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13454         register usage.
13455         * sysdeps/x86/Makefile: Adjust.
13457 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13458             Roland McGrath  <roland@hack.frob.com>
13460         * locale/weight.h: Add include guard.
13461         (findidx): Make static rather than auto; take new parameters
13462         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13463         * locale/weightwc.h: Likewise.
13464         * posix/fnmatch_loop.c
13465         (FCT): Change type of EXTRA from int32_t to wint_t.
13466         Don't include either header inside the function.
13467         Call FINDIDX rather than findidx, and pass new arguments.
13468         #undef FINDIDX at the end of the file.
13469         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13470         FINDIDX before including fnmatch_loop.c for the non-wide version.
13471         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13472         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13473         for the wide version.
13474         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13475         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13476         Pass new arguments to findidx.
13477         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13478         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13479         Don't #include it inside the function.  Pass new arguments to findidx.
13480         * posix/regex_internal.h
13481         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13482         (re_string_elem_size_at): Don't #include it inside the function.
13483         Pass new arguments to findidx.
13484         * string/strcoll_l.c: #include WEIGHT_H at top level.
13485         (get_next_seq): Don't #include it inside the function.
13486         Pass new arguments to findidx.
13487         (get_next_seq_nocache): Likewise.
13488         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13489         (STRXFRM): Don't #include it inside the function.
13490         Pass new arguments to findidx.
13492 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13494         [BZ #17344]
13495         * malloc/malloc.c (unlink): Turn asserts into a call to
13496         malloc_printerr.
13498 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13500         [BZ #17370]
13501         * libio/wfileops (do_ftell_wide): Free OUT.
13503 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13505         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13507 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13509         [BZ #17363]
13510         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13511         group if the current group is empty.
13513 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13515         * benchtests/bench-memset.c (test_main): Add more test from size
13516         from 32 to 512 bytes.
13517         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13518         Add POWER8 memset object.
13519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13520         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13521         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13522         implementation.
13523         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13524         Likewise.
13525         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13526         multiarch POWER8 memset optimization.
13527         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13528         POWER8 memset optimization.
13530         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13531         Remove bzero multiarch objects.
13532         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13533         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13534         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13535         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13536         Remove define.
13537         [__bzero]: Redefine to specific name.
13538         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13539         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13540         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13541         define.
13542         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13543         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13545 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13547         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13548         warnings into errors.
13550         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13551         __cxa_thread_atexit_impl prototype.
13553 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13555         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13556         Fix capitalization of error message.
13558 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13560         * sysdeps/mips/preconfigure: Modify ABI tests.
13562 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13564         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13566 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13567             Carlos O'Donell  <carlos@systemhalted.org>
13569         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13570         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13571         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13572         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13573         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13574         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13575         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13576         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13577         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13578         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13579         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13580         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13581         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13582         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13583         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13584         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13585         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13586         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13587         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13588         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13589         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13590         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13591         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13592         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13593         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13594         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13595         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13596         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13597         Deconditionalize the code that was previously under [RESET_PID].
13598         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13599         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13600         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13601         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13602         include sysdep.h.
13604 2014-09-08  Allan McRae  <allan@archlinux.org>
13606         * version.h (RELEASE): Set to "development".
13607         (VERSION): Set to "2.20.90"
13609 2014-09-07  Allan McRae  <allan@archlinux.org
13611         * version.h (RELEASE): Set to "stable".
13612         (VERSION): Set to "2.20"
13613         * include/features.h (__GLIBC_MINOR__): Set to 20.
13615         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13616         Liebler.
13618         * po/ko.po: Update Korean translation from translation project.
13620 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13622         [BZ #17354]
13623         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13624         macro for handling signed relocations.
13626 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13628         [BZ #17325]
13629         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13630         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13631         assert.
13632         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13633         * iconvdata/ibm935.c (BODY): Likewise.
13634         * iconvdata/ibm937.c (BODY): Likewise.
13635         * iconvdata/ibm939.c (BODY): Likewise.
13636         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13637         assert.
13638         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13639         script.
13640         * iconvdata/run-iconv-test.sh: New test loop for checking for
13641         decoder crashers.
13643 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13645         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13646         libm_hidden_ver.
13648 2014-09-01  Allan McRae  <allan@archlinux.org>
13650         * po/eo.po: Update Esperanto translation from translation project.
13652         * po/ca.po: Update Catalan translation from translation project.
13654 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13656         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13657         __proc_dostop call.
13659 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13661         [BZ #17319]
13662         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13663         to call set_thread_area instead of hand written asm.
13664         (__NR_set_thread_area): Removed define.
13665         (TLS_FLAG_WRITABLE): Likewise.
13666         (__ASSUME_SET_THREAD_AREA): Remove check.
13667         (TLS_EBX_ARG): Remove define.
13668         (TLS_LOAD_EBX): Likewise.
13670 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13672         Simplify atomicity of socket creation in bind.
13674         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13675         looking up the name after linking the file.
13677 2014-08-27  Allan McRae  <allan@archlinux.org>
13679         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13681 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13683         [BZ #17187]
13684         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13685         trans_compare, open_translit, __gconv_translit_find):
13686         Remove module loading code.
13688 2014-08-26  Allan McRae  <allan@archlinux.org>
13690         * po/vi.po: Update Vietnamese translation from translation project.
13692         * po/uk.po: Update Ukrainian translation from translation project.
13694         * po/fr.po: Update French translation from translation project.
13696         * po/ru.po: Update Russian translation from translation project.
13698         * po/pl.po: Update Polish translation from translation project.
13700         * po/cs.po: Update Czech translation from translation project.
13702         * po/de.po: Update German translation from translation project.
13704         * po/bg.po: Update Bulgarian translation from translation project.
13706         * po/sv.po: Update Sweedish translation from translation project.
13708         * po/nl.po: Update Dutch translation from translation project.
13710         * po/es.po: Update Spanish translation from translation project.
13712 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13714         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13716         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13717         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13718         (CPPFLAGS-iconvconfig): Likewise.
13719         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13721         * include/libc-symbols.h: Remove unnecessary check for
13722         NOT_IN_libc.
13723         * nptl/pthreadP.h: Likewise.
13724         * sysdeps/aarch64/setjmp.S: Likewise.
13725         * sysdeps/alpha/setjmp.S: Likewise.
13726         * sysdeps/arm/sysdep.h: Likewise.
13727         * sysdeps/i386/setjmp.S: Likewise.
13728         * sysdeps/m68k/setjmp.c: Likewise.
13729         * sysdeps/posix/getcwd.c: Likewise.
13730         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13731         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13732         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13733         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13734         * sysdeps/sh/sh3/setjmp.S: Likewise.
13735         * sysdeps/sh/sh4/setjmp.S: Likewise.
13736         * sysdeps/unix/alpha/sysdep.h: Likewise.
13737         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13738         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13739         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13740         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13743         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13744         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13745         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13746         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13747         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13748         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13750         * sysdeps/x86_64/setjmp.S: Likewise.
13752 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13754         [BZ #17263]
13755         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13756         <stdint.h>.
13757         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13758         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13760 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13762         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13764         [BZ #17262]
13765         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13766         and __x86_64__ when disabling x87 inline functions.
13768 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13770         [BZ #17259]
13771         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13772         asm statement with __cpuid_count.
13774 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13776         * configure.ac: Change __ehdr_start code to dereference the struct.
13777         Run readelf on the output to look for relocations.
13778         * configure: Regenerated.
13780 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13782         [BZ #17261]
13783         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13784         value to 0.
13785         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13787 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13789         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13791 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13793         [BZ #16892]
13794         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13795         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13797 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13799         * malloc/malloc.c: Fix typo in comment.
13801 2014-08-09  Allan McRae  <allan@archlinux.org>
13803         * Regenerate libc.po.
13805 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13807         * intl/tst-gettext2.sh: Check every lang file for creation.
13809 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13811         * sysdeps/aarch64/fpu/math_private.h
13812         (libc_feholdsetround_noex_aarch64_ctx): New function.
13814 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13816         * sysdeps/arm/armv6/strcpy.S (strcpy):
13817         Fix performance issue in misaligned cases.
13819 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13821         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13822         Move definition from termios.h.
13823         (struct termio): Likewise.
13824         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13825         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13826         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13827         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13828         Likewise.
13829         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13830         Move definition to ioctl-types.h
13831         (struct termio): Likewise.
13832         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13833         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13834         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13835         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13836         Likewise.
13838 2014-08-05  Richard Henderson  <rth@redhat.com>
13840         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13841         exceptions.
13842         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13843         Add fraiseexcpt.
13844         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13845         Use __feraiseexcept.
13846         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13847         Protect libm symbols with IS_IN_libm.
13849         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13851 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13853         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13855 2014-08-04  Will Newton  <will.newton@linaro.org>
13857         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13858         file.
13860 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13862         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13863         variants for each function.
13865 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13867         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13868         appended ...
13869         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13870         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13871         appended ...
13872         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13873         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13874         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13875         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13876         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13877         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13878         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13879         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13880         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13881         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13882         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13883         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13884         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13885         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13886         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13887         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13888         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13889         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13890         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13891         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13892         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13893         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13894         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13895         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13896         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13897         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13898         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13899         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13900         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13901         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13902         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13903         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13904         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13905         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13906         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13907         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13908         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13909         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13910         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13911         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13912         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13913         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13914         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13915         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13916         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13917         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13918         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13919         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13920         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13921         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13922         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13923         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13924         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13925         Update #include.
13926         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13927         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13929 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13931         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13932         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13933         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13934         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13935         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13936         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13938 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13940         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13941         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13942         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13943         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13945 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13947         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13948         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13949         (__libc_vfork): Define function under this name.
13950         (__vfork): Define as an alias.
13951         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13952         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13954 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13956         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13957         that was previously under [RESET_PID].
13958         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13960 2014-08-04  Andreas Schwab  <schwab@suse.de>
13962         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13964 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13966         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13967         (main): Likewise.
13969 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13971         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13973 2014-08-01  Richard Henderon  <rth@redhat.com>
13975         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13976         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13977         typo in exact zero test.
13978         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13979         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13980         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13982 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13984         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13985         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13986         * sysdeps/arm/sysdep.h: ... here.
13987         [!__ASSEMBLER__]: Include <stdint.h>.
13989 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13991         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13992         (HAVE_WCTYPE_H): Likewise.
13993         (HAVE_ISWCTYPE): Likewise.
13994         (ENABLE_NLS): Likewise.
13995         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13996         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13998         * posix/regex_internal.c: Check if DEBUG is defined and is
13999         set.
14001         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14002         (HAVE_MBSRTOWCS): Likewise.
14003         * posix/fnmatch.c: Include string.h unconditionally.
14005 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14007         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14008         reversal.
14010 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14012         * sysdeps/generic/safe-fatal.h: New file.
14013         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14014         * nptl/forward.c: Include it.
14015         (__pthread_unwind): Use __safe_fatal as default action, rather
14016         than a bogus use of INTERNAL_SYSCALL that could never work.
14018         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14019         * configure.ac (libc_cv_builtin_trap): New test.
14020         * configure: Regenerated.
14021         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14022         (ABORT_INSTRUCTION): Define using __builtin_trap.
14024         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14025         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14026         * sysdeps/nptl/nptl-signals.h: New file.
14027         * nptl/pthreadP.h: Include <nptl-signals.h>.
14029 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14031         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14032         (ONE_DIRECTION): Define.
14033         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14034         (ONE_DIRECTION): Define.
14035         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14036         (ONE_DIRECTION): Define.
14038 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14040         * sysdeps/s390/Makefile: Delete file.
14041         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14042         * sysdeps/s390/__longjmp.c: Delete file.
14043         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14044         Remove fields __flags and __reserved.
14045         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14046         and add versioning.
14047         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14048         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14049         * sysdeps/s390/rtld-setjmp.S: Likewise.
14050         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14051         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14052         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14053         * sysdeps/s390/s390-32/setjmp.S: ... here.
14054         Add versioning.
14055         (__sigsetjmp): Remove setting __flags field.
14056         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14057         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14058         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14059         * sysdeps/s390/s390-64/setjmp.S: ... here.
14060         Add versioning.
14061         (__sigsetjmp): Remove setting __flags field.
14062         * sysdeps/s390/setjmp.S: Delete file.
14063         * sysdeps/s390/sigjmp.c: Likewise.
14064         * sysdeps/s390/v1-longjmp.c: Likewise.
14065         * sysdeps/s390/v1-setjmp.h: Likewise.
14066         * sysdeps/s390/v1-sigjmp.c: Likewise.
14067         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14068         Remove v1-longjmp_chk.
14069         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14070         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14071         Include debug/longjmp_chk.c and add versioning.
14072         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14073         Include nptl/pt-longjmp.c and add versioning.
14074         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14075         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14076         Include __longjmp.c.
14077         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14078         Move to ...
14079         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14080         (__getcontext): Remove setting __flags field.
14081         Add versioning.
14082         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14083         Don't restore upper high grps.
14084         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14085         Likewise.
14086         (__swapcontext): Remove setting uc_flags field.
14087         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14088         Delete file.
14089         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14090         Include __longjmp.c.
14091         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14092         Move to ...
14093         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14094         (__getcontext): Remove setting __flags field.
14095         Add versioning.
14096         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14097         (__swapcontext): Remove setting uc_flags field.
14098         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14099         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14100         Remove fields uc_high_gprs and __reserved.
14101         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14102         New file with reverted content.
14103         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14104         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14105         Regenerated.
14106         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14107         Regenerated.
14109 2014-07-31  Andreas Schwab  <schwab@suse.de>
14111         * config.h.in (HAVE_IFUNC): Define to 0.
14112         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14113         definedness.
14115 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14117         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14118         memmove-avx-unaligned, memcpy-avx-unaligned and
14119         mempcpy-avx-unaligned.
14120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14121         Add tests for AVX memcpy functions.
14122         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14123         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14124         memcpy_chk.
14125         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14126         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14127         memmove_chk.
14128         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14129         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14130         mempcpy_chk.
14131         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14132         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14133         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14135 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14137         [BZ #17213]
14138         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14139         powerpc64le.
14141 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14143         [BZ #16839]
14144         * manual/llio.texi: Add section about open file description locks.
14145         * manual/examples/ofdlocks.c: Example of open file description
14146         lock usage.
14147         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14148         F_OFD_SETLK, and F_OFD_SETLKW.
14150 2014-07-23  Allan McRae  <allan@archlinux.org>
14152         * po/es.po: Update Spanish translation from translation project.
14154 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14156         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14158 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14160         [BZ #17078]
14161         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14162         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14163         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14165 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14167         [BZ #17088]
14168         * math/fesetenv.c (__fesetenv)
14169         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14170         * math/feupdateenv.c (__feupdateenv)
14171         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14173         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14174         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14175         (__ASSUME_SOCKETCALL): Do not define.
14177         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14178         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14179         (__ASSUME_SOCKETCALL): Do not define.
14180         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14181         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14182         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14183         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14184         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14185         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14186         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14187         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14189         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14190         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14191         (__ASSUME_SOCKETCALL): Do not define.
14192         (__ASSUME_IPC64): Define unconditionally.
14193         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14194         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14195         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14196         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14197         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14198         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14199         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14200         Likewise.
14202         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14203         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14204         (__ASSUME_SOCKETCALL): Do not define.
14205         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14206         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14207         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14208         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14209         (__ASSUME_REQUEUE_PI): Define unconditionally.
14210         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14211         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14212         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14213         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14214         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14215         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14217         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14218         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14219         (__ASSUME_SOCKETCALL): Do not define.
14220         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14221         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14222         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14223         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14224         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14225         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14227         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14228         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14229         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14230         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14231         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14232         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14233         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14234         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14235         (__ASSUME_GETCPU_SYSCALL): Likewise.
14237         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14238         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14239         cases for individual architectures.
14240         * sysdeps/gnu/configure: Regenerated.
14241         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14242         LIBC_SLIBDIR_RTLDDIR.
14243         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14244         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14245         LIBC_SLIBDIR_RTLDDIR.
14246         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14248         LIBC_SLIBDIR_RTLDDIR.
14249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14250         Regenerated.
14251         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14252         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14253         file.
14254         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14255         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14256         file.
14257         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14258         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14259         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14260         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14262         * sysdeps/aarch64/shlib-versions: Move to ...
14263         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14264         * sysdeps/alpha/shlib-versions: Move to ...
14265         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14266         * sysdeps/arm/shlib-versions: Move to ...
14267         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14268         * sysdeps/hppa/shlib-versions: Move all contents except for
14269         libgcc_s entry to ...
14270         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14271         entry from ...
14272         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14273         * sysdeps/ia64/shlib-versions: Move to ...
14274         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14275         entry from ...
14276         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14277         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14278         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14279         * sysdeps/microblaze/shlib-versions: Move to ...
14280         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14281         * sysdeps/mips/shlib-versions: Move to ...
14282         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14283         entry from ...
14284         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14285         * sysdeps/tile/shlib-versions: Move to ...
14286         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14287         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14288         from ...
14289         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14290         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14291         entry from ...
14292         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14294 2014-07-17  Will Newton  <will.newton@linaro.org>
14296         * sysdeps/arm/bits/atomic.h
14297         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14298         (__arch_compare_and_exchange_bool_16_int): Likewise.
14299         (__arch_compare_and_exchange_bool_64_int): Likewise.
14301         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14302         into an #else block.
14304 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14306         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14307         just Linux configurations.  Test empirically that the compiler sets
14308         __ARM_EABI__, rather than using the tuple to decide.
14309         * sysdeps/arm/preconfigure: Regenerated.
14310         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14311         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14312         contents appended ...
14313         * sysdeps/arm/configure.ac: ... here.
14314         * sysdeps/arm/configure: Regenerated.
14316 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14318         * nptl/pthread_kill.c: New file.
14319         * nptl/pthread_sigmask.c: New file.
14320         * nptl/pthread_sigqueue.c: New file.
14322         * sysdeps/nptl/lowlevellock.h: New file.
14323         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14324         * sysdeps/nptl/lowlevellock-futex.h: New file.
14326         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14327         Remove dead declarations.
14329 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14331         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14332         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14333         config-cflags-avx2.
14334         * sysdeps/x86_64/configure.ac: Likewise.
14335         * sysdeps/i386/configure: Regenerated.
14336         * sysdeps/x86_64/configure: Likewise.
14337         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14338         memset-avx2 only if config-cflags-avx2 is yes.
14339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14340         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14341         defined.
14342         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14343         only if HAVE_AVX2_SUPPORT is defined.
14344         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14346 2014-07-14  Alan Modra  <amodra@gmail.com>
14348         [BZ #17153]
14349         * elf/elf.h (DT_PPC64_NUM): Correct value.
14350         * NEWS: Add to fixed bug list.
14352 2014-07-13  Jim Meyering  <meyering@fb.com>
14354         [BZ 17150]
14355         regex: don't deref NULL upon heap allocation failure
14356         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14357         failure in one more place.
14358         To trigger the segfault, configure grep -with-included-regex,
14359         build it, and run these commands:
14360         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14362 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14364         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14366 2014-07-11  Richard Henderson  <rth@redhat.com>
14368         * sysdeps/aarch64/libm-test-ulps: Update.
14370 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14372         [BZ #17135]
14373         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14374         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14375         (__nptl_setxid): Initialize error member.  Call
14376         __nptl_setxid_error.
14377         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14378         * nptl/descr.h (struct xid_command): Add error member.
14379         * nptl/tst-setuid3.c: New file.
14380         * nptl/Makefile (tests): Add it.
14382 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14384         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14385         New define.
14386         (__lll_trylock): Use __lll_base_trylock.
14387         (__lll_cond_trylock): Likewise.
14389 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14391         * nptl/pthread_create.c (start_thread): Use atomic_or and
14392         lll_futex_wake directly rather than lll_robust_dead.
14393         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14394         (lll_robust_dead): Macro removed.
14395         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14396         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14397         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14398         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14399         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14400         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14401         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14402         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14403         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14404         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14405         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14406         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14407         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14408         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14409         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14411         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14412         Use atomic_compare_and_exchange_val_acq directly rather than
14413         lll_robust_trylock.
14414         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14415         (__lll_robust_trylock, lll_robust_trylock): Removed.
14416         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14417         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14418         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14419         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14420         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14421         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14422         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14423         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14424         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14425         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14426         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14427         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14428         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14429         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14431 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14433         * manual/locale.texi (Locale Names): New section documenting
14434         locale name syntax.  Adjust menu and node chaining accordingly.
14435         (Choosing Locale): Reference Locale Names, Locale Categories.
14436         Mention setting LC_ALL=C.  Reflect that name syntax is now
14437         documented.
14438         (Locale Categories): New section title.  Reference Locale Names.
14439         LC_ALL is an environment variable, but not a category.
14440         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14441         description, now in Locale Name.  Reference that section.  Locale
14442         name syntax is now documented.
14444 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14446         [BZ #17137]
14447         * locale/findlocale.c (name_present, valid_locale_name): New
14448         functions.
14449         (_nl_find_locale): Use the loc_name variable to store name
14450         candidates.  Call name_present and valid_locale_name to check and
14451         validate locale names.  Return an error if the locale is invalid.
14453 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14455         * locale/setlocale.c (setlocale): Use strdup for allocating
14456         composite name copy.
14458 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14460         Sync up with gnulib.
14461         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14462         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14463         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14464         and _GL_ARG_NONNULL.
14465         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14466         [!_LIBC]: Include code for Windows and Cygwin.
14467         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14468         Include prototype for int strerror_r.
14469         [!_LIBC] (is_open): New function.
14470         (flush_stdout): New function.
14471         (print_errno_message): Use it.
14472         (error): Likewise.
14473         (error_at_line): Likewise.
14474         (error_tail) Add function attribute macros.  Use
14475         __builtin_expect.
14477         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14479         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14481         * io/ftw.c: Include sys/param.h unconditionally.
14483         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14485         [BZ #17125]
14486         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14487         libc_freeres_ptr.
14488         (freecache): New function to free CACHE on exit.
14490         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14491         initialization.
14493 2014-07-09  David S. Miller  <davem@davemloft.net>
14495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14497         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14498         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14499         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14500         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14501         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14502         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14503         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14504         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14505         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14506         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14507         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14508         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14509         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14511 2014-07-09  Andreas Schwab  <schwab@suse.de>
14513         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14514         output.
14515         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14516         (do_test): Likewise.
14518         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14520 2014-07-09  Will Newton  <will.newton@linaro.org>
14522         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14523         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14524         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14525         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14526         * sysdeps/hppa/start.S (_start): Likewise.
14528 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14530         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14532         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14533         defined.
14535 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14537         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14538         after checking that it is non-NULL.
14540         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14542 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14544         * sysdeps/powerpc/memmove.c: Remove file.
14545         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14546         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14547         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14548         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14549         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14550         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14551         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14552         string memmove instead of removed powerpc one.
14554         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14555         [weak_alias]: Fix compiler warning due trailing data.
14556         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14557         [weak_alias]: Likewise.
14558         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14559         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14562         (__libc_ifunc_impl_list): Add memmove functions.
14564 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14566         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14567         Remove code.
14568         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14569         Likewise
14570         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14571         Likewise
14572         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14573         Likewise
14574         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14575         Likewise
14576         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14577         Likewise
14578         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14579         Likewise
14580         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14581         Likewise
14582         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14583         Likewise
14584         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14585         Likewise
14586         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14587         Likewise
14588         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14589         Likewise
14590         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14591         Likewise
14592         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14593         Likewise
14594         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14595         Likewise
14596         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14597         Likewise
14598         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14599         Likewise
14601 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14603         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14604         to avoid alignment traps in non-cacheable memory.
14605         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14608         multiarch objects.
14609         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14610         file: multiarch power7 memmove.
14611         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14612         multiarch default memmove.
14613         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14614         multiarch memove for powerpc32/power4.
14616         * string/bcopy.c: Use full path to include memmove.c.
14617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14618         multiarch objects.
14619         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14620         bcopy for powerpc64.
14621         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14622         bcopy for powerpc64.
14623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14624         and memmove implementations.
14625         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14626         optimized multiarch memmove for POWER7/powerpc64.
14627         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14628         default multiarch memmove for powerpc64.
14629         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14630         multiarch for powerpc64.
14631         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14632         for POWER7/powerpc64.
14633         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14634         memmove for POWER7/powerpc64.
14636         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14637         glibc default one.
14639         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14640         __ELF_NATIVE_CLASS equal to 64.
14642 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14644         * sysdeps/nptl/lowlevellock.h: File removed.
14646         * NEWS: NPTL is no longer an add-on!
14647         * nptl/internaltypes.h: Moved ...
14648         * sysdeps/nptl/internaltypes.h: ... here.
14649         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14650         * sysdeps/nptl/fork.c: Likewise.
14651         * sysdeps/nptl/gai_misc.h: Likewise.
14652         * sysdeps/nptl/librt-cancellation.c: Likewise.
14653         * sysdeps/nptl/jmp-unwind.c: Likewise.
14654         * sysdeps/nptl/setxid.h: Likewise.
14655         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14656         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14657         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14658         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14659         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14660         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14661         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14662         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14663         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14664         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14665         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14666         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14667         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14668         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14669         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14670         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14671         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14672         * nptl/Makeconfig: Moved ...
14673         * sysdeps/nptl/Makeconfig: ... here.
14674         * nptl/configure: File removed.
14675         * nptl/ANNOUNCE: File removed.
14676         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14677         * sysdeps/unix/sysv/linux/configure: Regenerated.
14679         * nptl/Makefile (routines): Add libc_pthread_init,
14680         libc_multiple_threads, register-atfork and unregister-atfork.
14681         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14682         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14683         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14684         pthread-pi-defines.sym, structsem.sym.
14685         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14686         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14687         [$(subdir) = nptl] (tests): Add tst-setgetname.
14688         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14689         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14690         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14691         [!LIBC_SIGACTION]: Remove aliases.
14692         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14693         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14694         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14695         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14696         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14697         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14698         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14699         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14700         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14701         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14702         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14703         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14704         __libc_allocate_rtsig_private.
14705         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14706         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14707         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14708         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14709         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14710         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14711         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14712         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14713         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14714         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14715         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14716         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14717         * nptl/internaltypes.h: ... here.
14718         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14719         * sysdeps/nptl/jmp-unwind.c: ... here.
14720         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14721         * nptl/libc-lowlevellock.c: ... here.
14722         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14723         * nptl/libc_multiple_threads.c: ... here.
14724         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14725         * nptl/libc_pthread_init.c: ... here.
14726         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14727         * nptl/lowlevelbarrier.sym: ... here.
14728         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14729         * nptl/lowlevelcond.sym: ... here.
14730         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14731         * nptl/lowlevellock.c: ... here.
14732         * nptl/lowlevellock.h: Moved ...
14733         * sysdeps/nptl/lowlevellock.h: ... here.
14734         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14735         * nptl/lowlevelrobustlock.c: ... here.
14736         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14737         * nptl/lowlevelrobustlock.sym: ... here.
14738         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14739         * nptl/lowlevelrwlock.sym: ... here.
14740         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14741         * nptl/pt-fork.c: ... here.
14742         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14743         * nptl/pthread-pi-defines.sym: ... here.
14744         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14745         * nptl/pthread_attr_getaffinity.c: ... here.
14746         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14747         * nptl/pthread_attr_setaffinity.c: ... here.
14748         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14749         * nptl/pthread_mutex_cond_lock.c: ... here.
14750         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14751         Update #include.
14752         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14753         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14754         * nptl/pthread_once.c: ... here, replacing old file.
14755         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14756         * nptl/pthread_yield.c: ... here.
14757         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14758         * nptl/register-atfork.c: ... here.
14759         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14760         * nptl/sem_post.c: ... here.
14761         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14762         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14763         * nptl/sem_timedwait.c: ... here.
14764         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14765         * nptl/sem_trywait.c: ... here.
14766         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14767         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14768         * nptl/sem_wait.c: ... here.
14769         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14770         * nptl/structsem.sym: ... here.
14771         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14772         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14773         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14774         * nptl/unregister-atfork.c: ... here.
14775         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14776         * nptl/unwindbuf.sym: ... here.
14777         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14778         * sysdeps/nptl/fork.c: ... here.
14779         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14780         * sysdeps/nptl/fork.h: ... here.
14781         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14782         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14783         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14784         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14785         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14786         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14787         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14788         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14789         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14790         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14791         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14792         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14793         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14794         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14795         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14796         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14797         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14798         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14799         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14800         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14801         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14802         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14803         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14804         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14805         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14806         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14807         * sysdeps/unix/sysv/linux/raise.c: ... here.
14808         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14809         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14810         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14811         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14812         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14813         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14814         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14815         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14816         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14817         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14818         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14819         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14820         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14821         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14822         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14824 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14826         * sysdeps/generic/memcopy.h: Add comment for
14827         MEMCPY_OK_FOR_FWD_MEMMOVE.
14829 2014-07-04  Will Newton  <will.newton@linaro.org>
14831         * string/memchr.c: Merge from gnulib.
14832         [_LIBC]: Remove conditionals.
14833         (__ptr_t): Remove define.
14834         (LONG_MAX_32_BITS): Likewise.
14835         (LONG_MAX): Likewise.
14836         (MEMCHR): Use ANSI prototype and optimize algorithm.
14838         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14840 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14842         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14843         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14845         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14846         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14847         in a bare environment with no <stdlib.h> installed.
14848         * sysdeps/nptl/configure: Regenerated.
14850         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14852         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14853         AC_EGREP_CPP for kernel header checks, so they only succeed if
14854         including <linux/version.h> actually works right.
14855         * sysdeps/unix/sysv/linux/configure: Regenerated.
14857         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14858         value so it's not diagnosed as unused.
14860         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14861         thing) with "ifeq ($(subdir),rt)".
14863 2014-07-03  Richard Henderson  <rth@redhat.com>
14865         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14866         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14867         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14869         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14870         (math_force_eval): New.
14872         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14873         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14875         * sysdeps/alpha/fpu/s_round.c: Remove file.
14876         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14878         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14879         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14880         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14881         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14882         (_dl_start, print_statistics): Likewise.
14883         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14884         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14886         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14887         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14888         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14889         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14890         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14891         (HP_SMALL_TIMING_AVAIL): Define.
14892         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14893         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14894         (HP_SMALL_TIMING_AVAIL): Define.
14895         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14896         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14898         * sysdeps/aarch64/hp-timing.h: New file.
14900         * sysdeps/generic/hp-timing.h: Remove dead comment.
14901         * sysdeps/generic/hp-timing-common.h: New file.
14902         * sysdeps/alpha/hp-timing.h: Include it.
14903         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14904         * sysdeps/i386/i686/hp-timing.h: Likewise.
14905         * sysdeps/ia64/hp-timing.h: Likewise.
14906         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14907         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14908         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14909         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14910         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14911         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14912         (hp_timing_t): New.
14914         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14915         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14916         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14917         * elf/rtld.c (_dl_start_final): Likewise.
14918         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14919         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14920         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14921         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14922         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14923         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14924         (HP_TIMING_DIFF_INIT): Remove.
14925         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14926         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14927         (HP_TIMING_DIFF_INIT): Remove.
14928         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14929         * sysdeps/i386/i686/hp-timing.c: Remove file.
14930         * sysdeps/x86_64/hp-timing.c: Remove file.
14931         * sysdeps/ia64/hp-timing.c: Remove file.
14932         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14933         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14934         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14935         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14937         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14938         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14939         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14940         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14942         (HP_TIMING_ACCUM): Remove.
14943         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14944         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14945         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14947         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14948         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14949         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14950         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14951         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14952         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14953         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14954         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14956         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14958 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14960         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14962 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14964         Sync up with gettext.
14965         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14966         [_MSC_VER]: Include malloc.h
14967         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14968         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14969         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14970         TEMP_FAILURE_RETRY.  Cast return of alloca.
14971         [!_LIBC] Call gl_rwlock_init.
14972         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14974 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14976         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14977         before checking its value.
14979 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14981         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14983         * debug/memcpy_chk.c: Don't include pagecopy.h.
14984         * debug/mempcpy_chk.c: Likewise.
14985         * string/memcpy.c: Likewise.
14986         * string/memmove.c: Likewise.
14987         * sysdeps/powerpc/memmove.c: Likewise.
14988         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14989         definition of PAGE_COPY_FWD_MAYBE here...
14990         * sysdeps/generic/pagecopy.h: ... from here.
14991         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14993 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14994             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14996         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14997         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14998         optimizations.
14999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15000         (__libc_ifunc_impl_list): Likewise.
15001         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15002         multiarch strcat for PPC64.
15003         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15004         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15006 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15008         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15010 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15012         * intl/loadmsgcat.c: Remove declaration of
15013         get_sysdep_segment_value.
15014         (get_sysdep_segment_value): Use ISO C style.
15015         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15016         semicolon.  Fix typo and formatting in comment.
15017         (_nl_unload_domain): Use ISO C style.
15019         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15021 2014-07-02  Will Newton  <will.newton@linaro.org>
15023         * malloc/obstack.c: Merge from gnulib master.
15024         [HAVE_CONFIG_H]: Remove conditional code.
15025         [!_LIBC]: Include config.h.
15026         [!ELIDE_CODE]: Don't include inttypes.h, include
15027         stdint.h unconditionally.
15028         (print_and_abort): Mark as _Noreturn.
15029         (_obstack_allocated_p): Mark as __attribute_pure__.
15030         (obstack_free): Rename to __obstack_free.
15031         [!__attribute__]: Remove conditional code.
15032         * malloc/obstack.h: Merge from gnulib master.
15033         [__cplusplus]: Move conditional down.
15034         [!__attribute_pure__]: Define __attribute_pure__ here
15035         if it is not already defined.
15036         (_obstack_memory_used): Mark as __attribute_pure__.
15037         [!__obstack_free]: Define as obstack_free.
15038         [__GNUC__]: Remove check for ancient NeXT gcc.
15040 2014-07-02  Will Newton  <will.newton@linaro.org>
15041             Paul Eggert  <eggert@cs.ucla.edu>
15043         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15045 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15047         * resolv/gethnamaddr.c: Add comment warning that the file is
15048         not maintained.
15050 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15052         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15053         entries.
15055         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15056         entry for aio_cancel and aio_cancel64.
15057         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15058         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15059         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15060         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15061         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15062         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15063         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15064         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15065         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15066         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15067         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15068         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15069         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15071 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15073         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15074         * nptl/pthread_mutex_lock.c: Likewise.
15075         * nptl/pthread_mutex_timedlock.c: Likewise.
15076         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15078 2014-07-01  Richard henderson  <rth@redhat.com>
15080         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15081         (__isnan, __isnanl): Remove.
15082         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15084         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15086 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15088         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15090 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15092         * resolv/nss_dns/dns-host.c (getanswer_r)
15093         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15095 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15097         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15098         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15099         undefine.
15100         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15101         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15103 2014-07-01  Roland McGrath <roland@hack.frob.com>
15105         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15106         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15108         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15109         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15111         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15112         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15113         ... here.
15114         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15115         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15117         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15118         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15119         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15120         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15122         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15123         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15124         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15125         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15126         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15127         Moved ...
15128         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15129         ... here.
15130         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15131         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15132         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15133         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15134         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15135         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15136         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15137         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15138         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15139         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15140         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15141         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15142         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15143         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15144         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15145         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15146         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15147         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15148         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15149         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15150         ... here.
15151         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15152         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15153         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15154         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15155         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15156         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15157         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15158         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15160 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15162         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15163         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15164         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15165         Add sysdep.
15167 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15171 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15173         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15174         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15176         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15178         * sysdeps/arm/libm-test-ulps: Regenerated.
15180 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15181             Roland McGrath <roland@hack.frob.com>
15183         * test-skeleton.c (signal_handler): Kill the whole process group
15184         before killing the child individually.
15185         (main): Report any failure on `setpgid'.
15187 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15189         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15190         from _TLS_H to _ARM_NPTL_TLS_H.
15191         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15192         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15194 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15196         [BZ #16539]
15197         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15198         (__expm1l): Return argument unchanged when small but not
15199         subnormal.
15201         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15202         include macro name.
15203         (_FP_UNPACK_RAW_1_P): Likewise.
15204         (_FP_PACK_RAW_1): Likewise.
15205         (_FP_PACK_RAW_1_P): Likewise.
15206         (_FP_MUL_MEAT_1_wide): Likewise.
15207         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15208         (_FP_MUL_MEAT_1_hard): Likewise.
15209         (_FP_DIV_MEAT_1_imm): Likewise.
15210         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15211         (_FP_DIV_MEAT_1_udiv): Likewise.
15212         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15213         (_FP_UNPACK_RAW_2): Likewise.
15214         (_FP_UNPACK_RAW_2_P): Likewise.
15215         (_FP_PACK_RAW_2): Likewise.
15216         (_FP_PACK_RAW_2_P): Likewise.
15217         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15218         (_FP_MUL_MEAT_2_wide): Likewise.
15219         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15220         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15221         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15222         (_FP_MUL_MEAT_2_gmp): Likewise.
15223         (_FP_DIV_MEAT_2_udiv): Likewise.
15224         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15225         (_FP_FRAC_SRL_4): Likewise.
15226         (_FP_FRAC_SRST_4): Likewise.
15227         (_FP_FRAC_SRS_4): Likewise.
15228         (_FP_UNPACK_RAW_4): Likewise.
15229         (_FP_UNPACK_RAW_4_P): Likewise.
15230         (_FP_PACK_RAW_4): Likewise.
15231         (_FP_PACK_RAW_4_P): Likewise.
15232         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15233         (_FP_MUL_MEAT_4_wide): Likewise.
15234         (_FP_MUL_MEAT_4_gmp): Likewise.
15235         (umul_ppppmnnn): Likewise.
15236         (_FP_DIV_MEAT_4_udiv): Likewise.
15237         (__FP_FRAC_ADD_4): Likewise.
15238         (__FP_FRAC_SUB_3): Likewise.
15239         (__FP_FRAC_SUB_4): Likewise.
15240         (__FP_FRAC_DEC_3): Likewise.
15241         (__FP_FRAC_DEC_4): Likewise.
15242         (__FP_FRAC_ADDI_4): Likewise.
15243         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15244         (_FP_FRAC_SRL_8): Likewise.
15245         (_FP_FRAC_SRS_8): Likewise.
15247         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15248         include macro name.
15249         (FP_UNPACK_RAW_EP): Likewise.
15250         (FP_PACK_RAW_E): Likewise.
15251         (FP_PACK_RAW_EP): Likewise.
15252         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15253         (_FP_ISSIGNAN): Likewise.
15254         (_FP_ADD_INTERNAL): Likewise.
15255         (_FP_FMA): Likewise.
15256         (_FP_CMP): Likewise.
15257         (_FP_SQRT): Likewise.
15258         (_FP_TO_INT): Likewise.
15259         (_FP_FROM_INT): Likewise.
15260         (FP_EXTEND): Likewise.
15261         (_FP_DIV_MEAT_N_loop): Likewise.
15263 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15265         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15266         throughout.
15268 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15270         [BZ #17097]
15271         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15272         result with correct sign in case of exponents that produce
15273         overflow except for X very close to 1.
15275 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15277         mktime: merge #if/#ifdef usage from glibc
15278         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15279         as that works with both Glibc's and Gnulib's style.
15280         See thread starting at Siddhesh Poyarekar's bug report at:
15281         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15283 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15285         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15286         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15287         * sysdeps/tile/tilegx/memmove.c: Remove file.
15289 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15291         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15292         abi-name definition.
15293         * scripts/soversions.awk: Do not handle or generate ABI lines.
15294         * shlib-versions: Remove ABI entries.
15295         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15296         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15298 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15301         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15302         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15303         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15305         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15307         Moved ...
15308         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15309         ... here.
15310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15311         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15313         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15315         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15316         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15317         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15318         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15319         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15321         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15323         Moved ...
15324         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15326         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15328         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15330         Moved ...
15331         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15333         Moved ...
15334         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15335         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15336         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15338         Moved ...
15339         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15341         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15343         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15345         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15347         Moved ...
15348         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15350         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15351         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15352         Moved ...
15353         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15354         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15355         Moved ...
15356         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15357         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15358         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15360         Moved ...
15361         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15362         ... here.
15363         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15364         Identical file removed.
15365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15366         Moved ...
15367         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15368         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15369         Identical file removed.
15370         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15371         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15372         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15373         Moved ...
15374         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15375         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15376         Identical file removed.
15377         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15378         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15379         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15380         Identical file removed.
15381         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15382         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15383         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15384         Identical file removed.
15385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15386         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15388         Identical file removed.
15389         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15390         Moved ...
15391         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15392         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15393         Identical file removed.
15394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15395         Moved ...
15396         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15398         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15399         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15400         Identical file removed.
15401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15402         Moved ...
15403         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15404         ... here.
15405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15406         Identical file removed.
15407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15408         Moved ...
15409         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15410         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15411         Identical file removed.
15412         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15413         Moved ...
15414         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15415         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15416         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15417         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15418         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15419         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15420         Moved ...
15421         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15422         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15423         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15425         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15426         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15427         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15428         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15429         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15431 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15433         [BZ #17092]
15434         * nscd/nscd.c (monitor_child): Return exit status of child
15435         instead of return value from wait syscall.
15437 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15439         * configure.ac (libc_commonpagesize): Remove variable.
15440         (libc_relro_required): Likewise.
15441         (libc_cv_z_relro): Remove configure test.
15442         * configure: Regenerated.
15443         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15444         variable.
15445         (libc_relro_required): Likewise.
15446         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15447         (libc_relro_required): Likewise.
15448         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15449         (libc_relro_required): Likewise.
15450         * sysdeps/arm/preconfigure: Regenerated.
15451         * sysdeps/ia64/preconfigure: Remove file.
15452         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15453         variable.
15454         (libc_relro_required): Likewise.
15456         [BZ #16561]
15457         [BZ #16562]
15458         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15459         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15460         recompute overflowing results in original rounding mode.
15461         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15462         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15463         recompute overflowing results in original rounding mode.
15464         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15465         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15466         recompute overflowing results in original rounding mode.
15467         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15468         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15469         recompute overflowing results in original rounding mode.
15470         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15471         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15472         recompute overflowing results in original rounding mode.
15473         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15474         (libc_feholdsetround_ctx): New macro.
15475         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15476         * sysdeps/i386/fpu/libm-test-ulps: Update.
15477         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15479 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15481         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15482         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15483         corresponding .cpsetup call.
15485 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15487         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15488         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15489         * sysdeps/arm/Makefile [$(subdir) = csu]
15490         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15491         (static-only-routines): Add aeabi_read_tp here.
15492         (shared-only-routines): Add libc-aeabi_read_tp here.
15493         (CFLAGS-libc-start.c): Add -fexceptions here.
15494         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15495         (sysdep_routines, static-only-routines, shared-only-routines):
15496         Don't add to these here.
15497         (CFLAGS-libc-start.c): Likewise.
15499         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15500         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15501         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15502         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15503         * sysdeps/arm/Makefile [$(subdir) = rt]
15504         (librt-sysdep_routines, librt-shared-only-routines):
15505         Append rt-aeabi_unwind_cpp_pr1 here.
15506         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15507         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15508         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15509         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15510         Append nptl-aeabi_unwind_cpp_pr1 here.
15511         (tests): Filter out tst-cleanupx4 here.
15512         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15513         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15514         Don't do those here.
15516 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15518         * scripts/list-sources.sh: Do not handle ports specially.
15520 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15522         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15523         * sysdeps/arm/feupdateenv.c: Likewise.
15525         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15527 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15529         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15530         trailing whitespace removed.
15531         * scripts/config.guess: Update to version 2014-03-23.
15532         * scripts/config.sub: Update to version 2014-05-01
15533         * scripts/install-sh: Update to version 2013-12-25.23.
15534         * scripts/move-if-change: Update from gnulib.
15536 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15538         * debug/memmove_chk.c: Remove pagecopy.h include.
15540 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15542         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15543         identical to gnulib mktime.
15545 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15547         * configure.ac: Do not test for machine being rs6000.  Do not test
15548         for powerpc*-*soft.
15549         * configure: Regenerated.
15551         [BZ #11505]
15552         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15553         test.
15554         * configure: Regenerated.
15555         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15556         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15557         Remove configure test.
15558         * sysdeps/arm/configure: Regenerated.
15559         * sysdeps/nptl/configure.ac: Do not check
15560         libc_cv_asm_cfi_directives.
15561         * sysdeps/nptl/configure: Regenerated.
15562         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15563         * sysdeps/x86_64/nptl/configure: Remove generated file.
15564         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15565         unconditional.
15566         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15568 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15570         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15571         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15572         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15573         it is defined.
15575         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15576         instead of whether it is defined.
15577         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15578         * sysdeps/hppa/dl-machine.h: Likewise.
15579         * sysdeps/ia64/dl-machine.h: Likewise.
15580         * sysdeps/m68k/dl-machine.h: Likewise.
15581         * sysdeps/microblaze/dl-machine.h: Likewise.
15582         * sysdeps/mips/dl-machine.: Likewise.
15583         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15584         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15585         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15586         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15587         * sysdeps/sh/dl-machine.h: Likewise.
15588         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15589         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15590         * sysdeps/tile/dl-machine.h: Likewise.
15591         * sysdeps/x86_64/dl-machine.h: Likewise.
15593         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15594         code.
15595         (verify_persistent_db): Likewise.
15597 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15600         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15602         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15604         Moved ...
15605         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15606         ... here.
15607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15608         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15610         Identical file removed.
15611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15612         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15614         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15616         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15618         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15620         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15622         Moved ...
15623         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15625         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15627         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15629         Moved ...
15630         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15632         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15634         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15636         Identical file removed.
15637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15638         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15640         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15642         Moved ...
15643         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15644         ... here.
15645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15646         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15648         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15650         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15652         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15654         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15656         Moved ...
15657         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15659         Moved ...
15660         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15662         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15664         Moved ...
15665         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15667         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15669         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15670         folded into ...
15671         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15672         * sysdeps/unix/sysv/linux/s390/Versions
15673         (libpthread: GLIBC_2.19): New version set.
15674         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15675         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15676         (librt: GLIBC_2.3.3): New version set.
15677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15678         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15679         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15680         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15681         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15682         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15683         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15684         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15685         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15686         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15687         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15688         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15689         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15690         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15691         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15692         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15693         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15694         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15695         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15696         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15697         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15698         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15699         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15700         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15701         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15702         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15703         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15704         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15705         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15706         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15707         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15708         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15709         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15711         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15712         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15713         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15714         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15715         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15716         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15717         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15718         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15719         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15720         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15721         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15723         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15724         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15725         (__libc_vfork): Define the function under this name.
15726         [!NOT_IN_libc] (__vfork): Make this an alias.
15727         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15728         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15729         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15730         (__libc_vfork): Define the function under this name.
15731         [!NOT_IN_libc] (__vfork): Make this an alias.
15732         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15733         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15734         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15735         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15736         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15737         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15739         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15740         code that was previously under [RESET_PID].
15741         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15742         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15743         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15745         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15746         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15747         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15748         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15749         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15750         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15751         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15752         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15753         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15754         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15755         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15756         Moved ...
15757         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15758         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15759         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15760         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15761         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15762         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15763         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15764         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15765         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15766         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15767         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15768         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15769         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15770         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15771         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15772         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15773         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15774         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15775         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15776         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15777         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15778         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15779         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15780         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15781         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15782         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15783         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15784         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15785         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15787 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15789         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15790         that was previously under [RESET_PID].
15791         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15793 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15795         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15796         not undefine and redefine.
15797         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15798         [O_CLOEXEC]: Make code unconditional.
15799         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15800         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15801         <kernel-features.h>.
15802         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15803         conditional variable definition.
15804         (shm_open) [O_CLOEXEC]: Make code unconditional.
15805         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15806         code.
15808         * configure.ac (USE_REGPARMS): Don't define here.
15809         * configure: Regenerated.
15810         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15811         * sysdeps/i386/configure: Regenerated.
15813         * nptl/createthread.c: Don't include kernel-features.h.
15814         * nptl/pthread_cancel.c: Likewise.
15815         * nptl/pthread_condattr_setclock.c: Likewise.
15816         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15817         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15818         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15819         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15820         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15821         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15822         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15823         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15824         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15825         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15826         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15827         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15828         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15829         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15830         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15831         * nscd/gai.c: Likewise.
15832         * nss/nss_db/db-open.c: Likewise.
15833         * sysdeps/generic/ldsodefs.h: Likewise.
15834         * sysdeps/sh/nptl/tls.h: Likewise.
15835         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15836         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15837         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15838         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15839         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15840         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15841         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15842         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15843         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15844         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15845         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15846         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15847         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15848         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15849         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15850         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15851         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15852         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15853         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15854         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15855         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15856         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15857         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15858         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15859         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15860         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15861         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15862         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15863         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15864         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15865         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15866         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15867         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15868         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15869         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15870         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15871         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15872         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15873         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15874         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15875         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15876         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15877         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15878         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15879         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15880         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15881         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15882         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15883         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15884         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15885         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15886         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15887         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15888         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15889         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15890         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15891         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15892         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15915         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15916         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15917         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15918         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15919         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15920         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15921         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15922         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15923         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15924         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15925         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15926         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15927         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15928         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15929         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15930         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15931         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15932         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15933         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15934         * sysdeps/unix/sysv/linux/system.c: Likewise.
15935         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15936         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15937         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15938         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15939         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15940         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15941         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15943         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15944         * configure: Regenerated.
15945         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15947         * configure.ac (base_machine): Do not set specially for particular
15948         machines here.
15949         * configure: Regenerated.
15950         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15951         settings from configure.ac.
15952         * sysdeps/i386/preconfigure: New file.
15953         * sysdeps/s390/preconfigure: Likewise.
15954         * sysdeps/sh/preconfigure: Likewise.
15955         * sysdeps/sparc/preconfigure: Likewise.
15957 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15959         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15960         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15961         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15962         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15963         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15964         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15965         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15966         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15967         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15968         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15969         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15970         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15971         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15972         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15973         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15974         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15975         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15976         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15977         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15979         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15980         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15981         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15982         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15983         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15984         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15985         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15986         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15987         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15988         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15989         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15990         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15991         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15992         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15993         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15994         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15995         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15996         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15997         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15998         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15999         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16000         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16001         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16002         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16003         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16004         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16005         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16006         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16007         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16008         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16009         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16010         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16011         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16012         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16013         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16014         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16015         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16016         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16019         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16021         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16023         Moved ...
16024         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16025         ... here.
16026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16027         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16029         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16031         Moved ...
16032         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16034         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16036         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16038         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16040         Moved ...
16041         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16043         Moved ...
16044         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16046         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16048         Moved ...
16049         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16051         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16053         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16055         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16057         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16059         Moved ...
16060         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16061         ... here.
16062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16063         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16065         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16067         Moved ...
16068         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16070         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16072         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16074         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16076         Moved ...
16077         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16079         Moved ...
16080         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16082         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16084         Moved ...
16085         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16087         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16089         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16091 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16093         * timezone/checktab.awk: Update from tzcode 2014e.
16094         * timezone/private.h: Likewise.
16095         * timezone/tzfile.h: Likewise.
16096         * timezone/zdump.c: Likewise.
16097         * timezone/zic.c: Likewise.
16099         * sysdeps/unix/sysv/linux/kernel-features.h
16100         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16101         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16102         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16103         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16104         Remove conditional code.
16106 2014-06-25  Will Newton  <will.newton@linaro.org>
16108         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16109         (_dl_arm_cap_flags): Add HWCAP2 values.
16110         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16111         (_DL_HWCAP_COUNT): Increase to 37.
16112         (_DL_HWCAP_LAST): New define.
16113         (_DL_HWCAP2_LAST): New define.
16114         (_dl_procinfo): Add support for printing
16115         AT_HWCAP2 entries.
16116         (_dl_string_hwcap): Use _dl_hwcap_string.
16118 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16122 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16124         * README: Do not mention ports directory.
16126         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16127         Remove macro.
16128         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16129         <kernel-features.h>.
16130         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16131         conditional variable definition.
16132         (__futimes): Update comment.
16133         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16134         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16136         [BZ #16560]
16137         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16138         arguments close to 0.
16139         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16140         Likewise.
16141         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16142         Likewise.
16143         * math/auto-libm-test-in: Add more tests of exp10.
16144         * math/auto-libm-test-out: Regenerated.
16145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16147         * sysdeps/unix/sysv/linux/kernel-features.h
16148         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16149         * sysdeps/unix/sysv/linux/readv.c: Do not include
16150         <kernel-features.h>.
16151         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16152         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16153         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16154         unconditional.
16155         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16156         conditional code.
16157         * sysdeps/unix/sysv/linux/writev.c: Do not include
16158         <kernel-features.h>.
16159         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16160         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16161         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16162         unconditional.
16163         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16164         conditional code.
16166 2014-06-25  Will Newton  <will.newton@linaro.org>
16168         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16169         comment changes throughout the file.  Remove checks
16170         for HAVE_*_H definitions that are not required.
16171         (__gen_tempname): Call abort if an unknown kind value is
16172         passed.
16174 2014-06-25  Andreas Schwab  <schwab@suse.de>
16176         [BZ #17086]
16177         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16178         scalbln, scalblnf, scalblnl in libc.
16180 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16182         [BZ #17086]
16183         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16184         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16185         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16187 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16189         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16190         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16191         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16192         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16193         Update #include.
16194         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16195         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16196         Update #include.
16197         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16198         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16199         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16200         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16201         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16202         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16203         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16204         * sysdeps/x86/bits/semaphore.h: ... here.
16205         * sysdeps/x86/nptl/elide.h: Moved ...
16206         * sysdeps/x86/elide.h: ... here.
16207         * sysdeps/x86_64/nptl/Implies: File removed.
16208         * sysdeps/i386/nptl/Implies: File removed.
16210 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16212         [BZ #16539]
16213         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16214         return the argument for normal arguments with exponent below -64.
16215         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16216         Likewise.
16217         * math/auto-libm-test-in: Add another test of expm1.
16218         * math/auto-libm-test-out: Regenerated.
16220         [BZ #16287]
16221         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16222         calling __erfcl for arguments at least 16.
16223         * math/auto-libm-test-in: Add more tests of erf.
16224         * math/auto-libm-test-out: Regenerated.
16226         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16227         individual architectures.
16228         * sysdeps/unix/sysv/linux/configure: Regenerated.
16229         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16230         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16231         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16232         (ldd_rewrite_script): Define variable.
16233         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16235         file.
16236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16237         generated file.
16238         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16239         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16240         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16241         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16242         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16243         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16244         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16245         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16247 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16249         [BZ #17084]
16250         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16251         Rename member __data.d to __data.__elision_data.
16253 2014-06-24  Wilco  <wdijkstr@arm.com>
16255         * NEWS: Add 16918 to fixed bug list.
16257 2014-06-24  Wilco  <wdijkstr@arm.com>
16259         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16261 2014-06-24  Wilco  <wdijkstr@arm.com>
16263         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16264         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16265         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16266         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16267         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16268         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16269         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16270         Use _FPU_MASK_RM.
16272 2014-06-24  Wilco  <wdijkstr@arm.com>
16274         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16276 2014-06-24  Wilco  <wdijkstr@arm.com>
16278         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16279         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16280         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16281         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16283 2014-06-24  Wilco  <wdijkstr@arm.com>
16285         [BZ #16918]
16286         * sysdeps/arm/feupdateenv.c (feupdateenv):
16287         Rewrite to reduce FPSCR accesses and fix return value.
16289 2014-06-24  Wilco  <wdijkstr@arm.com>
16291         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16292         Optimize to avoid unnecessary FPSCR writes.
16293         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16294         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16295         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16296         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16298 2014-06-24  Wilco  <wdijkstr@arm.com>
16300         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16301         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16302         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16303         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16304         Call libc_fetestexcept_vfp.
16305         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16306         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16307         __SOFTFP__ ifdef so that they can be built for softfp.
16309 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16311         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16312         argument type signed char.
16314         * Makerules (check-abi): Dump diff of symlist if the test
16315         fails.
16317 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16319         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16320         using abort.
16322         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16323         Remove unused variable ST.
16325 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16327         [BZ #16354]
16328         [BZ #17061]
16329         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16330         small arguments before calling __expm1.
16331         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16332         small arguments before calling __expm1f.
16333         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16334         small arguments before calling __expm1l.
16335         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16336         Likewise.
16337         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16338         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16339         spurious underflow for some cosh tests.
16340         * math/auto-libm-test-out: Regenerated.
16341         * sysdeps/i386/fpu/libm-test-ulps: Update.
16343         [BZ #17050]
16344         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16345         (__ieee754_y1): Set errno if return value overflows.
16346         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16347         (__ieee754_y1f): Set errno if return value overflows.
16348         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16349         (__ieee754_y1l): Set errno if return value overflows.
16350         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16351         (__ieee754_y1l): Set errno if return value overflows.
16352         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16353         * math/auto-libm-test-out: Regenerated.
16355         * math/gen-auto-libm-tests.c: Document use of
16356         ignore-zero-inf-sign.
16357         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16358         (input_flags): Add ignore-zero-inf-sign.
16359         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16360         * math/gen-libm-test.pl (generate_testfile): Handle
16361         ignore-zero-inf-sign.
16362         * math/auto-libm-test-in: Mark some cpow tests with
16363         ignore-zero-inf-sign and some with xfail-rounding.
16364         * math/auto-libm-test-out: Regenerated.
16365         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16366         * sysdeps/i386/fpu/libm-test-ulps: Update.
16367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16369         [BZ #16315]
16370         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16371         overflowing or underflowing operations take place with sign of
16372         result.
16373         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16374         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16375         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16376         (__ieee754_pow): Recompute overflowing and underflowing results in
16377         original rounding mode.
16378         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16379         (__powl_helper): Allow negative argument X and scale negated value
16380         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16381         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16382         overflowing or underflowing operations take place with sign of
16383         result.
16384         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16385         Include <math.h>.
16386         * math/auto-libm-test-in: Add more tests of pow.
16387         * math/auto-libm-test-out: Regenerated.
16388         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16389         (pow_tonearest_test_data): Remove.
16390         (pow_test_tonearest): Likewise.
16391         (pow_towardzero_test_data): Likewise.
16392         (pow_test_towardzero): Likewise.
16393         (pow_downward_test_data): Likewise.
16394         (pow_test_downward): Likewise.
16395         (pow_upward_test_data): Likewise.
16396         (pow_test_upward): Likewise.
16397         (main): Don't call removed functions.
16398         * sysdeps/i386/fpu/libm-test-ulps: Update.
16399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16401 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16404         Moved ...
16405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16407         Moved ...
16408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16410         Moved ...
16411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16413         Moved ...
16414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16416         File removed.
16417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16418         File removed.
16419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16420         File removed.
16421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16422         File removed.
16423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16424         File removed.
16425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16426         File removed.
16427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16428         File removed.
16429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16430         File removed.
16431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16432         File removed.
16433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16434         File removed.
16435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16436         File removed.
16437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16438         File removed.
16439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16440         Moved ...
16441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16443         Moved ...
16444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16445         ... here.
16446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16447         Moved ...
16448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16450         Moved ...
16451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16453         Moved ...
16454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16456         Moved ...
16457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16459         Moved ...
16460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16462         Moved ...
16463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16465         Moved ...
16466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16469         ... here.
16470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16471         Moved ...
16472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16474         Moved ...
16475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16476         ... here.
16477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16478         Moved ...
16479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16480         ... here.
16481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16482         Moved ...
16483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16484         ... here.
16485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16486         Moved ...
16487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16489         Moved ...
16490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16494         Moved ...
16495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16496         ... here.
16497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16498         Moved ...
16499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16500         ... here.
16501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16502         Moved ...
16503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16505         Moved ...
16506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16508         Moved ...
16509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16511         Moved ...
16512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16514         Moved ...
16515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16516         ... here.
16517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16518         Moved ...
16519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16521         Moved ...
16522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16524         Moved ...
16525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16527         Moved ...
16528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16532         Moved ...
16533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16535         Moved ...
16536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16538         Moved ...
16539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16540         ... here.
16541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16542         Moved ...
16543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16544         ... here.
16545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16546         Moved ...
16547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16548         ... here.
16549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16550         Moved ...
16551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16553         Moved ...
16554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16556         Moved ...
16557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16559         Moved ...
16560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16561         ... here.
16562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16563         Moved ...
16564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16565         ... here.
16566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16567         Moved ...
16568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16569         ... here.
16570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16571         Moved ...
16572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16574         Moved ...
16575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16577 2014-06-23  Will Newton  <will.newton@linaro.org>
16578             Wilco  <wdijkstr@arm.com>
16580         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16581         implementation.  Include get-rounding-mode.h.
16582         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16583         [!libc_feholdsetround_noex_ctx]: Define
16584         libc_feholdsetround_noex_ctx.
16585         [!libc_feholdsetround_noexf_ctx]: Define
16586         libc_feholdsetround_noexf_ctx.
16587         [!libc_feholdsetround_noexl_ctx]: Define
16588         libc_feholdsetround_noexl_ctx.
16589         (libc_feholdsetround_ctx): New function.
16590         (libc_feresetround_ctx): New function.
16591         (libc_feholdsetround_noex_ctx): New function.
16592         (libc_feresetround_noex_ctx): New function.
16594 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16596         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16597         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16598         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16599         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16600         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16601         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16603         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16604         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16605         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16606         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16607         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16608         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16610         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16612         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16613         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16614         Moved ...
16615         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16616         ... here.
16617         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16618         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16619         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16620         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16621         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16622         Moved ...
16623         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16624         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16625         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16627         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16629         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16630         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16631         Moved ...
16632         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16633         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16634         Moved ...
16635         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16636         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16637         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16638         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16639         Moved ...
16640         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16641         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16642         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16643         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16644         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16645         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16646         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16647         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16648         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16649         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16650         Moved ...
16651         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16652         ... here.
16653         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16654         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16656         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16657         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16658         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16659         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16660         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16661         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16662         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16663         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16664         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16665         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16666         Moved ...
16667         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16668         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16669         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16670         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16671         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16673         Moved ...
16674         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16675         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16676         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16677         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16678         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16680         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16681         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16682         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16683         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16684         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16685         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16686         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16687         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16688         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16689         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16690         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16691         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16692         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16693         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16694         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16695         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16696         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16697         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16698         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16699         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16700         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16701         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16702         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16703         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16704         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16705         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16706         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16707         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16709 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16711         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16712         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16713         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16714         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16715         (IPV6_PMTUDISC_INTERFACE): Likewise.
16716         (IPV6_PMTUDISC_OMIT): Likewise.
16718 2014-06-23  Andreas Schwab  <schwab@suse.de>
16720         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16721         Remove unused errout label.
16723 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16725         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16726         macro: hardware supports Vector Crypto instructions.
16728 2014-06-23  Will Newton  <will.newton@linaro.org>
16730         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16731         rather than __builtin_expect.
16733         * elf/dl-lookup.c (undefined_msg): Remove variable.
16734         (_dl_lookup_symbol_x): Replace undefined_msg with string
16735         literal.
16737         * elf/dl-lookup.c (do_lookup_unique): New function.
16738         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16739         to a separate function.
16741 2014-06-23  Andreas Schwab  <schwab@suse.de>
16743         [BZ #17079]
16744         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16745         before reading the next line.
16747 2014-06-23  Will Newton  <will.newton@linaro.org>
16749         * test-skeleton.c (signal_handler): Use printf and %m
16750         rather than perror.  Use printf rather than fprintf to
16751         stderr.  Use puts rather than fputs to stderr.
16752         (main): Likewise.
16754 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16756         * nscd/nscd.c (thread_info_t): Remove typedef.
16757         (thread_info): Remove variable.
16759 2014-06-21  Allan McRae  <allan@archlinux.org>
16761         * NEWS: Mention CVE-2014-4043.
16763 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16765         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16766         * nptl/smp.h: ... here.
16768         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16770         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16771         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16772         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16773         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16775         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16776         * nptl/stack-aliasing.h: New file.
16777         * sysdeps/i386/i686/stack-aliasing.h: New file.
16778         * sysdeps/i386/i686/nptl/Makefile: File removed.
16779         * sysdeps/x86_64/stack-aliasing.h: New file.
16780         * sysdeps/x86_64/nptl/Makefile
16781         (CFLAGS-pthread_create.c): Variable removed.
16783         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16784         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16785         old file.
16786         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16787         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16788         old file.
16790 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16792         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16793         (__ASSUME_SIGFRAME_V2): Remove macro.
16794         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16795         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16796         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16797         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16798         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16799         Declare as function.  Remove conditional macro definitions.
16800         (__default_rt_sa_restorer): Likewise.
16801         (__default_sa_restorer_v1): Remove declaration.
16802         (__default_sa_restorer_v2): Likewise.
16803         (__default_rt_sa_restorer_v1): Likewise.
16804         (__default_rt_sa_restorer_v2): Likewise.
16805         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16806         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16807         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16809 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16811         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16812         (libpthread-routines): Add sysdep.
16813         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16814         * sysdeps/unix/sysv/linux/sparc/Versions
16815         (libpthread: GLIBC_2.3.3): New version set.
16816         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16817         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16818         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16819         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16820         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16821         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16822         Moved ...
16823         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16824         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16825         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16826         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16827         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16828         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16829         * sysdeps/sparc/nptl/sem_init.c: ... here.
16830         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16831         * sysdeps/sparc/nptl/sem_post.c: ... here.
16832         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16833         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16834         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16835         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16836         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16837         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16838         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16839         (libpthread-routines): Add cpu_relax.
16840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16841         File removed.
16842         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16843         (librt: GLIBC_2.3.3): New version set.
16844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16845         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16846         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16847         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16850         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16852         Moved ...
16853         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16855         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16857         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16859         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16861         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16863         Moved ...
16864         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16865         Update #include.
16866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16867         Moved ...
16868         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16869         Update #include.
16870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16871         Moved ...
16872         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16873         Update #include.
16874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16875         Moved ...
16876         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16877         Update #include.
16878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16879         Moved ...
16880         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16881         Update #include.
16882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16883         Moved ...
16884         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16885         Update #include.
16886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16887         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16891         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16893         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16895         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16897         Moved ...
16898         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16900         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16902         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16904 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16906         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16907         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16908         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16909         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16910         * nscd/nscd.c: Likewise.
16911         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16912         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16913         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16914         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16916         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16917         <kernel-features.h>.
16918         (init_mq_netlink): Remove conditional have_sock_cloexec
16919         definitions.  Remove code conditional on have_sock_cloexec < 0.
16920         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16921         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16922         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16923         <kernel-features.h>.
16924         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16925         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16927 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16929         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16930         Add tests for memset_chk and memset.
16932         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16933         with AVX2_Usable.
16935 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16937         [BZ #16046]
16938         * elf/tst-dl-iter-static.c: New file.
16939         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16941         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16942         error.
16944 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16946         * sysdeps/unix/sysv/linux/kernel-features.h
16947         (__ASSUME_F_GETOWN_EX): Remove macro.
16948         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16949         <kernel-features.h>.
16950         (miss_F_GETOWN_EX): Remove variable or macro.
16951         (do_fcntl): Do not check miss_F_GETOWN_EX.
16952         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16954         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16955         Remove macro.
16956         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16957         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16958         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16960         * sysdeps/unix/sysv/linux/kernel-features.h
16961         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16962         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16963         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16964         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16966 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16968         [BZ #17075]
16969         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16970         Fix calculation of the symbol's value.
16971         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16972         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16973         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16974         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16975         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16976         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16977         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16978         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16979         (modules-names): Add `tst-armtlsdescmod',
16980         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16981         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16982         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16983         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16984         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16985         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16986         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16987         ($(objpfx)tst-armtlsdescloc): New dependency.
16988         ($(objpfx)tst-armtlsdescextnow): Likewise.
16989         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16990         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16991         TLS scheme support.
16992         * sysdeps/arm/configure: Regenerate.
16994 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16996         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16997         (__atfct_seterrno_2): Likewise.
16998         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16999         <kernel-features.h>.
17000         (__ASSUME_ATFCTS): Do not undefine and redefine.
17001         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17002         (__have_atfcts): Remove conditional definition.
17003         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17004         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17005         unreachable if [__ASSUME_ATFCTS].
17006         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17007         not undefine and redefine.
17008         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17009         <kernel-features.h>.
17010         (faccessat) [__NR_faccessat]: Make code unconditional.
17011         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17012         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17013         <kernel-features.h>.
17014         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17015         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17016         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17017         <kernel-features.h>.
17018         (fchownat) [__NR_fchownat]: Make code unconditional.
17019         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17020         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17021         <kernel-features.h>.
17022         (futimesat) [__NR_futimesat]: Make code unconditional.
17023         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17024         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17025         <kernel-features.h>.
17026         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17027         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17028         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17029         <kernel-features.h>.
17030         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17031         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17032         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17033         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17034         <kernel-features.h>.
17035         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17036         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17037         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17038         <kernel-features.h>.
17039         (linkat) [__NR_linkat]: Make code unconditional.
17040         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17041         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17042         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17043         <kernel-features.h>.
17044         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17045         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17046         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17047         <kernel-features.h>.
17048         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17049         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17050         * sysdeps/unix/sysv/linux/openat.c: Do not include
17051         <kernel-features.h>.
17052         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17053         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17054         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17055         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17056         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17057         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17058         <kernel-features.h>.
17059         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17060         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17061         result of INLINE_SYSCALL directly, not via int variable.
17062         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17063         <kernel-features.h>.
17064         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17065         (renameat) [__NR_renameat]: Make code unconditional.
17066         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17067         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17068         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17069         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17070         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17071         (__ASSUME_ATFCTS): Do not undefine and redefine.
17072         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17073         <kernel-features.h>.
17074         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17075         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17076         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17077         <kernel-features.h>.
17078         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17079         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17080         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17081         (__ASSUME_ATFCTS): Do not undefine and redefine.
17082         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17083         <kernel-features.h>.
17084         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17085         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17086         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17087         <kernel-features.h>.
17088         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17089         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17091 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17093         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17095 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17097         [BZ #17069]
17098         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17099         constructed tree before returning error.
17100         * posix/bug-regexp36.c: Expand test case.
17102 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17104         [BZ #6803]
17105         * math/libm-test.inc (scalbln_test_date):
17106         Add errno expectations.
17107         * math/w_scalblnf.c: New File.
17108         Add wrapper which checks for setting errno to ERANGE.
17109         Add weak_alias for corresponding scalbln function.
17110         * math/w_scalbln.c: Likewise.
17111         * math/w_scalblnl.c: Likewise.
17112         * math/Makefile (libm-calls): Add w_scalbln.
17113         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17114         Remove weak_alias for corresponding scalbln function.
17115         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17116         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17117         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17118         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17119         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17120         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17121         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17122         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17123         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17124         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17125         Remove long_double_symbol for scalblnl function in libm, libc.
17126         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17127         Add wrapper which checks for setting errno to ERANGE.
17128         Add long_double_symbol for scalblnl function in libm, libc.
17129         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17130         Remove long_double_symbol for scalblnl in libm.
17131         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17132         Add wrapper which checks for setting errno to ERANGE.
17133         Add long_double_symbol for scalblnl function in libm.
17134         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17135         Do not use wrapper because of own implementation.
17137 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17139         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17140         3 bytes for __pad1 for x32.
17141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17143 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17144             H.J. Lu  <hongjiu.lu@intel.com>
17146         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17147         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17148         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17149         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17150         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17152 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17154         [BZ #17069]
17155         * posix/regcomp.c (parse_expression): Deallocate partially
17156         constructed tree before returning error.
17157         * posix/Makefile.c (tests): Add bug-regex36.
17158         (generated): Add bug-regex36.mtrace.
17159         (tests-special): Add $(objpfx)bug-regex36-mem.out
17160         (bug-regex36-ENV): New variable.
17161         ($(objpfx)bug-regex36-mem.out): New rule.
17162         * posix/bug-regex36.c: New file.
17164 2014-06-19  Will Newton  <will.newton@linaro.org>
17166         * malloc/malloc.c (systrim): If extra is zero then return
17167         early.
17169 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17171         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17173 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17175         * sysdeps/aarch64/strchr.S: New file.
17177 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17179         [BZ #17022]
17180         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17181         from arguments -2 or below.
17182         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17183         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17185 2014-06-18  Andreas Schwab  <schwab@suse.de>
17187         [BZ #17062]
17188         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17189         of a bracket expr not to run off the end of the string.
17190         * posix/Makefile (tests): Add tst-fnmatch3.
17191         * posix/tst-fnmatch3.c: New file.
17193 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17195         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17196         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17197         [$(cross-compiling) = no]: Likewise.
17198         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17199         [$(cross-compiling) = no]: Likewise.
17201 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17203         [BZ #17031]
17204         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17205         double, adjusted for any remainder from the high double.
17206         * math/libm-test.inc (nearbyint): Add tests.
17207         (rint): Likewise.
17209 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17211         * nptl/sysdeps/powerpc/Makefile: Moved ...
17212         * sysdeps/powerpc/nptl/Makefile: ... here.
17213         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17214         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17215         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17216         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17217         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17218         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17219         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17220         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17221         * nptl/sysdeps/powerpc/tls.h: Moved ...
17222         * sysdeps/powerpc/nptl/tls.h: ... here.
17224 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17226         [BZ #16681]
17227         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17228         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17229         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17230         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17231         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17232         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17233         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17234         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17235         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17237 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17239         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17241 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17243         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17244         defined operator.
17246         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17247         $TIMEOUTFACTOR.
17249 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17251         [BZ #17058]
17252         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17253         non-executed part of the test.
17255 2014-06-16  Andreas Schwab  <schwab@suse.de>
17257         * string/bits/string2.h (strdup, strndup): Update feature guard.
17259 2014-06-14  David S. Miller  <davem@davemloft.net>
17261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17263 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17265         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17266         that was previously under [RESET_PID].
17267         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17269         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17270         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17271         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17272         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17273         (__libc_vfork): New strong alias.
17274         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17276 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17278         * sysdeps/generic/elide.h: New file.
17280 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17282         * Makefile (installed-headers): Adjust path of pthread.h header.
17284 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17286         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17287         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17288         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17289         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17291         * nptl/sysdeps/s390/Makefile: Moved ...
17292         * sysdeps/s390/nptl/Makefile: ... here.
17293         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17294         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17295         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17296         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17297         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17298         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17299         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17300         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17301         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17302         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17303         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17304         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17305         * nptl/sysdeps/s390/tls.h: Moved ...
17306         * sysdeps/s390/nptl/tls.h: ... here.
17308         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17309         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17311 2014-06-13  David S. Miller  <davem@davemloft.net>
17313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17316         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17320         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17321         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17322         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17323         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17324         Remove RESET_PID cpp guards.
17325         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17326         Remove RESET_PID cpp guards.
17327         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17329 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17331         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17332         __sp to uintptr_t.
17334 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17336         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17337         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17338         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17339         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17340         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17341         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17342         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17343         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17344         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17345         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17346         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17347         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17348         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17349         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17350         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17351         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17352         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17353         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17355         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17357         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17358         (pthread_rwlock_rdlock): Add elision.
17359         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17360         (pthread_rwlock_wrlock): Add elision.
17361         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17362         (pthread_rwlock_trywrlock): Add elision.
17363         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17364         (pthread_rwlock_tryrdlock): Add elision.
17365         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17366         (pthread_rwlock_tryrdlock): Add elision unlock.
17367         * nptl/sysdeps/pthread/pthread.h:
17368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17369         (PTHREAD_RWLOCK_INITIALIZER,
17370         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17371         Handle new elision field.
17372         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17373         * sysdeps/arm/nptl/bits/pthreadtypes.h
17374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17375         * sysdeps/sh/nptl/bits/pthreadtypes.h
17376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17377         * sysdeps/tile/nptl/bits/pthreadtypes.h
17378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17379         * sysdeps/a/nptl/bits/pthreadtypes.h
17380         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17381         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17382         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17383         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17384         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17385         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17386         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17387         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17388         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17389         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17390         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17391         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17392         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17393         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17394         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17395         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17396         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17397         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17398         (elision_init): Set try_xbegin to zero when no RTM.
17399         * sysdeps/x86/nptl/bits/pthreadtypes.h
17400         (pthread_rwlock_t): Change __pad1 to __rwelision.
17401         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17403 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17405         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17406         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17407         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17408         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17410 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17412         [BZ #16996]
17413         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17414         that the cached result has been set before returning it.
17416 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17418         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17419         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17420         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17421         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17422         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17423         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17425         * nptl/sysdeps/sparc/Makefile: Moved ...
17426         * sysdeps/sparc/nptl/Makefile: ... here.
17427         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17428         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17429         * nptl/sysdeps/sparc/tls.h: Moved ...
17430         * sysdeps/sparc/nptl/tls.h: ... here.
17431         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17432         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17433         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17434         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17435         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17436         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17437         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17438         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17439         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17440         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17441         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17442         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17443         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17444         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17445         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17446         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17447         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17448         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17449         Update #include.
17450         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17451         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17452         Update #include.
17453         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17454         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17455         Update #include.
17456         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17457         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17458         Update #include.
17460         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17462         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17463         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17465         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17466         (struct list_links): Type removed.
17467         (struct thread_node, struct timer_node): Replace struct list_links
17468         with struct list_head.
17469         (list_unlink_ip): Likewise.
17470         * sysdeps/pthread/timer_routines.c
17471         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17472         (list_append, list_insbefore): Likewise.
17473         (list_init): Function removed.
17474         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17475         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17476         * sysdeps/pthread/Makefile: ... here, new file.
17478         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17479         * sysdeps/nptl/Implies: ... here.
17480         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17481         * nptl/sysdeps/pthread/list.h: Moved ...
17482         * include/list.h: ... here.
17483         * nptl/sysdeps/pthread/createthread.c: Moved ...
17484         * nptl/createthread.c: ... here.
17485         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17486         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17487         * nptl/pt-longjmp.c: ... here.
17488         * nptl/sysdeps/pthread/Makefile: Moved ...
17489         * sysdeps/nptl/Makefile: ... here.
17490         * nptl/sysdeps/pthread/Subdirs: Moved ...
17491         * sysdeps/nptl/Subdirs: ... here.
17492         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17493         * sysdeps/nptl/aio_misc.h: ... here.
17494         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17495         * sysdeps/nptl/bits/libc-lock.h: ... here.
17496         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17497         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17498         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17499         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17500         * nptl/sysdeps/pthread/configure: Moved ...
17501         * sysdeps/nptl/configure: ... here.
17502         * nptl/sysdeps/pthread/configure.ac: Moved ...
17503         * sysdeps/nptl/configure.ac: ... here.
17504         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17505         * sysdeps/nptl/gai_misc.h: ... here.
17506         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17507         * sysdeps/nptl/librt-cancellation.c: ... here.
17508         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17509         * sysdeps/nptl/malloc-machine.h: ... here.
17510         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17511         * sysdeps/nptl/pthread-functions.h: ... here.
17512         * nptl/sysdeps/pthread/pthread.h: Moved ...
17513         * sysdeps/nptl/pthread.h: ... here.
17514         * nptl/sysdeps/pthread/setxid.h: Moved ...
17515         * sysdeps/nptl/setxid.h: ... here.
17516         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17517         * sysdeps/nptl/sigfillset.c: ... here.
17518         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17519         * sysdeps/nptl/tcb-offsets.h: ... here.
17520         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17521         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17522         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17523         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17524         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17525         * sysdeps/pthread/allocalim.h: ... here.
17526         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17527         * sysdeps/pthread/bits/sigthread.h: ... here.
17528         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17529         * sysdeps/pthread/flockfile.c: ... here.
17530         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17531         * sysdeps/pthread/ftrylockfile.c: ... here.
17532         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17533         * sysdeps/pthread/funlockfile.c: ... here.
17534         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17535         * sysdeps/pthread/posix-timer.h: ... here.
17536         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17537         * sysdeps/pthread/timer_create.c: ... here.
17538         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17539         * sysdeps/pthread/timer_delete.c: ... here.
17540         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17541         * sysdeps/pthread/timer_getoverr.c: ... here.
17542         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17543         * sysdeps/pthread/timer_gettime.c: ... here.
17544         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17545         * sysdeps/pthread/timer_routines.c: ... here.
17546         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17547         * sysdeps/pthread/timer_settime.c: ... here.
17548         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17549         * sysdeps/pthread/tst-timer.c: ... here.
17550         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17551         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17553         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17554         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17556         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17557         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17558         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17559         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17560         Update #include target.
17561         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17562         * sysdeps/i386/i686/nptl/Makefile: ... here.
17563         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17564         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17565         Update #include target.
17566         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17567         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17568         * nptl/sysdeps/i386/Makefile: Moved ...
17569         * sysdeps/i386/nptl/Makefile: ... here.
17570         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17571         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17572         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17573         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17574         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17575         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17576         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17577         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17578         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17579         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17580         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17581         * nptl/sysdeps/i386/tls.h: Moved ...
17582         * sysdeps/i386/nptl/tls.h: ... here.
17584         * sysdeps/sh/Makefile [$(subdir) = csu]
17585         (gen-as-const-headers): Add tcb-offsets.sym.
17586         * nptl/sysdeps/sh/Makefile: File removed.
17587         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17588         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17589         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17590         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17591         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17592         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17593         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17594         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17595         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17596         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17597         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17598         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17599         * nptl/sysdeps/sh/tls.h: Moved ...
17600         * sysdeps/sh/nptl/tls.h: ... here.
17601         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17602         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17603         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17604         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17605         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17606         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17607         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17608         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17609         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17610         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17611         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17612         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17614         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17616         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17617         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17618         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17619         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17620         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17621         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17622         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17623         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17624         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17625         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17626         Moved ...
17627         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17628         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17629         Moved ...
17630         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17631         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17632         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17633         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17634         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17635         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17636         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17637         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17638         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17639         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17640         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17641         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17642         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17643         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17644         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17645         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17646         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17647         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17648         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17650 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17652         * posix/spawn_faction_addopen.c: Include string.h.
17654 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17656         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17657         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17658         * nptl/sysdeps/x86_64/Makefile: Moved ...
17659         * sysdeps/x86_64/nptl/Makefile: ... here.
17660         * nptl/sysdeps/x86_64/configure: Moved ...
17661         * sysdeps/x86_64/nptl/configure: ... here.
17662         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17663         * sysdeps/x86_64/nptl/configure.ac: ... here.
17664         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17665         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17666         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17667         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17668         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17669         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17670         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17671         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17672         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17673         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17674         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17675         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17676         * nptl/sysdeps/x86_64/tls.h: Moved ...
17677         * sysdeps/x86_64/nptl/tls.h: ... here.
17678         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17679         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17680         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17681         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17683         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17685 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17689 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17691         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17692         type.
17693         [POSIX] (off_t): Likewise.
17694         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17695         [POSIX] (S_ISBLK): Require macro.
17696         [POSIX] (S_ISCHR): Likewise.
17697         [POSIX] (S_ISDIR): Likewise.
17698         [POSIX] (S_ISFIFO): Likewise.
17699         [POSIX] (S_ISREG): Likewise.
17700         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17701         optional-macro.
17702         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17703         type.
17704         [POSIX] (time_t): Likewise.
17705         [POSIX] (timer_t): Likewise.
17707 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17709         [BZ #17048]
17710         * posix/spawn_int.h (struct __spawn_action): Make the path string
17711         non-const to support deallocation.
17712         * posix/spawn_faction_addopen.c
17713         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17714         * posix/spawn_faction_destroy.c
17715         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17716         path in all spawn_do_open actions.
17717         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17718         posix_spawn_file_actions_addopen.
17720 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17722         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17723         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17724         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17725         conditional code always true.
17726         (__libc_vfork): New alias.
17728 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17730         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17731         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17733         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17735         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17736         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17738         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17739         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17741         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17742         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17744 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17746         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17747         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17748         multiarch strcmp for PPC64.
17749         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17750         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17752         multiarch optimizations.
17753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17754         (__libc_ifunc_impl_list): Likewise.
17756 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17758         * benchtests/scripts/validate_benchout.py: New script.
17759         * benchtests/Makefile (bench-func): Call it.
17760         * benchtests/scripts/benchout.schema.json: New file.
17762 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17764         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17765         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17766         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17767         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17768         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17769         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17770         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17771         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17772         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17773         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17774         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17775         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17776         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17777         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17778         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17779         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17781         Moved ...
17782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17783         ... here.
17784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17785         Moved ...
17786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17788         Moved ...
17789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17790         ... here.
17791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17792         Moved ...
17793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17794         ... here.
17795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17796         Moved ...
17797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17799         Moved ...
17800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17801         ... here.
17802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17803         Moved ...
17804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17805         ... here.
17806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17807         Moved ...
17808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17810         Moved ...
17811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17812         ... here.
17813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17814         Moved ...
17815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17816         ... here.
17817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17818         Moved ...
17819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17820         ... here.
17821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17822         Moved ...
17823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17825         Moved ...
17826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17827         ... here.
17828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17829         Moved ...
17830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17831         ... here.
17832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17833         Moved ...
17834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17835         ... here.
17836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17837         Moved ...
17838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17840         Moved ...
17841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17842         ... here.
17843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17844         Moved ...
17845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17846         ... here.
17847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17848         Moved ...
17849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17851         Moved ...
17852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17853         ... here.
17854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17855         Moved ...
17856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17858         Moved ...
17859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17861         Moved ...
17862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17863         ... here.
17864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17865         Moved ...
17866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17867         ... here.
17868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17869         Moved ...
17870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17871         ... here.
17872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17873         Moved ...
17874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17876         Moved ...
17877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17878         ... here.
17879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17880         Moved ...
17881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17882         ... here.
17883         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17884         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17886         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17888         Moved ...
17889         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17890         ... here.
17891         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17892         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17894         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17895         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17896         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17897         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17898         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17899         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17900         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17901         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17902         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17903         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17904         Moved ...
17905         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17906         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17907         Moved ...
17908         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17909         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17910         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17911         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17912         Moved ...
17913         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17914         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17915         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17916         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17917         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17918         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17919         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17921 2014-06-10  Wilco  <wdijkstr@arm.com>
17923         * math/test-fenv-return.c: New file.
17924         * math/Makefile: Add new test test-fenv-return.
17926 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17928         [BZ #17042]
17929         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17930         when x - 1 is zero.
17931         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17932         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17933         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17934         0.0L for an argument of 1.0L.
17935         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17936         Likewise.
17937         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17938         value when x - 1 is zero.
17939         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17940         * sysdeps/i386/fpu/libm-test-ulps: Update.
17941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17943 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17945         [BZ #15119]
17946         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17948 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17950         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17951         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17953 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17955         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17956         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17958         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17959         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17961         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17962         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17964         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17965         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17967         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17968         if not already defined.
17969         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17970         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17971         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17972         (TLS_INIT_TP): Use it.
17973         (TLS_DEFINE_INIT_TP): New macro.
17974         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17976 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17978         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17979         constant.
17980         [POSIX] (IXANY): Likewise.
17981         [POSIX] (OLCUC): Likewise.
17982         [POSIX || POSIX2008] (CBAUD): Do not allow.
17983         [POSIX || POSIX2008] (DEFECHO): Likewise.
17984         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17985         [POSIX || POSIX2008] (ECHOKE): Likewise.
17986         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17987         [POSIX || POSIX2008] (EXTA): Likewise.
17988         [POSIX || POSIX2008] (EXTB): Likewise.
17989         [POSIX || POSIX2008] (FLUSHO): Likewise.
17990         [POSIX || POSIX2008] (LOBLK): Likewise.
17991         [POSIX || POSIX2008] (PENDIN): Likewise.
17992         [POSIX || POSIX2008] (SWTCH): Likewise.
17993         [POSIX || POSIX2008] (VDISCARD): Likewise.
17994         [POSIX || POSIX2008] (VDSUSP): Likewise.
17995         [POSIX || POSIX2008] (VLNEXT): Likewise.
17996         [POSIX || POSIX2008] (VREPRINT): Likewise.
17997         [POSIX || POSIX2008] (VSTATUS): Likewise.
17998         [POSIX || POSIX2008] (VWERASE): Likewise.
17999         (B*): Change to B[0123456789]*.
18000         * conform/data/time.h-data [POSIX || UNIX98]
18001         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18002         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18003         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18004         [POSIX] (tm_*): Do not allow.
18006 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18008         * Makefile (install): Don't set LANGUAGE.
18009         * Makefile.in (install): Likewise.
18010         * assert/Makefile (test-assert-ENV): Remove variable.
18011         (test-assert-perr-ENV): Likewise.
18012         * elf/Makefile (neededtest4-ENV): Likewise.
18013         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18014         [$(cross-compiling) = no]: Don't set LANGUAGE.
18015         * io/ftwtest-sh (LANG): Remove variable.
18016         * libio/Makefile (tst-widetext-ENV): Likewise.
18017         * manual/install.texi (Running make install): Don't refer to
18018         environment settings for make install.
18019         * INSTALL: Regenerated.
18020         * nptl/tst-tls6.sh: Don't set LANG.
18021         * posix/globtest.sh (LANG): Remove variable.
18022         * string/Makefile (tester-ENV): Likewise.
18023         (inl-tester-ENV): Likewise.
18024         (noinl-tester-ENV): Likewise.
18025         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18026         [$(cross-compiling) = no]: Don't set LANGUAGE.
18027         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18028         without explicit environment settings.
18030 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18032         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18033         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18034         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18035         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18037 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18039         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18040         other files in the crypt directory.
18041         * crypt/crypt.c: Remove duplicate includes.
18042         * crypt/crypt-entry.c: Likewise.
18043         * crypt/crypt_util.c: Likewise.
18045 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18047         * Makeconfig (run-program-env): New variable.
18048         (run-program-prefix-before-env): Likewise.
18049         (run-program-prefix-after-env): Likewise.
18050         (run-program-prefix): Define in terms of new variables.
18051         (built-program-cmd-before-env): New variable.
18052         (built-program-cmd-after-env): Likewise.
18053         (built-program-cmd): Define in terms of new variables.
18054         (test-program-prefix-before-env): New variable.
18055         (test-program-prefix-after-env): Likewise.
18056         (test-program-prefix): Define in terms of new variables.
18057         (test-program-cmd-before-env): New variable.
18058         (test-program-cmd-after-env): Likewise.
18059         (test-program-cmd): Define in terms of new variables.
18060         * Rules (make-test-out): Use $(run-program-env).
18061         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18062         (help): Do not mention environment variables.  Mention
18063         --timeoutfactor option.
18064         (timeoutfactor): New variable.
18065         (blacklist_exports): Remove function.
18066         (exports): Remove variable.
18067         (command): Do not include ${exports}.
18068         * manual/install.texi (Configuring and compiling): Do not mention
18069         test wrappers preserving environment variables.  Mention that last
18070         assignment to a variable must take precedence.
18071         * INSTALL: Regenerated.
18072         * benchtests/Makefile (run-bench): Use $(run-program-env).
18073         * catgets/Makefile ($(objpfx)test1.cat): Use
18074         $(built-program-cmd-before-env), $(run-program-env) and
18075         $(built-program-cmd-after-env).
18076         ($(objpfx)test2.cat): Do not specify environment variables
18077         explicitly.
18078         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18079         $(run-program-env) and $(built-program-cmd-after-env).
18080         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18081         $(run-program-env) and $(test-program-cmd-after-env).
18082         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18083         explicitly.
18084         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18085         run_program_env and test_program_cmd_after_env arguments.
18086         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18087         * elf/tst-pathopt.sh: Use run_program_env argument.
18088         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18089         $(test-wrapper-env) and $(run-program-env).
18090         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18091         run_program_env arguments.
18092         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18093         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18094         $(test-program-prefix-before-env), $(run-program-env) and
18095         $(test-program-prefix-after-env).
18096         ($(objpfx)tst-gettext2.out): Likewise.
18097         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18098         run_program_env and test_program_prefix_after_env arguments.
18099         * intl/tst-gettext2.sh: Likewise.
18100         * intl/tst-gettext4.sh: Do not set environment variables
18101         explicitly.
18102         * intl/tst-gettext6.sh: Likewise.
18103         * intl/tst-translit.sh: Likewise.
18104         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18105         $(test-program-prefix-before-env), $(run-program-env) and
18106         $(test-program-prefix-after-env).
18107         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18108         run_program_env and test_program_prefix_after_env arguments.
18109         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18110         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18111         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18112         explicitly with each use of ${test_wrapper_env}.
18113         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18114         $(test-program-prefix-before-env), $(run-program-env) and
18115         $(test-program-prefix-after-env).
18116         * posix/tst-getconf.sh: Do not set environment variables
18117         explicitly.
18118         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18119         run_program_env and test_program_prefix_after_env arguments.
18120         * stdio-common/tst-printf.sh: Do not set environment variables
18121         explicitly.
18122         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18123         $(test-program-prefix-before-env), $(run-program-env) and
18124         $(test-program-prefix-after-env).
18125         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18126         run_program_env and test_program_prefix_after_env arguments.
18127         Split $test calls into $test_pre and $test.
18128         * timezone/Makefile (build-testdata): Use
18129         $(built-program-cmd-before-env), $(run-program-env) and
18130         $(built-program-cmd-after-env).
18132 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18134         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18135         strlen for non SHARED builds.
18137 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18139         * nptl/allocatestack.c (check_list): Inlined function...
18140         (__reclaim_stacks): ... here.
18142 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18144         [BZ #15698]
18145         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18146         memory overrun.
18148 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18150         * Rules (make-test-out): Include
18151         LOCPATH=$(common-objpfx)localedata in default environment.
18152         * debug/Makefile (tst-chk1-ENV): Remove variable.
18153         (tst-chk2-ENV): Likewise.
18154         (tst-chk3-ENV): Likewise.
18155         (tst-chk4-ENV): Likewise.
18156         (tst-chk5-ENV): Likewise.
18157         (tst-chk6-ENV): Likewise.
18158         (tst-lfschk1-ENV): Likewise.
18159         (tst-lfschk2-ENV): Likewise.
18160         (tst-lfschk3-ENV): Likewise.
18161         (tst-lfschk4-ENV): Likewise.
18162         (tst-lfschk5-ENV): Likewise.
18163         (tst-lfschk6-ENV): Likewise.
18164         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18165         (tst-iconv7-ENV): Likewise.
18166         * intl/Makefile (LOCPATH-ENV): Likewise.
18167         (tst-codeset-ENV): Likewise.
18168         (tst-gettext3-ENV): Likewise.
18169         (tst-gettext5-ENV): Likewise.
18170         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18171         (tst-fopenloc-ENV): Likewise.
18172         (tst-fgetws-ENV): Remove variable.
18173         (tst-ungetwc1-ENV): Likewise.
18174         (tst-ungetwc2-ENV): Likewise.
18175         (bug-ungetwc2-ENV): Likewise.
18176         (tst-swscanf-ENV): Likewise.
18177         (bug-ftell-ENV): Likewise.
18178         (tst-fgetwc-ENV): Likewise.
18179         (tst-fseek-ENV): Likewise.
18180         (tst-ftell-partial-wide-ENV): Likewise.
18181         (tst-ftell-active-handler-ENV): Likewise.
18182         (tst-ftell-append-ENV): Likewise.
18183         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18184         (tst-regexloc-ENV): Likewise.
18185         (bug-regex1-ENV): Likewise.
18186         (tst-regex-ENV): Likewise.
18187         (tst-regex2-ENV): Likewise.
18188         (bug-regex5-ENV): Likewise.
18189         (bug-regex6-ENV): Likewise.
18190         (bug-regex17-ENV): Likewise.
18191         (bug-regex18-ENV): Likewise.
18192         (bug-regex19-ENV): Likewise.
18193         (bug-regex20-ENV): Likewise.
18194         (bug-regex22-ENV): Likewise.
18195         (bug-regex23-ENV): Likewise.
18196         (bug-regex25-ENV): Likewise.
18197         (bug-regex26-ENV): Likewise.
18198         (bug-regex30-ENV): Likewise.
18199         (bug-regex32-ENV): Likewise.
18200         (bug-regex33-ENV): Likewise.
18201         (bug-regex34-ENV): Likewise.
18202         (bug-regex35-ENV): Likewise.
18203         (tst-rxspencer-ENV): Likewise.
18204         (tst-rxspencer-no-utf8-ENV): Likewise.
18205         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18206         (tst-sscanf-ENV): Likewise.
18207         (tst-swprintf-ENV): Likewise.
18208         (tst-swscanf-ENV): Likewise.
18209         (test-vfprintf-ENV): Likewise.
18210         (scanf13-ENV): Likewise.
18211         (bug14-ENV): Likewise.
18212         (tst-grouping-ENV): Likewise.
18213         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18214         (tst-strtod3-ENV): Likewise.
18215         (tst-strtod4-ENV): Likewise.
18216         (tst-strtod5-ENV): Likewise.
18217         (testmb2-ENV): Likewise./
18218         * string/Makefile (tst-strxfrm-ENV): Likewise.
18219         (tst-strxfrm2-ENV): Likewise.
18220         (bug-strcoll1-ENV): Likewise.
18221         (test-strcasecmp-ENV): Likewise.
18222         (test-strncasecmp-ENV): Likewise.
18223         * time/Makefile (tst-strptime-ENV): Likewise.
18224         (tst-ftime_l-ENV): Likewise.
18225         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18226         (tst-mbrtowc-ENV): Likewise.
18227         (tst-wcrtomb-ENV): Likewise.
18228         (tst-mbrtowc2-ENV): Likewise.
18229         (tst-c16c32-1-ENV): Likewise.
18230         (tst-mbsnrtowcs-ENV): Likewise.
18232 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18234         * manual/resource.texi (How to get information about the memory
18235         subsystem?): Fix typo.
18236         Reported by Peon de la Parra Ivan <peon@keba.com>
18238 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18240         [BZ #16882]
18241         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18242         (pthread_spin_lock): Branch out of spin loop to proper location.
18243         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18244         (pthread_spin_lock): Likewise.
18246         * nptl/tst-spin4.c: New test.
18247         * nptl/Makefile (tests): Add tst-spin4.
18249 2014-06-03  Andreas Schwab  <schwab@suse.de>
18251         [BZ #15946]
18252         * resolv/res_send.c (send_dg): Reload file descriptor after
18253         calling reopen.
18255 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18257         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18259 2014-06-03  Richard Henderson  <rth@redhat.com>
18261         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18262         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18263         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18264         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18265         in the SAVE_PID block.
18266         (__libc_vfork): New alias.
18267         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18269         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18270         child in registers, not on the stack.  Remove RESET_PID conditionals.
18271         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18273 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18275         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18277 2014-06-03  Wilco  <wdijkstr@arm.com>
18279         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18280         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18281         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18282         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18283         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18284         Likewise.
18286 2014-06-03  Wilco  <wdijkstr@arm.com>
18288         * sysdeps/aarch64/fpu/math_private.h
18289         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18290         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18291         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18292         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18293         Fix declarations.
18295 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18297         * crypt/crypt-private.h: Include ufc-crypt.h.
18298         (__b64_from_24bit): Declare extern.
18299         * crypt/crypt_util.c(__b64_from_24bit): New function.
18300         (b64t): New static const variable.
18301         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18302         (b64t): Remove variable.
18303         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18304         * crypt/sha256-crypt.c: Include crypt-private.h.
18305         (b64t): Remove variable.
18306         (__sha256_crypt_r): Remove b64_from_24bit and replace
18307         with __b64_from_24bit.
18308         * crypt/sha512-crypt.c: Likewise.
18310 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18312         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18313         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18314         Label the code __libc_vfork rather than __vfork.
18315         [!NOT_IN_libc] (vfork): Define as weak alias.
18316         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18317         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18318         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18320 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18322         * malloc/malloc.c (malloc_info): Fix format specifier for
18323         n_mmaps.
18325 2014-06-02  Wilco  <wdijkstr@arm.com>
18327         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18328         FPCR write.
18330 2014-06-02  Wilco  <wdijkstr@arm.com>
18332         [BZ #17009]
18333         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18334         Rewrite to reduce FPCR/FPSR accesses.
18336 2014-06-01  David S. Miller  <davem@davemloft.net>
18338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18340 2014-05-31  David S. Miller  <davem@davemloft.net>
18342         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18343         to occur in round to nearest mode when |x| >= 2.0
18345 2014-05-30  Richard Henderson  <rth@twiddle.net>
18347         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18348         (PSEUDO_RET_NOERRNO): Remove.
18349         (ret): Don't redefine.
18350         (ret_NOERRNO): Define in terms of ret.
18351         (ret_ERRVAL): Likewise.
18353         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18354         use of PSEUDO_RET; perform the error check directly.
18356 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18358         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18359         with __int128_t.
18361 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18363         * malloc/malloc (malloc_info): Fix formatting.
18365 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18366             Roland McGrath  <roland@hack.frob.com>
18368         * malloc/malloc (malloc_info): Also print mmapped statistics.
18370 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18372         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18373         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18375 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18377         * malloc/malloc.c (malloc_info): Inline mi_arena.
18379 2014-05-29  Richard Henderson  <rth@twiddle.net>
18381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18382         Remove comma before expanding ASM_ARGS_##nr.
18383         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18384         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18385         of ASM_ARGS_##nr.
18386         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18387         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18388         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18389         (ASM_ARGS_1): Add leading comma.
18391         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18392         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18393         to __errno_location.
18394         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18395         Remove the expected plt for __errno_location.
18397         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18398         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18399         call to __read_tp.
18401         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18402         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18403         it and break it down.
18404         (DOCARGS_0, DOCARGS_1): Do nothing.
18405         (DOCARGS_2): Update to store into the new stack frame.
18406         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18407         (UNDOCARGS_1): Update to restore from the new stack frame.
18408         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18409         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18411         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18412         (SINGLE_THREAD_P): New parameter for result regno.
18413         (PSEUDO): Update to match; use cbz instead of beq.
18415         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18416         Use ENTRY to define the _nocancel entry point.  Share the syscall
18417         and syscall error check paths with the cancel path.
18418         (PSEUDO_END): New.
18420         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18421         whitespace; tabs before and after asm mnemonics.
18423 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18425         [BZ #15132]
18426         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18427         Call fstat64 or stat64 internally, depending on arguments passed.
18428         Replace stat buffer argument with file descriptor argument.
18429         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18430         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18431         Pass fd to __internal_statvfs instead of calling fstat64.
18432         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18433         Pass fd to __internal_statvfs64 instead of calling fstat64.
18434         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18435         Pass -1 to __internal_statvfs instead of calling stat64.
18436         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18437         Pass -1 to __internal_statvfs64 instead of calling stat64.
18439 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18441         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18442         that was previously under [RESET_PID].
18443         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18445         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18446         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18448 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18450         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18452         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18453         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18455 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18457         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18459 2014-05-27  Andreas Schwab  <schwab@suse.de>
18461         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18462         TLS_INIT_TP macro.
18463         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18464         * elf/rtld.c (init_tls, dl_main): Likewise.
18465         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18466         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18467         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18468         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18469         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18470         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18471         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18472         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18473         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18474         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18475         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18476         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18477         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18478         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18479         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18480         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18481         * sysdeps/generic/tls.h: Update description.
18483 2014-05-27  Will Newton  <will.newton@linaro.org>
18485         [BZ #16990]
18486         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18487         and restore r2 rather than just restoring.
18489 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18491         [BZ #16724]
18492         * libio/tst-ftell-append.c: New test case.
18493         * libio/Makefile (tests): Add test case.
18494         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18495         append mode.
18496         * libio/wfileops.c (do_ftell_wide): Likewise.
18498 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18502         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18503         ...
18504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18506         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18507         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18508         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18509         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18510         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18511         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18512         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18513         Moved ...
18514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18515         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18516         Moved ...
18517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18518         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18519         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18520         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18521         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18522         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18523         ...
18524         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18525         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18526         Moved ...
18527         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18528         here.
18529         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18530         ...
18531         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18532         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18533         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18535         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18536         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18537         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18538         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18540         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18541         merge into ...
18542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18544         ...
18545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18547         ...
18548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18549         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18550         Moved ...
18551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18552         here.
18553         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18554         Moved ...
18555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18556         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18557         Moved ...
18558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18561         conditional [RESET_PID].
18562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18564         removed.
18565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18566         removed.
18568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18569         <tcb-offsets.h>.
18570         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18571         (__libc_vfork): New strong alias.
18572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18573         removed.
18574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18575         Removed.
18577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18578         <tcb-offsets.h>.
18579         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18580         (__libc_vfork): New strong alias.
18581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18582         removed.
18583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18584         removed.
18586 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18588         * malloc/malloc.c (mi_arena): New function.
18589         (malloc_info): Remove nested function mi_arena. Call non-nosted
18590         function mi_arena.
18592 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18594         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18595         by insrwi.
18596         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18597         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18598         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18599         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18600         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18601         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18602         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18604 2014-05-26  Andreas Schwab  <schwab@suse.de>
18606         [BZ #16984]
18607         * locale/programs/repertoire.c (repertoire_read): Add slash
18608         between I18NPATH element and file name.
18609         * locale/programs/locfile.c (locfile_read): Likewise.
18611 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18613         * nptl/pthread_mutexattr_settype.c
18614         (__pthread_mutexattr_settype):
18615         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18617 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18619         * nptl/tst-mutex5 (do_test):
18620         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18622 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18624         * benchtests/README: Document 'init' directive.
18625         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18626         BENCH_INIT.
18627         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18628         (parse_file): Recognize 'init' directive.
18630 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18632         [BZ #16796]
18633         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18634         alignment of struct pthread.
18636 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18638         [BZ #16878]
18639         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18640         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18641         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18642         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18644 2014-05-25  Richard Henderson  <rth@twiddle.net>
18646         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18647         (SINGLE_THREAD_P_PIC): Remove.
18648         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18649         (SINGLE_THREAD_P_PIC): Remove.
18651         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18652         branch to syscall error ...
18653         (PSEUDO): ... here.
18654         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18655         from __local_syscall_error to .Lsyscall_error.
18656         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18657         (SYSCALL_ERROR): Update label name.
18659         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18660         Do not use DOARGS/UNDOARGS.
18661         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18662         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18663         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18664         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18665         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18667         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18668         block comment.
18670         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18671         define if !NOT_IN_libc.
18672         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18673         define with non-default symbol versions.
18675 2014-05-23  Richard Henderson  <rth@twiddle.net>
18677         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18678         (vfork, __vfork): Define via compat_symbol.
18680         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18681         [!HAVE_IFUNC] (vfork_compat): Remove.
18682         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18684 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18686         [BZ #16978]
18687         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18688         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18689         variable.
18691 2014-05-23  Richard Henderson  <rth@twiddle.net>
18693         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18694         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18695         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18696         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18698         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18699         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18700         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18701         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18702         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18703         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18704         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18705         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18706         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18707         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18708         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18709         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18710         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18711         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18712         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18713         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18714         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18715         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18716         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18717         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18718         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18719         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18720         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18721         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18722         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18723         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18724         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18725         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18726         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18727         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18728         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18729         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18730         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18731         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18732         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18733         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18734         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18735         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18736         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18737         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18738         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18739         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18740         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18741         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18742         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18743         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18744         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18745         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18746         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18747         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18748         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18749         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18750         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18751         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18752         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18753         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18755         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18756         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18757         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18758         before exiting on error.
18759         (__libc_vfork): New strong alias.
18760         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18761         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18763         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18764         that was previously under [RESET_PID].
18765         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18767         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18769 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18771         [BZ #16977]
18772         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18773         value when x - 1 is zero.
18774         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18775         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18776         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18777         0.0L for an argument of 1.0L.
18778         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18779         Likewise.
18780         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18781         value when x - 1 is zero.
18782         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18783         * sysdeps/i386/fpu/libm-test-ulps: Update.
18784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18786 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18788         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18789         alphasort and versionsort.
18791 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18793         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18794         macro.
18795         [copysignf]: Likewise.
18797 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18799         * crypt/md5-crypt.c: Fix formatting.
18801 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18803         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18804         (b64_from_24bit): New function.
18806 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18808         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18809         libc_hidden_builtin_def to ifunc.
18810         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18811         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18813 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18815         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18816         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18818 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18820         * nscd/Depend (linuxthreads): Remove.
18821         (nptl): Add.
18822         * resolv/Depend (linuxthreads): Remove.
18823         * rt/Depend (linuxthreads): Remove.
18825         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18826         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18827         $(common-objpfx)elf/.
18828         (link-libc-before-gnulib): Likewise.
18829         (elfobjdir): Remove variable.
18830         * Makefile (install): Use $(elf-objpfx) instead of
18831         $(common-objpfx)elf/.
18832         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18833         $(elfobjdir)/.
18834         (link-libc-deps): Likewise.
18835         ($(common-objpfx)libc.so): Likewise.
18836         ($(common-objpfx)linkobj/libc.so): Likewise.
18837         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18838         instead of $(common-objpfx)elf/.
18839         (symbolic-link-list): Likewise.
18840         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18841         [$(cross-compiling) = no]: Likewise.
18842         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18843         $(elfobjdir)/.
18844         (static-gnulib-arch): Likewise.
18845         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18846         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18847         $(common-objpfx)elf/.
18849 2014-05-21  Richard Henderson  <rth@redhat.com>
18851         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18852         (SINGLE_THREAD_P): Use the correct width load.  Fold
18853         into the ldr offset.
18855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18856         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18858 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18860         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18861         (libgcc_s_resume): Use __attribute_used__.
18862         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18863         Likewise.
18865 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18867         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18868         optimization when used with float constants.
18870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18872 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18874         [BZ #16915]
18875         * locale/nl_langinfo_l.c: Make direct reference to every
18876         _nl_current_CATEGORY symbol.
18877         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18878         (tests-static): Add tst-langinfo-static.
18879         (tests-special): Add tst-langinfo-static.out.
18880         ($(objpfx)tst-langinfo.out): Redirect output.
18881         ($(objpfx)tst-langinfo-static.out): New.
18882         * localedata/tst-langinfo.sh: Send output to stdout.
18883         * localedata/tst-langinfo-static.c: New file.
18885         [BZ #16965]
18886         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18887         when the shift amount is modulo the limb size.
18889 2014-05-20  Richard Henderson  <rth@redhat.com>
18891         [BZ #16967]
18892         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18893         Change type of sa_flags from unsigned int to int.
18895         [BZ #16966]
18896         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18898         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18900 2014-05-20  Will Newton  <will.newton@linaro.org>
18902         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18903         Test the return value of the system call in the nocancel case.
18905 2014-05-20  Will Newton  <will.newton@linaro.org>
18906             Yvan Roux  <yvan.roux@linaro.org>
18908         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18909         #include of asm/ptrace.h.
18910         (PTRACE_GET_THREAD_AREA): Remove #undef.
18911         (PTRACE_GETHBPREGS): Likewise.
18912         (PTRACE_SETHBPREGS): Likewise.
18913         (struct user_regs_struct): New structure.
18914         (struct user_fpsimd_struct): New structure.
18915         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18916         #include of asm/ptrace.h and second #include of sys/user.h.
18917         (PTRACE_GET_THREAD_AREA): Remove #undef.
18918         (PTRACE_GETHBPREGS): Likewise.
18919         (PTRACE_SETHBPREGS): Likewise.
18920         (ELF_NGREG): Use new struct user_regs_struct.
18921         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18923 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18925         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18926         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18928 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18930         [BZ #16958]
18931         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18932         membar to avoid block loads/stores to overlap previous stores.
18934 2014-05-17  Richard Henderson  <rth@redhat.com>
18936         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18937         Create the __##syscall_name##_nocancel entry point.
18938         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18939         Remove; let the sysdep-cancel.h code create it.
18941 2014-05-17  David S. Miller  <davem@davemloft.net>
18943         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18944         Protect with __USE_GNU.
18945         (TIOCSET_TEMPT): Likewise.
18946         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18947         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18948         these are already provided in bits/ioctl-types.h
18950 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18952         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18953         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18955         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18956         Use wait4 regardless of [__NR_waitpid].
18958 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18960         PR libgcc/60166
18961         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18962         (_FP_NANSIGN_Q): Set the quiet bit.
18964 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18966         * benchtests/Makefile
18967         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18968         not $(common-objpfx)math/libm.so.
18969         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18970         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18971         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18972         $(common-objpfx)dlfcn/libdl.so.
18973         ($(objpfx)tst-audit8): Depend on $(libm), not
18974         $(common-objpfx)math/libm.so.
18975         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18976         not $(common-objpfx)dlfcn/libdl.so.
18977         * math/Makefile
18978         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18979         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18980         [$(build-shared) = yes].
18981         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18982         $(common-objpfx)nptl/libpthread.so.
18983         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18984         $(common-objpfx)math/libm.so$(libm.so-version) or
18985         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18986         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18987         $(common-objpfx)dlfcn/libdl.so.
18988         * setjmp/Makefile (link-libm): Remove variable.
18989         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18990         * stdio-common/Makefile (link-libm): Remove variable.
18991         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18992         * stdlib/Makefile (link-libm): Remove variable.
18993         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18994         ($(objpfx)tst-strtod-round): Likewise.
18995         ($(objpfx)tst-tininess): Likewise.
18996         ($(objpfx)tst-strtod-underflow): Likewise.
18997         ($(objpfx)tst-strtod6): Likewise.
18998         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18999         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19000         $(common-objpfx)dlfcn/libdl.so.
19002 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19004         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19005         BSD terminal modes definitions.
19007 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19009         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19010         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19012         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19013         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19014         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19015         Don't do #include_next.
19016         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19017         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19018         Don't do #include_next.
19019         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19020         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19021         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19022         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19024 2014-05-16  Allan McRae  <allan@archlinux.org>
19026         * po/sv.po: Update Swedish translation from translation project.
19028         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19029         in sed expression.
19031 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19033         [BZ #16917]
19034         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19035         errno if the TIOCGPTN ioctl fails with an error different than
19036         EINVAL.
19037         * login/tst-ptsname.c: New file.
19038         * login/Makefile (tests): Add tst-ptsname.
19040         [BZ #16943]
19041         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19042         and prlimit64.
19044 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19046         [BZ #16849]
19047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19048         herrno to return EAI_AGAIN.
19050 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19052         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19053         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19054         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19055         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19056         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19057         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19058         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19059         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19060         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19061         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19062         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19063         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19064         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19065         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19066         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19067         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19068         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19069         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19070         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19071         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19072         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19073         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19074         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19075         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19076         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19077         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19078         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19079         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19080         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19081         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19083         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19085         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19087         Moved ...
19088         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19090         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19092         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19094         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19096         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19098         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19100         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19102         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19104         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19106         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19108         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19110         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19112         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19114         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19116         Moved ...
19117         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19119         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19121         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19123         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19125         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19127         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19129         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19131         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19133         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19135         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19137         Moved ...
19138         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19140         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19142         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19143         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19144         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19145         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19146         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19147         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19148         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19149         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19150         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19151         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19152         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19153         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19154         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19155         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19156         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19157         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19158         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19159         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19160         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19161         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19162         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19163         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19164         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19165         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19166         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19167         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19168         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19169         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19170         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19171         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19172         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19174         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19175         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19177         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19178         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19179         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19180         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19181         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19182         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19183         Moved ...
19184         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19185         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19186         Moved ...
19187         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19188         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19189         Moved ...
19190         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19191         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19192         Moved ...
19193         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19194         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19195         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19196         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19197         Moved ...
19198         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19199         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19200         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19201         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19202         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19203         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19204         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19205         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19206         Moved ...
19207         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19208         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19209         Moved ...
19210         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19211         ... here.
19212         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19213         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19214         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19215         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19216         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19217         Moved ...
19218         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19219         ... here.
19220         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19221         Moved ...
19222         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19223         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19224         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19225         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19226         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19227         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19228         Moved ...
19229         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19230         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19231         Moved ...
19232         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19233         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19234         Moved ...
19235         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19236         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19237         Moved ...
19238         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19239         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19240         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19241         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19242         Moved ...
19243         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19244         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19245         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19246         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19247         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19248         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19249         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19250         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19251         Moved ...
19252         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19253         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19254         Moved ...
19255         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19256         ... here.
19257         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19258         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19259         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19260         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19261         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19262         Moved ...
19263         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19264         ... here.
19265         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19266         Moved ...
19267         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19268         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19269         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19270         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19271         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19272         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19273         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19274         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19275         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19276         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19277         Moved ...
19278         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19279         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19280         Moved ...
19281         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19282         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19283         Moved ...
19284         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19285         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19286         Moved ...
19287         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19288         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19289         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19290         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19291         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19292         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19293         Moved ...
19294         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19295         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19296         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19297         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19298         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19299         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19300         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19301         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19302         Moved ...
19303         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19304         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19305         Moved ...
19306         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19307         ... here.
19308         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19309         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19310         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19311         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19312         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19313         Moved ...
19314         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19315         ... here.
19316         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19317         Moved ...
19318         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19319         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19320         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19321         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19322         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19323         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19324         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19325         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19326         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19327         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19328         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19330         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19331         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19333         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19334         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19336         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19337         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19338         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19339         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19340         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19341         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19342         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19343         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19344         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19345         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19347         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19348         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19349         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19350         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19351         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19352         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19354         Moved ...
19355         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19356         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19357         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19358         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19359         Moved ...
19360         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19361         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19362         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19363         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19364         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19365         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19366         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19367         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19368         Moved ...
19369         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19370         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19371         Moved ...
19372         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19373         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19374         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19375         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19376         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19377         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19378         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19379         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19380         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19381         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19382         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19383         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19384         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19385         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19386         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19387         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19388         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19390         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19391         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19392         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19393         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19394         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19396         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19397         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19398         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19399         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19400         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19401         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19402         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19403         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19404         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19405         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19408         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19410         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19411         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19412         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19413         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19414         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19415         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19416         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19417         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19418         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19419         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19420         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19421         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19422         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19423         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19424         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19425         Update #include.
19426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19427         Likewise.
19428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19429         Likewise.
19430         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19431         Likewise.
19432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19433         Likewise.
19434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19435         Likewise.
19436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19437         Likewise.
19438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19439         Likewise.
19440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19441         Likewise.
19442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19443         Likewise.
19444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19448         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19449         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19450         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19451         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19453         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19454         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19455         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19456         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19457         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19458         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19460         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19461         that was previously under [RESET_PID].
19462         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19463         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19464         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19466         * sysdeps/i386/nptl/Implies: New file.
19467         * sysdeps/x86_64/nptl/Implies: New file.
19468         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19469         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19470         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19471         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19473         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19474         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19475         (__libc_vfork): New strong alias.
19476         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19477         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19479         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19480         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19481         (__libc_vfork): New strong alias.
19482         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19483         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19485         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19486         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19487         (__libc_vfork): New strong alias.
19488         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19489         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19490         * nptl/pt-vfork.c: New file.
19491         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19492         (libpthread: GLIBC_2.20): New version set (empty).
19494 2014-05-14  Will Newton  <will.newton@linaro.org>
19496         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19497         rather than #if.
19499 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19501         [BZ #16564]
19502         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19503         arguments with exponent 65 or above.
19504         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19505         arguments 0x1p113L or above.
19506         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19507         to arguments 0x1p107L or above.
19508         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19509         positive arguments with exponent 65 or above.
19510         * math/auto-libm-test-in: Add more tests of log1p.
19511         * math/auto-libm-test-out: Regenerated.
19513         [BZ #16928]
19514         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19515         non-finite arguments is +0.
19516         * math/s_cacosf.c (__cacosf): Likewise.
19517         * math/s_cacosl.c (__cacosl): Likewise.
19518         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19519         * sysdeps/i386/fpu/libm-test-ulps: Update.
19520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19522         [BZ #16927]
19523         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19524         value.
19525         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19526         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19527         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19528         for explicit high bit of mantissa when testing for argument equal
19529         to 1.
19530         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19531         * sysdeps/i386/fpu/libm-test-ulps: Update.
19532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19534         [BZ #16516]
19535         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19536         (__erf): Scale by 16 instead of 8 in potentially underflowing
19537         case.  Ensure exception if result actually underflows.
19538         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19539         (__erff): Scale by 16 instead of 8 in potentially underflowing
19540         case.  Ensure exception if result actually underflows.
19541         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19542         (efx8): Remove variable.
19543         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19544         case.  Ensure exception if result actually underflows.
19545         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19546         (efx8): Remove variable.
19547         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19548         case.  Ensure exception if result actually underflows.
19549         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19550         (efx8): Remove variable.
19551         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19552         case.  Ensure exception if result actually underflows.
19553         * math/auto-libm-test-in: Add more tests of erf.
19554         * math/auto-libm-test-out: Regenerated.
19556 2014-05-14  Andreas Schwab  <schwab@suse.de>
19558         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19559         Remove code conditionalized on USE___THREAD.
19561         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19562         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19563         not definedness.
19565 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19567         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19568         Define unconditionally.
19569         (__ASSUME_O_CLOEXEC): Likewise.
19570         (__ASSUME_SOCK_CLOEXEC): Likewise.
19571         (__ASSUME_IN_NONBLOCK): Likewise.
19572         (__ASSUME_PIPE2): Likewise.
19573         (__ASSUME_EVENTFD2): Likewise.
19574         (__ASSUME_SIGNALFD4): Likewise.
19575         (__ASSUME_DUP3): Likewise.
19576         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19577         (__ASSUME_DUP3): Do not define.
19578         (__ASSUME_EVENTFD2): Likewise.
19579         (__ASSUME_IN_NONBLOCK): Likewise.
19580         (__ASSUME_O_CLOEXEC): Likewise.
19581         (__ASSUME_PIPE2): Likewise.
19582         (__ASSUME_SIGNALFD4): Likewise.
19583         (__ASSUME_SOCK_CLOEXEC): Likewise.
19584         (__ASSUME_UTIMES): Undefine.
19585         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19586         (__ASSUME_UTIMES): Do not define.
19587         (__ASSUME_O_CLOEXEC): Likewise.
19588         (__ASSUME_SOCK_CLOEXEC): Likewise.
19589         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19590         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19591         0x020621].
19592         (__ASSUME_PIPE2): Likewise.
19593         (__ASSUME_EVENTFD2): Likewise.
19594         (__ASSUME_SIGNALFD4): Likewise.
19595         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19596         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19597         Do not define.
19598         (__ASSUME_EVENTFD2): Likewise.
19599         (__ASSUME_SIGNALFD4): Likewise.
19600         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19601         (__ASSUME_32BITUIDS): Likewise.
19602         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19603         (__ASSUME_IPC64): Likewise.
19604         (__ASSUME_ST_INO_64_BIT): Likewise.
19605         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19606         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19607         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19608         (__ASSUME_UTIMES): Do not define.
19609         (__ASSUME_PSELECT): Likewise.
19610         (__ASSUME_PPOLL): Likewise.
19611         (__ASSUME_O_CLOEXEC): Likewise.
19612         (__ASSUME_SOCK_CLOEXEC): Likewise.
19613         (__ASSUME_IN_NONBLOCK): Likewise.
19614         (__ASSUME_PIPE2): Likewise.
19615         (__ASSUME_EVENTFD2): Likewise.
19616         (__ASSUME_SIGNALFD4): Likewise.
19617         (__ASSUME_DUP3): Likewise.
19618         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19619         (__ASSUME_UTIMES): Likewise.
19620         (__ASSUME_O_CLOEXEC): Likewise.
19621         (__ASSUME_SOCK_CLOEXEC): Likewise.
19622         (__ASSUME_IN_NONBLOCK): Likewise.
19623         (__ASSUME_PIPE2): Likewise.
19624         (__ASSUME_EVENTFD2): Likewise.
19625         (__ASSUME_SIGNALFD4): Likewise.
19626         (__ASSUME_DUP3): Likewise.
19627         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19628         (__ASSUME_UTIMES): Likewise.
19629         (__ASSUME_O_CLOEXEC): Likewise.
19630         (__ASSUME_SOCK_CLOEXEC): Likewise.
19631         (__ASSUME_IN_NONBLOCK): Likewise.
19632         (__ASSUME_PIPE2): Likewise.
19633         (__ASSUME_EVENTFD2): Likewise.
19634         (__ASSUME_SIGNALFD4): Likewise.
19635         (__ASSUME_DUP3): Likewise.
19636         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19637         Likewise.
19638         (__ASSUME_UTIMES): Likewise.
19639         (__ASSUME_EVENTFD2): Likewise.
19640         (__ASSUME_SIGNALFD4): Likewise.
19641         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19642         (__ASSUME_O_CLOEXEC): Likewise.
19643         (__ASSUME_SOCK_CLOEXEC): Likewise.
19644         (__ASSUME_IN_NONBLOCK): Likewise.
19645         (__ASSUME_PIPE2): Likewise.
19646         (__ASSUME_EVENTFD2): Likewise.
19647         (__ASSUME_SIGNALFD4): Likewise.
19648         (__ASSUME_DUP3): Likewise.
19649         (__ASSUME_UTIMES): Undefine.
19651         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19652         feclearexcept.  Remove symbol versioning code.
19653         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19654         symbol versioning code.
19655         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19656         symbol versioning code.
19657         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19658         feupdateenv.  Remove symbol versioning code.
19659         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19660         fegetexceptflag.  Remove symbol versioning code.
19661         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19662         fesetexceptflag.  Remove symbol versioning code.
19663         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19664         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19665         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19666         (__posix_fadvise64_l32): Remove prototype.
19667         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19668         code.
19670 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19672         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19673         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19674         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19675         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19677 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19679         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19680         current working directory
19682 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19684         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19685         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19686         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19687         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19688         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19689         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19690         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19691         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19692         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19693         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19694         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19695         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19696         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19697         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19698         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19699         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19700         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19701         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19702         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19703         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19704         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19705         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19706         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19707         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19708         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19709         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19710         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19711         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19712         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19713         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19714         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19715         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19716         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19717         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19718         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19719         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19720         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19721         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19722         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19723         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19724         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19725         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19727         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19728         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19730         * sysdeps/unix/sysv/linux/arm/Makefile
19731         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19732         Add rt-aeabi_unwind_cpp_pr1.
19733         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19734         Add nptl-aeabi_unwind_cpp_pr1.
19735         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19736         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19737         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19738         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19739         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19740         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19742         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19743         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19744         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19745         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19747         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19748         Deconditionalize the code that was previously under [RESET_PID].
19749         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19751         * sysdeps/generic/exit-thread.h: New file.
19752         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19753         * include/unistd.h (__exit_thread): Remove declaration.
19754         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19755         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19756         * csu/libc-start.c: Include <exit-thread.h>.
19757         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19758         * nptl/pthread_create.c: Include <exit-thread.h>.
19759         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19760         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19761         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19762         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19763         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19764         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19765         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19766         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19767         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19768         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19769         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19770         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19771         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19772         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19773         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19774         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19775         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19777 2014-05-13  Andreas Schwab  <schwab@suse.de>
19779         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19781 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19783         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19784         (__ASSUME_UTIMES): Do not condition on kernel version.
19785         (__ASSUME_PSELECT): Define unconditionally.
19786         (__ASSUME_PPOLL): Likewise.
19787         (__ASSUME_ATFCTS): Likewise.
19788         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19789         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19790         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19791         (__ASSUME_UTIMENSAT): Define unconditionally.
19792         (__ASSUME_PRIVATE_FUTEX): Likewise.
19793         (__ASSUME_FALLOCATE): Likewise.
19794         (__ASSUME_O_CLOEXEC): Likewise.
19795         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19796         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19797         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19798         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19799         (__ASSUME_IN_NONBLOCK): Likewise.
19800         (__ASSUME_PIPE2): Likewise.
19801         (__ASSUME_EVENTFD2): Likewise.
19802         (__ASSUME_SIGNALFD4): Likewise.
19803         (__ASSUME_DUP3): Likewise.
19804         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19805         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19806         (__ASSUME_AT_RANDOM): Likewise.
19807         (__ASSUME_PREADV): Likewise.
19808         (__ASSUME_PWRITEV): Likewise.
19809         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19810         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19811         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19812         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19813         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19814         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19815         (__ASSUME_O_CLOEXEC): Define unconditionally.
19816         (__ASSUME_PSELECT): Do not undefine conditionally.
19817         (__ASSUME_PPOLL): Likewise.
19818         (__ASSUME_ATFCTS): Likewise.
19819         (__ASSUME_SET_ROBUST_LIST): Likewise.
19820         (__ASSUME_UTIMENSAT): Likewise.
19821         (__ASSUME_FDATASYNC): Define unconditionally.
19822         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19823         (__ASSUME_SIGFRAME_V2): Likewise.
19824         )__ASSUME_EVENTFD2): Likewise.
19825         (__ASSUME_SIGNALFD4): Likewise.
19826         (__ASSUME_PSELECT): Do not undefine conditionally.
19827         (__ASSUME_PPOLL): Likewise.
19828         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19829         (__ASSUME_PSELECT): Define unconditionally.
19830         (__ASSUME_PPOLL): Likewise.
19831         (__ASSUME_O_CLOEXEC): Likewise.
19832         (__ASSUME_SOCK_CLOEXEC): Likewise.
19833         (__ASSUME_IN_NONBLOCK): Likewise.
19834         (__ASSUME_PIPE2): Likewise.
19835         (__ASSUME_EVENTFD2): Likewise.
19836         (__ASSUME_SIGNALFD4): Likewise.
19837         (__ASSUME_DUP3): Likewise.
19838         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19839         (__ASSUME_O_CLOEXEC): Likewise.
19840         (__ASSUME_SOCK_CLOEXEC): Likewise.
19841         (__ASSUME_IN_NONBLOCK): Likewise.
19842         (__ASSUME_PIPE2): Likewise.
19843         (__ASSUME_EVENTFD2): Likewise.
19844         (__ASSUME_SIGNALFD4): Likewise.
19845         (__ASSUME_DUP3): Likewise.
19846         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19847         (__ASSUME_EVENTFD2): Likewise.
19848         (__ASSUME_SIGNALFD4): Likewise.
19849         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19851 2014-05-12  Andreas Schwab  <schwab@suse.de>
19853         [BZ #16932]
19854         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19855         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19856         than maximum RPC packet size.
19857         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19858         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19859         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19860         (_nss_nis_getservbyport_r): Likewise.
19862 2014-05-12  Will Newton  <will.newton@linaro.org>
19864         * malloc/Makefile (tests): Add tst-mallopt.
19865         * malloc/tst-mallopt.c: New file.
19867 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19869         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19870         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19872 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19874         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19875         (tst-tlsmod6.so): Likewise.
19877 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19879         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19881 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19883         [BZ #16064]
19884         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19885         and <dl-procinfo.h>.
19886         (__fegetenv): Save SSE state in envp->__eip if supported.
19887         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19888         envp->__eip if supported.
19889         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19890         and <dl-procinfo.h>.
19891         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19892         __data_offset and __data_selector in environment to 0.  Set SSE
19893         state if supported.
19894         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19895         test-fenv-sse.
19896         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19897         -mfpmath=sse.
19898         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19900 2014-05-09  Will Newton  <will.newton@linaro.org>
19902         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19903         and libc_relro_required for ARM.
19904         * sysdeps/arm/preconfigure: Regenerate.
19906 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19907             Stefan Liebler  <stli@linux.vnet.ibm.com>
19909         * config.make.in (enable-lock-elision): New Makefile variable.
19910         * configure.ac: Likewise.
19911         * configure: Regenerate.
19912         * sysdeps/s390/configure.ac:
19913         Add check for gcc transactions support.
19914         * sysdeps/s390/configure: Regenerate.
19915         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19916         Build elision files if enabled.
19917         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19918         Add lock elision support for s390.
19919         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19920         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19921         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19922         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19923         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19924         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19925         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19926         Likewise.
19927         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19928         Likewise.
19929         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19930         Likewise.
19931         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19932         Likewise.
19933         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19934         (__lll_timedlock_elision, __lll_lock_elision)
19935         (__lll_unlock_elision, __lll_trylock_elision)
19936         (lll_timedlock_elision, lll_lock_elision)
19937         (lll_unlock_elision, lll_trylock_elision): Add.
19938         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19939         (pthread_mutex_t): Add lock elision support for s390.
19941 2014-05-14  Wilco  <wdijkstr@arm.com>
19943         * sysdeps/arm/fclrexcpt.c: Cleanup.
19944         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19945         * sysdeps/arm/feenablxcpt.c: Cleanup.
19946         * sysdeps/arm/fegetenv.c: Cleanup.
19947         * sysdeps/arm/fegetexcept.c: Cleanup.
19948         * sysdeps/arm/fegetround.c: Cleanup.
19949         * sysdeps/arm/feholdexcpt.c: Cleanup.
19950         * sysdeps/arm/fesetenv.c: Cleanup.
19951         * sysdeps/arm/fesetround.c: Cleanup.
19952         * sysdeps/arm/feupdateenv.c: Cleanup.
19953         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19954         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19955         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19956         * sysdeps/arm/ftestexcept.c: Cleanup.
19957         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19958         * sysdeps/arm/setfpucw.c: Cleanup.
19960 2014-05-09  Will Newton  <will.newton@linaro.org>
19962         * sysdeps/arm/armv7/strcmp.S: New file.
19963         * NEWS: Mention addition of ARMv7 optimized strcmp.
19965 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19967         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19968         look for %.ac rather than %.in.
19970         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19971         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19972         * sysdeps/mach/hurd/configure: Regenerated.
19973         * sysdeps/unix/sysv/linux/configure: Regenerated.
19975         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19977 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19979         [BZ# 16922]
19980         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19981         (LONG_SUB): Ditto.
19982         (PTR_SUB): Ditto.
19984 2014-05-07  Andreas Schwab  <schwab@suse.de>
19986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19987         when skipping over non-matching result from nscd.
19989 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19991         [BZ #16876]
19992         * nptl/sockperf.c (client): Check socket return value.
19994         [BZ #16877]
19995         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19996         nscd security class.
19998 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20000         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20001         * sysdeps/arm/unwind.h: ... here.
20003 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20005         [BZ# 16916]
20006         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20007         Define.
20009 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20011         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20012         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20013         multiarch strncpy for PPC64.
20014         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20015         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20017         multiarch optimizations.
20018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20019         (__libc_ifunc_impl_list): Likewise.
20020         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20021         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20022         multiarch stpncpy for PPC64.
20023         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20024         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20026 2014-05-06  Andreas Schwab  <schwab@suse.de>
20028         [BZ #16912]
20029         * gmon/mcount.c (_MCOUNT_DECL): Use
20030         atomic_compare_and_exchange_bool_acq instead of
20031         catomic_compare_and_exchange_bool_acq.
20033 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20035         * elf/Makefile (others, install-bin): Remove pldd.
20036         (pldd-modules): Variable removed.
20037         ($(objpfx)pldd): Target removed.
20038         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20039         (others, install-bin): Append pldd here.
20040         ($(objpfx)pldd): New target.
20042         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20043         to 0, so the first #if test emitted later doesn't see it undefined.
20044         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20045         * sysdeps/gnu/errlist.c: Regenerated.
20047 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20049         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20050         [libc_hidden_builtin_def]: Define to empty value.
20051         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20052         [libc_hidden_builtin_def]: Likewise.
20053         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20054         [libc_hidden_builtin_def]: Likewise.
20055         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20056         [libc_hidden_builtin_def]: Likewise.
20057         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20058         __redirect_memcpy and define ifunc as default hidden symbol.
20059         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20060         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20062 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20064         * locale/iso-4217.def: Reintroduce XDR currency.
20066 2014-05-04  Allan McRae  <allan@archlinux.org>
20068         * po/eo.po: Update Esperanto translation from translation project.
20070 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20072         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20073         and FEATURE_INDEX_MAX to 1.
20074         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20076 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20078         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20079         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20080         * iconvdata/big5.c (ONE_DIRECTION): Define.
20081         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20082         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20083         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20084         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20085         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20086         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20087         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20088         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20089         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20090         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20091         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20092         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20093         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20094         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20095         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20096         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20097         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20098         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20099         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20100         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20101         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20102         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20103         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20104         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20105         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20106         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20107         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20108         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20109         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20110         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20111         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20112         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20113         * iconvdata/johab.c (ONE_DIRECTION): Define.
20114         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20115         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20116         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20117         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20118         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20119         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20120         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20121         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20122         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20123         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20125 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20127         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20128         (_IO_JUMPS_OFFSET): Define to 0.
20130         * nptl/sysdeps/pthread/bits/libc-lock.h
20131         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20132         (__libc_lock_define_initialized_recursive): Always define using
20133         initializer.  Modern compilers treat uninitialized (implicit zero) and
20134         explicit zero initializers the same (i.e. put the datum in bss).
20136 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20138         * nscd/nscd-client.h: Include <string.h>.
20140 2014-05-01  David S. Miller  <davem@davemloft.net>
20142         [BZ #16885]
20143         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20144         multiple zero bytes exist at the end of a string.
20145         Reported by Aurelien Jarno <aurelien@aurel32.net>
20147         * string/test-strcmp.c (check): Add explicit test for situations where
20148         there are multiple zero bytes after the first.
20150 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20152         [BZ #16890]
20153         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20154         when compiling wprintf.
20155         * stdio-common/tstdiomisc.c (t3): New function.
20156         (main): Call it.
20158 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20160         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20161         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20162         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20163         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20165 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20167         * stdlib/longlong.h: Updated from GCC.
20169 2014-05-01  Will Newton  <will.newton@linaro.org>
20170             Bernard Ogden  <bernie.ogden@linaro.org>
20172         * NEWS: Update fixed bug list.
20174         [BZ #15119]
20175         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20177 2014-04-30  David S. Miller  <davem@davemloft.net>
20179         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20180         (libc_feholdexcept_setround_sparc_ctx): New function.
20181         (libc_fesetenv_sparc_ctx): Likewise.
20182         (libc_feupdateenv_sparc_ctx): Likewise.
20183         (libc_feholdsetround_sparc_ctx): Likewise.
20184         (libc_feholdexcept_setround_ctx): Define.
20185         (libc_feholdexcept_setroundf_ctx): Likewise.
20186         (libc_feholdexcept_setroundl_ctx): Likewise.
20187         (libc_fesetenv_ctx): Likewise.
20188         (libc_fesetenvf_ctx): Likewise.
20189         (libc_fesetenvl_ctx): Likewise.
20190         (libc_feupdateenv_ctx): Likewise.
20191         (libc_feupdateenvf_ctx): Likewise.
20192         (libc_feupdateenvl_ctx): Likewise.
20193         (libc_feresetround_ctx): Likewise.
20194         (libc_feresetroundf_ctx): Likewise.
20195         (libc_feresetroundl_ctx): Likewise.
20196         (libc_feholdsetround_ctx): Likewise.
20197         (libc_feholdsetroundf_ctx): Likewise.
20198         (libc_feholdsetroundl_ctx): Likewise.
20200         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20201         with __USE_GNU instead of XOPEN cpp guards.
20203         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20204         0.
20206         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20207         with XOPEN cpp guards.
20209 2014-04-30  Julian Brown  <julian@codesourcery.com>
20211         [BZ #16888]
20212         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20213         handling.
20215 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20217         [BZ #9894]
20218         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20219         Change to 2.6.32.
20220         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20221         * sysdeps/unix/sysv/linux/configure: Regenerated.
20222         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20223         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20224         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20225         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20226         * README: Update reference to required Linux kernel version.
20227         * manual/install.texi (Linux): Update reference to required Linux
20228         kernel headers version.
20229         * INSTALL: Regenerated.
20231         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20232         header inclusion.
20233         [POSIX] (limits.h): Likewise.
20234         [POSIX] (math.h): Likewise.
20235         [POSIX] (sys/wait.h): Likewise.
20236         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20237         function.
20238         [POSIX] (stddef.h): Do not allow header inclusion.
20240 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20242         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20244 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20246         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20247         Return immediately after lll_futex_wake.
20249 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20251         [BZ #16791]
20252         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20253         structure.
20254         (datahead_init_pos): Call datahead_init_common early.
20255         (datahead_init_neg): Likewise.
20257         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20258         datahead_init_neg): New functions.
20259         * nscd/aicache.c (addhstaiX): Use them.
20260         * nscd/grpcache.c (cache_addgr): Likewise.
20261         * nscd/hstcache.c (cache_addhst): Likewise.
20262         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20263         * nscd/netgroupcache.c (do_notfound): Likewise.
20264         (addgetnetgrentX): Likewise.
20265         (addinnetgrX): Likewise.
20266         * nscd/pwdcache.c (cache_addpw): Likewise.
20267         * nscd/servicescache.c (cache_addserv): Likewise.
20269 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20270             Atsushi Onoe  <atsushi@onoe.org>
20272         [BZ #14308]
20273         [BZ #12994]
20274         [BZ #13651]
20275         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20276         one response is valid.
20277         * resolv/res_send.c (send_dg): Check for validity of other
20278         response if the current response is a referral.
20280 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20282         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20284 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20286         [BZ #16823]
20287         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20288         Always divide by positive zero when computing -Inf result.
20289         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20290         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20292 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20294         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20295         FPSCR if value do not change.
20296         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20297         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20298         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20299         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20300         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20301         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20302         function.
20304 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20306         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20307         * sysdeps/unix/sysv/linux/hppa: Move directory from
20308         ports/systeps/unix/sysv/linux/hppa.
20309         * README: Update listing for hppa-*-linux-gnu.
20311 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20313         [BZ #16754]
20314         * manual/stdio.texi (Hook functions): Fix types of stream hook
20315         functions.
20316         [BZ #16854]
20317         * socket/sys/socket.h: Fix typo in comment.
20319 2014-04-28  Wilco  <wdijkstr@arm.com>
20321         * sysdeps/arm/fenv_private.h: New file.
20322         * sysdeps/arm/math_private.h: New file.
20323         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20325 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20327         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20328         with __int128_t.
20329         (La_x86_64_retval): Likewise.
20331 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20333         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20334         fpsr if value didn't change.
20335         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20336         to fpcr if value didn't change.
20337         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20338         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20339         fpsr or fpcr if value didn't change.
20340         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20341         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20342         fpcr if value didn't change.
20343         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20344         to fpsr if value didn't change.
20346 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20348         * nptl/tst-sem3.c: Use test-skeleton.c
20349         (main): Rename to do_test.  Use return instead of
20350         exit.
20351         * nptl/tst-sem4.c: Use test-skeleton.c
20352         (main): Rename to do_test.
20354 2014-04-22  David S. Miller  <davem@davemloft.net>
20356         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20357         (struct sigaction): New struct member __glibc_reserved0, change
20358         type of sa_flags to int.
20360 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20362         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20363         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20365 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20367         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20368         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20370 2014-04-22  Will Newton  <will.newton@linaro.org>
20371             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20373         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20374         (__longjmp): Add longjmp and longjmp_target SystemTap
20375         probes.
20376         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20377         (__sigsetjmp): Add setjmp SystemTap probe.
20379 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20381         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20382         match manual order.
20384 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20386         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20388         * sysdeps/powerpc/fpu/fenv_private.h
20389         (libc_feholdexcept_setroundl_ctx): Define to
20390         libc_feholdexcept_setround_ppc_ctx.
20391         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20392         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20393         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20394         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20396 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20398         * sysdeps/aarch64/math-tests.h: New file.
20400 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20402         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20403         New.
20404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20405         Check and set bit_AVX2_Usable.
20406         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20407         macro.
20408         (bit_AVX2): Likewise.
20409         (index_AVX2_Usable): Likewise.
20410         (CPUID_AVX2): Likewise.
20411         (HAS_AVX2): Likewise.
20413 2014-04-17  Will Newton  <will.newton@linaro.org>
20415         * manual/setjmp.texi (System V contexts): Add note that
20416         calling setcontext on a context created by a call to a
20417         signal handler is undefined.  Update text to note that
20418         setcontext from a signal handler is possible but not
20419         recommended.
20421         [BZ #16629]
20422         * stdlib/tst-setcontext.c: Include signal.h.
20423         (main): Check that the signal stack before and
20424         after swapcontext is the same.
20426         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20427         Re-implement to restore registers in user code and avoid
20428         rt_sigreturn system call.
20430 2014-04-17  Wilco  <wdijkstr@arm.com>
20432         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20433         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20434         * math/test-fenv.c: Skip exception trap tests on targets which only
20435         support non-stop mode.
20437 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20438             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20440         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20441         (libc_feholdsetround_aarch64_ctx)
20442         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20443         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20444         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20445         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20446         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20447         (libc_feresetround_noexl_ctx): Define.
20449 2014-04-16  Richard Henderson  <rth@redhat.com>
20451         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20453         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20454         unwind tables.
20456         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20457         const from the non-libc, non-ldso copy.
20459         * sysdeps/alpha/libm-test-ulps: Regenerate.
20461 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20462             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20464         * sysdeps/aarch64/fpu/math_private.h: New file.
20466 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20468         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20470 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20472         [BZ #16275]
20473         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20474         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20475         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20476         Intel MPX bound registers before _dl_profile_fixup.
20477         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20478         registers after _dl_profile_fixup.  Save and restore bound
20479         registers bnd0/bnd1 when calling _dl_call_pltexit.
20480         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20481         (LR_BND_OFFSET): Likewise.
20482         (LRV_BND0_OFFSET): Likewise.
20483         (LRV_BND1_OFFSET): Likewise.
20485 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20487         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20488         to...
20489         * sysdeps/mach/hurd/i386/tls.h: ... here.
20490         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20491         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20492         fields.
20494 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20496         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20498 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20500         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20502 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20504         [BZ #14770]
20505         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20506         * sysdeps/s390/configure: Regenerate.
20508         [BZ #16824]
20509         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20510         Set round-to-nearest internally to reduce error accumulation.
20512 2014-04-16  Alan Modra  <amodra@gmail.com>
20514         [BZ #16740]
20515         [BZ #16619]
20516         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20517         * math/libm-test.inc (frexp_test_data): Add tests.
20518         * NEWS: Update fixed bug list.
20520 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20522         * benchtests/Makefile: Depend on libraries in build directory.
20523         (bench-math): Separate out math tests.
20524         (bench-pthread): Separate out pthread tests.
20525         (bench): Include math and pthread tests.
20527 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20529         [BZ #16831]
20530         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20531         _dl_debug_initialize.
20533         * configure.ac: Remove SELinux header check.
20534         * configure: Regenerate.
20535         * nscd/selinux.c (perms): Array of const char* to permission names.
20536         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20537         default policy. Call string_to_security_class and string_to_av_perm to
20538         translate strings. Enforce default policy and call avs_has_perm with
20539         results of translated strings.
20541 2014-04-13  David S. Miller  <davem@davemloft.net>
20543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20545 2014-04-12  Allan McRae  <allan@archlinux.org>
20547         [BZ #16838]
20548         * manual/string.texi (Collation Functions): Fix qsort argument
20549         order in example.
20550         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20552 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20554         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20555         Make the test a no-op if there are no exceptions defined.
20557 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20559         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20560         enable-hardcoded-path-in-tests
20562 2014-04-11  Will Newton  <will.newton@linaro.org>
20564         * benchtests/Makefile (extra-objs): Add json-lib.o.
20565         (bench-func): Tidy up JSON output.
20566         * benchtests/bench-skeleton.c: Include json-lib.h.
20567         (main): Use JSON library functions to do output of
20568         benchmark results.
20569         * benchtests/bench-timing-type.c (main): Output the
20570         timing type simply, leaving formatting to the user.
20571         * benchtests/json-lib.c: New file.
20572         * benchtests/json-lib.h: Likewise.
20574 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20576         [BZ #15215]
20577         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20578         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20579         memory barriers.  Add comments.
20580         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20581         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20582         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20583         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20584         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20585         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20587 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20589         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20590         * sysdeps/s390/s390-64/configure.ac: ... this ...
20591         * sysdeps/s390/configure.ac: ... to here.
20592         * sysdeps/s390/s390-32/configure: Delete file.
20593         * sysdeps/s390/s390-64/configure: Delete file.
20594         * sysdeps/s390/configure: Regenerate.
20596 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20598         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20600 2014-04-11  Will Newton  <will.newton@linaro.org>
20602         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20603         to zero if it is not defined elsewhere.  (mtrim): Test
20604         the value of MALLOC_DEBUG with #if rather than #ifdef.
20606 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20608         * benchtests/pthread_once-inputs: New file.
20609         * benchtests/pthread_once-source.c: New file.
20610         * benchtests/README: Update documentation.
20612 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20613             H.J. Lu  <hongjiu.lu@intel.com>
20615         [BZ #16275]
20616         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20617         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20618         * sysdeps/x86_64/configure: Regenerated.
20619         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20620         macro.
20621         (REGISTER_SAVE_RAX): Likewise.
20622         (REGISTER_SAVE_RCX): Likewise.
20623         (REGISTER_SAVE_RDX): Likewise.
20624         (REGISTER_SAVE_RSI): Likewise.
20625         (REGISTER_SAVE_RDI): Likewise.
20626         (REGISTER_SAVE_R8): Likewise.
20627         (REGISTER_SAVE_R9): Likewise.
20628         (REGISTER_SAVE_BND0): Likewise.
20629         (REGISTER_SAVE_BND1): Likewise.
20630         (REGISTER_SAVE_BND2): Likewise.
20631         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20632         bound registers when calling _dl_fixup.
20634 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20636         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20637         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20638         of its definition.
20639         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20640         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20641         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20642         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20643         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20644         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20645         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20647 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20649         [BZ #15514]
20650         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20651         pathconf(_PC_NAME_MAX).
20653 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20655         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20656         Remove macro usage.
20657         (__PTHREAD_SPINS): Move definition to ...
20658         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20659         (__PTHREAD_SPINS): ... here.
20660         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20661         (__PTHREAD_SPIN): Likewise.
20662         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20663         (__PTHREAD_SPIN): Likewise.
20664         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20665         (__PTHREAD_SPIN): Likewise.
20666         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20667         (__PTHREAD_SPIN): Likewise.
20668         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20669         (__PTHREAD_SPIN): Likewise.
20670         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20671         (__PTHREAD_SPIN): Likewise.
20672         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20673         (__PTHREAD_SPIN): Likewise.
20674         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20675         (__PTHREAD_SPIN): Likewise.
20676         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20677         (__PTHREAD_SPIN): Likewise.
20678         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20679         (__PTHREAD_SPIN): Likewise.
20680         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20681         (__PTHREAD_SPIN): Likewise.
20682         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20683         (__PTHREAD_SPIN): Likewise.
20685         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20686         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20687         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20688         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20689         imply folder.
20690         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20691         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20692         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20693         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20694         correct imply path.
20695         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20696         strlen symbol for non multi-arch builds.
20697         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20698         missing hidden_def and weak_alias.
20700 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20702         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20704 2014-04-07  Will Newton  <will.newton@linaro.org>
20706         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20707         and contents.  [!_LIBC] Remove #ifndef and contents.
20708         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20709         * string/memccpy.c (__memccpy): Use ANSI prototype.
20710         * string/memfrob.c (memfrob): Likewise.
20711         * string/strcoll.c (STRCOLL): Likewise.
20712         * string/strlen.c (strlen): Likewise.
20713         * string/strtok.c (STRTOK): Likewise.
20714         * string/strcat.c: Remove unused #include of memcopy.h.
20715         (strcat): Use ANSI prototype.
20716         * string/strchr.c: Remove unused #include of memcopy.h.
20717         (strchr): Use ANSI prototype.
20718         * string/strcmp.c: Remove unused #include of memcopy.h.
20719         (strcmp): Use ANSI prototype.
20720         * string/strcpy.c: Remove unused #include of memcopy.h.
20721         (strcpy): Use ANSI prototype.
20723 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20725         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20726         * config.make.in (config-extra-cppflags): Set it from
20727         libc_extra_cppflags.
20728         * configure.ac (libc_extra_cflags): Make it accumulate over
20729         configure fragments.
20730         (libc_extra_cppflags): New flag.
20731         * configure. Regenerate.
20732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20733         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20734         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20737         [BZ #16815]
20738         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20739         result for FE_DOWNWARD rounding mode.
20740         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20741         Likewise.
20742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20744 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20746         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20747         in function argument name.
20749 2014-04-03  David Svoboda  <svoboda@cert.org>
20751         [BZ #5666]
20752         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20753         explicitly.
20755 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20757         * elf/dl-unmap-segments.h: New file.
20758         * sysdeps/generic/ldsodefs.h
20759         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20760         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20761         * elf/dl-fptr.c: Likewise.
20762         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20763         * sysdeps/aarch64/tlsdesc.c: Likewise.
20764         * sysdeps/arm/tlsdesc.c: Likewise.
20765         * sysdeps/i386/tlsdesc.c: Likewise.
20766         * sysdeps/tile/dl-runtime.c: Likewise.
20767         * sysdeps/x86_64/tlsdesc.c: Likewise.
20768         * elf/dl-load.h: New file.
20769         * elf/dl-load.c: Include it.
20770         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20771         Macros moved to dl-load.h.
20772         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20773         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20774         Use _dl_unmap_segments in place of __munmap.
20775         Break out segment-mapping loop into ...
20776         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20778 2014-04-03  Will Newton  <will.newton@linaro.org>
20780         * elf/dl-lookup.c (do_lookup_x): Remove comment
20781         referring to nested function and move variable
20782         declarations down to before first use.
20784 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20786         [BZ #16799]
20787         [BZ #16800]
20788         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20789         with 0 numerator.
20790         * math/s_catanf.c (__catanf): Likewise.
20791         * math/s_catanh.c (__catanh): Likewise.
20792         * math/s_catanhf.c (__catanhf): Likewise.
20793         * math/s_catanhl.c (__catanhl): Likewise.
20794         * math/s_catanl.c (__catanl): Likewise.
20795         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20796         by positive zero when computing -Inf result.
20797         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20798         (catanh_test): Likewise.
20799         * sysdeps/i386/fpu/libm-test-ulps: Update.
20800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20802         [BZ #16789]
20803         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20804         instead of using underflowing value in computing result.
20805         * math/s_clog10.c (__clog10): Likewise.
20806         * math/s_clog10f.c (__clog10f): Likewise.
20807         * math/s_clog10l.c (__clog10l): Likewise.
20808         * math/s_clogf.c (__clogf): Likewise.
20809         * math/s_clogl.c (__clogl): Likewise.
20810         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20811         (clog10_test): Likewise.
20812         * sysdeps/i386/fpu/libm-test-ulps: Update.
20813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20815 2014-04-02  Alan Modra  <amodra@gmail.com>
20817         [BZ #16739]
20818         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20819         output when value is near a power of two.  Use int64_t for lx and
20820         remove casts.  Use decimal rather than hex exponent constants.
20821         Don't use long double multiplication when double will suffice.
20822         * math/libm-test.inc (nextafter_test_data): Add tests.
20823         * NEWS: Add 16739 and 16786 to bug list.
20825         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20827         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20829 2014-04-01  Will Newton  <will.newton@linaro.org>
20831         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20832         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20834 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20836         [BZ #13347]
20837         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20838         * nptl/tst-setuid2.c: New file.
20839         * nptl/Makefile (xtests): Add tst-setuid2.
20841 2014-04-01  Alan Modra  <amodra@gmail.com>
20843         [BZ #16786]
20844         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20846 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20848         [BZ #6803]
20849         [BZ #6804]
20850         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20851         set errno as appropriate.
20852         * math/w_scalbf.c (__scalbf): Likewise.
20853         * math/w_scalbl.c (__scalbl): Likewise.
20854         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20855         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20856         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20857         Add more NaN tests.
20859         [BZ #16349]
20860         * math/w_atan2.c: Include <errno.h>.
20861         (__atan2): Set errno for result underflowing to zero.
20862         * math/w_atan2f.c: Include <errno.h>.
20863         (__atan2f): Set errno for result underflowing to zero.
20864         * math/w_atan2l.c: Include <errno.h>.
20865         (__atan2l): Set errno for result underflowing to zero.
20866         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20867         tests.
20868         * math/auto-libm-test-out: Regenerated.
20870 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20872         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20873         Encode instruction correctly in little endian.
20874         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20875         Likewise.
20876         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20877         Likewise.
20878         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20879         Likewise.
20880         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20881         Likewise.
20883 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20885         [BZ #9894]
20886         * sysdeps/unix/sysv/linux/kernel-features.h
20887         [__sparc__ && !__arch64__ && !__sparc_v9__]
20888         (__ASSUME_SET_ROBUST_LIST): Do not define.
20889         [__sparc__ && !__arch64__ && !__sparc_v9__]
20890         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20891         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20892         Likewise.
20893         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20894         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20895         (__ASSUME_REQUEUE_PI): Likewise.
20896         (__ASSUME_SET_ROBUST_LIST): Likewise.
20897         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20898         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20899         Undefine.
20900         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20901         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20902         Likewise.
20903         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20904         Likewise.
20905         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20906         Likewise.
20907         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20908         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20909         Undefine.
20910         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20911         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20912         Likewise.
20914         [BZ #16648]
20915         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20916         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20917         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20919 2014-03-31  Will Newton  <will.newton@linaro.org>
20921         * benchtests/Makefile (bench): Add ffs and ffsll to list
20922         of tests.
20923         * benchtests/ffs-inputs: New file.
20924         * benchtests/ffsll-inputs: Likewise.
20926 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20928         [BZ #16770]
20929         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20930         too large before casting to int.
20931         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20932         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20933         * math/libm-test.inc (scalb_test_data): Add more tests.
20935 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20937         * benchtests/Makefile (DETAILED_OPT): New make option.
20938         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20939         set.
20940         * benchtests/bench-skeleton.c: Include stdbool.h.
20941         (main): Store and print timings per input.
20942         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20943         member to each argument value.
20944         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20945         (_print_arg_data): Initialize per-input timing to 0.
20947         * benchtests/Makefile (timing-type): New binary.
20948         (bench-clean): Also remove bench-timing-type.
20949         (bench): New target for timing-type.
20950         (bench-func): Print output in JSON format.
20951         * benchtests/bench-skeleton.c (main): Print output in JSON
20952         format.
20953         * benchtests/bench-timing-type.c: New file.
20954         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20955         (TIMING_PRINT_STATS): Remove.
20956         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20957         name separately.
20959         * benchtests/bench-modf.c: Remove.
20960         * benchtests/modf-inputs: New inputs file.
20962 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20964         [BZ #16362]
20965         * math/s_clog10.c (M_PI_LOG10E): New macro.
20966         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20967         imaginary parts are 0.
20968         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20969         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20970         imaginary parts are 0.
20971         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20972         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20973         imaginary parts are 0.
20974         * math/libm-test.inc (clog10_test_data): Update expected results
20975         for when real and imaginary parts are 0.
20977 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20979         * elf/dl-load.c: Finish conversion of __builtin_expect into
20980         __glibc_{un}likely.
20982 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20984         [BZ #16348]
20985         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20986         1+x for argument with exponent below -67.
20987         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20988         Likewise.
20989         * math/auto-libm-test-in: Add more tests of exp.
20990         * math/auto-libm-test-out: Regenerated.
20992 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20994         [BZ #16759]
20995         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20996         (nscd_getnetgrent): Use it.
20998         [BZ #16760]
20999         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21000         of stpcpy.
21002 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21004         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21005         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21006         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21007         (lll_robust_unlock): Remove out of line section. Use cfi
21008         intrinsics.
21009         (LLL_STUB_UNWIND_INFO*): Remove.
21010         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21011         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21012         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21013         (lll_robust_unlock): Remove out of line section. Use cfi
21014         intrinsics.
21015         (LLL_STUB_UNWIND_INFO*): Remove.
21017 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21019         [BZ #16758]
21020         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21021         blank values.
21023 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21025         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21027 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21029         [BZ #16198]
21030         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21031         fnstenv.
21032         * math/test-fenv-preserve.c: New file.
21033         * math/Makefile (tests): Add test-fenv-preserve.
21035 2014-03-26  Will Newton <will.newton@linaro.org>
21037         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21039 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21041         * scripts/versionlist.awk: Partition the version sets and emit all
21042         GLIBC_* (sorted) before all others (sorted).
21044 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21046         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21047         GLIBC_2.2.5 version.
21049 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21051         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21052         calls.
21054         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21055         previous change.
21057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21059 2014-03-25  Andreas Schwab  <schwab@suse.de>
21061         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21062         label to be used after in6ailist is initialized.
21064 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21066         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21067         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21069 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21071         [BZ #16357]
21072         [BZ #16599]
21073         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21074         min_plus_half.
21075         (fp_formats): Update initializers.
21076         (init_fp_formats): Initialize new field.
21077         (output_for_one_input_case): Allow underflow for results up to
21078         min_plus_half.
21079         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21080         * math/auto-libm-test-in: Don't mark some underflows from asin and
21081         atanh as spurious.
21082         * math/auto-libm-test-out: Regenerated.
21083         * sysdeps/i386/fpu/libm-test-ulps: Update.
21084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21086 2014-03-25  Andreas Schwab  <schwab@suse.de>
21088         * libio/Makefile (tst-ftell-partial-wide-ENV)
21089         (tst-ftell-active-handler-ENV): Define.
21091 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21093         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21095 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21097         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21099 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21101         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21102         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21103         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21105 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21107         [BZ #16634]
21108         * elf/dl-load.c (open_verify): Add mode parameter.
21109         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21110         (open_path): Change from boolean 'secure' to complete flag 'mode'
21111         (_dl_map_object): Adjust.
21112         * elf/Makefile (tests): Add tst-dlopen-aout.
21113         * elf/tst-dlopen-aout.c: New test.
21115 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21117         [BZ #16714]
21118         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21119         (struct stat): Rename member pad0 to __glibc_reserved0.
21121         [BZ #16712]
21122         * sysdeps/s390/s390-32/bits/wordsize.h
21123         (__WORDSIZE32_SIZE_ULONG): New define.
21124         * sysdeps/s390/s390-64/bits/wordsize.h
21125         (__WORDSIZE32_SIZE_ULONG): Likewise.
21126         * sysdeps/generic/stdint.h (SIZE_MAX):
21127         Define as UL if __WORDSIZE32_SIZE_ULONG.
21129         [BZ #16713]
21130         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21131         (__glibc_reserved0): New variable.
21132         (sa_flags): Change type to int.
21134         * posix/Makefile (before-compile): Use += before-compile instead
21135         of a :=.
21137         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21138         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21140 2014-03-20  Andreas Schwab  <schwab@suse.de>
21142         [BZ #16743]
21143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21144         non-matching result from nscd.
21146 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21148         * scripts/bench.py: Moved to ...
21149         * benchtests/scripts/bench.py: ... here.
21150         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21152 2014-03-24  Andreas Schwab  <schwab@suse.de>
21154         [BZ #16002]
21155         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21156         alloca_account and account alloca use for struct in6ailist.
21158 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21160         [BZ #16284]
21161         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21162         rounding mode to recompute results that overflow to infinity or
21163         underflow to zero.
21164         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21165         bug 16284.
21166         * math/auto-libm-test-out: Regenerated.
21167         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21168         (ccosh_test): Likewise.
21169         (csin_test_data): Use plus_oflow.
21170         (csin_test): Use ALL_RM_TEST.
21171         (csinh_test_data): Use plus_oflow.
21172         (csinh_test): Use ALL_RM_TEST.
21173         * sysdeps/i386/fpu/libm-test-ulps: Update.
21174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21176 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21178         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21179         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21180         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21182         [BZ #16731]
21183         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21184         when x - 1 is zero.
21185         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21186         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21187         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21188         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21189         argument is 1.
21190         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21191         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21192         zero.
21193         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21194         * sysdeps/i386/fpu/libm-test-ulps: Update.
21195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21197 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21199         * scripts/bench.pl: Remove file.
21200         * scripts/bench.py: New benchmark script.
21201         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21202         * benchtests/README: Mention python dependency.
21203         * scripts/pylintrc: New file.
21204         * scripts/pylint: New file.
21206         * bits/mathdef.h: Use #ifdef instead of #if.
21207         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21208         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21209         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21210         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21211         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21212         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21214 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21215             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21217         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21219         and strpbrk-ppc64 objects.
21220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21221         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21222         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21223         multiarch strpbrk for POWER7.
21224         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21225         multiarch strpbrk for PPC64.
21226         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21227         ifunc selector.
21228         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21229         strpbrk for POWER7.
21231 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21233         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21234         (atan_test): Likewise.
21235         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21236         (atanh_test): Use ALL_RM_TEST.
21237         (atan2_test_data): Likewise.
21238         (cabs_test): Likewise.
21239         (cacosh_test): Likewise.
21240         (carg_test): Likewise.
21241         (casin_test): Likewise.
21242         (casinh_test): Likewise.
21243         (cbrt_test): Likewise.
21244         (csqrt_test): Likewise.
21245         (erf_test): Likewise.
21246         (erfc_test): Likewise.
21247         (pow10_test): Likewise.
21248         (exp2_test): Likewise.
21249         (hypot_test): Likewise.
21250         (j0_test): Likewise.
21251         (j1_test): Likewise.
21252         (lgamma_test): Likewise.
21253         (gamma_test): Likewise.
21254         (sincos_test): Likewise.
21255         (tanh_test): Likewise.
21256         (y0_test): Likewise.
21257         (y1_test): Likewise.
21258         * sysdeps/i386/fpu/libm-test-ulps: Update.
21259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21261 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21263         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21265         and strcspn-ppc64 objects.
21266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21267         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21268         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21269         multiarch strcspn for POWER7.
21270         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21271         multiarch strcspn for PPC64.
21272         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21273         ifunc selector.
21274         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21275         strcspn for POWER7.
21277 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21279         * math/gen-libm-test.pl (generate_testfile): Expect only function
21280         name as argument to AUTO_TESTS_* and pass results for all rounding
21281         modes to parse_args.
21282         (parse_auto_input): Separate inputs of automatic tests from
21283         outputs before storing in %auto_tests.
21284         * math/libm-test.inc (acos_test_data): Update call to
21285         AUTO_TESTS_f_f.
21286         (acos_test): Use ALL_RM_TEST.
21287         (acos_tonearest_test_data): Remove.
21288         (acos_test_tonearest): Likewise.
21289         (acos_towardzero_test_data): Likewise.
21290         (acos_test_towardzero): Likewise.
21291         (acos_downward_test_data): Likewise.
21292         (acos_test_downward): Likewise.
21293         (acos_upward_test_data): Likewise.
21294         (acos_test_upward): Likewise.
21295         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21296         (asin_test_data): Likewise.
21297         (asin_test): Use ALL_RM_TEST.
21298         (asin_tonearest_test_data): Remove.
21299         (asin_test_tonearest): Likewise.
21300         (asin_towardzero_test_data): Likewise.
21301         (asin_test_towardzero): Likewise.
21302         (asin_downward_test_data): Likewise.
21303         (asin_test_downward): Likewise.
21304         (asin_upward_test_data): Likewise.
21305         (asin_test_upward): Likewise.
21306         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21307         (atan_test_data): Likewise.
21308         (atanh_test_data): Likewise.
21309         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21310         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21311         (carg_test_data): Likewise.
21312         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21313         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21314         (ccosh_test_data): Likewise.
21315         (cexp_test_data): Likewise.
21316         (clog_test_data): Likewise.
21317         (clog10_test_data): Likewise.
21318         (cos_test_data): Update call to AUTO_TESTS_f_f.
21319         (cos_test): Use ALL_RM_TEST.
21320         (cos_tonearest_test_data): Remove.
21321         (cos_test_tonearest): Likewise.
21322         (cos_towardzero_test_data): Likewise.
21323         (cos_test_towardzero): Likewise.
21324         (cos_downward_test_data): Likewise.
21325         (cos_test_downward): Likewise.
21326         (cos_upward_test_data): Likewise.
21327         (cos_test_upward): Likewise.
21328         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21329         (cosh_test): Use ALL_RM_TEST.
21330         (cosh_tonearest_test_data): Remove.
21331         (cosh_test_tonearest): Likewise.
21332         (cosh_towardzero_test_data): Likewise.
21333         (cosh_test_towardzero): Likewise.
21334         (cosh_downward_test_data): Likewise.
21335         (cosh_test_downward): Likewise.
21336         (cosh_upward_test_data): Likewise.
21337         (cosh_test_upward): Likewise.
21338         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21339         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21340         (ctan_test_data): Likewise.
21341         (ctan_test): Use ALL_RM_TEST.
21342         (ctan_tonearest_test_data): Remove.
21343         (ctan_test_tonearest): Likewise.
21344         (ctan_towardzero_test_data): Likewise.
21345         (ctan_test_towardzero): Likewise.
21346         (ctan_downward_test_data): Likewise.
21347         (ctan_test_downward): Likewise.
21348         (ctan_upward_test_data): Likewise.
21349         (ctan_test_upward): Likewise.
21350         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21351         (ctanh_test): Use ALL_RM_TEST.
21352         (ctanh_tonearest_test_data): Remove.
21353         (ctanh_test_tonearest): Likewise.
21354         (ctanh_towardzero_test_data): Likewise.
21355         (ctanh_test_towardzero): Likewise.
21356         (ctanh_downward_test_data): Likewise.
21357         (ctanh_test_downward): Likewise.
21358         (ctanh_upward_test_data): Likewise.
21359         (ctanh_test_upward): Likewise.
21360         (erf_test_data): Update call to AUTO_TESTS_f_f.
21361         (erfc_test_data): Likewise.
21362         (exp_test_data): Likewise.
21363         (exp_test): Use ALL_RM_TEST.
21364         (exp_tonearest_test_data): Remove.
21365         (exp_test_tonearest): Likewise.
21366         (exp_towardzero_test_data): Likewise.
21367         (exp_test_towardzero): Likewise.
21368         (exp_downward_test_data): Likewise.
21369         (exp_test_downward): Likewise.
21370         (exp_upward_test_data): Likewise.
21371         (exp_test_upward): Likewise.
21372         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21373         (exp10_test): Use ALL_RM_TEST.
21374         (exp10_tonearest_test_data): Remove.
21375         (exp10_test_tonearest): Likewise.
21376         (exp10_towardzero_test_data): Likewise.
21377         (exp10_test_towardzero): Likewise.
21378         (exp10_downward_test_data): Likewise.
21379         (exp10_test_downward): Likewise.
21380         (exp10_upward_test_data): Likewise.
21381         (exp10_test_upward): Likewise.
21382         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21383         (expm1_test_data): Likewise.
21384         (expm1_test): Use ALL_RM_TEST.
21385         (expm1_tonearest_test_data): Remove.
21386         (expm1_test_tonearest): Likewise.
21387         (expm1_towardzero_test_data): Likewise.
21388         (expm1_test_towardzero): Likewise.
21389         (expm1_downward_test_data): Likewise.
21390         (expm1_test_downward): Likewise.
21391         (expm1_upward_test_data): Likewise.
21392         (expm1_test_upward): Likewise.
21393         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21394         (fma_test): Use ALL_RM_TEST.
21395         (fma_towardzero_test_data): Remove.
21396         (fma_test_towardzero): Likewise.
21397         (fma_downward_test_data): Likewise.
21398         (fma_test_downward): Likewise.
21399         (fma_upward_test_data): Likewise.
21400         (fma_test_upward): Likewise.
21401         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21402         (j0_test_data): Update call to AUTO_TESTS_f_f.
21403         (j1_test_data): Likewise.
21404         (jn_test_data): Update call to AUTO_TESTS_if_f.
21405         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21406         (log_test_data): Update call to AUTO_TESTS_f_f.
21407         (log10_test_data): Likewise.
21408         (log1p_test_data): Likewise.
21409         (log2_test_data): Likewise.
21410         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21411         (pow_tonearest_test_data): Likewise.
21412         (sin_test_data): Update call to AUTO_TESTS_f_f.
21413         (sin_test): Use ALL_RM_TEST.
21414         (sin_tonearest_test_data): Remove.
21415         (sin_test_tonearest): Likewise.
21416         (sin_towardzero_test_data): Likewise.
21417         (sin_test_towardzero): Likewise.
21418         (sin_downward_test_data): Likewise.
21419         (sin_test_downward): Likewise.
21420         (sin_upward_test_data): Likewise.
21421         (sin_test_upward): Likewise.
21422         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21423         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21424         (sinh_test): Use ALL_RM_TEST.
21425         (sinh_tonearest_test_data): Remove.
21426         (sinh_test_tonearest): Likewise.
21427         (sinh_towardzero_test_data): Likewise.
21428         (sinh_test_towardzero): Likewise.
21429         (sinh_downward_test_data): Likewise.
21430         (sinh_test_downward): Likewise.
21431         (sinh_upward_test_data): Likewise.
21432         (sinh_test_upward): Likewise.
21433         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21434         (sqrt_test): Use ALL_RM_TEST.
21435         (sqrt_tonearest_test_data): Remove.
21436         (sqrt_test_tonearest): Likewise.
21437         (sqrt_towardzero_test_data): Likewise.
21438         (sqrt_test_towardzero): Likewise.
21439         (sqrt_downward_test_data): Likewise.
21440         (sqrt_test_downward): Likewise.
21441         (sqrt_upward_test_data): Likewise.
21442         (sqrt_test_upward): Likewise.
21443         (tan_test_data): Update call to AUTO_TESTS_f_f.
21444         (tan_test): Use ALL_RM_TEST.
21445         (tan_tonearest_test_data): Remove.
21446         (tan_test_tonearest): Likewise.
21447         (tan_towardzero_test_data): Likewise.
21448         (tan_test_towardzero): Likewise.
21449         (tan_downward_test_data): Likewise.
21450         (tan_test_downward): Likewise.
21451         (tan_upward_test_data): Likewise.
21452         (tan_test_upward): Likewise.
21453         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21454         (tgamma_test_data): Likewise.
21455         (y0_test_data): Likewise.
21456         (y1_test_data): Likewise.
21457         (yn_test_data): Update call to AUTO_TESTS_if_f.
21458         (main): Do not call removed functions.
21460 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21462         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21463         (ldexp_test_data): Remove.
21464         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21465         scalbn_test_data.
21466         (scalb_test): Use ALL_RM_TEST.
21468 2014-03-19  Andreas Schwab  <schwab@suse.de>
21470         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21472 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21474         [BZ #16649]
21475         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21476         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21477         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21478         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21479         (__ASSUME_PREADV): Undefine.
21480         (__ASSUME_PWRITEV): Likewise.
21482 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21484         * bits/mman-linux.h: Add comment about non-Linux use.
21485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21486         bits/mman-linux.h resting place.
21488         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21489         * bits/mman-linux.h: ... here.
21491 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21493         * conform/conformtest.pl: Add standard definition when calling C
21494         preprocessor on data files.
21495         (checknamespace): Remove unused variable.
21497 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21499         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21500         minus_oflow, plus_uflow and minus_uflow in expected results.
21501         * math/libm-test.inc (scalbn_test_data): Add more tests of
21502         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21503         minus_uflow.
21504         (scalbn_test): Use ALL_RM_TEST.
21505         (scalbln_test_data): Add more tests of negative arguments.  Use
21506         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21507         (scalbln_test): Use ALL_RM_TEST.
21509 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21511         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21513 2014-03-18  Will Newton  <will.newton@linaro.org>
21515         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21516         inaccurate comment.
21518 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21520         * Makerules [!subdir] (check-abi): Exit with error status if a
21521         test failed.
21523 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21525         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21526         for rint.  Include results for all rounding modes.
21527         (nearbyint_test): Use ALL_RM_TEST.
21528         (rint_test_data): Include all tests used for nearbyint.
21530 2014-03-17  Will Newton  <will.newton@linaro.org>
21532         * nptl/sysdeps/pthread/pthread.h: Revert previous
21533         change.
21535         * sysdeps/generic/ldsodefs.h: Revert previous
21536         change.
21538         * libio/genops.c: Revert previous change.
21539         * libio/libioP.h: Likewise.
21540         * stdio-common/vfprintf.c: Likewise.
21542         * sysdeps/generic/math_private.h: Revert previous
21543         change.
21545         * sysdeps/generic/math_private.h: Check whether
21546         HAVE_RM_CTX is defined with #ifdef rather
21547         than #if.
21549         * argp/argp-fmtstream.h: Check whether
21550         __STRICT_ANSI__ is defined with #ifdef rather
21551         than #if.
21552         * argp/argp.h: Likewise.
21554         * libio/genops.c: Check whether
21555         _IO_JUMPS_OFFSET is defined with #ifdef rather
21556         than #if.
21557         * libio/libioP.h: Likewise.
21558         * stdio-common/vfprintf.c: Likewise.
21560         * sysdeps/generic/ldsodefs.h: Check whether
21561         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21562         than #if.
21564         * nptl/sysdeps/pthread/pthread.h: Check
21565         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21566         its value.
21568 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21570         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21571         setting O_APPEND.
21572         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21573         test case.
21575         [BZ #16680]
21576         * libio/fileops.c (_IO_file_open): Seek to end of file but
21577         don't cache the offset.
21578         (get_file_offset): Remove function.
21579         (do_ftell): Use cached offset when available.
21580         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21581         don't cache the offset.
21582         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21583         case.
21584         (do_one_test): Call it.
21585         (do_ftell_test): Fix up expected old offset for a+ mode.
21586         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21587         available.
21589         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21590         up test status with function return status.
21591         (do_write_test): Likewise.
21592         (do_append_test): Likewise.
21594         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21595         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21596         Remove.
21598 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21600         * math/gen-libm-test.pl (parse_args): Handle results specified for
21601         each rounding mode separately.
21602         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21603         tests and results from lrint_tonearest_test_data,
21604         lrint_towardzero_test_data, lrint_downward_test_data and
21605         lrint_upward_test_data.
21606         (lrint_test): Use ALL_RM_TEST.
21607         (lrint_tonearest_test_data): Remove.
21608         (lrint_test_tonearest): Likewise.
21609         (lrint_towardzero_test_data): Likewise.
21610         (lrint_test_towardzero): Likewise.
21611         (lrint_downward_test_data): Likewise.
21612         (lrint_test_downward): Likewise.
21613         (lrint_upward_test_data): Likewise.
21614         (lrint_test_upward): Likewise.
21615         (llrint_test_data): Merge in per-rounding-mode tests and results
21616         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21617         llrint_downward_test_data and llrint_upward_test_data.
21618         (llrint_test): Use ALL_RM_TEST.
21619         (llrint_tonearest_test_data): Remove.
21620         (llrint_test_tonearest): Likewise.
21621         (llrint_towardzero_test_data): Likewise.
21622         (llrint_test_towardzero): Likewise.
21623         (llrint_downward_test_data): Likewise.
21624         (llrint_test_downward): Likewise.
21625         (llrint_upward_test_data): Likewise.
21626         (llrint_test_upward): Likewise.
21627         (rint_test_data): Merge in per-rounding-mode tests and results
21628         from rint_tonearest_test_data, rint_towardzero_test_data,
21629         rint_downward_test_data and rint_upward_test_data.  Add
21630         per-rounding-mode results for tests not in those arrays.
21631         (rint_test): Use ALL_RM_TEST.
21632         (rint_tonearest_test_data): Remove.
21633         (rint_test_tonearest): Likewise.
21634         (rint_towardzero_test_data): Likewise.
21635         (rint_test_towardzero): Likewise.
21636         (rint_downward_test_data): Likewise.
21637         (rint_test_downward): Likewise.
21638         (rint_upward_test_data): Likewise.
21639         (rint_test_upward): Likewise.
21640         (main): Don't call removed functions.
21642 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21644         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21645         "Compiled on ..." crapola.  It is anti-useful.
21647 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21649         * scripts/evaluate-test.sh: Handle fourth argument to determine
21650         whether test run should stop on failure.
21651         * Makeconfig (stop-on-test-failure): New variable.
21652         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21653         $(stop-on-test-failure).
21654         * Makefile (tests): Give a summary of results from testing and
21655         exit with failure status if they include an ERROR or FAIL.
21656         (xtests): Likewise.
21657         * manual/install.texi (Configuring and compiling): Mention
21658         stop-on-test-failure=y.
21659         * INSTALL: Regenerated.
21661 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21663         * scripts/versionlist.awk: New file.
21664         * Makerules [$(build-shared) = yes]
21665         (postclean-generated): Add Versions.def, not Versions.def.v and
21666         Versions.def.v.i.
21667         ($(common-objpfx)Versions.def.v.i): Target removed.
21668         ($(common-objpfx)Versions.def): New target.
21669         ($(common-objpfx)Versions.all): Depend on that rather that
21670         $(common-objpfx)Versions.def.v.
21671         * Versions.def: File removed.
21673         * Makeconfig (+gccwarn): Add -Wundef.
21674         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21675         a dl-sysdep.h breaking its contract.
21676         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21677         * include/stackinfo.h: New file.
21678         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21679         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21680         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21681         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21682         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21683         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21684         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21685         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21686         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21687         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21688         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21689         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21690         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21691         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21692         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21694 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21696         [BZ #16707]
21697         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21698         implementation.
21699         * math/libm-test.inc (round_test_data): Add more tests.
21701         [BZ #16706]
21702         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21703         implementation.
21704         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21706         [BZ #16701]
21707         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21708         implementation.
21709         * math/libm-test.inc (ceil_test_data): Add more tests.
21711         * math/libm-test.inc (trunc_test_data): Add more tests related to
21712         BZ#16414.
21714 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21716         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21717         with #if rather than #ifdef.
21718         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21720 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21722         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21723         first.  Disable AVX-512 GCC support if assembler doesn't support
21724         it.
21725         * sysdeps/x86_64/configure: Regenerated.
21727 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21729         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21730         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21731         (__old_pthread_attr_setstack): Likewise.
21732         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21733         [!_STACK_GROWS_DOWN]: Likewise.
21735 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21737         * config.make.in (have-bash2): Delete.
21738         * configure.ac (libc_cv_have_bash2): Delete.
21739         * configure: Regenerate.
21740         * elf/Makefile (common-ldd-rewrite): Rename to ...
21741         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21742         (sh-ldd-rewrite): Delete.
21743         (bash-ldd-rewrite): Delete.
21744         (have-bash2): Delete checks.
21745         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21746         ldd-rewrite.
21748         * config.make.in (have-ksh): Delete.
21749         (KSH): Delete.
21750         * configure.ac (libc_cv_have_ksh): Delete.
21751         * configure: Regenerate.
21753         * elf/Makefile: Delete $(have-ksh) check.
21754         ($(objpfx)sotruss): Change KSH to BASH.
21755         * elf/sotruss.ksh: Rename to ...
21756         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21757         function style to match POSIX.  Drop ksh vim mode setting.
21759         * manual/time.texi (Specifying the Time Zone with TZ): Change
21760         Tuesday to Thursday.
21762         * debug/tst-longjmp_chk2.c: Update header comment.
21763         (stackoverflow_handler): Add comment.  Call assert on pass value.
21765 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21767         [BZ #16194]
21768         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21769         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21770         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21771         (La_x86_64_vector): Add zmm.
21772         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21773         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21774         ($(objpfx)tst-audit10): New target.
21775         ($(objpfx)tst-audit10.out): Likewise.
21776         (tst-audit10-ENV): New.
21777         (AVX512-CFLAGS): Likewise.
21778         (CFLAGS-tst-audit10.c): Likewise.
21779         (CFLAGS-tst-auditmod10a.c): Likewise.
21780         (CFLAGS-tst-auditmod10b.c): Likewise.
21781         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21782         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21783         * sysdeps/x86_64/configure: Regenerated.
21784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21785         AVX-512 zmm register support.
21786         (_dl_x86_64_save_sse): Likewise.
21787         (_dl_x86_64_restore_sse): Likewise.
21788         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21789         size vector registers.
21790         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21791         (ZMM_SIZE): Likewise.
21792         * sysdeps/x86_64/tst-audit10.c: New file.
21793         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21794         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21796 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21798         * configure.ac (HAVE_EHDR_START): New check.
21799         * configure: Regenerated.
21800         * config.h.in (HAVE_EHDR_START): New #undef.
21801         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21802         assuming the lowest-addressed segment maps the start of the file.
21804 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21806         * INSTALL: Regenerated.
21808 2014-03-13  Will Newton  <will.newton@linaro.org>
21810         * manual/setjmp.texi (System V contexts): Improve
21811         clarity and grammar of documentation.
21813 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21815         [BZ #16381]
21816         * elf/Makefile (tests): Add tst-pie2.
21817         (tests-pie): Add tst-pie2.
21818         * elf/tst-pie2.c: New file.
21819         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21820         for ET_EXEC.
21821         * elf/rtld.c (map_doit): Load executable as lt_executable.
21822         (dl_main): Likewise.
21824 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21826         [BZ #16642]
21827         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21828         (__ASSUME_PSELECT): Undefine.
21830 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21832         [BZ #16689]
21833         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21834         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21835         static build.
21836         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21837         selector for static builds.
21839 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21841         [BZ #16695]
21842         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21843         key in the buffer.
21845 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21847         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21848         IFUNC selector for static builds.
21850 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21852         * sysdeps/mips/math_private.h [__mips_hard_float]
21853         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21854         libc_feresetround_mips_ctx.
21855         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21856         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21857         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21859         [BZ #16677]
21860         * math/s_nextafter.c (__nextafter): Do not return value from
21861         overflowing computation.
21862         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21863         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21864         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21865         Likewise.
21866         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21867         Likewise.
21868         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21869         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21871 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21873         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21874         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21875         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21876         the new mov targetting sp.
21878 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21880         [BZ #16683]
21881         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21882         Define it for static builds as well.
21883         (NO_BZERO_IMPL): Likewise.
21885 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21887         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21888         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21889         multiarch strspn for PPC64.
21890         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21891         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21893         (__libc_ifunc_impl_list): Likewise.
21894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21895         multiarch optimizations
21896         * string/strspn.c (strspn): Using macro to redefine symbol name.
21898 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21899             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21901         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21902         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21903         multiarch strncat for PPC64.
21904         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21905         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21907         (__libc_ifunc_impl_list): Likewise.
21908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21909         multiarch optimizations
21911 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21913         [BZ #16639]
21914         * nscd/nscd.service: Make service type forking.
21916 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21918         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21919         sign in non default rounding modes.
21920         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21922 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21924         * math/libm-test.inc (ALL_RM_TEST): New macro.
21925         (ceil_test): Use ALL_RM_TEST.
21926         (cimag_test): Likewise.
21927         (conj_test): Likewise.
21928         (copysign_test): Likewise.
21929         (cproj_test): Likewise.
21930         (creal_test): Likewise.
21931         (fabs_test): Likewise.
21932         (floor_test): Likewise.
21933         (fmax_test): Likewise.
21934         (fmin_test): Likewise.
21935         (fmod_test): Likewise.
21936         (fpclassify_test): Likewise.
21937         (frexp_test): Likewise.
21938         (ilogb_test): Likewise.
21939         (isfinite_test): Likewise.
21940         (finite_test): Likewise.
21941         (isgreater_test): Likewise.
21942         (isgreaterequal_test): Likewise.
21943         (isinf_test): Likewise.
21944         (isless_test): Likewise.
21945         (islessequal_test): Likewise.
21946         (islessgreater_test): Likewise.
21947         (isnan_test): Likewise.
21948         (isnormal_test): Likewise.
21949         (issignaling_test): Likewise.
21950         (isunordered_test): Likewise.
21951         (logb_test): Likewise.
21952         (logb_downward_test_data): Remove.
21953         (logb_test_downward): Likewise.
21954         (lround_test): Use ALL_RM_TEST.
21955         (llround_test): Likewise.
21956         (modf_test): Likewise.
21957         (nexttoward_test): Likewise.
21958         (remainder_test): Likewise.
21959         (drem_test): Likewise.
21960         (remainder_tonearest_test_data): Likewise.
21961         (remainder_test_tonearest): Likewise.
21962         (drem_test_tonearest): Likewise.
21963         (remainder_towardzero_test_data): Likewise.
21964         (remainder_test_towardzero): Likewise.
21965         (drem_test_towardzero): Likewise.
21966         (remainder_downward_test_data): Likewise.
21967         (remainder_test_downward): Likewise.
21968         (drem_test_downward): Likewise.
21969         (remainder_upward_test_data): Likewise.
21970         (remainder_test_upward): Likewise.
21971         (drem_test_upward): Likewise.
21972         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21973         (round_test): Use ALL_RM_TEST.
21974         (signbit_test): Likewise.
21975         (trunc_test): Likewise.
21976         (significand_test): Likewise.
21977         (main): Don't call removed functions.
21979 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21981         [BZ #16674]
21982         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21983         || __USE_XOPEN2K8].
21984         (ILL_ILLOPN): Likewise.
21985         (ILL_ILLADR): Likewise.
21986         (ILL_ILLTRP): Likewise.
21987         (ILL_PRVOPC): Likewise.
21988         (ILL_PRVREG): Likewise.
21989         (ILL_COPROC): Likewise.
21990         (ILL_BADSTK): Likewise.
21991         (FPE_INTDIV): Likewise.
21992         (FPE_INTOVF): Likewise.
21993         (FPE_FLTDIV): Likewise.
21994         (FPE_FLTOVF): Likewise.
21995         (FPE_FLTUND): Likewise.
21996         (FPE_FLTRES): Likewise.
21997         (FPE_FLTINV): Likewise.
21998         (FPE_FLTSUB): Likewise.
21999         (SEGV_MAPERR): Likewise.
22000         (SEGV_ACCERR): Likewise.
22001         (BUS_ADRALN): Likewise.
22002         (BUS_ADRERR): Likewise.
22003         (BUS_OBJERR): Likewise.
22004         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22005         (TRAP_TRACE): Likewise.
22006         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22007         __USE_XOPEN2K8].
22008         (CLD_KILLED): Likewise.
22009         (CLD_DUMPED): Likewise.
22010         (CLD_TRAPPED): Likewise.
22011         (CLD_STOPPED): Likewise.
22012         (CLD_CONTINUED): Likewise.
22013         (POLL_IN): Likewise.
22014         (POLL_OUT): Likewise.
22015         (POLL_MSG): Likewise.
22016         (POLL_ERR): Likewise.
22017         (POLL_PRI): Likewise.
22018         (POLL_HUP): Likewise.
22019         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22020         Likewise.
22021         (ILL_ILLOPN): Likewise.
22022         (ILL_ILLADR): Likewise.
22023         (ILL_ILLTRP): Likewise.
22024         (ILL_PRVOPC): Likewise.
22025         (ILL_PRVREG): Likewise.
22026         (ILL_COPROC): Likewise.
22027         (ILL_BADSTK): Likewise.
22028         (FPE_INTDIV): Likewise.
22029         (FPE_INTOVF): Likewise.
22030         (FPE_FLTDIV): Likewise.
22031         (FPE_FLTOVF): Likewise.
22032         (FPE_FLTUND): Likewise.
22033         (FPE_FLTRES): Likewise.
22034         (FPE_FLTINV): Likewise.
22035         (FPE_FLTSUB): Likewise.
22036         (SEGV_MAPERR): Likewise.
22037         (SEGV_ACCERR): Likewise.
22038         (BUS_ADRALN): Likewise.
22039         (BUS_ADRERR): Likewise.
22040         (BUS_OBJERR): Likewise.
22041         (BUS_MCEERR_AR): Likewise.
22042         (BUS_MCEERR_AO): Likewise.
22043         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22044         (TRAP_TRACE): Likewise.
22045         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22046         __USE_XOPEN2K8].
22047         (CLD_KILLED): Likewise.
22048         (CLD_DUMPED): Likewise.
22049         (CLD_TRAPPED): Likewise.
22050         (CLD_STOPPED): Likewise.
22051         (CLD_CONTINUED): Likewise.
22052         (POLL_IN): Likewise.
22053         (POLL_OUT): Likewise.
22054         (POLL_MSG): Likewise.
22055         (POLL_ERR): Likewise.
22056         (POLL_PRI): Likewise.
22057         (POLL_HUP): Likewise.
22058         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22059         (ILL_ILLOPN): Likewise.
22060         (ILL_ILLADR): Likewise.
22061         (ILL_ILLTRP): Likewise.
22062         (ILL_PRVOPC): Likewise.
22063         (ILL_PRVREG): Likewise.
22064         (ILL_COPROC): Likewise.
22065         (ILL_BADSTK): Likewise.
22066         (FPE_INTDIV): Likewise.
22067         (FPE_INTOVF): Likewise.
22068         (FPE_FLTDIV): Likewise.
22069         (FPE_FLTOVF): Likewise.
22070         (FPE_FLTUND): Likewise.
22071         (FPE_FLTRES): Likewise.
22072         (FPE_FLTINV): Likewise.
22073         (FPE_FLTSUB): Likewise.
22074         (SEGV_MAPERR): Likewise.
22075         (SEGV_ACCERR): Likewise.
22076         (BUS_ADRALN): Likewise.
22077         (BUS_ADRERR): Likewise.
22078         (BUS_OBJERR): Likewise.
22079         (BUS_MCEERR_AR): Likewise.
22080         (BUS_MCEERR_AO): Likewise.
22081         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22082         (TRAP_TRACE): Likewise.
22083         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22084         __USE_XOPEN2K8].
22085         (CLD_KILLED): Likewise.
22086         (CLD_DUMPED): Likewise.
22087         (CLD_TRAPPED): Likewise.
22088         (CLD_STOPPED): Likewise.
22089         (CLD_CONTINUED): Likewise.
22090         (POLL_IN): Likewise.
22091         (POLL_OUT): Likewise.
22092         (POLL_MSG): Likewise.
22093         (POLL_ERR): Likewise.
22094         (POLL_PRI): Likewise.
22095         (POLL_HUP): Likewise.
22096         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22097         Likewise.
22098         (ILL_ILLOPN): Likewise.
22099         (ILL_ILLADR): Likewise.
22100         (ILL_ILLTRP): Likewise.
22101         (ILL_PRVOPC): Likewise.
22102         (ILL_PRVREG): Likewise.
22103         (ILL_COPROC): Likewise.
22104         (ILL_BADSTK): Likewise.
22105         (ILL_BADIADDR): Likewise.
22106         (ILL_BREAK): Likewise.
22107         (FPE_INTDIV): Likewise.
22108         (FPE_INTOVF): Likewise.
22109         (FPE_FLTDIV): Likewise.
22110         (FPE_FLTOVF): Likewise.
22111         (FPE_FLTUND): Likewise.
22112         (FPE_FLTRES): Likewise.
22113         (FPE_FLTINV): Likewise.
22114         (FPE_FLTSUB): Likewise.
22115         (FPE_DECOVF): Likewise.
22116         (FPE_DECDIV): Likewise.
22117         (FPE_DECERR): Likewise.
22118         (FPE_INVASC): Likewise.
22119         (FPE_INVDEC): Likewise.
22120         (SEGV_MAPERR): Likewise.
22121         (SEGV_ACCERR): Likewise.
22122         (SEGV_PSTKOVF): Likewise.
22123         (BUS_ADRALN): Likewise.
22124         (BUS_ADRERR): Likewise.
22125         (BUS_OBJERR): Likewise.
22126         (BUS_MCEERR_AR): Likewise.
22127         (BUS_MCEERR_AO): Likewise.
22128         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22129         (TRAP_TRACE): Likewise.
22130         (TRAP_BRANCH): Likewise.
22131         (TRAP_HWBKPT): Likewise.
22132         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22133         __USE_XOPEN2K8].
22134         (CLD_KILLED): Likewise.
22135         (CLD_DUMPED): Likewise.
22136         (CLD_TRAPPED): Likewise.
22137         (CLD_STOPPED): Likewise.
22138         (CLD_CONTINUED): Likewise.
22139         (POLL_IN): Likewise.
22140         (POLL_OUT): Likewise.
22141         (POLL_MSG): Likewise.
22142         (POLL_ERR): Likewise.
22143         (POLL_PRI): Likewise.
22144         (POLL_HUP): Likewise.
22145         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22146         (ILL_ILLOPN): Likewise.
22147         (ILL_ILLADR): Likewise.
22148         (ILL_ILLTRP): Likewise.
22149         (ILL_PRVOPC): Likewise.
22150         (ILL_PRVREG): Likewise.
22151         (ILL_COPROC): Likewise.
22152         (ILL_BADSTK): Likewise.
22153         (FPE_INTDIV): Likewise.
22154         (FPE_INTOVF): Likewise.
22155         (FPE_FLTDIV): Likewise.
22156         (FPE_FLTOVF): Likewise.
22157         (FPE_FLTUND): Likewise.
22158         (FPE_FLTRES): Likewise.
22159         (FPE_FLTINV): Likewise.
22160         (FPE_FLTSUB): Likewise.
22161         (SEGV_MAPERR): Likewise.
22162         (SEGV_ACCERR): Likewise.
22163         (BUS_ADRALN): Likewise.
22164         (BUS_ADRERR): Likewise.
22165         (BUS_OBJERR): Likewise.
22166         (BUS_MCEERR_AR): Likewise.
22167         (BUS_MCEERR_AO): Likewise.
22168         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22169         (TRAP_TRACE): Likewise.
22170         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22171         __USE_XOPEN2K8].
22172         (CLD_KILLED): Likewise.
22173         (CLD_DUMPED): Likewise.
22174         (CLD_TRAPPED): Likewise.
22175         (CLD_STOPPED): Likewise.
22176         (CLD_CONTINUED): Likewise.
22177         (POLL_IN): Likewise.
22178         (POLL_OUT): Likewise.
22179         (POLL_MSG): Likewise.
22180         (POLL_ERR): Likewise.
22181         (POLL_PRI): Likewise.
22182         (POLL_HUP): Likewise.
22183         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22184         (ILL_ILLOPN): Likewise.
22185         (ILL_ILLADR): Likewise.
22186         (ILL_ILLTRP): Likewise.
22187         (ILL_PRVOPC): Likewise.
22188         (ILL_PRVREG): Likewise.
22189         (ILL_COPROC): Likewise.
22190         (ILL_BADSTK): Likewise.
22191         (FPE_INTDIV): Likewise.
22192         (FPE_INTOVF): Likewise.
22193         (FPE_FLTDIV): Likewise.
22194         (FPE_FLTOVF): Likewise.
22195         (FPE_FLTUND): Likewise.
22196         (FPE_FLTRES): Likewise.
22197         (FPE_FLTINV): Likewise.
22198         (FPE_FLTSUB): Likewise.
22199         (SEGV_MAPERR): Likewise.
22200         (SEGV_ACCERR): Likewise.
22201         (BUS_ADRALN): Likewise.
22202         (BUS_ADRERR): Likewise.
22203         (BUS_OBJERR): Likewise.
22204         (BUS_MCEERR_AR): Likewise.
22205         (BUS_MCEERR_AO): Likewise.
22206         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22207         (TRAP_TRACE): Likewise.
22208         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22209         __USE_XOPEN2K8].
22210         (CLD_KILLED): Likewise.
22211         (CLD_DUMPED): Likewise.
22212         (CLD_TRAPPED): Likewise.
22213         (CLD_STOPPED): Likewise.
22214         (CLD_CONTINUED): Likewise.
22215         (POLL_IN): Likewise.
22216         (POLL_OUT): Likewise.
22217         (POLL_MSG): Likewise.
22218         (POLL_ERR): Likewise.
22219         (POLL_PRI): Likewise.
22220         (POLL_HUP): Likewise.
22221         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22222         (ILL_ILLOPN): Likewise.
22223         (ILL_ILLADR): Likewise.
22224         (ILL_ILLTRP): Likewise.
22225         (ILL_PRVOPC): Likewise.
22226         (ILL_PRVREG): Likewise.
22227         (ILL_COPROC): Likewise.
22228         (ILL_BADSTK): Likewise.
22229         (FPE_INTDIV): Likewise.
22230         (FPE_INTOVF): Likewise.
22231         (FPE_FLTDIV): Likewise.
22232         (FPE_FLTOVF): Likewise.
22233         (FPE_FLTUND): Likewise.
22234         (FPE_FLTRES): Likewise.
22235         (FPE_FLTINV): Likewise.
22236         (FPE_FLTSUB): Likewise.
22237         (SEGV_MAPERR): Likewise.
22238         (SEGV_ACCERR): Likewise.
22239         (BUS_ADRALN): Likewise.
22240         (BUS_ADRERR): Likewise.
22241         (BUS_OBJERR): Likewise.
22242         (BUS_MCEERR_AR): Likewise.
22243         (BUS_MCEERR_AO): Likewise.
22244         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22245         (TRAP_TRACE): Likewise.
22246         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22247         __USE_XOPEN2K8].
22248         (CLD_KILLED): Likewise.
22249         (CLD_DUMPED): Likewise.
22250         (CLD_TRAPPED): Likewise.
22251         (CLD_STOPPED): Likewise.
22252         (CLD_CONTINUED): Likewise.
22253         (POLL_IN): Likewise.
22254         (POLL_OUT): Likewise.
22255         (POLL_MSG): Likewise.
22256         (POLL_ERR): Likewise.
22257         (POLL_PRI): Likewise.
22258         (POLL_HUP): Likewise.
22259         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22260         (ILL_ILLOPN): Likewise.
22261         (ILL_ILLADR): Likewise.
22262         (ILL_ILLTRP): Likewise.
22263         (ILL_PRVOPC): Likewise.
22264         (ILL_PRVREG): Likewise.
22265         (ILL_COPROC): Likewise.
22266         (ILL_BADSTK): Likewise.
22267         (ILL_DBLFLT): Likewise.
22268         (ILL_HARDWALL): Likewise.
22269         (FPE_INTDIV): Likewise.
22270         (FPE_INTOVF): Likewise.
22271         (FPE_FLTDIV): Likewise.
22272         (FPE_FLTOVF): Likewise.
22273         (FPE_FLTUND): Likewise.
22274         (FPE_FLTRES): Likewise.
22275         (FPE_FLTINV): Likewise.
22276         (FPE_FLTSUB): Likewise.
22277         (SEGV_MAPERR): Likewise.
22278         (SEGV_ACCERR): Likewise.
22279         (BUS_ADRALN): Likewise.
22280         (BUS_ADRERR): Likewise.
22281         (BUS_OBJERR): Likewise.
22282         (BUS_MCEERR_AR): Likewise.
22283         (BUS_MCEERR_AO): Likewise.
22284         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22285         (TRAP_TRACE): Likewise.
22286         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22287         __USE_XOPEN2K8].
22288         (CLD_KILLED): Likewise.
22289         (CLD_DUMPED): Likewise.
22290         (CLD_TRAPPED): Likewise.
22291         (CLD_STOPPED): Likewise.
22292         (CLD_CONTINUED): Likewise.
22293         (POLL_IN): Likewise.
22294         (POLL_OUT): Likewise.
22295         (POLL_MSG): Likewise.
22296         (POLL_ERR): Likewise.
22297         (POLL_PRI): Likewise.
22298         (POLL_HUP): Likewise.
22299         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22300         (ILL_ILLOPN): Likewise.
22301         (ILL_ILLADR): Likewise.
22302         (ILL_ILLTRP): Likewise.
22303         (ILL_PRVOPC): Likewise.
22304         (ILL_PRVREG): Likewise.
22305         (ILL_COPROC): Likewise.
22306         (ILL_BADSTK): Likewise.
22307         (FPE_INTDIV): Likewise.
22308         (FPE_INTOVF): Likewise.
22309         (FPE_FLTDIV): Likewise.
22310         (FPE_FLTOVF): Likewise.
22311         (FPE_FLTUND): Likewise.
22312         (FPE_FLTRES): Likewise.
22313         (FPE_FLTINV): Likewise.
22314         (FPE_FLTSUB): Likewise.
22315         (SEGV_MAPERR): Likewise.
22316         (SEGV_ACCERR): Likewise.
22317         (BUS_ADRALN): Likewise.
22318         (BUS_ADRERR): Likewise.
22319         (BUS_OBJERR): Likewise.
22320         (BUS_MCEERR_AR): Likewise.
22321         (BUS_MCEERR_AO): Likewise.
22322         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22323         (TRAP_TRACE): Likewise.
22324         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22325         __USE_XOPEN2K8].
22326         (CLD_KILLED): Likewise.
22327         (CLD_DUMPED): Likewise.
22328         (CLD_TRAPPED): Likewise.
22329         (CLD_STOPPED): Likewise.
22330         (CLD_CONTINUED): Likewise.
22331         (POLL_IN): Likewise.
22332         (POLL_OUT): Likewise.
22333         (POLL_MSG): Likewise.
22334         (POLL_ERR): Likewise.
22335         (POLL_PRI): Likewise.
22336         (POLL_HUP): Likewise.
22337         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22338         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22340         [BZ #16670]
22341         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22342         before #include of <time.h>.
22343         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22344         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22345         (test-xfail-UNIX98/sched.h/conform): Likewise.
22347 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22349         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22350         error absence of trapping exception support.
22351         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22353 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22355         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22356         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22357         * timezone/Makefile (testdata): Move definition above include of
22358         Rules.
22359         (test-zones): New variable.
22360         (tests-special): Add zone files.
22361         (build-testdata): Use $(evaluate-test).
22363         * elf/Makefile (tests-special): Rename tests to end with .out.
22364         ($(objpfx)noload-mem): Likewise.
22365         ($(objpfx)tst-leaks1-mem): Likewise.
22366         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22367         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22368         $(objpfx)test-iconvconfig.out.
22369         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22370         set -e inside subshell and redirect output to file.
22371         * iconvdata/Makefile (generated): Rename tests to end with .out.
22372         Correct type.
22373         (tests-special): Rename tests to end with .out.
22374         ($(objpfx)mtrace-tst-loading): Likewise.
22375         * intl/Makefile (generated): Likewise.
22376         (tests-special): Likewise.
22377         ($(objpfx)mtrace-tst-gettext): Likewise.
22378         * misc/Makefile (generated): Likewise.
22379         (tests-special): Likewise.
22380         ($(objpfx)tst-error1-mem): Likewise.
22381         * nptl/Makefile (tests-special): Likewise.
22382         ($(objpfx)tst-stack3-mem): Likewise.
22383         (generated): Likewise.
22384         * posix/Makefile (generated): Likewise.
22385         (tests-special): Likewise.
22386         (xtests-special): Likewise.
22387         ($(objpfx)tst-fnmatch-mem): Likewise.
22388         ($(objpfx)bug-regex2-mem): Likewise.
22389         ($(objpfx)bug-regex14-mem): Likewise.
22390         ($(objpfx)bug-regex21-mem): Likewise.
22391         ($(objpfx)bug-regex31-mem): Likewise.
22392         ($(objpfx)tst-vfork3-mem): Likewise.
22393         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22394         ($(objpfx)tst-pcre-mem): Likewise.
22395         ($(objpfx)tst-boost-mem): Likewise.
22396         ($(objpfx)bug-ga2-mem): Likewise.
22397         ($(objpfx)bug-glob2-mem): Likewise.
22398         * resolv/Makefile (generate): Likewise.
22399         (tests-special): Likewise.
22400         (xtests-special): Likewise.
22401         (generated): Likewise.
22402         ($(objpfx)mtrace-tst-leaks): Likewise.
22403         ($(objpfx)mtrace-tst-leaks2): Likewise.
22405         * scripts/merge-test-results.sh: New file.
22406         * Makefile (tests-special-notdir): New variable.
22407         (tests): Run merge-test-results.sh.
22408         (xtests): Likewise.
22409         * Rules (tests-special-notdir): New variable.
22410         (xtests-special-notdir): Likewise.
22411         (tests): Run merge-test-results.sh
22412         (xtests): Likewise.
22414         * Makeconfig (test-xfail-name): New variable.
22415         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22416         compute variable name for expected failures.
22417         * conform/Makefile (conformtest-headers-data): New variable.
22418         (conformtest-standards): Likewise.
22419         (conformtest-headers-ISO): Likewise.
22420         (conformtest-headers-ISO99): Likewise.
22421         (conformtest-headers-ISO11): Likewise.
22422         (conformtest-headers-POSIX): Likewise.
22423         (conformtest-headers-XPG3): Likewise.
22424         (conformtest-headers-XPG4): Likewise.
22425         (conformtest-headers-UNIX98): Likewise.
22426         (conformtest-headers-XOPEN2K): Likewise.
22427         (conformtest-headers-POSIX2008): Likewise.
22428         (conformtest-headers-XOPEN2K8): Likewise.
22429         (conformtest-header-list-base): Likewise.
22430         (conformtest-header-list-tests): Likewise.
22431         (conformtest-header-base): Likewise.
22432         (conformtest-header-tests): Likewise.
22433         (tests-special): Add $(conformtest-header-list-tests).  If
22434         [$(fast-check) && !$(cross-compiling)], add
22435         $(conformtest-header-tests) instead of
22436         $(objpfx)run-conformtest.out.
22437         (generated): Add $(conformtest-header-list-base).  If
22438         [$(fast-check) && !$(cross-compiling)], add
22439         $(conformtest-header-base).  Remove previous setting.
22440         ($(conformtest-header-list-tests)): New target.
22441         (test-xfail-run-conformtest): Remove variable.
22442         ($(objpfx)run-conformtest.out): Remove target.
22443         (test-xfail-ISO11/complex.h/conform): New variable.
22444         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22445         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22446         (test-xfail-XPG3/varargs.h/conform): Likewise.
22447         (test-xfail-XPG4/varargs.h/conform): Likewise.
22448         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22449         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22450         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22451         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22452         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22453         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22454         (test-xfail-XPG3/ftw.h/conform): Likewise.
22455         (test-xfail-XPG3/grp.h/conform): Likewise.
22456         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22457         (test-xfail-XPG3/limits.h/conform): Likewise.
22458         (test-xfail-XPG3/pwd.h/conform): Likewise.
22459         (test-xfail-XPG3/search.h/conform): Likewise.
22460         (test-xfail-XPG3/signal.h/conform): Likewise.
22461         (test-xfail-XPG3/stdio.h/conform): Likewise.
22462         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22463         (test-xfail-XPG3/string.h/conform): Likewise.
22464         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22465         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22466         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22467         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22468         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22469         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22470         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22471         (test-xfail-XPG3/termios.h/conform): Likewise.
22472         (test-xfail-XPG3/time.h/conform): Likewise.
22473         (test-xfail-XPG3/unistd.h/conform): Likewise.
22474         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22475         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22476         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22477         (test-xfail-XPG4/netdb.h/conform): Likewise.
22478         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22479         (test-xfail-XPG4/signal.h/conform): Likewise.
22480         (test-xfail-XPG4/stdio.h/conform): Likewise.
22481         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22482         (test-xfail-XPG4/stropts.h/conform): Likewise.
22483         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22484         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22485         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22486         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22487         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22488         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22489         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22490         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22491         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22492         (test-xfail-XPG4/termios.h/conform): Likewise.
22493         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22494         (test-xfail-XPG4/unistd.h/conform): Likewise.
22495         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22496         (test-xfail-POSIX/sched.h/conform): Likewise.
22497         (test-xfail-POSIX/signal.h/conform): Likewise.
22498         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22499         (test-xfail-POSIX/tar.h/conform): Likewise.
22500         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22501         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22502         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22503         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22504         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22505         (test-xfail-UNIX98/sched.h/conform): Likewise.
22506         (test-xfail-UNIX98/signal.h/conform): Likewise.
22507         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22508         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22509         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22510         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22511         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22512         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22513         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22514         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22515         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22516         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22517         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22518         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22519         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22520         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22521         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22522         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22523         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22524         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22525         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22526         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22527         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22528         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22529         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22530         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22531         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22532         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22533         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22534         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22535         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22536         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22537         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22538         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22539         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22540         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22541         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22542         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22543         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22544         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22545         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22546         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22547         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22548         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22549         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22550         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22551         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22552         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22553         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22554         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22555         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22556         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22557         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22558         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22559         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22560         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22561         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22562         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22563         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22564         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22565         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22566         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22567         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22568         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22569         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22570         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22571         (conformtest-cc-flags): Likewise.
22572         ($(conformtest-header-tests): New target.
22573         * conform/check-header-lists.sh: New file.
22574         * conform/run-conformtest.sh: Remove.
22576         * conform/conformtest.pl: Allow ' and \ in values given for
22577         constants.
22578         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22579         inclusion.
22580         [POSIX] (sys/types.h): Likewise.
22581         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22582         inclusion.
22583         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22584         inclusion.
22585         * conform/data/signal.h-data (SIGIO): Remove expectation.
22586         [XPG3] (SIGBUS): Do not expect.
22587         [POSIX || XPG3] (SIGPOLL): Likewise.
22588         [POSIX || XPG3] (SIGPROF): Likewise.
22589         [POSIX || XPG3] (SIGSYS): Likewise.
22590         [XPG3] (SIGTRAP): Likewise.
22591         [POSIX || XPG3] (SIGURG): Likewise.
22592         [POSIX || XPG3] (SIGVTALRM): Likewise.
22593         [POSIX || XPG3] (SIGXCPU): Likewise.
22594         [POSIX || XPG3] (SIGXFSZ): Likewise.
22595         [POSIX] (SA_SIGINFO): Expect.
22596         [XPG3] (siginfo_t): Do not expect type or contents.
22597         [POSIX] (si_pid): Do not expect element.
22598         [POSIX] (si_uid): Likewise.
22599         [POSIX] (si_addr): Likewise.
22600         [POSIX] (si_status): Likewise.
22601         [POSIX] (si_band): Likewise.
22602         [XPG4] (si_value): Likewise.
22603         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22604         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22605         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22606         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22607         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22608         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22609         [POSIX || XPG3] (ILL_COPROC): Likewise.
22610         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22611         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22612         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22613         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22614         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22615         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22616         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22617         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22618         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22619         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22620         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22621         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22622         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22623         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22624         [POSIX || XPG3] (CLD_EXITED): Likewise.
22625         [POSIX || XPG3] (CLD_KILLED): Likewise.
22626         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22627         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22628         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22629         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22630         [POSIX || XPG3] (POLL_IN): Likewise.
22631         [POSIX || XPG3] (POLL_OUT): Likewise.
22632         [POSIX || XPG3] (POLL_MSG): Likewise.
22633         [POSIX || XPG3] (POLL_ERR): Likewise.
22634         [POSIX || XPG3] (POLL_PRI): Likewise.
22635         [POSIX || XPG3] (POLL_HUP): Likewise.
22636         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22637         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22638         (SIG*): Do not allow.
22639         [XPG3] (si_*): Likewise.
22640         [XPG3] (SI_*): Likewise.
22641         [XPG3 || XPG4] (sigev_*): Likewise.
22642         [XPG3 || XPG4] (SIGEV_*): Likewise.
22643         [XPG3 || XPG4] (sival_*): Likewise.
22644         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22645         [POSIX || XPG3] (BUS_*): Likewise.
22646         [POSIX || XPG3] (CLD_*): Likewise.
22647         [POSIX || XPG3] (FPE_*): Likewise.
22648         [POSIX || XPG3] (ILL_*): Likewise.
22649         [POSIX || XPG3] (POLL_*): Likewise.
22650         [POSIX || XPG3] (SEGV_*): Likewise.
22651         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22652         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22653         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22654         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22655         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22656         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22657         Specify type and value.
22658         (TVERSLEN): Likewise.
22659         (REGTYPE): Likewise.
22660         (AREGTYPE): Likewise.
22661         (LNKTYPE): Likewise.
22662         (SYMTYPE): Likewise.
22663         (CHRTYPE): Likewise.
22664         (BLKTYPE): Likewise.
22665         (DIRTYPE): Likewise.
22666         (FIFOTYPE): Likewise.
22667         (CONTTYPE): Likewise.
22668         (TSUID): Likewise.
22669         (TSGID): Likewise.
22670         (TSVTX): Likewise.
22671         (TUREAD): Likewise.
22672         (TUWRITE): Likewise.
22673         (TUEXEC): Likewise.
22674         (TGREAD): Likewise.
22675         (TGWRITE): Likewise.
22676         (TGEXEC): Likewise.
22677         (TOREAD): Likewise.
22678         (TOWRITE): Likewise.
22679         (TOEXEC): Likewise.
22680         [POSIX] (TSVTX): Expect constant.
22682 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22684         * Makefile (tests): Change dependencies to ....
22685         (tests-special): ... additions to this variable.
22686         (tests): Depend on $(tests-special).
22687         * Makerules (check-abi-list): New variable.
22688         (check-abi): Depend on $(check-abi-list).
22689         [$(subdir) = elf] (tests-special): Add
22690         $(objpfx)check-abi-libc.out.
22691         [$(build-shared) = yes && subdir] (tests-special): Add
22692         $(check-abi-list).
22693         [$(build-shared) = yes && subdir] (tests): Do not depend on
22694         check-abi.
22695         * Rules (tests): Depend on $(tests-special).
22696         (xtests): Depend on $(xtests-special).
22697         * catgets/Makefile (tests): Change dependencies to ....
22698         (tests-special): ... additions to this variable.
22699         * conform/Makefile (tests): Change dependencies to ....
22700         (tests-special): ... additions to this variable.
22701         * elf/Makefile (tests): Change dependencies to ....
22702         (tests-special): ... additions to this variable.
22703         * grp/Makefile (tests): Change dependencies to ....
22704         (tests-special): ... additions to this variable.
22705         * iconv/Makefile (xtests): Change dependencies to ....
22706         (xtests-special): ... additions to this variable.
22707         * iconvdata/Makefile (tests): Change dependencies to ....
22708         (tests-special): ... additions to this variable.
22709         * intl/Makefile (tests): Change dependencies to ....
22710         (tests-special): ... additions to this variable.  Also add
22711         $(objpfx)tst-gettext.out.
22712         * io/Makefile (tests): Change dependencies to ....
22713         (tests-special): ... additions to this variable.
22714         * libio/Makefile (tests): Change dependencies to ....
22715         (tests-special): ... additions to this variable.
22716         * malloc/Makefile (tests): Change dependencies to ....
22717         (tests-special): ... additions to this variable.
22718         * misc/Makefile (tests): Change dependencies to ....
22719         (tests-special): ... additions to this variable.
22720         * nptl/Makefile (tests): Change dependencies to ....
22721         (tests-special): ... additions to this variable.
22722         * nptl_db/Makefile (tests): Change dependencies to ....
22723         (tests-special): ... additions to this variable.
22724         * posix/Makefile (tests): Change dependencies to ....
22725         (tests-special): ... additions to this variable.
22726         (xtests): Change dependencies to ....
22727         (xtests-special): ... additions to this variable.
22728         * resolv/Makefile (tests): Change dependencies to ....
22729         (tests-special): ... additions to this variable.
22730         (xtests): Change dependencies to ....
22731         (xtests-special): ... additions to this variable.
22732         * stdio-common/Makefile (tests): Change dependencies to ....
22733         (tests-special): ... additions to this variable.
22734         (do-tst-unbputc): Remove target.
22735         (do-tst-printf): Likewise.
22736         * stdlib/Makefile (tests): Change dependencies to ....
22737         (tests-special): ... additions to this variable.
22738         * string/Makefile (tests): Change dependencies to ....
22739         (tests-special): ... additions to this variable.
22740         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22741         (tests-special): ... additions to this variable.
22743         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22744         whole file.
22745         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22746         whole file.
22747         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22748         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22750         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22751         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22752         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22753         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22754         * conform/data/libgen.h-data [XPG3]: Likewise.
22755         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22756         * conform/data/ndbm.h-data [XPG3]: Likewise.
22757         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22758         * conform/data/netdb.h-data [XPG3]: Likewise.
22759         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22760         * conform/data/poll.h-data [XPG3]: Likewise.
22761         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22762         * conform/data/strings.h-data [XPG3]: Likewise.
22763         * conform/data/stropts.h-data [XPG3]: Likewise.
22764         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22765         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22766         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22767         Likewise.
22768         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22769         * conform/data/sys/time.h-data [XPG3]: Likewise.
22770         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22771         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22772         * conform/data/sys/un.h-data [XPG3]: Likewise.
22773         * conform/data/syslog.h-data [XPG3]: Likewise.
22774         * conform/data/ucontext.h-data [XPG3]: Likewise.
22775         * conform/data/utmpx.h-data [XPG3]: Likewise.
22776         * conform/data/varargs.h-data [UNIX98]: Enable file.
22778         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22780         * math/libm-test.inc (struct test_f_f_data): Move expected results
22781         into structure for each rounding mode.
22782         (struct test_ff_f_data): Likewise.
22783         (struct test_ff_f_data_nexttoward): Likewise.
22784         (struct test_fi_f_data): Likewise.
22785         (struct test_fl_f_data): Likewise.
22786         (struct test_if_f_data): Likewise.
22787         (struct test_fff_f_data): Likewise.
22788         (struct test_c_f_data): Likewise.
22789         (struct test_f_f1_data): Likewise.
22790         (struct test_fF_f1_data): Likewise.
22791         (struct test_ffI_f1_data): Likewise.
22792         (struct test_c_c_data): Likewise.
22793         (struct test_cc_c_data): Likewise.
22794         (struct test_f_i_data): Likewise.
22795         (struct test_ff_i_data): Likewise.
22796         (struct test_f_l_data): Likewise.
22797         (struct test_f_L_data): Likewise.
22798         (struct test_fFF_11_data): Likewise.
22799         (RM_): New macro.
22800         (RM_FE_DOWNWARD): Likewise.
22801         (RM_FE_TONEAREST): Likewise.
22802         (RM_FE_TOWARDZERO): Likewise.
22803         (RM_FE_UPWARD): Likewise.
22804         (RUN_TEST_LOOP_f_f): Update references to expected results.
22805         (RUN_TEST_LOOP_2_f): Likewise.
22806         (RUN_TEST_LOOP_fff_f): Likewise.
22807         (RUN_TEST_LOOP_c_f): Likewise.
22808         (RUN_TEST_LOOP_f_f1): Likewise.
22809         (RUN_TEST_LOOP_fF_f1): Likewise.
22810         (RUN_TEST_LOOP_fI_f1): Likewise.
22811         (RUN_TEST_LOOP_ffI_f1): Likewise.
22812         (RUN_TEST_LOOP_c_c): Likewise.
22813         (RUN_TEST_LOOP_cc_c): Likewise.
22814         (RUN_TEST_LOOP_f_i): Likewise.
22815         (RUN_TEST_LOOP_f_i_tg): Likewise.
22816         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22817         (RUN_TEST_LOOP_f_b): Likewise.
22818         (RUN_TEST_LOOP_f_b_tg): Likewise.
22819         (RUN_TEST_LOOP_f_l): Likewise.
22820         (RUN_TEST_LOOP_f_L): Likewise.
22821         (RUN_TEST_LOOP_fFF_11): Likewise.
22822         * math/gen-libm-test.pl (parse_args): Output four copies of
22823         expected results for each test.
22825         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22826         (__ASSUME_UTIMES): Remove.
22827         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22828         (__ASSUME_UTIMES): Likewise.
22830         * math/gen-auto-libm-tests.c: Update comment on output format.
22831         (output_for_one_input_case): Generate before-rounding and
22832         after-rounding information as conditions on output flags not
22833         floating-point format.
22834         * math/auto-libm-test-out: Regenerated.
22835         * math/gen-libm-test.pl (cond_value): New function.
22836         (or_cond_value): Use cond_value.
22837         (generate_testfile): Handle conditional exceptions.
22839 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22841         * math/libm-test.inc (max_valid_error): New variable.
22842         (init_max_error): Take new argument specifying whether function
22843         results are exactly determined.  Set max_valid_error and bound
22844         other variables for errors based on this argument.
22845         (set_max_error): Do not record results above max_valid_error.
22846         (check_float_internal): Only accept errors of up to 0.5ulps if
22847         also at most max_valid_error.
22848         (START): Take new argument EXACT and pass it to init_max_error.
22849         (acos_test): Update call to START.
22850         (acos_test_tonearest): Likewise.
22851         (acos_test_towardzero): Likewise.
22852         (acos_test_downward): Likewise.
22853         (acos_test_upward): Likewise.
22854         (acosh_test): Likewise.
22855         (asin_test): Likewise.
22856         (asin_test_tonearest): Likewise.
22857         (asin_test_towardzero): Likewise.
22858         (asin_test_downward): Likewise.
22859         (asin_test_upward): Likewise.
22860         (asinh_test): Likewise.
22861         (atan_test): Likewise.
22862         (atanh_test): Likewise.
22863         (atan2_test): Likewise.
22864         (cabs_test): Likewise.
22865         (cacos_test): Likewise.
22866         (cacosh_test): Likewise.
22867         (carg_test): Likewise.
22868         (casin_test): Likewise.
22869         (casinh_test): Likewise.
22870         (catan_test): Likewise.
22871         (catanh_test): Likewise.
22872         (cbrt_test): Likewise.
22873         (ccos_test): Likewise.
22874         (ccosh_test): Likewise.
22875         (ceil_test): Likewise.
22876         (cexp_test): Likewise.
22877         (cimag_test): Likewise.
22878         (clog_test): Likewise.
22879         (clog10_test): Likewise.
22880         (conj_test): Likewise.
22881         (copysign_test): Likewise.
22882         (cos_test): Likewise.
22883         (cos_test_tonearest): Likewise.
22884         (cos_test_towardzero): Likewise.
22885         (cos_test_downward): Likewise.
22886         (cos_test_upward): Likewise.
22887         (cosh_test): Likewise.
22888         (cosh_test_tonearest): Likewise.
22889         (cosh_test_towardzero): Likewise.
22890         (cosh_test_downward): Likewise.
22891         (cosh_test_upward): Likewise.
22892         (cpow_test): Likewise.
22893         (cproj_test): Likewise.
22894         (creal_test): Likewise.
22895         (csin_test): Likewise.
22896         (csinh_test): Likewise.
22897         (csqrt_test): Likewise.
22898         (ctan_test): Likewise.
22899         (ctan_test_tonearest): Likewise.
22900         (ctan_test_towardzero): Likewise.
22901         (ctan_test_downward): Likewise.
22902         (ctan_test_upward): Likewise.
22903         (ctanh_test): Likewise.
22904         (ctanh_test_tonearest): Likewise.
22905         (ctanh_test_towardzero): Likewise.
22906         (ctanh_test_downward): Likewise.
22907         (ctanh_test_upward): Likewise.
22908         (erf_test): Likewise.
22909         (erfc_test): Likewise.
22910         (exp_test): Likewise.
22911         (exp_test_tonearest): Likewise.
22912         (exp_test_towardzero): Likewise.
22913         (exp_test_downward): Likewise.
22914         (exp_test_upward): Likewise.
22915         (exp10_test): Likewise.
22916         (exp10_test_tonearest): Likewise.
22917         (exp10_test_towardzero): Likewise.
22918         (exp10_test_downward): Likewise.
22919         (exp10_test_upward): Likewise.
22920         (pow10_test): Likewise.
22921         (exp2_test): Likewise.
22922         (expm1_test): Likewise.
22923         (expm1_test_tonearest): Likewise.
22924         (expm1_test_towardzero): Likewise.
22925         (expm1_test_downward): Likewise.
22926         (expm1_test_upward): Likewise.
22927         (fabs_test): Likewise.
22928         (fdim_test): Likewise.
22929         (floor_test): Likewise.
22930         (fma_test): Likewise.
22931         (fma_test_towardzero): Likewise.
22932         (fma_test_downward): Likewise.
22933         (fma_test_upward): Likewise.
22934         (fmax_test): Likewise.
22935         (fmin_test): Likewise.
22936         (fmod_test): Likewise.
22937         (fpclassify_test): Likewise.
22938         (frexp_test): Likewise.
22939         (hypot_test): Likewise.
22940         (ilogb_test): Likewise.
22941         (isfinite_test): Likewise.
22942         (finite_test): Likewise.
22943         (isgreater_test): Likewise.
22944         (isgreaterequal_test): Likewise.
22945         (isinf_test): Likewise.
22946         (isless_test): Likewise.
22947         (islessequal_test): Likewise.
22948         (islessgreater_test): Likewise.
22949         (isnan_test): Likewise.
22950         (isnormal_test): Likewise.
22951         (issignaling_test): Likewise.
22952         (isunordered_test): Likewise.
22953         (j0_test): Likewise.
22954         (j1_test): Likewise.
22955         (jn_test): Likewise.
22956         (ldexp_test): Likewise.
22957         (lgamma_test): Likewise.
22958         (gamma_test): Likewise.
22959         (lrint_test): Likewise.
22960         (lrint_test_tonearest): Likewise.
22961         (lrint_test_towardzero): Likewise.
22962         (lrint_test_downward): Likewise.
22963         (lrint_test_upward): Likewise.
22964         (llrint_test): Likewise.
22965         (llrint_test_tonearest): Likewise.
22966         (llrint_test_towardzero): Likewise.
22967         (llrint_test_downward): Likewise.
22968         (llrint_test_upward): Likewise.
22969         (log_test): Likewise.
22970         (log10_test): Likewise.
22971         (log1p_test): Likewise.
22972         (log2_test): Likewise.
22973         (logb_test): Likewise.
22974         (logb_test_downward): Likewise.
22975         (lround_test): Likewise.
22976         (llround_test): Likewise.
22977         (modf_test): Likewise.
22978         (nearbyint_test): Likewise.
22979         (nextafter_test): Likewise.
22980         (nexttoward_test): Likewise.
22981         (pow_test): Likewise.
22982         (pow_test_tonearest): Likewise.
22983         (pow_test_towardzero): Likewise.
22984         (pow_test_downward): Likewise.
22985         (pow_test_upward): Likewise.
22986         (remainder_test): Likewise.
22987         (drem_test): Likewise.
22988         (remainder_test_tonearest): Likewise.
22989         (drem_test_tonearest): Likewise.
22990         (remainder_test_towardzero): Likewise.
22991         (drem_test_towardzero): Likewise.
22992         (remainder_test_downward): Likewise.
22993         (drem_test_downward): Likewise.
22994         (remainder_test_upward): Likewise.
22995         (drem_test_upward): Likewise.
22996         (remquo_test): Likewise.
22997         (rint_test): Likewise.
22998         (rint_test_tonearest): Likewise.
22999         (rint_test_towardzero): Likewise.
23000         (rint_test_downward): Likewise.
23001         (rint_test_upward): Likewise.
23002         (round_test): Likewise.
23003         (scalb_test): Likewise.
23004         (scalbn_test): Likewise.
23005         (scalbln_test): Likewise.
23006         (signbit_test): Likewise.
23007         (sin_test): Likewise.
23008         (sin_test_tonearest): Likewise.
23009         (sin_test_towardzero): Likewise.
23010         (sin_test_downward): Likewise.
23011         (sin_test_upward): Likewise.
23012         (sincos_test): Likewise.
23013         (sinh_test): Likewise.
23014         (sinh_test_tonearest): Likewise.
23015         (sinh_test_towardzero): Likewise.
23016         (sinh_test_downward): Likewise.
23017         (sinh_test_upward): Likewise.
23018         (sqrt_test): Likewise.
23019         (sqrt_test_tonearest): Likewise.
23020         (sqrt_test_towardzero): Likewise.
23021         (sqrt_test_downward): Likewise.
23022         (sqrt_test_upward): Likewise.
23023         (tan_test): Likewise.
23024         (tan_test_tonearest): Likewise.
23025         (tan_test_towardzero): Likewise.
23026         (tan_test_downward): Likewise.
23027         (tan_test_upward): Likewise.
23028         (tanh_test): Likewise.
23029         (tgamma_test): Likewise.
23030         (trunc_test): Likewise.
23031         (y0_test): Likewise.
23032         (y1_test): Likewise.
23033         (yn_test): Likewise.
23034         (significand_test): Likewise.
23036         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23037         individual tests in comment.
23038         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23039         (prev_max_error): New variable.
23040         (prev_real_max_error): Likewise.
23041         (prev_imag_max_error): Likewise.
23042         (compare_ulp_data): Don't refer to test names in comment.
23043         (find_test_ulps): Remove function.
23044         (find_function_ulps): Likewise.
23045         (find_complex_function_ulps): Likewise.
23046         (init_max_error): Take function name as argument.  Look up ulps
23047         for that function.
23048         (print_ulps): Remove function.
23049         (print_max_error): Use prev_max_error instead of calling
23050         find_function_ulps.
23051         (print_complex_max_error): Use prev_real_max_error and
23052         prev_imag_max_error instead of calling find_complex_function_ulps.
23053         (check_float_internal): Take max_ulp parameter instead of calling
23054         find_test_ulps.  Don't call print_ulps.
23055         (check_float): Update call to check_float_internal.
23056         (check_complex): Update calls to check_float_internal.
23057         (START): Pass argument to init_max_error.
23058         * math/gen-libm-test.pl (%results): Don't include "kind"
23059         information.
23060         (parse_ulps): Don't handle ulps of individual tests.
23061         (print_ulps_file): Likewise.
23062         (output_ulps): Likewise.
23063         * math/README.libm-test: Update.
23064         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23065         individual tests.
23066         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23067         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23068         * sysdeps/arm/libm-test-ulps: Likewise.
23069         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23070         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23071         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23072         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23073         * sysdeps/microblaze/libm-test-ulps: Likewise.
23074         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23075         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23076         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23077         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23078         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23079         * sysdeps/sh/libm-test-ulps: Likewise.
23080         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23081         * sysdeps/tile/libm-test-ulps: Likewise.
23082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23084 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23086         * math/libm-test.inc (print_complex_max_error): Check separately
23087         whether real and imaginary errors are within allowed range and
23088         pass 0 to print_complex_function_ulps instead of value within
23089         allowed range.
23091 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23093         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23094         formatting.
23095         (get_handles_fopen): Likewise.
23096         (do_write_test): Likewise.
23098         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23100         * libio/fileops.c (do_ftell): Use cached offset when
23101         available.
23102         * libio/iofwide.c (do_ftell_wide): Likewise.
23103         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23104         _IO_file_attach.
23105         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23107         [BZ #16532]
23108         * libio/libioP.h (get_file_offset): New function.
23109         * libio/fileops.c (get_file_offset): Likewise.
23110         (do_ftell): Likewise.
23111         (_IO_new_file_seekoff): Split out ftell logic.
23112         * libio/wfileops.c (do_ftell_wide): Likewise.
23113         (_IO_wfile_seekoff): Split out ftell logic.
23114         * libio/tst-ftell-active-handler.c: New test case.
23115         * libio/Makefile (tests): Add it.
23117 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23119         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23120         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23122 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23124         [BZ #16639]
23125         * nscd/connections.c (nscd_init): Call do_exit.
23126         (start_threads): Call do_exit and notify_parent.
23127         (begin_drop_privileges): Call do_exit.
23128         (finish_drop_privileges): Likewise.
23129         * nscd/selinux.c (preserve_capabilities): Likewise.
23130         (install_real_capabilities): Likewise.
23131         (nscd_selinux_enabled): Likewise.
23132         (avc_create_thread): Likewise.
23133         (avc_alloc_lock): Likewise.
23134         (nscd_avc_init): Likewise.
23135         * nscd/nscd.c (parent_fd): New static variable.
23136         (main): Create a pipe between parent and child processes.
23137         Skip closing parent_fd.
23138         (monitor_child): New function.
23139         (do_exit): Likewise.
23140         (notify_parent): Likewise.
23141         * nscd/nscd.h (notify_parent): Likewise.
23142         (do_exit): Likewise.
23144 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23146         * malloc/malloc.c (__libc_calloc): Revert last change.
23148 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23152 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23154         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23156         implementation.
23157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23158         (__libc_ifunc_impl_list): Likewise.
23159         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23160         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23161         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23162         * string/strrchr.c: Define STRRCHR.
23164 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23166         * benchtest/bench-strtok.c (simple_strtok): Delete.
23167         (strtok_string): Use as benchmark.
23168         * string/strtok (STRTOK): New macro.
23170 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23172         * manual/threads.texi: Add header and standard comments to all
23173         functions.
23175         * elf/dl-lookup.c (check_match): New function.
23176         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23177         (do_lookup_x): Remove nested function check_match. Use non-nested
23178         function check_match.
23180 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23182         * csu/Makefile (generated, before-compile): Use += rather than =.
23183         * catgets/Makefile (generated, generated-dirs): Likewise.
23184         * debug/Makefile (generated): Likewise.
23185         * dlfcn/Makefile (generated): Likewise.
23186         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23187         * iconvdata/Makefile (before-compile, generated): Likewise.
23188         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23189         * libio/Makefile (generated): Likewise.
23190         * malloc/Makefile (generated): Likewise.
23191         * manual/Makefile (generated, generated-dirs): Likewise.
23192         * misc/Makefile (generated): Likewise.
23193         * posix/Makefile (generated): Likewise.
23194         * resolv/Makefile (generated): Likewise.
23195         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23196         * timezone/Makefile (generated, generated-dirs): Likewise.
23198         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23200 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23203         power8 implementation.
23204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23205         file: POWER8 llround ifunc implementation.
23206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23207         (__lllround): Add POWER8 implementation.
23208         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23209         POWER8 llround implementation.
23211         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23212         power8 implementation.
23213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23214         file: POWER8 llrint ifunc implementation.
23215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23216         Add POWER8 implementation.
23217         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23218         POWER8 llrint implementation.
23220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23221         power8 implementation.
23222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23223         file: POWER8 finite ifunc implementation.
23224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23225         Add POWER8 implementation.
23226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23227         Likewise.
23228         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23229         POWER8 finite implementation.
23230         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23233         power8 implementation.
23234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23235         file: POWER8 isinf ifunc implementation.
23236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23237         POWER8 implementation.
23238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23239         Likewise.
23240         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23241         isinf implementation.
23242         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23244         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23245         (INIT_ARCH): Add hwcap2 initialization.
23246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23247         power8 implementation.
23248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23249         file: POWER8 isnan ifunc implementation.
23250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23251         POWER8 implementation.
23252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23253         Likewise.
23254         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23255         isnan implementation.
23256         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23258 2014-02-27  Joey Ye  <joey.ye@arm.com>
23260         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23261         (_FP_NANFRAC_Q): Set to zero.
23263 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23265         [BZ #16623]
23266         * math/auto-libm-test-in: New test inputs.
23267         * math/auto-libm-test-out: Regenerate.
23268         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23269         and DA.
23270         (__cos): Likewise.
23271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23273 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23275         * scripts/evaluate-test.sh: Take new argument indicating whether
23276         failure is expected.
23277         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23278         indicating whether failure is expected.
23279         * conform/Makefile (test-xfail-run-conformtest): New variable.
23280         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23281         level.
23282         * posix/Makefile (test-xfail-annexc): New variable.
23283         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23285 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23287         * argp/Makefile: Include Makeconfig immediately after defining
23288         subdir.
23289         * assert/Makefile: Likewise.
23290         * benchtests/Makefile: Likewise.
23291         * catgets/Makefile: Likewise.
23292         * conform/Makefile: Likewise.
23293         * crypt/Makefile: Likewise.
23294         * csu/Makefile: Likewise.
23295         (all): Remove target.
23296         * ctype/Makefile: Include Makeconfig immediately after defining
23297         subdir.
23298         * debug/Makefile: Likewise.
23299         * dirent/Makefile: Likewise.
23300         * dlfcn/Makefile: Likewise.
23301         * gmon/Makefile: Likewise.
23302         * gnulib/Makefile: Likewise.
23303         * grp/Makefile: Likewise.
23304         * gshadow/Makefile: Likewise.
23305         * hesiod/Makefile: Likewise.
23306         * hurd/Makefile: Likewise.
23307         (all): Remove target.
23308         * iconvdata/Makefile: Include Makeconfig immediately after
23309         defining subdir.
23310         * inet/Makefile: Likewise.
23311         * intl/Makefile: Likewise.
23312         * io/Makefile: Likewise.
23313         * libio/Makefile: Likewise.
23314         (all): Remove target.
23315         * locale/Makefile: Include Makeconfig immediately after defining
23316         subdir.
23317         * login/Makefile: Likewise.
23318         * mach/Makefile: Likewise.
23319         (all): Remove target.
23320         * malloc/Makefile: Include Makeconfig immediately after defining
23321         subdir.
23322         (all): Remove target.
23323         * manual/Makefile: Include Makeconfig immediately after defining
23324         subdir.
23325         * math/Makefile: Likewise.
23326         * misc/Makefile: Likewise.
23327         * nis/Makefile: Likewise.
23328         * nss/Makefile: Likewise.
23329         * po/Makefile: Likewise.
23330         (all): Remove target.
23331         * posix/Makefile: Include Makeconfig immediately after defining
23332         subdir.
23333         * pwd/Makefile: Likewise.
23334         * resolv/Makefile: Likewise.
23335         * resource/Makefile: Likewise.
23336         * rt/Makefile: Likewise.
23337         * setjmp/Makefile: Likewise.
23338         * shadow/Makefile: Likewise.
23339         * signal/Makefile: Likewise.
23340         * socket/Makefile: Likewise.
23341         * soft-fp/Makefile: Likewise.
23342         * stdio-common/Makefile: Likewise.
23343         * stdlib/Makefile: Likewise.
23344         * streams/Makefile: Likewise.
23345         * string/Makefile: Likewise.
23346         * sunrpc/Makefile: Likewise.
23347         (all): Remove target.
23348         * sysvipc/Makefile: Include Makeconfig immediately after defining
23349         subdir.
23350         * termios/Makefile: Likewise.
23351         * time/Makefile: Likewise.
23352         * timezone/Makefile: Likewise.
23353         (all): Remove target.
23354         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23355         subdir.
23356         * wctype/Makefile: Likewise.
23358 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23360         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23361         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23362         (libc_feholdexcept_setround_mips): Ditto.
23363         (libc_feholdsetround): New.
23364         (libc_feholdsetroundf): New.
23365         (libc_feholdsetroundl): New.
23366         (libc_feupdateenv_test_mips): New.
23367         (libc_feupdateenv_test): New.
23368         (libc_feupdateenv_testf): New.
23369         (libc_feupdateenv_testl): New.
23370         (libc_feresetround): New.
23371         (libc_feresetroundf): New.
23372         (libc_feresetroundl): New.
23373         (libc_fetestexcept_mips): New.
23374         (libc_fetestexcept): New.
23375         (libc_fetestexceptf): New.
23376         (libc_fetestexceptl): New.
23377         (HAVE_RM_CTX): New.
23378         (libc_feholdexcept_setround_mips_ctx): New.
23379         (libc_feholdexcept_setround_ctx): New.
23380         (libc_feholdexcept_setroundf_ctx): New.
23381         (libc_feholdexcept_setroundl_ctx): New.
23382         (libc_fesetenv_mips_ctx): New.
23383         (libc_fesetenv_ctx): New.
23384         (libc_fesetenv_ctxf): New.
23385         (libc_fesetenv_ctxl): New.
23386         (libc_feupdateenv_mips_ctx): New.
23387         (libc_feupdateenv_ctx): New.
23388         (libc_feupdateenvf_ctx): New.
23389         (libc_feupdateenvl_ctx): New.
23390         (libc_feholdsetround_mips_ctx): New.
23391         (libc_feholdsetround_ctx): New.
23392         (libc_feholdsetroundf_ctx): New.
23393         (libc_feholdsetroundl_ctx): New.
23394         (libc_feresetround_mips_ctx): New.
23395         (libc_feresetround_ctx): New.
23396         (libc_feresetroundf_ctx): New.
23397         (libc_feresetroundl_ctx): New.
23399 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23401         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23403         * manual/ipc.texi: New file.
23404         * manual/Makefile (chapters): Add ipc.
23405         * manual/job.texi: Add "Inter-Process Communication" to next.
23406         * manual/process.texi: Add "Inter-Process Communication" to prev.
23408 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23412 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23414         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23416         * manual/arith.texi: Fix spaces after sentences.
23417         * manual/charset.texi: Likewise.
23418         * manual/errno.texi: Likewise.
23419         * manual/install.texi: Likewise.
23420         * manual/llio.texi: Likewise.
23421         * manual/locale.texi: Likewise.
23422         * manual/maint.texi: Likewise.
23423         * manual/math.texi: Likewise.
23424         * manual/memory.texi: Likewise.
23425         * manual/message.texi: Likewise.
23426         * manual/probes.texi: Likewise.
23427         * manual/resource.texi: Likewise.
23428         * manual/signal.texi: Likewise.
23429         * manual/socket.texi: Likewise.
23430         * manual/stdio.texi: Likewise.
23431         * manual/string.texi: Likewise.
23432         * manual/time.texi: Likewise.
23433         * manual/users.texi: Likewise.
23435 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23437         [BZ #16632]
23438         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23439         _DEFAULT_SOURCE is defined.
23441 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23442             Carlos O'Donell  <carlos@redhat.com>
23444         [BZ #16613]
23445         * elf/dl-tls.c (_dl_count_modids): New function.
23446         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23447         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23448         audit library and increment generation counter.
23449         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23450         * elf/tst-audit9.c: New file.
23451         * elf/tst-auditmod9a.c: New file.
23452         * elf/tst-auditmod9b.c: New file.
23453         * elf/Makefile: Add rules to build and run tst-audit9.
23455 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23457         [BZ #15347]
23458         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23460 2014-02-25  Will Newton  <will.newton@linaro.org>
23462         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23463         (__longjmp): Restore sp and lr before restoring callee
23464         saved registers.  Add longjmp and longjmp_target
23465         SystemTap probe point.
23466         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23467         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23468         Define to zero to match jmpbuf layout.
23469         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23470         (__sigsetjmp): Save sp and lr before saving callee
23471         saved registers.  Add setjmp SystemTap probe point.
23473 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23475         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23477 2014-02-24  Andreas Schwab  <schwab@suse.de>
23479         [BZ #15804]
23480         * elf/pldd.c (wait_for_ptrace_stop): New function.
23481         (main): Call it after attaching.
23483 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23485         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23486         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23487         Versions files is now verboten.
23488         * hurd/Versions (libc: GLIBC_2.0):
23489         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23490         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23491         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23492         * mach/Versions: Likewise.
23494         * csu/Versions: Remove unused %include.
23495         * resolv/Versions: Likewise.
23497 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23499         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23500         ($(objpfx)check-local-headers.out): Likewise.
23501         ($(objpfx)begin-end-check.out): Likewise.
23502         * Makerules (check-abi-%.out): Likewise.
23503         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23504         ($(objpfx)test2.cat): Likewise.
23505         ($(objpfx)de/libc.cat): Likewise.
23506         ($(objpfx)test-gencat.out): Likewise.
23507         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23508         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23509         ($(objpfx)noload-mem): Likewise.
23510         ($(objpfx)tst-pathopt.out): Likewise.
23511         ($(objpfx)tst-rtld-load-self.out): Likewise.
23512         ($(objpfx)tst-array1-cmp.out): Likewise.
23513         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23514         ($(objpfx)tst-array2-cmp.out): Likewise.
23515         ($(objpfx)tst-array3-cmp.out): Likewise.
23516         ($(objpfx)tst-array4-cmp.out): Likewise.
23517         ($(objpfx)tst-array5-cmp.out): Likewise.
23518         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23519         ($(objpfx)check-textrel.out): Likewise.
23520         ($(objpfx)check-execstack.out): Likewise.
23521         ($(objpfx)check-localplt.out): Likewise.
23522         ($(objpfx)order2-cmp.out): Likewise.
23523         ($(objpfx)tst-leaks1-mem): Likewise.
23524         ($(objpfx)tst-leaks1-static-mem): Likewise.
23525         ($(objpfx)tst-initorder-cmp.out): Likewise.
23526         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23527         ($(objpfx)tst-unused-dep.out): Likewise.
23528         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23529         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23530         * iconv/Makefile (test-iconvconfig): Likewise.
23531         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23532         ($(objpfx)iconv-test.out): Likewise.
23533         ($(objpfx)tst-tables.out): Likewise.
23534         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23535         ($(objpfx)tst-gettext.out): Likewise.
23536         ($(objpfx)tst-translit.out): Likewise.
23537         ($(objpfx)tst-gettext2.out): Likewise.
23538         ($(objpfx)tst-gettext4.out): Likewise.
23539         ($(objpfx)tst-gettext6.out): Likewise.
23540         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23541         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23542         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23543         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23544         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23545         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23546         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23547         ($(objpfx)wordexp-tst.out): Likewise.
23548         ($(objpfx)annexc.out): Likewise.
23549         ($(objpfx)tst-fnmatch-mem): Likewise.
23550         ($(objpfx)bug-regex2-mem): Likewise.
23551         ($(objpfx)bug-regex14-mem): Likewise.
23552         ($(objpfx)bug-regex21-mem): Likewise.
23553         ($(objpfx)bug-regex31-mem): Likewise.
23554         ($(objpfx)tst-vfork3-mem): Likewise.
23555         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23556         ($(objpfx)tst-pcre-mem): Likewise.
23557         ($(objpfx)tst-boost-mem): Likewise.
23558         ($(objpfx)tst-getconf.out): Likewise.
23559         ($(objpfx)bug-ga2-mem): Likewise.
23560         ($(objpfx)bug-glob2-mem): Likewise.
23561         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23562         ($(objpfx)mtrace-tst-leaks2): Likewise.
23563         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23564         ($(objpfx)tst-printf.out): Likewise.
23565         ($(objpfx)tst-setvbuf1.out): Likewise.
23566         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23567         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23568         ($(objpfx)tst-fmtmsg.out): Likewise.
23569         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23570         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23572         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23573         * bits/sigaction.h [__USE_MISC]: Likewise.
23574         * bits/waitstatus.h: Update #endif comments.
23575         * ctype/ctype.h: Likewise.
23576         * dirent/dirent.h: Likewise.
23577         [__USE_MISC]: Remove redundant conditionals.
23578         * grp/grp.h: Update #endif comments.
23579         [__USE_GNU]: Remove redundant conditionals.
23580         [__USE_MISC]: Likewise.
23581         * inet/netinet/in.h [__USE_GNU]: Likewise.
23582         * io/sys/stat.h [__USE_MISC]: Likewise.
23583         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23584         * libio/bits/stdio.h: Update #endif comments.
23585         [__USE_MISC]: Remove redundant conditionals.
23586         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23587         * libio/stdio.h: Update #endif comments.
23588         [__USE_MISC]: Remove redundant conditionals.
23589         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23590         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23591         * math/math.h: Update #else and #endif comments.
23592         [__USE_MISC]: Remove redundant conditionals.
23593         * misc/sys/uio.h: Update #endif comments.
23594         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23595         * posix/glob.h [__USE_MISC]: Likewise.
23596         * posix/sys/types.h: Update #endif comments.
23597         [__USE_MISC]: Remove redundant conditionals.
23598         * posix/sys/wait.h: Update #endif comments.
23599         [__USE_MISC]: Remove redundant conditionals.
23600         * posix/unistd.h: Update #endif comments.
23601         [__USE_MISC]: Remove redundant conditionals.
23602         * pwd/pwd.h [__USE_GNU]: Likewise.
23603         [__USE_MISC]: Likewise.
23604         * resolv/netdb.h [__USE_GNU]: Likewise.
23605         * signal/signal.h: Update #endif comments.
23606         [__USE_MISC]: Remove redundant conditionals.
23607         * stdlib/stdlib.h: Update #else and #endif comments.
23608         [__USE_MISC]: Remove redundant conditionals.
23609         [__USE_GNU]: Likewise.
23610         * string/bits/string2.h [__USE_MISC]: Likewise.
23611         * string/string.h: Update #endif comments.
23612         [__USE_MISC]: Remove redundant conditionals.
23613         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23614         Likewise.
23615         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23616         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23617         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23618         Likewise.
23619         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23620         Likewise.
23621         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23622         comments.
23623         [__USE_MISC]: Remove redundant conditionals.
23624         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23625         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23626         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23627         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23628         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23629         Likewise.
23630         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23631         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23632         Likewise.
23633         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23634         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23635         Likewise.
23636         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23637         Likewise.
23638         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23639         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23640         Likewise.
23641         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23642         Likewise.
23643         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23644         * sysdeps/x86/bits/string.h: Update #endif comments.
23645         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23646         conditionals.
23647         * time/sys/time.h: Update #endif comments.
23648         * time/time.h: Likewise.
23649         [__USE_MISC]: Remove redundant conditionals.
23651 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23653         [BZ #16600]
23654         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23656 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23658         * Versions.def (librt): Add GLIBC_2.17.
23660 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23662         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23663         synonym for _SYS_AUXV_H to allow direct inclusion.
23664         * sysdeps/sparc/bits/hwcap.h: Likewise.
23665         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23666         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23667         * sysdeps/sparc/sysdep.h: Likewise.
23669 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23671         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23673 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23675         * benchtests/bench-strrchr.c: Print length instead of position.
23677 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23679         [BZ #16611]
23680         * sysdeps/unix/sysv/linux/kernel-features.h
23681         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23682         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23683         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23684         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23685         Likewise.
23686         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23687         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23688         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23689         (__ASSUME_SENDMMSG): Define instead of using previous
23690         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23691         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23692         (__ASSUME_SENDMMSG_SYSCALL): Define.
23693         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23694         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23695         Likewise.
23696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23697         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23698         Likewise.
23699         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23700         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23701         Likewise.
23702         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23703         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23704         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23705         [__ASSUME_SENDMMSG]: Change conditionals to
23706         [__ASSUME_SENDMMSG_SOCKETCALL].
23707         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23708         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23709         Define.
23710         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23711         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23712         Likewise.
23713         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23714         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23715         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23716         [!__ASSUME_SENDMMSG]: Change conditional to
23717         [!__ASSUME_SENDMMSG_SOCKETCALL].
23718         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23719         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23720         Define.
23722         [BZ #16610]
23723         * sysdeps/unix/sysv/linux/kernel-features.h
23724         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23725         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23726         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23727         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23728         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23729         [__i386__ || __sparc__]
23730         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23731         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23732         (__ASSUME_RECVMMSG): Define instead of using previous
23733         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23734         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23735         (__ASSUME_RECVMMSG_SYSCALL): Define.
23736         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23737         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23738         Likewise.
23739         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23740         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23741         Likewise.
23742         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23743         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23744         Likewise.
23745         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23746         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23747         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23748         [__ASSUME_RECVMMSG]: Change condition to
23749         [__ASSUME_RECVMMSG_SOCKETCALL].
23750         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23751         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23752         Define.
23753         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23754         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23755         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23756         Likewise.
23757         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23758         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23759         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23760         [!__ASSUME_RECVMMSG]: Change condition to
23761         [!__ASSUME_RECVMMSG_SOCKETCALL].
23762         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23763         (__ASSUME_RECVMMSG_SYSCALL): Define.
23765         [BZ #16609]
23766         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23767         __powerpc__ || __s390__ || __sh__ || __sparc__]
23768         (__ASSUME_SOCKETCALL): Define.
23769         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23770         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23771         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23772         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23773         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23774         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23775         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23776         (__ASSUME_ACCEPT4): Define instead of using previous
23777         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23778         __powerpc__ || __sparc__ || __s390__)] condition.
23779         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23780         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23781         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23782         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23783         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23784         [!__ASSUME_ACCEPT4]: Change condition to
23785         [!__ASSUME_ACCEPT4_SOCKETCALL].
23786         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23787         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23788         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23789         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23790         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23791         __ASSUME_ACCEPT4_SYSCALL.
23792         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23793         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23794         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23795         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23796         __ASSUME_ACCEPT4_SYSCALL.
23797         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23798         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23799         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23800         [__ASSUME_ACCEPT4]: Change condition to
23801         [__ASSUME_ACCEPT4_SOCKETCALL].
23802         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23803         (__ASSUME_SOCKETCALL): Define.
23804         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23805         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23806         (__ASSUME_SOCKETCALL): Define.
23807         (__ASSUME_ACCEPT4): Remove.
23808         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23809         Define.
23810         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23811         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23812         Likewise.
23813         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23814         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23816         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23817         macro.
23818         (HWCAP_ARM_LPAE): Likewise.
23819         (HWCAP_ARM_EVTSTRM): Likewise.
23820         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23821         Add vpfd32, lpae and evtstrm.
23822         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23823         Increase to 22.
23825 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23827         * math/auto-libm-test-in: Add tests of clog10.
23828         * math/auto-libm-test-out: Regenerated.
23829         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23830         * sysdeps/i386/fpu/libm-test-ulps: Update.
23831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23833 2014-02-18  Andreas Schwab  <schwab@suse.de>
23835         [BZ #16574]
23836         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23837         Store non-zero if the second buffer was newly allocated.
23838         (send_dg): Likewise.
23839         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23840         to send_vc and send_dg.
23841         (res_nsend): Pass NULL for ansp2_malloced.
23842         * resolv/res_query.c (__libc_res_nquery): Add parameter
23843         answerp2_malloced and pass it down to __libc_res_nsend.
23844         (res_nquery): Pass additional NULL to __libc_res_nquery.
23845         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23846         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23847         second answer buffer if answerp2_malloced was set.
23848         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23849         (__libc_res_nquerydomain): Add parameter
23850         answerp2_malloced and pass it down to __libc_res_nquery.
23851         (res_nquerydomain): Pass additional NULL to
23852         __libc_res_nquerydomain.
23853         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23854         additional NULL to __libc_res_nsend and __libc_res_nquery.
23855         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23856         additional NULL to __libc_res_nsearch.
23857         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23858         parameter of __libc_res_nsearch to check for separately allocated
23859         second buffer.
23860         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23861         __libc_res_nquery.
23862         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23863         additional NULL to __libc_res_nquery.
23864         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23865         __libc_res_nsearch.
23866         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23867         * include/resolv.h: Update prototypes of __libc_res_nquery,
23868         __libc_res_nsearch, __libc_res_nsend.
23870 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23872         * math/auto-libm-test-in: Add tests of fma.
23873         * math/auto-libm-test-out: Regenerated.
23874         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23875         (fma_towardzero_test_data): Likewise.
23876         (fma_downward_test_data): Likewise.
23877         (fma_upward_test_data): Likewise.
23878         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23879         mpc_mode.
23880         (rounding_modes): Add values for new field.
23881         (func_calc_method): Add value mpfr_fff_f.
23882         (func_calc_desc): Add mpfr_fff_f union field.
23883         (test_function): Add field exact_args.
23884         (FUNC): Add macro argument EXACT_ARGS.
23885         (FUNC_mpfr_f_f): Update call to FUNC.
23886         (FUNC_mpfr_f_f): Likewise.
23887         (FUNC_mpfr_ff_f): Likewise.
23888         (FUNC_mpfr_if_f): Likewise.
23889         (FUNC_mpc_c_f): Likewise.
23890         (FUNC_mpc_c_c): Likewise.
23891         (test_functions): Add fma.  Update calls to FUNC.
23892         (handle_input_arg): Add argument exact_args.
23893         (add_test): Update call to handle_input_arg.
23894         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23895         (output_for_one_input_case): Update call to calc_generic_results.
23896         Recalculate exact zero results in each rounding mode.
23898         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23899         non-negative before setting low bit.
23900         * math/auto-libm-test-in: Mark one asin test possibly having
23901         spurious underflow.
23902         * math/auto-libm-test-out: Regenerated.
23903         * sysdeps/i386/fpu/libm-test-ulps: Update.
23904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23906 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23908         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23909         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23910         ports/sysdeps/unix/sysv/linux/microblaze.
23911         * README: Add missing listing for microblaze*-*-linux-gnu.
23913 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23915         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23916         duplicate code
23918 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23920         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23921         * sysdeps/unix/sysv/linux/ia64: Move directory from
23922         ports/sysdeps/unix/sysv/linux/ia64.
23923         * README: Update listing for ia64-*-linux-gnu.
23925 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23926             Joseph Myers  <joseph@codesourcery.com>
23928         * Makeconfig (test-name): New variable.
23929         (evaluate-test): Likewise.
23930         * Makerules (do-test-clean): Remove .test-result files.
23931         (common-mostlyclean): Likewise.
23932         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23933         * scripts/evaluate-test.sh: New file.
23935 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23937         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23938         separate $(objpfx)tst-fopenloc-cmp.out and
23939         $(objpfx)tst-fopenloc-mem.out targets.
23940         (tests): Update dependencies.
23941         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23942         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23943         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23944         (tst-rxspencer-no-utf8-ARGS): New variable.
23945         (tst-rxspencer-no-utf8-ENV): Likewise.
23946         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23947         instead of $(objpfx)tst-rxspencer-mem.
23948         ($(objpfx)tst-rxspencer-mem): Change target to
23949         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23950         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23951         * posix/tst-rxspencer-no-utf8.c: New file.
23953         * elf/Makefile ($(objpfx)order.out): Remove rule.
23954         [$(run-built-tests) = yes] (tests): Depend on
23955         $(objpfx)order-cmp.out.
23956         ($(objpfx)order-cmp.out): New rule.
23957         [$(run-built-tests) = yes] (tests): Depend on
23958         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23959         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23960         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23961         $(objpfx)tst-array5-static-cmp.out.
23962         ($(objpfx)tst-array1.out): Remove rule.
23963         ($(objpfx)tst-array1-cmp.out): New rule.
23964         ($(objpfx)tst-array1-static.out): Remove rule.
23965         ($(objpfx)tst-array1-static-cmp.out): New rule.
23966         ($(objpfx)tst-array2.out): Remove rule.
23967         ($(objpfx)tst-array2-cmp.out): New rule.
23968         ($(objpfx)tst-array3.out): Remove rule.
23969         ($(objpfx)tst-array3-cmp.out): New rule.
23970         ($(objpfx)tst-array4.out): Remove rule.
23971         ($(objpfx)tst-array4-cmp.out): New rule.
23972         ($(objpfx)tst-array5.out): Remove rule.
23973         ($(objpfx)tst-array5-cmp.out): New rule.
23974         ($(objpfx)tst-array5-static.out): Remove rule.
23975         ($(objpfx)tst-array5-static-cmp.out): New rule.
23976         [$(run-built-tests) = yes] (tests): Depend on
23977         $(objpfx)order2-cmp.out.
23978         ($(objpfx)order2.out): Remove rule.
23979         ($(objpfx)order2-cmp.out): New rule.
23980         ($(objpfx)tst-initorder.out): Remove rule.
23981         [$(run-built-tests) = yes] (tests): Depend on
23982         $(objpfx)tst-initorder-cmp.out.
23983         ($(objpfx)tst-initorder-cmp.out): New rule.
23984         ($(objpfx)tst-initorder2.out): Remove rule.
23985         [$(run-built-tests) = yes] (tests): Depend on
23986         $(objpfx)tst-initorder2-cmp.out.
23987         ($(objpfx)tst-initorder2-cmp.out): New rule.
23988         [$(run-built-tests) = yes] (tests): Depend on
23989         $(objpfx)tst-unused-dep-cmp.out.
23990         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23991         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23992         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23993         on $(objpfx)tst-setvbuf1-cmp.out.
23994         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23995         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23996         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23997         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23998         ($(objpfx)tst-svc.out): Remove rule.
23999         ($(objpfx)tst-svc-cmp.out): New rule.
24001 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24003         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24004         * ctype/ctype.h [__USE_MISC]: Likewise.
24005         * dirent/dirent.h [__USE_MISC]: Likewise.
24006         * grp/grp.h [__USE_MISC]: Likewise.
24007         * io/fcntl.h [__USE_MISC]: Likewise.
24008         * io/sys/stat.h [__USE_MISC]: Likewise.
24009         * libio/stdio.h [__USE_MISC]: Likewise.
24010         * posix/unistd.h [__USE_MISC]: Likewise.
24011         * pwd/pwd.h [__USE_MISC]: Likewise.
24012         * stdlib.h [__USE_MISC]: Likewise.
24013         * string/bits/string2.h [__USE_MISC]: Likewise.
24014         * string/string.h [__USE_MISC]: Likewise.
24015         * time/time.h [__USE_MISC]: Likewise.
24017 2014-02-13  Andreas Schwab  <schwab@suse.de>
24019         [BZ #16574]
24020         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24021         second answer buffer if it was separately allocated.
24023 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24025         * sysdeps/mips/math-tests.h: Include <features.h>.
24026         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24027         (ROUNDING_TESTS_long_double): Do not define.
24028         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24029         (EXCEPTION_TESTS_long_double): Likewise.
24030         * sysdeps/mips/mips64/libm-test-ulps: Update.
24032         * include/features.h (__USE_BSD): Remove macro definitions.
24033         (__USE_SVID): Likewise.
24034         (_BSD_SOURCE): Likewise.
24035         (_SVID_SOURCE): Likewise.
24036         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24037         from definition of _DEFAULT_SOURCE.
24038         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24039         [_DEFAULT_SOURCE].
24040         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24041         * bits/mman.h [__USE_BSD]: Likewise.
24042         * bits/termios.h [__USE_BSD]: Likewise.
24043         * bits/waitstatus.h [__USE_BSD]: Likewise.
24044         * ctype/ctype.h [__USE_SVID]: Likewise.
24045         * dirent/dirent.h [__USE_BSD]: Likewise.
24046         * grp/grp.h [__USE_SVID]: Likewise.
24047         [__USE_BSD]: Likewise.
24048         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24049         * io/fcntl.h [__USE_BSD]: Likewise.
24050         * io/ftw.h [__USE_BSD]: Likewise.
24051         * io/sys/stat.h [__USE_BSD]: Likewise.
24052         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24053         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24054         * libio/stdio.h [__USE_SVID]: Likewise.
24055         [__USE_BSD]: Likewise.
24056         * math/math.h [__USE_SVID]: Likewise.
24057         [__USE_BSD]: Likewise.
24058         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24059         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24060         * misc/search.h [__USE_SVID]: Likewise.
24061         * misc/sys/mman.h [__USE_BSD]: Likewise.
24062         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24063         * misc/sys/uio.h [__USE_BSD]: Likewise.
24064         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24065         * posix/glob.h [__USE_BSD]: Likewise.
24066         * posix/regex.h [__USE_BSD]: Likewise.
24067         * posix/sys/types.h [__USE_BSD]: Likewise.
24068         [__USE_SVID]: Likewise.
24069         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24070         * posix/sys/wait.h [__USE_BSD]: Likewise.
24071         [__USE_SVID]: Likewise.
24072         * posix/unistd.h [__USE_BSD]: Likewise.
24073         [__USE_SVID]: Likewise.
24074         * pwd/pwd.h [__USE_SVID]: Likewise.
24075         * resolv/netdb.h [__USE_BSD]: Likewise.
24076         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24077         * signal/signal.h [__USE_BSD]: Likewise.
24078         [__USE_SVID]: Likewise.
24079         * socket/sys/socket.h [__USE_BSD]: Likewise.
24080         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24081         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24082         [__USE_SVID]: Likewise.
24083         * string/bits/string2.h [__USE_BSD]: Likewise.
24084         [__USE_SVID]: Likewise.
24085         * string/bits/string3.h [__USE_BSD]: Likewise.
24086         * string/endian.h [__USE_BSD]: Likewise.
24087         * string/string.h [__USE_SVID]: Likewise.
24088         [__USE_BSD]: Likewise.
24089         * string/strings.h [__USE_BSD]: Likewise.
24090         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24091         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24092         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24093         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24094         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24095         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24096         Likewise.
24097         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24098         Likewise.
24099         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24100         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24101         Likewise.
24102         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24103         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24104         Likewise.
24105         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24106         Likewise.
24107         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24108         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24109         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24110         Likewise.
24111         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24112         Likewise.
24113         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24114         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24115         * termios/termios.h [__USE_BSD]: Likewise.
24116         * time/sys/time.h [__USE_BSD]: Likewise.
24117         * time/time.h [__USE_BSD]: Likewise.
24118         [__USE_SVID]: Likewise.
24120         * Makefile (subdir_targets): Remove subdir_lint.out.
24122         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24123         (do-tst-printf): Likewise.
24124         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24125         $(objpfx)tst-printf.out.
24127         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24129         * Makerules (check-abi-%): Change target to
24130         $(objpfx)check-abi-%.out.
24131         (check-abi target): Update dependencies.
24132         (check-abi-pattern variable): Redirect output of diff to $@.
24133         (check-abi variable): Likewise.
24134         * elf/Makefile (check-abi): Update dependencies.
24136         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24137         unused.
24138         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24139         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24140         subnormal range.
24141         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24142         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24143         value has largest subnormal exponent.
24144         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24145         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24146         * sysdeps/aarch64/soft-fp/sfp-machine.h
24147         (_FP_TININESS_AFTER_ROUNDING): New macro.
24148         * sysdeps/alpha/soft-fp/sfp-machine.h
24149         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24150         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24151         Likewise.
24152         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24153         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24154         * sysdeps/mips/soft-fp/sfp-machine.h
24155         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24156         * sysdeps/powerpc/soft-fp/sfp-machine.h
24157         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24158         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24159         Likewise.
24160         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24161         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24162         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24163         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24164         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24165         Likewise.
24167 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24169         [BZ #16545]
24170         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24171         model 1.
24173 2014-02-12  Richard Henderson  <rth@redhat.com>
24175         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24176         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24177         * sysdeps/unix/sysv/linux/alpha: Move directory from
24178         ports/sysdeps/unix/sysv/linux/alpha.
24179         * README: Update listing for alpha-*-linux-gnu.
24181 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24183         * include/features.h: Update comment documenting feature test
24184         macros.
24185         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24186         _DEFAULT_SOURCE.
24187         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24188         (_SVID_SOURCE): Likewise.
24189         (_DEFAULT_SOURCE): Update description of default features.
24190         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24191         with _GNU_SOURCE.
24192         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24193         (S_ISVTX): Likewise.
24194         * manual/math.texi (Mathematical Constants): Likewise.
24195         * manual/signal.texi (Interrupted Primitives): Likewise.
24196         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24197         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24198         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24199         Don't refer to _SVID_SOURCE in warning text.
24201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24203         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24204         already defined.
24205         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24206         * sysdeps/mips/dl-lookup.c: Remove.
24207         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24209 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24211         [BZ #16447]
24212         * math/auto-libm-test-in: Add testcase for expl.
24213         * math/auto-libm-test-out: Regenerate.
24214         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24215         calculation of unsafe.
24216         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24218 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24220         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24221         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24222         ports/sysdeps/unix/sysv/linux/aarch64.
24223         * README: Update listing for aarch64*-*-linux-gnu.
24225 2014-02-11  Will Newton  <will.newton@linaro.org>
24227         * manual/probes.texi (Mathematical Function Probes): Use
24228         "triggered" instead of "hit".
24230         * manual/probes.texi (Internal Probes): Add documentation
24231         of setjmp, longjmp and longjmp_target probes.
24233         * include/stap-probe.h: Add comment about probe argument
24234         format.
24236         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24237         definition.  (tr_where, tr_freehook, tr_mallochook,
24238         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24240 2014-02-11  David S. Miller  <davem@davemloft.net>
24242         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24243         processing int_tests.
24245 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24247         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24248         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24249         * sysdeps/unix/sysv/linux/mips: Move directory from
24250         ports/sysdeps/unix/sysv/linux/mips.
24251         * README: Update listing for mips-*-linux-gnu and
24252         mips64-*-linux-gnu.
24254 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24256         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24257         * sysdeps/unix/sysv/linux/m68k: Move directory from
24258         ports/sysdeps/unix/sysv/linux/m68k.
24259         * README: Update listing for m68k-*-linux-gnu.
24261 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24263         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24264         * sysdeps/unix/sysv/linux/generic: Move directory from
24265         ports/sysdeps/unix/sysv/linux/generic.
24266         * sysdeps/unix/sysv/linux/tile: Move directory from
24267         ports/sysdeps/unix/sysv/linux/tile.
24268         * README: Update listing for tile*-*-linux-gnu.
24270 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24272         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24273         __builtin_expect.
24274         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24275         * catgets/open_catalog.c (__open_catalog): Likewise.
24276         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24277         * debug/confstr_chk.c: Likewise.
24278         * debug/fread_chk.c (__fread_chk): Likewise.
24279         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24280         * debug/getgroups_chk.c: Likewise.
24281         * debug/mbsnrtowcs_chk.c: Likewise.
24282         * debug/mbsrtowcs_chk.c: Likewise.
24283         * debug/mbstowcs_chk.c: Likewise.
24284         * debug/memcpy_chk.c: Likewise.
24285         * debug/memmove_chk.c: Likewise.
24286         * debug/mempcpy_chk.c: Likewise.
24287         * debug/memset_chk.c: Likewise.
24288         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24289         * debug/strcat_chk.c (__strcat_chk): Likewise.
24290         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24291         * debug/strncat_chk.c (__strncat_chk): Likewise.
24292         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24293         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24294         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24295         * debug/wcpncpy_chk.c: Likewise.
24296         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24297         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24298         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24299         * debug/wcsncpy_chk.c: Likewise.
24300         * debug/wcsnrtombs_chk.c: Likewise.
24301         * debug/wcsrtombs_chk.c: Likewise.
24302         * debug/wcstombs_chk.c: Likewise.
24303         * debug/wmemcpy_chk.c: Likewise.
24304         * debug/wmemmove_chk.c: Likewise.
24305         * debug/wmempcpy_chk.c: Likewise.
24306         * debug/wmemset_chk.c: Likewise.
24307         * dirent/scandirat.c (SCANDIRAT): Likewise.
24308         * dlfcn/dladdr1.c (dladdr1): Likewise.
24309         * dlfcn/dladdr.c (dladdr): Likewise.
24310         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24311         * dlfcn/dlerror.c (__dlerror): Likewise.
24312         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24313         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24314         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24315         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24316         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24317         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24318         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24319         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24320         Likewise.
24321         * elf/dl-conflict.c: Likewise.
24322         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24323         * elf/dl-dst.h: Likewise.
24324         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24325         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24326         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24327         * elf/dl-init.c (call_init, _dl_init): Likewise.
24328         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24329         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24330         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24331         Likewise.
24332         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24333         Likewise.
24334         * elf/dl-minimal.c (__libc_memalign): Likewise.
24335         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24336         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24337         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24338         * elf/dl-sym.c (do_sym): Likewise.
24339         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24340         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24341         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24342         * elf/dl-writev.h (_dl_writev): Likewise.
24343         * elf/ldconfig.c (search_dir): Likewise.
24344         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24345         (dl_main): Likewise.
24346         * elf/setup-vdso.h (setup_vdso): Likewise.
24347         * grp/compat-initgroups.c (compat_call): Likewise.
24348         * grp/fgetgrent.c (fgetgrent): Likewise.
24349         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24350         * grp/putgrent.c (putgrent): Likewise.
24351         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24352         Likewise.
24353         * hurd/hurdinit.c: Likewise.
24354         * iconvdata/8bit-gap.c (struct): Likewise.
24355         * iconvdata/ansi_x3.110.c : Likewise.
24356         * iconvdata/big5.c : Likewise.
24357         * iconvdata/big5hkscs.c : Likewise.
24358         * iconvdata/cp1255.c: Likewise.
24359         * iconvdata/cp1258.c : Likewise.
24360         * iconvdata/cp932.c : Likewise.
24361         * iconvdata/euc-cn.c: Likewise.
24362         * iconvdata/euc-jisx0213.c : Likewise.
24363         * iconvdata/euc-jp.c: Likewise.
24364         * iconvdata/euc-jp-ms.c : Likewise.
24365         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24366         * iconvdata/gb18030.c : Likewise.
24367         * iconvdata/gbbig5.c (const): Likewise.
24368         * iconvdata/gbgbk.c: Likewise.
24369         * iconvdata/gbk.c : Likewise.
24370         * iconvdata/ibm1364.c : Likewise.
24371         * iconvdata/ibm930.c : Likewise.
24372         * iconvdata/ibm932.c: Likewise.
24373         * iconvdata/ibm933.c : Likewise.
24374         * iconvdata/ibm935.c : Likewise.
24375         * iconvdata/ibm937.c : Likewise.
24376         * iconvdata/ibm939.c : Likewise.
24377         * iconvdata/ibm943.c: Likewise.
24378         * iconvdata/iso_11548-1.c: Likewise.
24379         * iconvdata/iso-2022-cn.c : Likewise.
24380         * iconvdata/iso-2022-cn-ext.c : Likewise.
24381         * iconvdata/iso-2022-jp-3.c: Likewise.
24382         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24383         * iconvdata/iso-2022-kr.c : Likewise.
24384         * iconvdata/iso646.c (gconv_end): Likewise.
24385         * iconvdata/iso_6937-2.c : Likewise.
24386         * iconvdata/iso_6937.c : Likewise.
24387         * iconvdata/iso8859-1.c: Likewise.
24388         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24389         * iconvdata/shift_jisx0213.c : Likewise.
24390         * iconvdata/sjis.c : Likewise.
24391         * iconvdata/t.61.c : Likewise.
24392         * iconvdata/tcvn5712-1.c : Likewise.
24393         * iconvdata/tscii.c: Likewise.
24394         * iconvdata/uhc.c : Likewise.
24395         * iconvdata/unicode.c (gconv_end): Likewise.
24396         * iconvdata/utf-16.c (gconv_end): Likewise.
24397         * iconvdata/utf-32.c (gconv_end): Likewise.
24398         * iconvdata/utf-7.c (base64): Likewise.
24399         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24400         * iconv/gconv_close.c (__gconv_close): Likewise.
24401         * iconv/gconv_open.c (__gconv_open): Likewise.
24402         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24403         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24404         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24405         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24406         (ucs4le_internal_loop_single): Likewise.
24407         * iconv/iconv.c (iconv): Likewise.
24408         * iconv/iconv_close.c: Likewise.
24409         * iconv/loop.c (SINGLE): Likewise.
24410         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24411         * include/atomic.h: Likewise.
24412         * inet/inet6_option.c (option_alloc): Likewise.
24413         * intl/bindtextdom.c (set_binding_values): Likewise.
24414         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24415         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24416         * intl/localealias.c (read_alias_file): Likewise.
24417         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24418         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24419         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24420         * libio/fmemopen.c (fmemopen): Likewise.
24421         * libio/iofgets.c (_IO_fgets): Likewise.
24422         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24423         * libio/iofgetws.c (fgetws): Likewise.
24424         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24425         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24426         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24427         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24428         * locale/findlocale.c (_nl_find_locale): Likewise.
24429         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24430         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24431         Likewise.
24432         * locale/setlocale.c (setlocale): Likewise.
24433         * login/programs/pt_chown.c (main): Likewise.
24434         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24435         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24436         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24437         (mmap, mmap64, mremap, munmap): Likewise.
24438         * math/e_exp2l.c: Likewise.
24439         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24440         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24441         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24442         * math/s_catan.c (__catan): Likewise.
24443         * math/s_catanf.c (__catanf): Likewise.
24444         * math/s_catanh.c (__catanh): Likewise.
24445         * math/s_catanhf.c (__catanhf): Likewise.
24446         * math/s_catanhl.c (__catanhl): Likewise.
24447         * math/s_catanl.c (__catanl): Likewise.
24448         * math/s_ccosh.c (__ccosh): Likewise.
24449         * math/s_ccoshf.c (__ccoshf): Likewise.
24450         * math/s_ccoshl.c (__ccoshl): Likewise.
24451         * math/s_cexp.c (__cexp): Likewise.
24452         * math/s_cexpf.c (__cexpf): Likewise.
24453         * math/s_cexpl.c (__cexpl): Likewise.
24454         * math/s_clog10.c (__clog10): Likewise.
24455         * math/s_clog10f.c (__clog10f): Likewise.
24456         * math/s_clog10l.c (__clog10l): Likewise.
24457         * math/s_clog.c (__clog): Likewise.
24458         * math/s_clogf.c (__clogf): Likewise.
24459         * math/s_clogl.c (__clogl): Likewise.
24460         * math/s_csin.c (__csin): Likewise.
24461         * math/s_csinf.c (__csinf): Likewise.
24462         * math/s_csinh.c (__csinh): Likewise.
24463         * math/s_csinhf.c (__csinhf): Likewise.
24464         * math/s_csinhl.c (__csinhl): Likewise.
24465         * math/s_csinl.c (__csinl): Likewise.
24466         * math/s_csqrt.c (__csqrt): Likewise.
24467         * math/s_csqrtf.c (__csqrtf): Likewise.
24468         * math/s_csqrtl.c (__csqrtl): Likewise.
24469         * math/s_ctan.c (__ctan): Likewise.
24470         * math/s_ctanf.c (__ctanf): Likewise.
24471         * math/s_ctanh.c (__ctanh): Likewise.
24472         * math/s_ctanhf.c (__ctanhf): Likewise.
24473         * math/s_ctanhl.c (__ctanhl): Likewise.
24474         * math/s_ctanl.c (__ctanl): Likewise.
24475         * math/w_pow.c: Likewise.
24476         * math/w_powf.c: Likewise.
24477         * math/w_powl.c: Likewise.
24478         * math/w_scalb.c (sysv_scalb): Likewise.
24479         * math/w_scalbf.c (sysv_scalbf): Likewise.
24480         * math/w_scalbl.c (sysv_scalbl): Likewise.
24481         * misc/error.c (error_tail): Likewise.
24482         * misc/pselect.c (__pselect): Likewise.
24483         * nis/nis_callback.c (__nis_create_callback): Likewise.
24484         * nis/nis_call.c (__nisfind_server): Likewise.
24485         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24486         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24487         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24488         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24489         * nis/nis_lookup.c (nis_lookup): Likewise.
24490         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24491         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24492         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24493         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24494         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24495         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24496         * nis/nss_compat/compat-initgroups.c (add_group)
24497         (internal_getgrent_r): Likewise.
24498         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24499         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24500         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24501         (internal_getspnam_r): Likewise.
24502         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24503         (_nss_nis_getaliasbyname_r): Likewise.
24504         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24505         (_nss_nis_getntohost_r): Likewise.
24506         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24507         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24508         (_nss_nis_getgrgid_r): Likewise.
24509         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24510         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24511         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24512         (_nss_nis_gethostbyname4_r): Likewise.
24513         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24514         (initgroups_netid): Likewise.
24515         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24516         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24517         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24518         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24519         (_nss_nis_getprotobynumber_r): Likewise.
24520         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24521         (_nss_nis_getsecretkey): Likewise.
24522         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24523         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24524         (_nss_nis_getpwuid_r): Likewise.
24525         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24526         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24527         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24528         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24529         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24530         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24531         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24532         Likewise.
24533         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24534         (_nss_nisplus_getntohost_r): Likewise.
24535         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24536         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24537         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24538         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24539         Likewise.
24540         * nis/nss_nisplus/nisplus-initgroups.c
24541         (_nss_nisplus_initgroups_dyn): Likewise.
24542         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24543         (_nss_nisplus_getnetbyaddr_r): Likewise.
24544         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24545         (_nss_nisplus_getprotobynumber_r): Likewise.
24546         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24547         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24548         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24549         Likewise.
24550         * nis/nss_nisplus/nisplus-service.c
24551         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24552         (_nss_nisplus_getservbyport_r): Likewise.
24553         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24554         (_nss_nisplus_getspnam_r): Likewise.
24555         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24556         Likewise.
24557         * nscd/aicache.c (addhstaiX): Likewise.
24558         * nscd/cache.c (cache_search, prune_cache): Likewise.
24559         * nscd/connections.c (register_traced_file, send_ro_fd)
24560         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24561         (main_loop_epoll): Likewise.
24562         * nscd/grpcache.c (addgrbyX): Likewise.
24563         * nscd/hstcache.c (addhstbyX): Likewise.
24564         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24565         * nscd/mem.c (gc, mempool_alloc): Likewise.
24566         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24567         (addinnetgrX): Likewise.
24568         * nscd/nscd-client.h (__nscd_acquire_maplock)
24569         (__nscd_drop_map_ref): Likewise.
24570         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24571         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24572         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24573         Likewise.
24574         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24575         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24576         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24577         (__nscd_get_map_ref): Likewise.
24578         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24579         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24580         Likewise.
24581         * nscd/pwdcache.c (addpwbyX): Likewise.
24582         * nscd/selinux.c (preserve_capabilities): Likewise.
24583         * nscd/servicescache.c (addservbyX): Likewise.
24584         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24585         * posix/fnmatch.c (fnmatch): Likewise.
24586         * posix/getopt.c (_getopt_internal_r): Likewise.
24587         * posix/glob.c (glob, glob_in_dir): Likewise.
24588         * posix/wordexp.c (exec_comm_child): Likewise.
24589         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24590         (getanswer_r, gaih_getanswer_slice): Likewise.
24591         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24592         * resolv/res_init.c: Likewise.
24593         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24594         * resolv/res_query.c (__libc_res_nquery): Likewise.
24595         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24596         Likewise.
24597         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24598         * stdio-common/perror.c (perror): Likewise.
24599         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24600         * stdio-common/tmpnam.c (tmpnam): Likewise.
24601         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24602         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24603         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24604         Likewise.
24605         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24606         * stdlib/putenv.c (putenv): Likewise.
24607         * stdlib/setenv.c (__add_to_environ): Likewise.
24608         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24609         * stdlib/strtol_l.c (INTERNAL): Likewise.
24610         * string/memmem.c (memmem): Likewise.
24611         * string/strerror.c (strerror): Likewise.
24612         * string/strnlen.c (__strnlen): Likewise.
24613         * string/test-memmem.c (simple_memmem): Likewise.
24614         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24615         * sunrpc/pm_getport.c (__get_socket): Likewise.
24616         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24617         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24618         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24619         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24620         Likewise.
24621         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24622         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24623         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24624         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24625         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24626         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24627         Likewise.
24628         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24629         Likewise.
24630         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24631         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24632         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24633         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24634         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24636         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24637         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24638         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24639         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24640         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24641         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24642         Likewise.
24643         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24644         Likewise.
24645         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24646         Likewise.
24647         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24648         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24649         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24650         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24651         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24652         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24653         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24654         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24655         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24656         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24657         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24659         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24660         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24661         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24662         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24663         Likewise.
24664         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24665         Likewise.
24666         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24667         Likewise.
24668         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24669         Likewise.
24670         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24671         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24672         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24673         Likewise.
24674         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24675         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24676         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24677         * sysdeps/posix/sleep.c: Likewise.
24678         * sysdeps/posix/tempname.c: Likewise.
24679         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24680         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24681         Likewise.
24682         * sysdeps/powerpc/powerpc32/dl-machine.h
24683         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24684         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24686         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24687         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24688         Likewise.
24689         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24690         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24691         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24692         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24693         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24694         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24695         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24696         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24697         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24698         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24699         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24700         (elf_machine_lazy_rel): Likewise.
24701         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24702         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24703         (elf_machine_lazy_rel): Likewise.
24704         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24705         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24706         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24707         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24708         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24709         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24710         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24711         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24712         Likewise.
24713         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24714         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24715         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24716         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24717         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24718         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24719         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24720         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24721         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24722         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24723         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24724         Likewise.
24725         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24726         (__posix_fallocate64_l64): Likewise.
24727         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24728         (posix_fallocate): Likewise.
24729         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24730         Likewise.
24731         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24732         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24733         (getifaddrs_internal): Likewise.
24734         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24735         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24736         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24737         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24738         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24739         (__posix_fallocate64_l64): Likewise.
24740         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24741         Likewise.
24742         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24743         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24744         (__get_clockfreq): Likewise.
24745         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24746         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24747         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24748         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24749         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24750         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24751         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24752         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24753         Likewise.
24754         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24755         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24756         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24757         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24758         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24759         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24760         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24761         Likewise.
24762         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24763         (posix_fallocate): Likewise.
24764         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24765         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24766         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24767         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24768         (elf_machine_rela, elf_machine_rela_relative)
24769         (elf_machine_lazy_rel): Likewise.
24770         * time/asctime.c (asctime_internal): Likewise.
24771         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24772         * time/tzset.c (__tzset_parse_tz): Likewise.
24773         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24774         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24775         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24776         * wcsmbs/wcsmbsload.h: Likewise.
24778         [BZ #15894]
24779         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24781         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24782         (arena_get2): Remove THREAD_STATS conditionals.
24783         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24784         (__malloc_stats, int): Likewise.
24786 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24788         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24789         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24791         * manual/setjmp.texi: Fix typos/grammar errors.
24793         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24794         Only return early when n is <= 0.  Delete unused return statement.
24796         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24797         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24798         * debug/tst-longjmp_chk3.c: New file.
24800         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24801         (test_main): Replace code with set_fortify_handler call.
24802         * debug/test-strcpy_chk.c: Likewise.
24803         * debug/tst-chk1.c: Likewise.
24804         * debug/tst-longjmp_chk.c: Likewise.
24805         * test-skeleton.c: Include fcntl.h & paths.h
24806         (set_fortify_handler): Define.
24808         * debug/tst-longjmp_chk.c: Add header comment and include
24809         ../test-skeleton.c.
24810         (do_test): Mark static.
24811         (TEST_FUNCTION): Define.
24813         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24814         (IP_PMTUDISC_INTERFACE): Likewise.
24815         (IP_MULTICAST_IF): Likewise.
24816         (IP_MULTICAST_TTL): Likewise.
24817         (IP_MULTICAST_LOOP): Likewise.
24818         (IP_ADD_MEMBERSHIP): Likewise.
24819         (IP_DROP_MEMBERSHIP): Likewise.
24820         (IP_UNBLOCK_SOURCE): Likewise.
24821         (IP_BLOCK_SOURCE): Likewise.
24822         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24823         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24824         (IP_MSFILTER): Likewise.
24825         (MCAST_JOIN_GROUP): Likewise.
24826         (MCAST_BLOCK_SOURCE): Likewise.
24827         (MCAST_UNBLOCK_SOURCE): Likewise.
24828         (MCAST_LEAVE_GROUP): Likewise.
24829         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24830         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24831         (MCAST_MSFILTER): Likewise.
24832         (IP_MULTICAST_ALL): Likewise.
24833         (IP_UNICAST_IF): Likewise.
24835         * timezone/Makefile: Delete $(have-ksh) check.
24836         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24837         * timezone/tzselect.ksh: Add +x mode bits.
24839         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24840         (ANON_INODE_FS_MAGIC): Likewise.
24841         (BDEVFS_MAGIC): Likewise.
24842         (BINFMTFS_MAGIC): Likewise.
24843         (BTRFS_TEST_MAGIC): Likewise.
24844         (CRAMFS_MAGIC_WEND): Likewise.
24845         (DEBUGFS_MAGIC): Likewise.
24846         (ECRYPTFS_SUPER_MAGIC): Likewise.
24847         (EXT3_SUPER_MAGIC): Likewise.
24848         (EXT4_SUPER_MAGIC): Likewise.
24849         (FUTEXFS_SUPER_MAGIC): Likewise.
24850         (HOSTFS_SUPER_MAGIC): Likewise.
24851         (HUGETLBFS_MAGIC): Likewise.
24852         (MINIX3_SUPER_MAGIC): Likewise.
24853         (MTD_INODE_FS_MAGIC): Likewise.
24854         (NILFS_SUPER_MAGIC): Likewise.
24855         (OPENPROM_SUPER_MAGIC): Likewise.
24856         (PIPEFS_MAGIC): Likewise.
24857         (PSTOREFS_MAGIC): Likewise.
24858         (QNX6_SUPER_MAGIC): Likewise.
24859         (RAMFS_MAGIC): Likewise.
24860         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24861         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24862         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24863         (SECURITYFS_MAGIC): Likewise.
24864         (SELINUX_MAGIC): Likewise.
24865         (SMACK_MAGIC): Likewise.
24866         (SOCKFS_MAGIC): Likewise.
24867         (SQUASHFS_MAGIC): Likewise.
24868         (STACK_END_MAGIC): Likewise.
24869         (TMPFS_MAGIC): Likewise.
24870         (USBDEVICE_SUPER_MAGIC): Likewise.
24871         (V9FS_MAGIC): Likewise.
24872         (XENFS_SUPER_MAGIC): Likewise.
24873         (CRAMFS_MAGIC): Fix typo in comment.
24874         (EXT2_SUPER_MAGIC): Update comment.
24875         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24877 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24879         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24880         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24881         * sysdeps/unix/sysv/linux/arm: Move directory from
24882         ports/sysdeps/unix/sysv/linux/arm.
24883         * README: Update listing for arm-*-linux-gnueabi.
24885         * README: Remove mention of am33.
24887 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24889         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24890         than the comma operator, to avoid "rhs of comma has no effect"
24891         compiler warnings.
24892         (__sigfillset, __sigandset, __sigorset): Likewise.
24893         * include/signal.h (__sigemptyset): Likewise.
24894         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24896 2014-02-07  Allan McRae  <allan@archlinux.org>
24898         * version.h (RELEASE): Set to "development".
24899         (VERSION): Set to "2.19.90"
24900         * NEWS: Add 2.20 section.
24902 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24904         [BZ #16529]
24905         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24907 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24909         * manual/contrib.texi: Update entry for Carlos O'Donell,
24910         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24912 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24914         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24916         * sysdeps/unix/sysv/linux/kernel-features.h
24917         [__LINUX_KERNEL_VERSION >= 0x020621]
24918         (__ASSUME_PROC_PID_TASK_COMM): Define.
24920 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24922         [BZ #16398]
24923         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24924         conversion when destination buffer does not have enough space.
24925         * libio/tst-ftell-partial-wide.c: New test case.
24926         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24928         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24929         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24930         Leonard and Allan McRae.
24932 2014-02-04  David S. Miller  <davem@davemloft.net>
24934         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24935         32-bit.
24937 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24940         New file
24941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24942         New file
24943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24944         New file.
24945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24946         New file.
24947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24948         New file.
24949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24950         New file.
24951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24952         New file.
24953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24954         New file.
24955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24956         New file.
24957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24958         New file.
24959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24960         New file.
24961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24962         New file.
24963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24964         New file.
24966 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24968         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24969         * shlib-versions: Likewise.
24971 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24972             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24974         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24975         (abilist-pattern): New variable, set to %-le.abilist.
24977         * Makerules (abilist-pattern): New variable.
24978         (vpath): Use $(abilist-pattern) in place of %.abilist.
24979         (check-abi-% pattern rule): Likewise.
24980         (check-abi, update-abi): Likewise.
24982 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24986 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24988         * manual/startup.texi: Add next, previous, and top entries for
24989         the `Program Arguments' and `Environment Variables' nodes.
24991 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24993         * manual/macros.texi: Add comments before MTASC-safety macros.
24995         * manual/users.texi: Document MTASC-safety properties.
24997         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24998         (pthread_getspecific, pthread_setspecific): Format with
24999         @deftypefun, and add @safety note.
25000         * manual/signal.texi: Move comments that analyze the above
25001         functions to their home place.
25003 2014-02-03  Allan McRae  <allan@archlinux.org>
25005         * po/sl.po: Update Slovenian translation from translation project.
25007 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25009         * manual/time.texi (timegm): Add missing blank after @c.
25010         Reported by Joseph Myers <joseph@codesourcery.com>.
25012 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25014         * manual/check-safety.sh: New.
25015         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25017         * manual/terminal.texi: Document MTASC-safety properties.
25019         * manual/filesys.texi: Document MTASC-safety properties.
25021         * manual/errno.texi: Document MTASC-safety properties.
25023         * manual/intro.texi: Document safety identifiers and
25024         conditionals.
25026         * manual/string.texi (wcstok): Fix prototype.
25027         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25029         * manual/time.texi: Document MTASC-safety properties.
25031         * manual/string.texi: Document MTASC-safety properties.
25033         * manual/threads.texi: Document MTASC-safety properties.
25035         * manual/stdio.texi: Document MTASC-safety properties.
25037         * manual/syslog.texi: Document MTASC-safety properties.
25039         * manual/sysinfo.texi: Document MTASC-safety properties.
25041         * manual/startup.texi: Document MTASC-safety properties.
25043         * manual/socket.texi: Document MTASC-safety properties.
25045         * manual/signal.texi: Document MTASC-safety properties.
25047 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25049         * manual/setjmp.texi: Document MTASC-safety properties.
25051         * manual/search.texi: Document MTASC-safety properties.
25053         * manual/resource.texi: Document MTASC-safety properties.
25055         * manual/process.texi: Document MTASC-safety properties.
25057         * manual/platform.texi: Document MTASC-safety properties.
25059         * manual/pipe.texi: Document MTASC-safety properties.
25061         * manual/pattern.texi: Document MTASC-safety properties.
25063         * manual/message.texi: Document MTASC-safety properties.
25065         [BZ #12751]
25066         * manual/memory.texi: Document MTASC-safety properties.
25068         * manual/math.texi: Document MTASC-safety properties.
25070         * manual/locale.texi: Document MTASC-safety properties.
25072         * manual/llio.texi: Document MTASC-safety properties.
25074         * manual/libdl.texi: New.
25076         * manual/lang.texi: Document MTASC-safety properties.
25078         * manual/job.texi: Document MTASC-safety properties.
25080         * manual/getopt.texi: Document MTASC-safety properties.
25082         * manual/ctype.texi: Document MTASC-safety properties.
25084 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25086         [BZ #16046]
25087         * csu/libc-tls.c (static_map): Remove variable.
25088         (__libc_setup_tls): Use main executable's link map for TLS data.
25089         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25090         casing for LM_ID_BASE and GL(dl_nns).
25091         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25092         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25093         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25094         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25095         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25096         member.
25097         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25098         l_phnum members.
25100 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25102         * manual/debug.texi: Document MTASC-safety properties.
25104 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25106         [BZ #16510]
25107         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25108         of __x86_64__ when disabling x87 inline functions.
25110 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25112         * manual/charset.texi: Document MTASC-safety properties.
25114         * manual/crypt.texi: Document MTASC-safety properties.
25116         * manual/conf.texi: Document MTASC-safety properties.
25118         * manual/arith.texi: Document MTASC-safety properties.
25120         * manual/argp.texi: Document MTASC-safety properties.
25122         * manual/macros.texi: Introduce macros to document multi
25123         thread, asynchronous signal and asynchronous cancellation
25124         safety properties.
25125         * manual/intro.texi: Introduce the properties themselves.
25127 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25129         * sysdeps/sh/sh4/Makefile: New file.
25131 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25133         * math/gen-libm-test.pl ($srcdir): New variable.
25134         ($auto_input): Use it.
25136 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25138         [BZ #16506]
25139         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25140         access beyond array bounds when parsing netgroups file.
25142         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25143         the old buffer before realloc.
25145 2014-01-27  Allan McRae  <allan@archlinux.org>
25147         * po/fr.po: Update French translation from translation project.
25149 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25151         * sysdeps/sh/libm-test-ulps: Regenerate.
25153 2014-01-24  David S. Miller  <davem@davemloft.net>
25155         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25157 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25159         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25160         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25162 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25164         [BZ #16474]
25165         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25166         string pointers after reallocation.
25168 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25170         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25171         __SH4A__ instead of __SH_FPU_ANY__.
25173 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25175         * sysdeps/sh/fpu_control.h: New file.
25176         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25177         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25178         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25179         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25180         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25181         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25182         * sysdeps/sh/sys/ucontext.h: Remove.
25183         * sysdeps/sh/sys: Remove directory.
25185 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25187         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25188         s390/sys/ucontext.h.
25189         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25190         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25192 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25194         [BZ #15605]
25195         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25197 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25199         [BZ#16431]
25200         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25201         Adjust the vDSO correctly for internal calls.
25202         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25204 2014-01-20  Allan McRae  <allan@archlinux.org>
25206         * po/ca.po: Update Catalan translation from translation project.
25208 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25210         * sysdeps/s390/sotruss-lib.c: New file.
25212 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25214         [BZ#16430]
25215         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25216         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25217         local calls issues by not having a PLT stub required for IFUNC calls.
25218         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25220 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25222         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25223         * math/test-fpucw-static.c: Likewise.
25225 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25227         [BZ #16453]
25228         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25230 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25232         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25233         implementation for powerpc.
25235 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25237         [BZ #14782]
25238         * sysdeps/posix/system.c (__libc_system): Do not enable
25239         asynchronous cancellation.
25241 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25243         [BZ #16427]
25244         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25245         handling only for numbers special also in the IEEE case.
25247 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25249         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25251 2014-01-11  Allan McRae  <allan@archlinux.org>
25253         * po/bg.po: Update Bulgarian translation from translation project.
25255         * po/de.po: Update German translation from translation project.
25257 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25259         * sysdeps/generic/gcc-compat.h: New file.
25261 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25263         * benchtests/asin-inputs: Correct slow inputs.
25264         * benchtests/acos-inputs: Likewise.
25266 2014-01-10  Allan McRae  <allan@archlinux.org>
25268         * po:sv.po: Update Swedish translation from translation project.
25270         * po/vi.po: Update Vietnamese translation from translation project.
25272         * po/eo.po: Update Esperanto translation from translation project.
25274         * po/cs.po: Update Czech translation from translation project.
25276         * po/nl.po: Update Dutch translation from translation project.
25278         * po/pl.po: Update Polish translation from translation project.
25280         * po/ru.po: Update Russian translation from translation project.
25282         * po/uk.po: Update Ukrainian translation from translation project.
25284 2014-01-08  Brooks Moses  <bmoses@google.com>
25286         * elf/dl-load.c: Fix comment typo.
25288 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25290         * po/header.pot: Rename to...
25291         * po/pot.header: ... this.
25292         * po/Makefile: Use pot.header.
25294 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25295             Maxim Kuvyrkov  <maxim@kugelworks.com>
25297         [BZ #16394]
25298         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25299         SRC and DEST against LEN.
25301 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25303         [BZ #16414]
25304         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25305         implementation.
25306         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25308 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25312 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25314         [BZ #16408]
25315         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25316         for large positive arguments.
25318 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25320         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25322         * math/auto-libm-test-in: Mark various tests with
25323         xfail-rounding:ldbl-128ibm.
25324         * math/auto-libm-test-out: Regenerated.
25326         [BZ #16407]
25327         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25328         Increase overflow threshold.
25330 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25332         [BZ #14286]
25333         * stdio-common/vfprintf.c: Check for integer overflow.
25335 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25337         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25338         the first argument and return value of __tls_get_addr_internal.
25340 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25342         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25343         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25345 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25347         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25348         * sysdeps/s390/rtld-global-offsets.sym: New file.
25349         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25350         GLIBC_2.19 symbol.
25351         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25352         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25353         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25354         ... this.
25355         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25356         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25357         ... this.
25358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25359         Regenerate.
25360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25361         Regenerate.
25362         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25363         halfs of GPRs for high_gprs contexts.
25364         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25365         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25366         field.
25367         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25368         uc_flags field.
25369         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25370         64 bit versions:
25371         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25372         for high GPRs (uc_high_gprs) and for future extensions
25373         (__reserved).
25374         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25375         for future extensions (__reserved).
25376         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25377         64 bit versions:
25378         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25379         SC_HIGHGPRS offset definition.
25380         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25381         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25383         * Versions.def: Add GLIBC_2.19 for libpthread.
25384         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25385         siglongjmp for libpthread with GLIBC_2.19 symver.
25386         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25387         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25388         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25389         * sysdeps/s390/__longjmp.c: New file.
25390         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25391         * sysdeps/s390/longjmp.c: New file.
25392         * sysdeps/s390/setjmp.S: New file.
25393         * sysdeps/s390/sigjmp.S: New file.
25394         * sysdeps/s390/v1-longjmp.c: New file.
25395         * sysdeps/s390/v1-setjmp.h: New file.
25396         * sysdeps/s390/v1-sigjmp.c: New file.
25397         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25398         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25399         GLIBC_2.19 version.
25400         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25401         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25402         versioned symbols for ____longjmp_chk.
25403         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25404         Likewise.
25405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25406         Regenerate.
25407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25408         Regenerate.
25409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25410         Regenerate.
25411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25412         Regenerate.
25413         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25414         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25415         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25416         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25417         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25418         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25419         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25420         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25421         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25422         * sysdeps/s390/rtld-__longjmp.c: New file.
25423         * sysdeps/s390/rtld-setjmp.S: New file.
25425 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25427         [BZ #16400]
25428         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25429         Return -__logl (x) for small positive arguments without evaluating
25430         a polynomial.
25432 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25434         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25435         Rename to ...
25436         (__ptrace_peeksiginfo_args): ... this.
25437         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25438         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25439         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25441 2014-01-06  Allan McRae  <allan@archlinux.org>
25443         * inet/netinet/in.h: Fix typo in comment.
25445 2014-01-05  Andreas Jaeger  <aj@suse.de>
25447         * sysdeps/i386/fpu/libm-test-ulps: Update.
25449 2014-01-05  Allan McRae  <allan@archlinux.org>
25451         * po/libc.pot: Regenerated.
25453         * malloc/memusagestat.c: Fix gettext call formatting.
25455 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25457         * nscd/nscd.c: Improve usage() output.
25459 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25461         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25462         * sysdeps/unix/sysv/linux/configure: Regenerated.
25463         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25464         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25466 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25468         [BZ #16390]
25469         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25470         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25472 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25474         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25475         extra tokens at end of #undef directive.
25476         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25477         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25478         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25480 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25482         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25484         * math/auto-libm-test-in: Mark various tests with
25485         xfail-rounding:ldbl-128ibm.
25486         * math/auto-libm-test-out: Regenerated.
25488 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25490         [BZ #16386]
25491         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25492         numbers with subnormal high part when calculating exponent.
25494         [BZ #16385]
25495         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25496         fabs.
25498         [BZ #16384]
25499         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25500         M_LN2l.
25501         (__ieee754_acoshl): Use __log1pl not __log1p.
25503 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25505         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25506         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25507         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25508         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25509         (reused_arena, arena_get2): Convert to GNU style.
25510         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25511         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25512         (memalign_check, __malloc_set_state): Likewise.
25513         * malloc/mallocbug.c (main): Likewise.
25514         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25515         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25516         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25517         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25518         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25519         (__posix_memalign, malloc_info): Likewise.
25520         * malloc/malloc.h: Likewise.
25521         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25522         (mallochook, memalignhook, reallochook, mabort): Likewise.
25523         * malloc/mcheck.h: Likewise.
25524         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25525         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25526         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25527         * malloc/morecore.c (__default_morecore): Likewise.
25528         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25529         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25530         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25531         (print_and_abort): Likewise.
25532         * malloc/obstack.h: Likewise.
25533         * malloc/set-freeres.c (__libc_freeres): Likewise.
25534         * malloc/tst-mallocstate.c (main): Likewise.
25535         * malloc/tst-mtrace.c (main): Likewise.
25536         * malloc/tst-realloc.c (do_test): Likewise.
25538 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25540         [BZ #16366]
25541         * nscd/netgroupcache.c (do_notfound): New function.
25542         (addgetnetgrentX): Use it.
25544         [BZ # 16365]
25545         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25546         NSS_STATUS_NOTFOUND.
25548 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25550         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25553 2014-01-01  Allan McRae  <allan@archlinux.org>
25555         * scripts/update-copyrights: Update configure input file suffix.
25557         * NEWS: Update copyright year.
25558         * catgets/gencat.c: Likewise.
25559         * csu/version.c: Likewise.
25560         * debug/catchsegv.sh: Likewise.
25561         * debug/pcprofiledump.c: Likewise.
25562         * debug/xtrace.sh: Likewise.
25563         * elf/ldconfig.c: Likewise.
25564         * elf/ldd.bash.in: Likewise.
25565         * elf/pldd.c: Likewise.
25566         * elf/sotruss.ksh: Likewise.
25567         * elf/sprof.c: Likewise.
25568         * iconv/iconv_prog.c: Likewise.
25569         * iconv/iconvconfig.c: Likewise.
25570         * locale/programs/locale.c: Likewise.
25571         * locale/programs/localedef.c: Likewise.
25572         * login/programs/pt_chown.c: Likewise.
25573         * malloc/memusage.sh: Likewise.
25574         * malloc/memusagestat.c: Likewise.
25575         * malloc/mtrace.pl: Likewise.
25576         * manual/libc.texinfo: Likewise.
25577         * nscd/nscd.c: Likewise.
25578         * nss/getent.c: Likewise.
25579         * nss/makedb.c: Likewise.
25580         * posix/getconf.c: Likewise.
25581         * scripts/test-installation.pl: Likewise.
25583         * All files with FSF copyright notices: Update copyright dates
25584         using scripts/update-copyrights.
25585         * intl/plural.c: Regenerated.
25586         * locale/programs/charmap-kw.h: Likewise.
25587         * locale/programs/locfile-kw.h: Likewise.
25589 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25591         * sysdeps/unix/sysv/linux/configure: Regenerated.
25592         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25593         the linux/fanotify.h header.
25594         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25595         HAVE_LINUX_FANOTIFY_H is defined.
25597 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25599         * benchtests/cos-inputs: New inputs.
25600         * benchtests/sin-inputs: Likewise.
25602         * benchtests/atan-inputs: New inputs. Fix name of multiple
25603         precision fallback inputs.
25605         * benchtests/atanh-inputs: New inputs.
25606         * benchtests/tanh-inputs: Likewise.
25608         * benchtests/acosh-inputs: New inputs.
25609         * benchtests/asinh-inputs: Likewise.
25611         * benchtests/cosh-inputs: New inputs.
25612         * benchtests/sinh-inputs: Likewise.
25614         * benchtests/acos-inputs: Add more inputs.
25615         * benchtests/asin-inputs: Likewise.
25617 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25619         [BZ #16375]
25620         * manual/arith.texi: Fix spelling.
25621         * manual/charset.texi: Likewise.
25622         * manual/errno.texi: Likewise.
25623         * manual/filesys.texi: Likewise.
25624         * manual/lang.texi: Likewise.
25625         * manual/llio.texi: Likewise.
25626         * manual/locale.texi: Likewise.
25627         * manual/message.texi: Likewise.
25628         * manual/resource.texi: Likewise.
25629         * manual/search.texi: Likewise.
25630         * manual/setjmp.texi: Likewise.
25631         * manual/stdio.texi: Likewise.
25632         * manual/string.texi: Likewise.
25633         * manual/sysinfo.texi: Likewise.
25634         * manual/time.texi: Likewise.
25636 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25638         * po/sl.po: New file.
25640 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25642         * .gitignore: Add core/.gdbinit/.gdb_history.
25644 2013-12-27  Allan McRae  <allan@archlinux.org>
25646         [BZ #16369]
25647         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25648         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25650 2013-12-24  Brooks Moses  <bmoses@google.com>
25652         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25653         all compilers that claim C++98 compliance, not just GCC.
25654         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25655         Likewise.
25657 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25659         * NEWS: Restore accidentally deleted bug-fix entries.
25661 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25662             Ondřej Bílka  <neleai@seznam.cz>
25664         [BZ #15073]
25665         * malloc/malloc.c (_int_free): Perform sanity check only if we
25666         have_lock.
25668 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25670         [BZ #12986]
25671         * manual/stdio.texi (String Input Conversions): Clarify that character
25672         classes are not supported.
25674 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25678 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25680         [BZ #16337]
25681         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25682         Calculate results for small negative arguments directly rather
25683         than using reflection formula with special underflow handling.
25685         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25686         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25687         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25688         (fchflags): Likewise.
25689         (revoke): Likewise.
25690         (setlogin): Likewise.
25691         (sigaltstack): Likewise.
25692         (wait4): Likewise.
25693         (sigblock): Remove.
25694         (sigsetmask): Likewise.
25695         (wait3): Likewise.
25696         (waitpid): Likewise.
25697         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25698         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25699         file.
25700         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25701         * sysdeps/unix/bsd/Makefile: ... here.
25702         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25703         * sysdeps/unix/bsd/Versions: ... here.
25704         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25705         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25706         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25707         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25708         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25709         * sysdeps/unix/bsd/sigblock.c: ... here.
25710         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25711         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25712         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25713         * sysdeps/unix/bsd/sigvec.c: ... here.
25714         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25715         * sysdeps/unix/bsd/tcdrain.c: ... here.
25716         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25717         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25718         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25719         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25720         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25721         * sysdeps/unix/bsd/wait.c: ... here.
25722         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25723         * sysdeps/unix/bsd/wait3.c: ... here.
25724         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25725         * sysdeps/unix/bsd/waitpid.c: ... here.
25727 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25729         [BZ #16356]
25730         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25731         round-to-nearest for [!USE_AS_EXPM1L].
25732         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25733         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25734         more tests of exp and exp10.  Expect some exp10 tests to miss
25735         exceptions or fail in directed rounding modes.
25736         * math/auto-libm-test-out: Regenerated.
25737         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25738         (exp10_test_tonearest): New function.
25739         (exp10_towardzero_test_data): New array.
25740         (exp10_test_towardzero): New function.
25741         (exp10_downward_test_data): New array.
25742         (exp10_test_downward): New function.
25743         (exp10_upward_test_data): New array.
25744         (exp10_test_upward): New function.
25745         (main): Call the new functions.
25746         * sysdeps/i386/fpu/libm-test-ulps: Update.
25747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25749 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25751         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25752         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25753         * math/auto-libm-test-out: Regenerated.
25754         * math/libm-test.inc (acosh_test_data): Add more tests.
25755         (atanh_test_data): Likewise.
25756         (ceil_test_data): Likewise.
25757         (copysign_test_data): Likewise.
25758         * sysdeps/i386/fpu/libm-test-ulps: Update.
25759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25761         * timezone/checktab.awk: Update from tzcode 2013i.
25762         * timezone/private.h: Likewise.
25763         * timezone/scheck.c: Likewise.
25764         * timezone/tzfile.h: Likewise.
25765         * timezone/tzselect.ksh: Likewise.
25766         * timezone/zdump.c: Likewise.
25767         * timezone/zic.c: Likewise.
25769         * math/auto-libm-test-in: Add tests of cpow.
25770         * math/auto-libm-test-out: Regenerated.
25771         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25772         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25773         mpc_cc_c.
25774         (func_calc_desc): Add mpc_cc_c union field.
25775         (test_functions): Add cpow.
25776         (special_fill_2pi): New function.
25777         (special_real_inputs): Add 2pi.
25778         (calc_generic_results): Handle mpc_cc_c.
25779         * sysdeps/i386/fpu/libm-test-ulps: Update.
25780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25782         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25783         csqrt, ctan and ctanh.
25784         * math/auto-libm-test-out: Regenerated.
25785         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25786         (TEST_COND_x86): Likewise.
25787         (ccos_test_data): Use AUTO_TESTS_c_c.
25788         (ccosh_test_data): Likewise.
25789         (cexp_test_data): Likewise.
25790         (clog_test_data): Likewise.
25791         (csqrt_test_data): Likewise.
25792         (ctan_test_data): Likewise.
25793         (ctan_tonearest_test_data): Likewise.
25794         (ctan_towardzero_test_data): Likewise.
25795         (ctan_downward_test_data): Likewise.
25796         (ctan_upward_test_data): Likewise.
25797         (ctanh_test_data): Likewise.
25798         (ctanh_tonearest_test_data): Likewise.
25799         (ctanh_towardzero_test_data): Likewise.
25800         (ctanh_downward_test_data): Likewise.
25801         (ctanh_upward_test_data): Likewise.
25802         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25803         mpc_c_c.
25804         (func_calc_desc): Add mpc_c_c union field.
25805         (FUNC_mpc_c_c): New macro.
25806         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25807         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25808         ctanh.
25809         (special_fill_min_subnorm_p120): New function.
25810         (special_real_inputs): Add min_subnorm_p120.
25811         (calc_generic_results): Handle mpc_c_c.
25812         * sysdeps/i386/fpu/libm-test-ulps: Update.
25813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25815 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25817         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25818         (do_sin_slow): New functions.
25819         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25820         (cslow2, csloww1, csloww2): Use the new functions.
25822         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25823         Use M to change sign of result instead of X.  Assume X is
25824         positive.
25825         (csloww1): Likewise.
25826         (__sin): Adjust.
25827         (__cos): Adjust.
25829         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25830         arguments A and DA.
25831         (__sin): Adjust.
25832         (__cos): Likewise.
25834         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25835         (__cos): Likewise.
25836         (sloww1): Don't adjust sign of DX.
25837         (csloww1): Likewise.
25838         (sloww2): Use X directly and don't adjust sign of DX.
25839         (csloww2): Likewise.
25841 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25843         * math/auto-libm-test-in: Add tests of cabs and carg.
25844         * math/auto-libm-test-out: Regenerated.
25845         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25846         (carg_test_data): Likewise.
25847         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25848         mpc_c_f.
25849         (func_calc_desc): Add mpc_c_f union field.
25850         (test_functions): Add cabs and carg.
25851         (calc_generic_results): Handle mpc_c_f.
25853         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25854         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25855         as a macro and a compat symbol.
25856         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25857         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25858         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25859         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25860         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25861         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25862         not use .hidden.
25863         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25864         Likewise.
25865         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25866         Likewise.
25867         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25868         Likewise.
25869         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25870         Likewise.
25871         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25872         Likewise.
25873         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25874         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25875         from GLIBC_2.3.2.
25877 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25881 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25883         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25884         trailing whitespace removed.
25885         * scripts/config.guess: Update to version 2013-11-29.
25886         * scripts/config.sub: Update to version 2013-10-01.
25888         * math/auto-libm-test-in: Add tests of sincos.
25889         * math/auto-libm-test-out: Regenerated.
25890         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25891         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25892         mpfr_f_11.
25893         (func_calc_desc): Add mpfr_f_11 union field.
25894         (test_functions): Add sincos.
25895         (calc_generic_results): Handle mpfr_f_11.
25896         * sysdeps/i386/fpu/libm-test-ulps: Update.
25897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25899 2013-12-19  Andreas Schwab  <schwab@suse.de>
25901         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25902         CALL_MCOUNT.
25903         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25904         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25905         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25907 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25909         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25910         * sysdeps/i386/fpu/libm-test-ulps: Update.
25911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25913         [BZ #16293]
25914         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25915         round-to-nearest mode when using frndint.
25916         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25917         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25918         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25919         Likewise.
25920         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25921         sinh test to fail.
25922         * math/auto-libm-test-out: Regenerated.
25923         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25924         (TEST_COND_x86): Likewise.
25925         (expm1_tonearest_test_data): New array.
25926         (expm1_test_tonearest): New function.
25927         (expm1_towardzero_test_data): New array.
25928         (expm1_test_towardzero): New function.
25929         (expm1_downward_test_data): New array.
25930         (expm1_test_downward): New function.
25931         (expm1_upward_test_data): New array.
25932         (expm1_test_upward): New function.
25933         (main): Run the new test functions.
25934         * sysdeps/i386/fpu/libm-test-ulps: Update.
25935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25937         * include/features.h: Update comment documenting feature test
25938         macros.  Mention _DEFAULT_SOURCE in comment.
25939         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25940         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25941         _BSD_SOURCE and _SVID_SOURCE.
25942         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25943         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25944         !_SVID_SOURCE]: Likewise.
25945         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25946         (__USE_POSIX_IMPLICITLY): Define.
25947         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25948         (_POSIX_SOURCE): Undefine and redefine.
25949         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25950         (_POSIX_C_SOURCE): Likewise.
25951         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25952         (Feature Test Macros): Update documentation of default features.
25954 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25956         * benchtests/Makefile: Add bench-strtok.
25957         * benchtests/bench-strtok.c: New file: strtok benchtest.
25959 2013-12-19  Allan McRae  <allan@archlinux.org>
25961         * manual/install.texi: Suppress menu for plain text output.
25962         * INSTALL: Regenerated.
25964 2013-12-18  Brooks Moses  <bmoses@google.com>
25966         [BZ #15846]
25967         * misc/getauxval.c: Include errno.h.
25968         (__getauxval): Set errno to ENOENT if the requested type is not
25969         found.
25970         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25971         don't declare with __attribute_const__.
25972         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25973         * manual/startup.texi: Document that getauxval sets errno.
25975 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25977         * math/auto-libm-test-in: Add tests of jn and yn.
25978         * math/auto-libm-test-out: Regenerated.
25979         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25980         (yn_test_data): Likewise.
25981         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25982         mpfr_if_f.
25983         (func_calc_desc): Add mpfr_if_f union field.
25984         (FUNC_mpfr_if_f): New macro.
25985         (test_functions): Add jn and yn.
25986         (calc_generic_results): Assert type of second input for
25987         mpfr_ff_f.  Handle mpfr_if_f.
25988         (output_for_one_input_case): Disable all checking for arguments
25989         fitting floating-point types in case of an integer argument.
25990         * sysdeps/i386/fpu/libm-test-ulps: Update.
25991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25994         Don't expect fegetround reference in libm.so.
25996 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25998         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25999         $(config-cflags-nofma).
26001 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26003         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26004         * math/auto-libm-test-out: Regenerated.
26006         [BZ #16338]
26007         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26008         to determine exponent and adjust argument to have exponent of -1.
26009         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26010         log2.
26011         * math/auto-libm-test-out: Regenerated.
26012         * sysdeps/i386/fpu/libm-test-ulps: Update.
26013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26015 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26017         * manual/probes.texi: Remove cases when per-thread arenas are
26018         disabled.
26020 2013-12-18  Andreas Schwab  <schwab@suse.de>
26022         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26023         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26024         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26025         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26026         * sysdeps/i386/i686/multiarch/Makefile: Update.
26027         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26029 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26031         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26032         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26034 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26036         [BZ #15968]
26037         Support TZ transition times < 00:00:00.
26038         This is needed for version-3 tz-format files; it supports time
26039         stamps past 2037 for America/Godthab (the only entry in the tz
26040         database for which this change is relevant).
26041         * manual/time.texi (TZ Variable): Document transition times
26042         from -167:59:59 through -00:00:01.
26043         * time/tzset.c (tz_rule): Time of day is now signed.
26044         (__tzset_parse_tz): Parse negative time of day.
26046         Document TZ transition times >= 25:00:00.
26047         * manual/time.texi (TZ Variable): Document transition times from
26048         25:00:00 through 167:59:59.  These are already supported, and this
26049         support will help with version-3 tz-format files.
26051         * manual/time.texi (TZ Variable): Modernize North America example
26052         to reflect current (i.e., 2007-and-later) daylight saving rules.
26054         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26056 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26058         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26059         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26060         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26061         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26062         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26063         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26064         * sysdeps/unix/bsd/clock.c: Likewise.
26065         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26066         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26067         * sysdeps/unix/bsd/init-posix.c: Likewise.
26068         * sysdeps/unix/bsd/poll.c: Likewise.
26069         * sysdeps/unix/bsd/ptsname.c: Likewise.
26070         * sysdeps/unix/bsd/seekdir.c: Likewise.
26071         * sysdeps/unix/bsd/setegid.c: Likewise.
26072         * sysdeps/unix/bsd/seteuid.c: Likewise.
26073         * sysdeps/unix/bsd/setgid.c: Likewise.
26074         * sysdeps/unix/bsd/setrgid.c: Likewise.
26075         * sysdeps/unix/bsd/setruid.c: Likewise.
26076         * sysdeps/unix/bsd/setsid.c: Likewise.
26077         * sysdeps/unix/bsd/setuid.c: Likewise.
26078         * sysdeps/unix/bsd/sigaction.c: Likewise.
26079         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26080         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26081         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26082         * sysdeps/unix/bsd/telldir.c: Likewise.
26083         * sysdeps/unix/bsd/times.c: Likewise.
26084         * sysdeps/unix/bsd/usleep.c: Likewise.
26086         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26087         ($(objpfx)libbsd-compat.a): Remove rule.
26089         * include/features.h (__FAVOR_BSD): Do not define.
26090         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26091         features conflicting with POSIX.
26092         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26093         (_BSD_SOURCE): Remove description of not being a subset of other
26094         feature test macros.
26095         * manual/job.texi (getpgrp): Do not document BSD version.
26096         (getpgid): Do not document by reference to BSD getpgrp.
26097         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26098         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26099         * signal/signal.h [__FAVOR_BSD]: Likewise.
26100         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26101         instead of making contents conditional on [__FAVOR_BSD].
26102         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26104 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26108 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26110         [BZ #16314]
26111         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26112         values below 2**-450, not 2**-500.
26113         * math/auto-libm-test-in: Don't allow spurious underflow from
26114         hypot.
26115         * math/auto-libm-test-out: Regenerated.
26117         [BZ #16316]
26118         [BZ #16330]
26119         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26120         values of ha and hb and sort them after adjusting subnormal
26121         arguments.
26122         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26123         Likewise.
26124         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26125         values of ea and eb and sort them after adjusting subnormal
26126         arguments.
26127         * math/auto-libm-test-in: Do not expect some hypot tests of
26128         subnormals to fail.  Add more hypot tests.
26129         * math/auto-libm-test-out: Regenerated.
26131 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26133         [BZ #13304]
26134         * sysdeps/sh/s_fma.c: New file.
26135         * sysdeps/sh/s_fmaf.c: New file.
26136         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26137         version.
26138         * sysdeps/sh/Implies: Add sh/soft-fp.
26140 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26142         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26143         level of indirection to members `objname', `errstring', `malloced'.
26144         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26145         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26146         it as the __longjmp argument (just pass 1 instead).
26147         (_dl_catch_error): Initialize C with argument pointers and address of
26148         volatile local ERRCODE rather than copying values out of C at return.
26150 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26152         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26153         * math/auto-libm-test-out: Regenerated.
26154         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26155         (hypot_test_data): Likewise.
26156         (pow_test_data): Likewise.
26157         (pow_tonearest_test_data): Likewise.
26158         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26159         mpfr_ff_f.
26160         (func_calc_desc): Add mpfr_ff_f union field.
26161         (FUNC_mpfr_ff_f): New macro.
26162         (test_functions): Add atan2, hypot and pow.
26163         (special_fill_min): New function.
26164         (special_fill_minus_min): Likewise.
26165         (special_fill_min_subnorm): Likewise.
26166         (special_fill_minus_min_subnorm): Likewise.
26167         (special_real_inputs): Add min, -min, min_subnorm and
26168         -min_subnorm.
26169         (calc_generic_results): Handle mpfr_ff_f.
26170         * sysdeps/i386/fpu/libm-test-ulps: Update.
26171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26173 2013-12-16  Will Newton  <will.newton@linaro.org>
26175         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26176         (Aligned Memory Blocks): Add documentation for aligned_alloc
26177         and suggest it as an alternative to posix_memalign.
26178         (Hooks for Malloc): Document __memalign_hook is also called
26179         for aligned_alloc.  (Summary of Malloc): Add summary for
26180         aligned alloc.  Document __memalign_hook is also called
26181         for aligned_alloc.
26183 2013-12-16  Will Newton  <will.newton@linaro.org>
26185         * manual/memory.texi (Malloc Examples): Clarify default
26186         alignment documentation.  Suggest posix_memalign rather
26187         than memalign or valloc.
26188         (Aligned Memory Blocks): Remove suggestion to use memalign
26189         or valloc.  Remove obsolete comment about BSD.
26190         Document memalign errno values and mark the function obsolete.
26191         Document posix_memalign returned error codes.  Mark valloc
26192         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26193         called for posix_memalign and valloc.
26194         (Summary of Malloc): Add posix_memalign to function summary.
26195         __memalign_hook is also called for posix_memalign and valloc.
26197 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26199         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26200         TAYLOR_SIN.
26201         (__sin): Adjust.
26202         (__cos): Likewise.
26203         (sloww): Use mynumber union.  Expand ternary operator into
26204         if-else statements.
26205         (cslow): use mynumber union.
26207 2013-12-16  Allan McRae  <allan@archlinux.org>
26209         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26210         * configure: Regenerated.
26212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26214         [BZ #14120]
26215         * configure.ac: Added --enable-maintainer-mode. Check for
26216         autoconf when enabled.
26217         * configure: Regenerated.
26219         * nscd/nscd.service: New file.
26220         * nscd/nscd.tmpfiles: New file.
26222 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26224         [BZ #12100]
26225         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26226         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26227         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26228         (strstr): Add __strstr_sse2_unaligned ifunc.
26229         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26230         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26231         (strcasestr): Remove __strcasestr_sse42 ifunc.
26232         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26234         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26236 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26238         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26239         * sysdeps/sh/bits/fenv.h: ... here.
26240         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26242 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26244         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26247         hypotf multiarch implementations.
26248         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26249         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26250         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26251         multiarch hypot for PPC64.
26252         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26253         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26254         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26255         multiarch hypotf for PPC64.
26257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26258         modff multiarch implementations.
26259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26262         multiarch modf for PPC64.
26263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26266         multiarch modff for PPC64.
26268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26269         and logl multiarch implementations.
26270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26273         multiarch logb for PPC64.
26274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26277         multiarch logb for PPC64.
26278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26281         multiarch logb for PPC64.
26283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26284         isinff multiarch implementation.
26285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26286         file.
26287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26289         multiarch isinf for PPC64.
26290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26291         file.
26292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26293         multiarch isinff for PPC64.
26295         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26296         finitef multiarch implementation.
26297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26298         file.
26299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26301         multiarch finite for PPC64.
26302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26303         file.
26304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26305         multiarch finitef for PPC64.
26307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26308         lrint multiarch implementation.
26309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26310         file.
26311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26313         multiarch llrint for PPC64.
26314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26315         multiarch lrint for PPC64.
26317         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26318         copysignf multiarch implementation.
26319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26320         file.
26321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26322         file.
26323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26324         multiarch copysign for PPC64.
26325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26326         multiarch copysignf for PPC64.
26328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26329         multiarch implementation.
26330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26331         file.
26332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26333         file.
26334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26335         file.
26336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26337         file.
26338         multiarch llround for PPC64.
26339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26340         multiarch trunc for PPC64.
26341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26342         multiarch truncf for PPC64.
26344         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26345         multiarch implementation.
26346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26347         file.
26348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26349         file.
26350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26351         file.
26352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26353         file.
26354         multiarch llround for PPC64.
26355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26356         multiarch round for PPC64.
26357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26358         multiarch roundf for PPC64.
26360         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26361         multiarch implementation.
26362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26363         file.
26364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26365         file.
26366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26367         file.
26368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26369         file.
26370         multiarch llround for PPC64.
26371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26372         multiarch floor for PPC64.
26373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26374         multiarch floorf for PPC64.
26376         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26377         multiarch implementation.
26378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26379         file.
26380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26381         file.
26382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26383         file.
26384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26385         file.
26386         multiarch llround for PPC64.
26387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26388         multiarch ceil for PPC64.
26389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26390         multiarch ceilf for PPC64.
26392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26393         multiarch implementation.
26394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26395         file.
26396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26397         file.
26398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26399         file.
26400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26401         multiarch llround for PPC64.
26402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26403         multiarch lround for PPC64.
26405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26406         multiarch implementation.
26407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26410         file.
26411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26414         multiarch isnan for PPC64.
26415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26416         multiarch isnanf for PPC64.
26418         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26419         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26420         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26421         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26422         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26425         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26426         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26427         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26428         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26431         multiarch implementations.
26432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26433         (__libc_ifunc_impl_list): Likewise.
26434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26435         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26436         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26437         multiarch stpcpy for PPC64.
26439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26440         multiarch implementations.
26441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26442         (__libc_ifunc_impl_list): Likewise.
26443         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26444         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26445         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26446         multiarch strcpy for PPC64.
26448         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26449         redefine function name.
26450         (_wordcopy_fwd_dest_aligned): Likewise.
26451         (_wordcopy_bwd_aligned): Likewise.
26452         (_wordcopy_bwd_dest_aligned): Likewise.
26453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26454         multiarch implementations.
26455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26456         (__libc_ifunc_impl_list): Likewise.
26457         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26458         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26459         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26460         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26461         multiarch wcscpy for PPC64.
26463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26464         multiarch implementations.
26465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26466         (__libc_ifunc_impl_list): Likewise.
26467         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26468         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26469         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26470         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26471         multiarch wcscpy for PPC64.
26473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26474         multiarch implementations.
26475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26476         (__libc_ifunc_impl_list): Likewise.
26477         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26478         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26479         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26480         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26481         multiarch wcsrchr for PPC64.
26483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26484         multiarch implementations.
26485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26486         (__libc_ifunc_impl_list): Likewise.
26487         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26488         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26489         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26490         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26491         multiarch wcschr for PPC64.
26493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26494         multiarch implementations.
26495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26496         (__libc_ifunc_impl_list): Likewise.
26497         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26498         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26499         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26500         multiarch strchrnul for PPC64.
26502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26503         implementations.
26504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26505         (__libc_ifunc_impl_list): Likewise.
26506         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26507         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26508         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26509         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26510         strchr for PPC64.
26512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26513         implementations.
26514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26515         (__libc_ifunc_impl_list): Likewise.
26516         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26517         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26518         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26519         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26520         strncmp for PPC64.
26522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26523         multiarch implementations.
26524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26525         (__libc_ifunc_impl_list): Likewise.
26526         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26527         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26528         strncasecmp for PPC64.
26529         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26530         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26531         multiarch strncasecmp_l for PPC64.
26533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26534         multiarch implementations.
26535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26536         (__libc_ifunc_impl_list): Likewise.
26537         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26538         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26539         multiarch strcasecmp for PPC64.
26540         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26541         file.
26542         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26543         multiarch strcasecmp_l for PPC64.
26545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26546         implementations.
26547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26548         (__libc_ifunc_impl_list): Likewise.
26549         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26550         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26551         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26552         strnlen for PPC64.
26554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26555         implementations.
26556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26557         (__libc_ifunc_impl_list): Likewise.
26558         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26559         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26560         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26561         strlen for PPC64.
26563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26564         implementations.
26565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26566         (__libc_ifunc_impl_list): Likewise.
26567         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26568         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26569         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26570         rawmemrchr for PPC64.
26572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26573         implementation.
26574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26575         (__libc_ifunc_impl_list): Likewise.
26576         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26577         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26578         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26579         memrchr for PPC64.
26581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26582         implementation.
26583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26584         (__libc_ifunc_impl_list): Likewise.
26585         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26586         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26587         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26588         memchr for PPC64.
26590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26591         implementation.
26592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26593         (__libc_ifunc_impl_list): Likewise.
26594         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26595         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26596         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26597         mempcpy for PPC64.
26599         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26600         avoid cretion of __bzero symbol.
26601         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26602         Likewise.
26603         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26604         Likewise.
26605         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26606         Likewise.
26607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26608         multiarch implementations.
26609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26610         (__libc_ifunc_impl_list): Likewise.
26611         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26612         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26613         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26614         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26615         bzero for PPC32.
26616         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26617         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26618         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26619         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26620         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26621         memset for PPC64.
26622         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26624         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26626         implementations.
26627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26628         (__libc_ifunc_impl_list): Likewise.
26629         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26630         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26631         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26632         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26633         memcmp for PPC64.
26635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26636         multiarch for POWER/PPC64.
26637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26638         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26639         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26640         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26641         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26642         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26643         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26644         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26645         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26646         memcpy for PPC64.
26648         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26649         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26650         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26651         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26652         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26653         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26654         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26655         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26656         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26657         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26658         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26659         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26660         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26661         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26662         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26671 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26673         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26675 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26677         * benchtests/Makefile (bench): Add exp2 and log2.
26678         (LDLIBS-bench-exp2): Add -lm.
26679         (LDLIBS-bench-log2): Likewise.
26680         * benchtests/exp2-inputs: New inputs file.
26681         * benchtests/log2-inputs: New inputs file.
26682         * benchtests/log-inputs: Add new inputs.
26683         * benchtests/tan-inputs: Likewise.
26685 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26687         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26688         definition...
26689         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26690         (csloww2): ... from here.
26692         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26693         instead of structures.
26694         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26695         (POLYNOMIAL): Likewise.
26696         (TAYLOR_SLOW): Likewise.
26697         (__sin): Likewise.
26698         (__cos): Likewise.
26699         (slow1): Likewise.
26700         (slow2): Likewise.
26701         (sloww): Likewise.
26702         (sloww1); Likewise.
26703         (sloww2): Likewise.
26704         (bsloww1): Likewise.
26705         (bsloww2): Likewise.
26706         (cslow2): Likewise.
26707         (csloww): Likewise.
26708         (csloww1): Likewise.
26709         (csloww2): Likewise.
26711 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26713         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26714         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26715         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26716         * malloc/hooks.c (realloc_check): Likewise.
26718         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26719         * malloc/arena.c: Remove PER_THREAD conditional.
26720         [!PER_THREAD]: Remove code.
26721         (ptmalloc_unlock_all2): Likewise.
26722         (ptmalloc_init): Likewise.
26723         (_int_new_arena): Likewise.
26724         (arena_get2): Likewise.
26725         * malloc/hooks.c (__malloc_get_state): Likewise.
26726         (__malloc_set_state): Likewise.
26727         * malloc/malloc.c: Likewise.
26728         (struct malloc_state): Likewise.
26729         (struct malloc_par): Likewise.
26730         (__libc_realloc): Likewise.
26731         (__libc_mallopt): Likewise.
26733 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26735         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26737 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26739         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26740         macro to a function.  Check for zero perturb_byte.
26741         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26743         * malloc/malloc.c: (force_reg): Remove.
26744         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26745         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26746         force_reg by atomic_forced_read.
26747         * malloc/arena.c (ptmalloc_init): Likewise.
26748         * malloc/hooks.c (top_check): Likewise.
26750 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26754 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26758 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26760         * math/auto-libm-test-in: Add tests of lgamma.
26761         * math/auto-libm-test-out: Regenerated.
26762         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26763         (M_LOG_2_SQRT_PIl): Likewise.
26764         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26765         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26766         mpfr_f_f1.
26767         (func_calc_desc): Add mpfr_f_f1 union field.
26768         (ARGS1): New macro.
26769         (ARGS2): Likewise.
26770         (ARGS3): Likewise.
26771         (ARGS4): Likewise.
26772         (RET1): Likewise.
26773         (RET2): Likewise.
26774         (CALC): Likewise.
26775         (FUNC): Likewise.
26776         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26777         (test_functions): Add lgamma.
26778         (calc_generic_results): Handle mpfr_f_f1.
26779         * sysdeps/i386/fpu/libm-test-ulps: Update.
26780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26782 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26784         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26785         __mpn_add_n for PowerPC64/POWER7.
26786         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26787         __mpn_sub_n for PowerPC64/POWER7.
26789         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26790         __mpn_addmul_1 for PowerPC64.
26791         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26792         __mpn_submul_1 for PowerPC64.
26793         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26794         for PowerPC64.
26795         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26796         for PowerPC64.
26798 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26800         [BZ #15089]
26801         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26803 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26805         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26807         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26808         add multiarch folders.
26809         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26810         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26811         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26812         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26813         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26814         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26815         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26816         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26817         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26818         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26819         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26828         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26830         New file.
26831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26832         New file.
26833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26834         multiarch __ieee754_hypot for PowerPC32.
26835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26836         New file.
26837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26838         New file.
26839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26840         multiarch __ieee754_hypotf for PowerPC32.
26842         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26843         long_double_symbol only if __logbl is defined.
26844         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26845         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26846         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26847         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26848         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26849         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26850         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26851         path for implementation.
26852         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26853         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26855         logb, and logbl multiarch implementations for PowerPC32.
26856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26857         file.
26858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26859         file.
26860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26861         multiarch logb for PowerPC32.
26862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26863         file.
26864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26865         file.
26866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26867         multiarch logbf for PowerPC32.
26868         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26870         file.
26871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26872         multiarch logbl implementation for PowerPC32.
26874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26875         and modff multiarch implementations.
26876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26877         New file.
26878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26879         New file.
26880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26881         multiarch modf for PowerPC32.
26882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26883         New file.
26884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26885         New file.
26886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26887         multiarch modff for PowerPC32.
26889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26890         and lrintf multiarch implementations.
26891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26892         New file.
26893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26894         New file.
26895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26896         multiarch lrint for PowerPC32.
26897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26898         file: multiarch lrintf for PowerPC32.
26900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26901         and lroundf multiarch implementations.
26902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26903         New file.
26904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26905         New file.
26906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26907         New file.
26908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26909         multiarch lround for PowerPC32.
26910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26911         file: multiarch lroundf for PowerPC32.
26913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26914         copysign and copysignf multiarch implementations.
26915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26916         New file.
26917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26918         New file.
26919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26920         file: multiarch copysign for PowerPC32.
26921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26922         file: multiarch copysignf for PowerPC32.
26924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26925         and truncf multiarch implementations.
26926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26927         New file.
26928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26929         file.
26930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26931         multiarch trunc for PowerPC32.
26932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26933         New file.
26934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26935         New file.
26936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26937         multiarch truncf for PowerPC32.
26939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26940         and roundf multiarch implementations.
26941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26942         New file.
26943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26944         file.
26945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26946         multiarch round for PowerPC32.
26947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26948         New file.
26949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26950         New file.
26951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26952         multiarch roundf for PowerPC32.
26954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26955         and floorf multiarch implementations.
26956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26957         New file.
26958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26959         file.
26960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26961         multiarch floor for PowerPC32.
26962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26963         New file.
26964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26965         New file.
26966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26967         multiarch floorf for PowerPC32.
26969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26970         and ceilf multiarch implementations.
26971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26972         New file.
26973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26974         file.
26975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26976         multiarch ceil for PowerPC32.
26977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26978         New file.
26979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26980         file.
26981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26982         multiarch ceilf for PowerPC32.
26984         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26985         is defined.
26986         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26987         FINITEF is defined.
26988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26989         and finitef multiarch implementations.
26990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26991         New file.
26992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26993         file.
26994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26995         multiarch finite for PowerPC32.
26996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26997         New file.
26998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26999         file: multiarch finitef for PowerPC32.
27001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27002         and isinff multiarch implementations.
27003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27004         file.
27005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27006         file.
27007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27008         multiarch isinf for PowerPC32.
27009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27010         New file.
27011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27012         multiarch isinff for PowerPC32.
27014         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27015         alias when __isnan is defined.
27016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27017         and isnanf multiarch implementations.
27018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27019         file.
27020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27021         file.
27022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27023         file.
27024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27025         file.
27026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27027         multiarch isnan for PowerPC32.
27028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27029         New file.
27030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27031         New file.
27032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27033         multiarch isnanf for PowerPC32.
27035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27036         and sqrtf multiarch implementations.
27037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27038         file.
27039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27040         file.
27041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27042         multiarch sqrt for PowerPC32.
27043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27044         file.
27045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27046         file.
27047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27048         multiarch sqrtf for PowerPC32.
27050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27051         and llroundf multiarch implementations.
27052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27053         New file.
27054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27055         New file.
27056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27057         New file.
27058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27059         file: multiarch llround for PowerPC32.
27060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27061         file: multiarch llroundf for PowerPC32.
27063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27064         multiarch PowerPC32 fpu implementations.
27065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27066         New file.
27067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27068         New file.
27069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27070         multiarch llrint for PowerPC32.
27071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27072         New file.
27073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27074         New file.
27075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27076         file.
27078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27080         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27081         file.
27082         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27083         file.
27084         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27085         file.
27086         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27087         multiarch wordcopy for PPC32.
27088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27089         wordcopy objects.
27090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27091         (__libc_ifunc_impl_list): Likewise.
27092         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27093         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27094         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27095         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27096         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27097         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27099         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27101         file.
27102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27103         file.
27104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27105         file.
27106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27107         multiarch wcscpy for PPC32.
27108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27109         multiarch objects.
27110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27111         (__libc_ifunc_impl_list): Likewise.
27112         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27113         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27114         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27115         sysdeps/powerpc/power6/wcscpy.c.
27117         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27118         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27119         file.
27120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27121         file.
27122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27123         file.
27124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27125         multiarch wcsrchr for PPC32.
27126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27127         multiarch objects.
27128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27129         (__libc_ifunc_impl_list): Likewise.
27130         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27131         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27132         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27133         sysdeps/powerpc/power6/wcsrchr.c.
27135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27136         file.
27137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27138         file.
27139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27141         multiarch wcschr for PPc32.
27142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27143         multiarch objects.
27144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27145         (__libc_ifunc_impl_list): Likewise.
27146         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27147         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27148         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27149         sysdeps/powerpc/power6/wcschr.c.
27151         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27152         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27153         file.
27154         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27155         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27156         file: multiarch strchr for PPC32.
27157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27158         multiarch objects.
27159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27160         (__libc_ifunc_impl_list): Likewise.
27162         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27163         name.
27164         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27165         file.
27166         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27167         file.
27168         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27169         multiarch strchrnul for PPC32.
27170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27171         multiarch objects.
27172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27173         (__libc_ifunc_impl_list): Likewise.
27175         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27176         file.
27177         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27178         multiarch strncasecmp for PPC32.
27179         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27180         file.
27181         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27182         multiarch strncasecmp_l for PPC32.
27183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27184         strncasecmp multiarch objects.
27185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27186         (__libc_ifunc_impl_list): Likewise.
27188         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27189         file.
27190         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27191         multiarch strncasecmp for PPC32.
27192         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27193         New file.
27194         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27195         multiarch strcasecmp_l for PPC32.
27196         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27197         multiarch objects.
27198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27199         (__libc_ifunc_impl_list): Likewise.
27201         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27202         file.
27203         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27204         file.
27205         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27206         multiarch strncmp for PPC32.
27207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27208         multiarch objects.
27209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27210         (__libc_ifunc_impl_list): Likewise.
27212         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27213         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27214         file.
27215         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27216         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27218         multiarch objects.
27219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27220         (__libc_ifunc_impl_list): Likewise.
27222         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27223         file.
27224         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27225         file.
27226         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27228         multiarch objects.
27229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27230         (__libc_ifunc_impl_list): Likewise.
27232         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27233         file.
27234         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27235         file.
27236         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27237         multiarch rawmemchr for PPC32.
27238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27239         multiarch objects.
27240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27241         (__libc_ifunc_impl_list): Likewise.
27243         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27244         file.
27245         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27246         file.
27247         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27248         file: memrchr multiarch for PPC32.
27249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27250         multiarch objects.
27251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27252         (__libc_ifunc_impl_list): Likewise.
27254         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27255         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27256         file.
27257         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27258         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27259         multiarch memchr for PPC32.
27260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27261         multiarch objects.
27262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27263         (__libc_ifunc_impl_list): Likewise.
27265         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27266         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27267         file.
27268         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27269         file.
27270         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27271         file: multiarch mempcpy for PPC32.
27272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27273         multiarch objects.
27274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27275         (__libc_ifunc_impl_list): Likewise.
27277         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27278         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27279         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27280         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27281         multiarch bzero for PPC32.
27282         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27283         file.
27284         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27285         file.
27286         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27287         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27288         file: multiarch memset for PPC32.
27289         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27291         memset multiarch objects.
27292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27293         (__libc_ifunc_impl_list): Likewise.
27295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27296         file.
27297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27298         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27299         memcmp for PPC32.
27300         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27301         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27302         multiarch objects.
27303         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27304         (__libc_ifunc_impl_list): Likewise.
27306         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27307         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27308         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27309         file.
27310         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27311         file.
27312         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27313         file.
27314         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27315         multiarch memcpy for PPC32.
27316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27317         multiarch objects.
27318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27319         (__libc_ifunc_impl_list): Likewise.
27321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27322         support multiarch for POWER/PPC32.
27323         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27324         Likewise.
27325         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27327         Implies file to make multiarch folder appers before the fpu and
27328         default folder for power4 configuration.
27330 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27332         * scripts/bench.pl: Append volatile keyword to type.
27334 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27336         * sysdeps/sh/sotruss-lib.c: New file.
27337         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27339 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27343 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27345         [BZ #6810]
27346         * math/w_tgamma.c: Include <errno.h>.
27347         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27348         * math/w_tgammaf.c: Include <errno.h>.
27349         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27350         * math/w_tgammal.c: Include <errno.h>.
27351         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27352         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27353         underflow.  Add more tgamma tests.
27354         * math/auto-libm-test-out: Regenerated.
27355         * sysdeps/i386/fpu/libm-test-ulps: Update.
27356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27358         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27359         sin, sinh, tan, tanh, tgamma, y0 and y1.
27360         * math/auto-libm-test-out: Regenerated.
27361         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27362         (TEST_COND_x86): Likewise.
27363         (M_E2l): Remove macro.
27364         (M_E3l): Likewise.
27365         (M_2_SQRT_PIl): Likewise.
27366         (M_SQRT_PIl): Likewise.
27367         (M_1_DIV_El): Likewise.
27368         (log_test_data): Use AUTO_TESTS_f_f.
27369         (log10_test_data): Likewise.
27370         (log1p_test_data): Likewise.
27371         (log2_test_data): Likewise.
27372         (sin_test_data): Likewise.
27373         (sin_tonearest_test_data): Likewise.
27374         (sin_towardzero_test_data): Likewise.
27375         (sin_downward_test_data): Likewise.
27376         (sin_upward_test_data): Likewise.
27377         (sinh_test_data): Likewise.
27378         (sinh_tonearest_test_data): Likewise.
27379         (sinh_towardzero_test_data): Likewise.
27380         (sinh_downward_test_data): Likewise.
27381         (sinh_upward_test_data): Likewise.
27382         (tan_test_data): Likewise.
27383         (tan_tonearest_test_data): Likewise.
27384         (tan_towardzero_test_data): Likewise.
27385         (tan_downward_test_data): Likewise.
27386         (tan_upward_test_data): Likewise.
27387         (tanh_test_data): Likewise.
27388         (tgamma_test_data): Likewise.
27389         (y0_test_data): Likewise.
27390         (y1_test_data): Likewise.
27391         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27392         (special_real_inputs): Add pi/4.
27393         * sysdeps/i386/fpu/libm-test-ulps: Update.
27394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27396 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27398         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27399         "longjmp_target" static probes.
27400         (__longjmp): Rename to __longjmp_symbol.
27401         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27402         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27403         on which longjmp to generate.
27404         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27405         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27406         probe.
27407         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27408         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27409         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27410         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27411         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27412         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27414         __longjmp_symbol based on which __longjmp to generate.
27415         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27416         probe.
27417         (setjmp): Rename to setjmp_symbol.
27418         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27419         (_setjmp): Rename to _setjmp_symbol.
27420         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27421         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27422         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27423         which setjmp to generate.
27424         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27425         "longjmp_target" static probes.
27427 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27429         * benchtests/README: Add note about output arguments.
27430         * benchtests/bench-sincos.c: Remove file.
27431         * benchtests/sincos-inputs: New file.
27432         * scripts/bench.pl: Identify output arguments and define
27433         static variables for them.
27435         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27437         [BZ #15941]
27438         * Makefile (INSTALL): Add install-plain.texi as the primary
27439         dependency.
27440         * manual/install-plain.texi: New file.
27441         * manual/install.texi: Include node directive only for
27442         non-plaintext output.
27444 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27446         * stdlib/longlong.h: Update from GCC.
27448         [BZ #6807]
27449         [BZ #15901]
27450         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27451         * math/w_j0f.c (y0f): Likewise.
27452         * math/w_j0l.c (__y0l): Likewise.
27453         * math/w_j1.c (y1): Likewise.
27454         * math/w_j1f.c (y1f): Likewise.
27455         * math/w_j1l.c (__y1l): Likewise
27456         * math/w_jn.c (yn): Likewise.
27457         * math/w_jnf.c (ynf): Likewise.
27458         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27459         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27460         value for Bessel function domain errors outside _SVID_ mode.
27461         Adjust sign of return value for yn (negative integer, 0).
27462         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27463         by zero in return for negative x and set sign appropriately for
27464         negative n.
27465         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27466         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27467         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27468         expectations in error cases.
27469         (y1_test_data): Likewise.
27470         (yn_test_data): Likewise.
27471         * sysdeps/i386/fpu/libm-test-ulps: Update.
27472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27474 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27476         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27477         "64" to "64-v1".  Add "64-v2".
27478         (abi-64-options): Rename to ...
27479         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27480         (abi-64-condition): Rename to ...
27481         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27482         (abi-64-ld-soname): Rename to ...
27483         (abi-64-v1-ld-soname): ... this.
27484         (abi-64-v2-options): Define.
27485         (abi-64-v2-condition): Likewise.
27486         (abi-64-v2-ld-soname): Likewise.
27487         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27488         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27493 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27494             Alan Modra  <amodra@gmail.com>
27496         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27497         New versions for use with the ELFv2 ABI.
27498         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27499         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27500         declaration.
27501         (struct La_ppc64v2_retval): Likewise.
27502         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27503         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27504         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27505         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27506         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27507         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27508         Do not save or restore CR.
27509         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27510         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27511         return values for ELFv2 ABI.  Fix location of FPR return registers.
27512         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27513         updated values for _CALL_ELF == 2.
27514         (La_regs, La_retval, int_retval): Likewise.
27516 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27518         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27519         (FRAME_MIN_SIZE_PARM): Likewise.
27520         (FRAME_BACKCHAIN): Likewise.
27521         (FRAME_CR_SAVE): Likewise.
27522         (FRAME_LR_SAVE): Likewise.
27523         (FRAME_TOC_SAVE): Likewise.
27524         (FRAME_PARM_SAVE): Likewise.
27525         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27526         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27527         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27528         (call_mcount_parm_offset): New macro.
27529         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27530         (PROF): Use symbolic stack frame offsets.
27531         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27532         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27533         Redefine in terms of FRAME_MIN_SIZE.
27534         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27535         (_dl_profile_resolve): Likewise.  Update comment.
27536         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27537         symbols stack frame offsets.
27538         (__sigsetjmp): Likewise.
27539         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27540         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27541         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27542         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27545         (FRAME_BACKCHAIN): Remove.
27546         (FRAME_CR_SAVE): Likewise.
27547         (FRAME_LR_SAVE): Likewise.
27548         (FRAME_COMPILER_DW): Likewise.
27549         (FRAME_LINKER_DW): Likewise.
27550         (FRAME_TOC_SAVE): Likewise.
27551         (FRAME_PARM_SAVE): Likewise.
27552         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27553         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27554         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27556         (CHECK_SP): Use symbolic stack frame offsets.
27557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27558         zone" instead of caller's parameter save area for temp storage.
27559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27560         Likewise.  Also, use symbolic stack frame offsets.
27561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27562         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27563         our own stack frame instead of the caller's.
27564         (__socket): Use symbolic stack frame offsets.
27566 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27567             Alan Modra  <amodra@gmail.com>
27569         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27570         Define.
27571         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27572         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27573         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27574         New function.
27575         (elf_machine_fixup_plt): Call it.
27576         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27577         reloc arguments.
27578         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27579         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27580         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27581         r2 before calling target.
27583 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27584             Alan Modra  <amodra@gmail.com>
27586         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27587         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27588         versions of macros to support ELFv2 ABI.
27589         (LOCALENTRY): New macro.
27590         (ENTRY, EALIGN): Use it.
27591         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27592         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27593         fall through into ENTRY entry point.
27594         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27595         Only define if _CALL_ELF != 2.
27597         (elf_machine_matches_host): Verify ABI version matches.
27598         (RTLD_START): Use LOCALENTRY.
27599         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27600         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27601         (PLT_ENTRY_WORDS): New macro.
27602         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27603         (elf_machine_runtime_setup): Support ELFv2 ABI.
27604         (elf_machine_fixup_plt): Likewise.
27605         (elf_machine_plt_conflict): Likewise.
27606         (resolve_ifunc): Likewise.
27607         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27608         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27609         Likewise.
27610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27611         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27613         (makecontext): Support ELFv2 ABI.
27614         * elf/elf.h (EF_PPC64_ABI): Define.
27616 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27618         * sysdeps/powerpc/powerpc64/sysdep.h
27619         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27620         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27621         (ENTRY) [ASSEMBLER]: ... but instead here ...
27622         (EALIGN) [ASSEMBLER]: ... and here.
27623         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27624         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27625         (ENTRY_2) [!ASSEMBLER]: Use it.
27626         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27627         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27628         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27629         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27630         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27632         Use PPC64_LOAD_FUNCPTR.
27634         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27636 2013-12-04  Alan Modra  <amodra@gmail.com>
27638         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27639         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27640         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27641         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27643         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27644         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27645         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27646         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27647         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27648         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27650 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27653         (__makecontext): Fix incorrect CFI when backtracing out of
27654         context created via makecontext.
27655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27656         (__setcontext): Fix incorrect CFI during switch to new context.
27657         (__novec_setcontext): Likewise.
27659 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27661         [BZ #4772]
27662         * time/strptime_l.c (__strptime_internal): Allow modifiers
27663         in strptime.
27664         * time/tst-strptime.c (day_tests): Add testcase.
27666 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27668         * scripts/bench.pl: Skip over blank lines.
27670 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27672         [BZ #926]
27673         * manual/time.texi (Calendar Time): Clarify what timezone functions
27674         use.
27676 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27680 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27682         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27683         implementation.
27684         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27685         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27686         * debug/memset_chk.c (__memset_chk): Likewise.
27687         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27688         * debug/strncpy_chk.c: Likewise.
27690 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27692         [BZ #15268]
27693         [BZ #15425]
27694         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27695         (__ieee754_exp): For possibly underflowing results, check size of
27696         result and force underflow exception if required.
27697         * math/auto-libm-test-in: Add more tests of exp.
27698         * math/auto-libm-test-out: Regenerated.
27699         * sysdeps/i386/fpu/libm-test-ulps: Update.
27700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27702         [BZ #16283]
27703         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27704         * math/w_exp2f.c (__exp2f): Likewise.
27705         * math/w_exp2l.c (__exp2l): Likewise.
27706         * math/auto-libm-test-in: Do not allow missing errno on exp2
27707         underflow.
27708         * math/auto-libm-test-out: Regenerated.
27710 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27712         [BZ #16274]
27713         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27714         handle filename validation.
27715         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27716         (do_open): Delete.
27718 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27720         [BZ #6786]
27721         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27722         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27723         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27724         <float.h>.
27725         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27726         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27727         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27728         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27729         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27730         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27731         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27732         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27733         Add more erfc tests.
27734         * math/auto-libm-test-out: Regenerated.
27735         * sysdeps/i386/fpu/libm-test-ulps: Update.
27736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27738         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27739         exp2, expm1, j0 and j1.
27740         * math/auto-libm-test-out: Regenerated.
27741         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27742         (erfc_test_data): Likewise.
27743         (exp_test_data): Likewise.
27744         (exp_tonearest_test_data): Likewise.
27745         (exp_towardzero_test_data): Likewise.
27746         (exp_downward_test_data): Likewise.
27747         (exp_upward_test_data): Likewise.
27748         (exp10_test_data): Likewise.
27749         (exp2_test_data): Likewise.
27750         (expm1_test_data): Likewise.
27751         (j0_test_data): Likewise.
27752         (j1_test_data): Likewise.
27753         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27754         (input_flag_type): Add flag_xfail_rounding.
27755         (input_flags): Add xfail-rounding.
27756         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27757         (output_for_one_input_case): Handle flag_xfail_rounding.
27758         * sysdeps/i386/fpu/libm-test-ulps: Update.
27759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27761 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27763         [BZ #16289]
27764         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27765         division by 0.
27767 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27769         [BZ #16195]
27770         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27771         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27772         (STAP_PROBE0): New macro.
27773         (STAP_PROBE1): Likewise.
27774         (STAP_PROBE2): Likewise.
27775         (STAP_PROBE3): Likewise.
27776         (STAP_PROBE4): Likewise.
27778 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27780         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27782 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27784         * benchtests/Makefile (bench): Add sqrt.
27785         (LDLIBS-bench-sqrt): New.
27786         * benchtests/sqrt-input: New.
27788 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27790         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27791         (GAIH_EAI): Likewise.
27792         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27793         (gaih_inet): Likewise.
27794         (getaddrinfo): Don't use GAIH_EAI.
27796         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27797         (struct gaih): Remove definition.
27799 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27801         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27802         Use HERRNOP directly.
27804 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27808 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27810         * math/gen-auto-libm-tests.c (test_functions): Add more
27811         single-argument functions.
27812         (special_fill_pi_2): New function.
27813         (special_fill_minus_pi_2): Likewise.
27814         (special_fill_pi_6): Likewise.
27815         (special_fill_minus_pi_6): Likewise.
27816         (special_fill_pi_3): Likewise.
27817         (special_fill_2pi_3): Likewise.
27818         (special_fill_e): Likewise.
27819         (special_fill_1_e): Likewise.
27820         (special_fill_e_minus_1): Likewise.
27821         (special_real_inputs): Add more special inputs.
27822         (output_for_one_input_case): Do not require ERANGE on underflow to
27823         zero if round-to-nearest result does not underflow to zero, unless
27824         exact results required.
27825         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27826         atan, atanh, cbrt, cos and cosh.
27827         * math/auto-libm-test-out: Regenerated.
27828         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27829         (acos_tonearest_test_data): Likewise.
27830         (acos_towardzero_test_data): Likewise.
27831         (acos_downward_test_data): Likewise.
27832         (acos_upward_test_data): Likewise.
27833         (acosh_test_data): Likewise.
27834         (asin_test_data): Likewise.
27835         (asin_tonearest_test_data): Likewise.
27836         (asin_towardzero_test_data): Likewise.
27837         (asin_upward_test_data): Likewise.
27838         (asinh_test_data): Likewise.
27839         (atan_test_data): Likewise.
27840         (atanh_test_data): Likewise.
27841         (cbrt_test_data): Likewise.
27842         (cos_test_data): Likewise.
27843         (cos_tonearest_test_data): Likewise.
27844         (cos_towardzero_test_data): Likewise.
27845         (cos_downward_test_data): Likewise.
27846         (cos_upward_test_data): Likewise.
27847         (cosh_test_data): Likewise.
27848         (cosh_tonearest_test_data): Likewise.
27849         (cosh_towardzero_test_data): Likewise.
27850         (cosh_downward_test_data): Likewise.
27851         (cosh_upward_test_data): Likewise.
27852         * sysdeps/i386/fpu/libm-test-ulps: Update.
27853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27855 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27857         [BZ #6787]
27858         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27859         * math/w_exp10f.c (__exp10f): Likewise.
27860         * math/w_exp10l.c (__exp10l): Likewise.
27861         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27862         errno settings in existing tests.
27864         [BZ #14032]
27865         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27866         precision control set to double precision.
27867         * sysdeps/i386/fpu/w_sqrt.c: New file.
27868         * math/auto-libm-test-in: Add more tests.
27869         * math/auto-libm-test-out: Update.
27871         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27872         (sqrt_test_tonearest): New function.
27873         (sqrt_towardzero_test_data): New variable.
27874         (sqrt_test_towardzero): New function.
27875         (sqrt_downward_test_data): New variable.
27876         (sqrt_test_downward): New function.
27877         (sqrt_upward_test_data): New variable.
27878         (sqrt_test_upward): New function.
27879         (main): Call the new functions.
27881         * math/gen-auto-libm-tests.c: New file.
27882         * math/auto-libm-test-in: Likewise.
27883         * math/auto-libm-test-out: New generated file.
27884         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27885         variables.
27886         (%beautify): Add generated representations of zero.
27887         (top level): Set $auto_input and call parse_auto_input.
27888         (beautify): Remove trailing "f" from hex float constants.
27889         (parse_args): Handle XFAIL_TEST.
27890         (convert_condition): New function.
27891         (or_value): Likewise.
27892         (or_cond_value): Likewise.
27893         (generate_testfile): Handle AUTO_TESTS_* lines.
27894         (parse_auto_input): New function.
27895         * math/libm-test.inc (XFAIL_TEST): New macro.
27896         (ERRNO_UNCHANGED): Update value.
27897         (ERRNO_EDOM): Likewise.
27898         (ERRNO_ERANGE): Likewise.
27899         (IGNORE_RESULT): Likewise.
27900         (TEST_COND_flt_32): New macro.
27901         (TEST_COND_dbl_64): Likewise.
27902         (TEST_COND_ldbl_96_intel): Likewise.
27903         (TEST_COND_ldbl_96_m68k): Likewise.
27904         (TEST_COND_ldbl_128): Likewise.
27905         (TEST_COND_ldbl_128ibm): Likewise.
27906         (TEST_COND_long32): Likewise.
27907         (TEST_COND_long64): Likewise.
27908         (TEST_COND_before_rounding): Likewise.
27909         (TEST_COND_after_rounding): Likewise.
27910         (enable_test): Handle XFAIL_TEST flag.
27911         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27912         with finite results.
27913         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27914         auto-libm-test-out.
27916 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27917             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27919         [BZ #16214]
27920         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27921         __tls_get_addr_internal instead of __tls_get_offset in order to
27922         avoid GOT pointer dependency.  Make rtld export
27923         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27924         __tls_get_addr since we are a __tls_get_offset platform.
27925         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27926         GOT pointer being set up before.
27927         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27929 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27931         * manual/math.texi (Errors in Math Functions): Document accuracy
27932         goals.
27934         [BZ #15004]
27935         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27936         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27937         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27938         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27939         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27940         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27941         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27942         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27943         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27944         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27945         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27946         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27947         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27948         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27949         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27950         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27952         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27953         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27954         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27955         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27956         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27957         Likewise.
27958         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27959         Likewise.
27960         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27961         Likewise.
27962         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27963         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27964         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27965         atomic-feupdateenv and flt-rounds.
27966         * sysdeps/powerpc/nofpu/Versions (libc): Add
27967         __atomic_feholdexcept, __atomic_feclearexcept,
27968         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27969         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27970         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27971         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27972         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27973         here.
27974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27975         Update.
27977         * manual/arith.texi (FP Exceptions): Document that exceptions may
27978         not be raised when matherr is used.
27979         (Math Error Reporting): Document overflow in directed rounding
27980         modes.  Document that errno may not be set when finite values are
27981         returned on overflow.  Document intent to set errno on underflow
27982         only for underflow to zero.
27984         [BZ #16271]
27985         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27986         round-to-nearest then adjust result for other rounding modes.
27987         * include/fenv.h (fegetround): Use libm_hidden_proto.
27988         * math/fegetround.c (fegetround): Use libm_hidden_def.
27989         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27990         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27991         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27992         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27993         Likewise.
27994         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27995         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27996         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27997         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27999 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28001         [BZ #16077]
28002         * nss/Versions (libnss_files): Add
28003         _nss_files_gethostbyname3_r.
28004         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28005         New function.
28006         (HOST_DB_LOOKUP): Remove macro.
28007         (_nss_files_gethostbyname_r): Implement function without the
28008         HOST_DB_LOOKUP macro.
28009         (_nss_files_gethostbyname2_r): Likewise.
28011 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28013         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28015 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28017         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28018         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28019         warning.
28021 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28023         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28024         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28025         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28026         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28027         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28028         __fe_nomask_env_priv and attribute_hidden.
28029         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28030         (libc_feupdateenv_test_ppc): Likewise.
28031         (libc_feresetround_ppc): Likewise.
28032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28033         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28034         compat_symbol macro.
28035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28036         (__fe_nomask_env): Likewise.
28037         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28039 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28041         * string/Makefile: Remove ifunc tests.
28042         * string/test-string.h: Define TEST_IFUNC.
28043         * string/test-bcopy-ifunc.c: Remove.
28044         * string/test-bzero-ifunc.c: Likewise.
28045         * string/test-memccpy-ifunc.c: Likewise.
28046         * string/test-memchr-ifunc.c: Likewise.
28047         * string/test-memcmp-ifunc.c: Likewise.
28048         * string/test-memcpy-ifunc.c: Likewise.
28049         * string/test-memmem-ifunc.c: Likewise.
28050         * string/test-memmove-ifunc.c: Likewise.
28051         * string/test-mempcpy-ifunc.c: Likewise.
28052         * string/test-memrchr-ifunc.c: Likewise.
28053         * string/test-memset-ifunc.c: Likewise.
28054         * string/test-rawmemchr-ifunc.c: Likewise.
28055         * string/test-stpcpy-ifunc.c: Likewise.
28056         * string/test-stpncpy-ifunc.c: Likewise.
28057         * string/test-strcasecmp-ifunc.c: Likewise.
28058         * string/test-strcasestr-ifunc.c: Likewise.
28059         * string/test-strcat-ifunc.c: Likewise.
28060         * string/test-strchr-ifunc.c: Likewise.
28061         * string/test-strchrnul-ifunc.c: Likewise.
28062         * string/test-strcmp-ifunc.c: Likewise.
28063         * string/test-strcpy-ifunc.c: Likewise.
28064         * string/test-strcspn-ifunc.c: Likewise.
28065         * string/test-strlen-ifunc.c: Likewise.
28066         * string/test-strncasecmp-ifunc.c: Likewise.
28067         * string/test-strncat-ifunc.c: Likewise.
28068         * string/test-strncmp-ifunc.c: Likewise.
28069         * string/test-strncpy-ifunc.c: Likewise.
28070         * string/test-strnlen-ifunc.c: Likewise.
28071         * string/test-strpbrk-ifunc.c: Likewise.
28072         * string/test-strrchr-ifunc.c: Likewise.
28073         * string/test-strspn-ifunc.c: Likewise.
28074         * string/test-strstr-ifunc.c: Likewise.
28076 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28078         * benchtests/Makefile: Remove ifunc tests.
28079         * benchtests/bench-string.h: Define TEST_IFUNC.
28080         * benchtests/bench-bcopy-ifunc.c: Remove.
28081         * benchtests/bench-bzero-ifunc.c: Likewise.
28082         * benchtests/bench-memccpy-ifunc.c: Likewise.
28083         * benchtests/bench-memchr-ifunc.c: Likewise.
28084         * benchtests/bench-memcmp-ifunc.c: Likewise.
28085         * benchtests/bench-memcpy-ifunc.c: Likewise.
28086         * benchtests/bench-memmem-ifunc.c: Likewise.
28087         * benchtests/bench-memmove-ifunc.c: Likewise.
28088         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28089         * benchtests/bench-memrchr-ifunc.c: Likewise.
28090         * benchtests/bench-memset-ifunc.c: Likewise.
28091         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28092         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28093         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28094         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28095         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28096         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28097         * benchtests/bench-strcat-ifunc.c: Likewise.
28098         * benchtests/bench-strchr-ifunc.c: Likewise.
28099         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28100         * benchtests/bench-strcmp-ifunc.c: Likewise.
28101         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28102         * benchtests/bench-strcpy-ifunc.c: Likewise.
28103         * benchtests/bench-strcspn-ifunc.c: Likewise.
28104         * benchtests/bench-strlen-ifunc.c: Likewise.
28105         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28106         * benchtests/bench-strncat-ifunc.c: Likewise.
28107         * benchtests/bench-strncmp-ifunc.c: Likewise.
28108         * benchtests/bench-strncpy-ifunc.c: Likewise.
28109         * benchtests/bench-strnlen-ifunc.c: Likewise.
28110         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28111         * benchtests/bench-strrchr-ifunc.c: Likewise.
28112         * benchtests/bench-strsep-ifunc.c: Likewise.
28113         * benchtests/bench-strspn-ifunc.c: Likewise.
28114         * benchtests/bench-strstr-ifunc.c: Likewise.
28116 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28118         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28120 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28122         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28123         * rt/aio.h: Likewise.
28124         * sysdeps/gnu/bits/utmp.h: Likewise.
28125         * sysdeps/gnu/bits/utmpx.h: Likewise.
28126         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28127         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28128         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28129         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28130         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28131         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28132         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28133         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28134         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28135         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28136         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28137         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28138         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28140         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28141         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28142         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28143         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28144         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28145         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28146         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28147         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28148         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28149         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28150         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28151         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28152         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28153         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28154         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28155         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28156         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28157         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28158         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28159         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28160         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28161         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28162         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28163         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28164         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28165         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28166         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28167         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28169 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28171         [BZ #16245]
28172         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28173         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28175 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28177         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28178         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28179         Likewise.
28181 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28183         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28184         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28185         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28186         (__fesetround): Remove define.
28187         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28188         rounding and exceptions handling.
28189         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28190         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28191         (__fe_nomask_env): Likewise.
28192         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28193         __fegetround instead of fegetround.
28194         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28195         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28197 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28199         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28200         it's there.
28202         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28204 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28206         [BZ #11157]
28207         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28208         (encrypt_r): Likewise.
28209         * malloc/obstack.h (obstack_free): Likewise.
28210         * posix/unistd.h (encrypt): Likewise.
28212 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28214         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28215         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28216         DL_CALL_DT_FINI() that call the functions directly.
28217         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28218         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28219         * elf/dl-fini.c: Likewise.
28221 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28223         * malloc/hooks.c (memalign_check): Add alignment rounding.
28224         * malloc/malloc.c (_mid_memalign): New function.
28225         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28226         Implement by calling _mid_memalign.
28227         * manual/probes.texi (Memory Allocation Probes): Remove
28228         memory_valloc_retry and memory_pvalloc_retry.
28230 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28232         * locale/programs/locarchive.c (open_archive): Add const
28233         qualifier to ARCHIVEFNAME and copy default fname to
28234         DEFAULT_FNAME.
28236         [BZ #15601]
28237         * libio/tst-widetext.input: Rename Oriya to Odia.
28238         * locale/iso-639.def: Likewise.
28240         * manual/probes.texi (Mathematical Function Probes): Add
28241         documentation for sin, cos, asin and acos probes.
28242         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28243         (__sin32): Add slowasin probe.
28244         (__cos32): Add slowacos probe.
28245         (__mpsin): Add slowsin probe.
28246         (__mpcos): Add slowcos probe.
28248 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28250         [BZ #15483]
28251         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28252         thread-local __sim_exceptions_thread and global
28253         __sim_exceptions_global.
28254         (__sim_disabled_exceptions): Change to thread-local
28255         __sim_disabled_exceptions_thread and global
28256         __sim_disabled_exceptions_global.
28257         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28258         and global __sim_round_mode_global.
28259         (__simulate_exceptions): Use thread-local floating-point state and
28260         set global state from it as needed.
28261         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28262         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28263         __sim_round_mode_thread.
28264         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28265         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28266         and global __sim_exceptions_global.
28267         (__sim_disabled_exceptions): Change to thread-local
28268         __sim_disabled_exceptions_thread and global
28269         __sim_disabled_exceptions_global.
28270         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28271         and global __sim_round_mode_global.
28272         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28273         (SIM_SET_GLOBAL): Likewise.
28274         * sysdeps/powerpc/soft-fp/sfp-machine.h
28275         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28276         __sim_round_mode_thread.
28277         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28278         __sim_disabled_exceptions_thread.
28279         (__sim_exceptions): Change to __sim_exceptions_thread.
28280         (__sim_disabled_exceptions): Change to
28281         __sim_disabled_exceptions_thread.
28282         (__sim_round_mode): Change to __sim_round_mode_thread.
28283         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28284         thread-local floating-point state and set global state from it as
28285         needed.
28286         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28287         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28288         (__sim_disabled_exceptions): Remove extern declaration.
28289         (feenableexcept): Use thread-local floating-point state and set
28290         global state from it as needed.
28291         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28292         extern declaration.
28293         (__sim_disabled_exceptions): Likewise.
28294         (__sim_round_mode): Likewise.
28295         (__fegetenv): Use thread-local floating-point state.
28296         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28297         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28298         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28299         floating-point state and set global state from it as needed.
28300         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28301         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28302         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28303         Likewise.
28304         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28305         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28306         Likewise.
28307         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28308         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28309         Use __sim_round_mode_thread.
28310         * math/test-fenv-tls.c: New file.
28311         * math/Makefile (tests): Add test-fenv-tls.
28312         ($(objpfx)test-fenv-tls): Depend on
28313         $(common-objpfx)nptl/libpthread.so.
28315 2013-11-19  Andreas Schwab  <schwab@suse.de>
28317         * locale/programs/locale.c (show_info): Decode wordarray elements.
28318         * locale/categories.def (LC_MONETARY): Add element for
28319         _NL_MONETARY_CRNCYSTR.
28320         * locale/C-monetary.c (conversion_rate): New variable.
28321         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28322         element.
28324 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28326         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28327         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28329 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28331         * elf/Makefile (tst-auxv): New test.
28332         * elf/tst-auxv.c: New
28333         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28335 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28337         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28338         (hidden_proto): Caller changed.
28339         (hidden_tls_proto): New macro.
28340         (libc_hidden_tls_proto): Likewise.
28341         (rtld_hidden_tls_proto): Likewise.
28342         (libm_hidden_tls_proto): Likewise.
28343         (libresolv_hidden_tls_proto): Likewise.
28344         (librt_hidden_tls_proto): Likewise.
28345         (libdl_hidden_tls_proto): Likewise.
28346         (libnss_files_hidden_tls_proto): Likewise.
28347         (libnsl_hidden_tls_proto): Likewise.
28348         (libnss_nisplus_hidden_tls_proto): Likewise.
28349         (libutil_hidden_tls_proto): Likewise.
28351 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28353         [BZ #10253]
28354         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28355         (decompose_rpath): Defer expansion to fillin_rpath.
28356         (_dl_init_paths): Pass linkmap to fillin_rpath.
28358 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28360         * benchtests/Makefile: Add strsep.
28361         * benchtests/bench-strsep.c: New file: strsep benchtest.
28362         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28364 2013-11-18  Andreas Schwab  <schwab@suse.de>
28366         * locale/programs/locale.c (show_info) [case byte]: Check for
28367         '\377' instead of '\177'.
28368         * locale/C-monetary.c (not_available): Always use "\377".
28369         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28370         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28371         detect unavailable sign_posn locale elements.
28372         * locale/localeconv.c (__localeconv): For grouping and
28373         mon_grouping handle "\177" and "\377" like no grouping.
28374         (INT_ELEM): New macro.  Use it to set all numeric members.
28375         * locale/programs/ld-monetary.c (monetary_read)
28376         <tok_mon_grouping>: Normalize single -1 to the empty string.
28377         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28378         Likewise.
28380 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28382         [BZ #16055]
28383         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28384         when we match (nil).
28385         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28387 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28389         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28390         (NO_TEST_INLINE): Update value.
28391         (ERRNO_UNCHANGED): Likewise.
28392         (ERRNO_EDOM): Likewise.
28393         (ERRNO_ERANGE): Likewise.
28394         (IGNORE_RESULT): Likewise.
28395         (check_float_internal): Check signs of NaN results if
28396         TEST_NAN_SIGN used.
28397         (check_complex): Pass TEST_NAN_SIGN flag through to second
28398         check_float_internal call.
28399         (copysign_test_data): Add tests with quiet NaNs as second
28400         argument.  Use TEST_NAN_SIGN.
28401         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28402         TEST_NAN_SIGN.
28403         (signbit_test_data): Add tests of quiet NaN argument.
28404         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28406         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28407         $ignore_result.
28408         (parse_args): Handle function results specified as IGNORE.
28409         * math/libm-test.inc (IGNORE_RESULT): New macro.
28410         (check_float_internal): Do not check numerical result if flag
28411         IGNORE_RESULT set.
28412         (check_complex): Pass through IGNORE_RESULT to second
28413         check_float_internal call.
28414         (check_int): Do not check numerical result if flag IGNORE_RESULT
28415         set.
28416         (check_long): Likewise.
28417         (check_bool): Likewise.
28418         (check_longlong): Likewise.
28419         (lrint_test_data): Add tests of infinite and NaN arguments.
28420         (lrint_tonearest_test_data): Likewise.
28421         (lrint_towardzero_test_data): Likewise.
28422         (lrint_downward_test_data): Likewise.
28423         (lrint_upward_test_data): Likewise.
28424         (llrint_test_data): Likewise.
28425         (llrint_tonearest_test_data): Likewise.
28426         (llrint_towardzero_test_data): Likewise.
28427         (llrint_downward_test_data): Likewise.
28428         (llrint_upward_test_data): Likewise.
28429         (lround_test_data): Likewise.
28430         (llround_test_data): Likewise.
28432         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28433         (ERRNO_UNCHANGED): Update value.
28434         (ERRNO_EDOM): Likewise.
28435         (ERRNO_ERANGE): Likewise.
28436         (NO_TEST_INLINE_FLOAT): New macro.
28437         (NO_TEST_INLINE_DOUBLE): Likewise.
28438         (enable_test): New function.
28439         (RUN_TEST_f_f): Check enable_test before running test.
28440         (RUN_TEST_2_f): Likewise.
28441         (RUN_TEST_fff_f): Likewise.
28442         (RUN_TEST_c_f): Likewise.
28443         (RUN_TEST_f_f1): Likewise.
28444         (RUN_TEST_fF_f1): Likewise.
28445         (RUN_TEST_fI_f1): Likewise.
28446         (RUN_TEST_ffI_f1): Likewise.
28447         (RUN_TEST_c_c): Likewise.
28448         (RUN_TEST_cc_c): Likewise.
28449         (RUN_TEST_f_i): Likewise.
28450         (RUN_TEST_f_i_tg): Likewise.
28451         (RUN_TEST_ff_i_tg): Likewise.
28452         (RUN_TEST_f_b): Likewise.
28453         (RUN_TEST_f_b_tg): Likewise.
28454         (RUN_TEST_f_l): Likewise.
28455         (RUN_TEST_f_L): Likewise.
28456         (RUN_TEST_fFF_11): Likewise.
28457         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28458         conditionals.
28459         (cosh_test_data): Likewise.
28460         (exp_test_data): Likewise.
28461         (expm1_test_data): Likewise.
28462         (hypot_test_data): Likewise.
28463         (pow_test_data): Likewise.
28464         (sinh_test_data): Likewise.
28465         (tanh_test_data): Likewise.
28466         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28467         flags argument.
28469         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28470         tests with quiet NaN input and output.
28471         (acosh_test_data): Likewise.
28472         (asin_test_data): Likewise.
28473         (asinh_test_data): Likewise.
28474         (atan_test_data): Likewise.
28475         (atanh_test_data): Likewise.
28476         (atan2_test_data): Likewise.
28477         (cbrt_test_data): Likewise.
28478         (cos_test_data): Likewise.
28479         (cosh_test_data): Likewise.
28480         (erf_test_data): Likewise.
28481         (erfc_test_data): Likewise.
28482         (exp_test_data): Likewise.
28483         (exp10_test_data): Likewise.
28484         (exp2_test_data): Likewise.
28485         (expm1_test_data): Likewise.
28486         (hypot_test_data): Likewise.
28487         (j0_test_data): Likewise.
28488         (j1_test_data): Likewise.
28489         (jn_test_data): Likewise.
28490         (lgamma_test_data): Likewise.
28491         (log_test_data): Likewise.
28492         (log10_test_data): Likewise.
28493         (log1p_test_data): Likewise.
28494         (log2_test_data): Likewise.
28495         (pow_test_data): Likewise.
28496         (scalb_test_data): Likewise.
28497         (sin_test_data): Likewise.
28498         (sincos_test_data): Likewise.
28499         (sinh_test_data): Likewise.
28500         (tan_test_data): Likewise.
28501         (tanh_test_data): Likewise.
28502         (tgamma_test_data): Likewise.
28503         (y0_test_data): Likewise.
28504         (y1_test_data): Likewise.
28505         (yn_test_data): Likewise.
28507         [BZ #16167]
28508         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28509         argument being NaN and avoid computations with second argument in
28510         that case.
28511         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28512         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28513         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28515 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28517         * locale/iso-639.def: Add Chitwani Tharu (the).
28519 2013-11-14  Andreas Schwab  <schwab@suse.de>
28521         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28522         word instead of empty string.
28524 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28527         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28529         (__fe_nomask_env): Likewise.
28531 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28533         * benchtests/bench-timing.h: Include time.h.
28535 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28537         [BZ #15997]
28538         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28539         to 3.4.0 for x32.
28540         * sysdeps/unix/sysv/linux/configure: Regenerated.
28542 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28544         [BZ #16151]
28545         * stdlib/strtod_l.c (round_and_return): Do not consider
28546         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28547         exponent one less than half the least subnormal exponent.
28548         * stdlib/test-strtod-round-data: Add more tests.
28549         * stdlib/tst-strtod-round.c (tests): Regenerated.
28551 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28553         [BZ #14143]
28554         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28555         (__fe_mask_env): Likewise.
28556         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28557         libm_hidden_proto and add function prototype.
28558         (__fe_mask_env): Add function prototype.
28559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28560         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28562         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28564         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28566 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28568         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28569         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28571 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28573         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28574         of htab_find_slot().
28576 2013-11-11  David S. Miller  <davem@davemloft.net>
28578         [BZ #16150]
28579         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28580         symbol in the non-vis3 case in static builds.
28581         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28582         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28583         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28584         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28586 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28588         [BZ #387]
28589         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28590         it is empty.
28592 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28594         * benchtests/Makefile: Add bench-strtod.
28595         * benchtests/bench-strtod.c: New file: strtod benchtest
28597 2013-11-11  Andreas Schwab  <schwab@suse.de>
28599         [BZ #16153]
28600         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28601         terminating NUL in key length.
28603 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28605         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28606         Add artificial ODP entry for vDSO symbol for PPC64.
28607         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28608         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28610 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28612         [BZ #15374]
28613         * nss/getent.c (services_keys): Recognize services starting with digit.
28615 2013-11-06  David S. Miller  <davem@davemloft.net>
28617         [BZ #15985]
28618         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28619         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28621 2013-11-06  Will Newton  <will.newton@linaro.org>
28623         * manual/memory.texi (Malloc Examples): Remove register
28624         keyword from examples.
28626 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28628         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28630 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28632         [BZ #6981]
28633         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28634         depending on [__GCC_IEC_559 > 0].
28635         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28636         depending on [__GCC_IEC_559_COMPLEX > 0].
28638 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28640         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28641         to iso-639.def.
28643 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28645         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28647 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28649         [BZ #16112]
28650         * malloc/malloc (malloc_info): Do not handle first bin as
28651         special case.
28653 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28655         * locale/iso-639.def: Add Central Nahuatl (nhn).
28657 2013-11-01  Bruno Haible  <bruno@clisp.org>
28659         [BZ #7003]
28660         * manual/math.texi (BSD Random): Specify range upper bound as
28661         in POSIX.
28663 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28665         * locale/iso-639.def: Add Meadow Mari (mhr).
28667 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28669         [BZ #14752], [BZ #15763]
28670         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28671         Validate name.
28672         * rt/tst_shm.c: Add test for escaping directory.
28674 2013-10-31  Andreas Schwab  <schwab@suse.de>
28676         [BZ #15917]
28677         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28678         followed by 'x' as part of digit sequence.
28679         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28681 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28683         [BZ #16037]
28684         * configure.ac: allow GNU Make 4.0 and greater.
28685         * configure: Regenerated.
28687 2013-10-30  Will Newton  <will.newton@linaro.org>
28689         [BZ #16038]
28690         * malloc/hooks.c (memalign_check): Limit alignment to the
28691         maximum representable power of two.
28692         * malloc/malloc.c (__libc_memalign): Likewise.
28693         * malloc/tst-memalign.c (do_test): Add test for very
28694         large alignment values.
28695         * malloc/tst-posix_memalign.c (do_test): Likewise.
28697 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28699         [BZ #11087]
28700         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28701         (munmap_chunk): Likewise.
28702         (mremap_chunk): Likewise.
28704 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28706         [BZ #15799]
28707         * stdlib/div.c (div): Remove obsolete code.
28708         * stdlib/ldiv.c (ldiv): Likewise.
28709         * stdlib/lldiv.c (lldiv): Likewise.
28711 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28713         [BZ #16071]
28714         * nss/nss_files/files-XXX.c (get_contents_ret): New
28715         enumerator.
28716         (get_contents): New function.
28717         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28719 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28721         * configure.in: Moved to ...
28722         * configure.ac: ... here. Change reference to configure.in
28723         to configure.ac.
28724         * sysdeps/arm/preconfigure.ac: ... here.
28725         configure.in to configure.ac.
28726         * sysdeps/gnu/configure.in: Moved to ...
28727         * sysdeps/gnu/configure.ac: ... here.
28728         * sysdeps/i386/configure.in: Moved to ...
28729         * sysdeps/i386/configure.ac: ... here.
28730         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28731         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28732         * sysdeps/mach/configure.in: Moved to ...
28733         * sysdeps/mach/configure.ac: ... here.
28734         * sysdeps/mach/hurd/configure.in: Moved to ...
28735         * sysdeps/mach/hurd/configure.ac: ... here.
28736         * sysdeps/powerpc/configure.in: Moved to ...
28737         * sysdeps/powerpc/configure.ac: ... here.
28738         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28739         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28740         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28741         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28742         * sysdeps/s390/s390-32/configure.in: Moved to ...
28743         * sysdeps/s390/s390-32/configure.ac: ... here.
28744         * sysdeps/s390/s390-64/configure.in: Moved to ...
28745         * sysdeps/s390/s390-64/configure.ac: ... here.
28746         * sysdeps/sh/configure.in: Moved to ...
28747         * sysdeps/sh/configure.ac: ... here.
28748         * sysdeps/sparc/configure.in: Moved to ...
28749         * sysdeps/sparc/configure.ac: ... here.
28750         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28751         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28752         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28753         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28754         * sysdeps/x86_64/configure.in: Moved to ...
28755         * sysdeps/x86_64/configure.ac: ... here.
28756         * sysdeps/x86_64/preconfigure.in: Moved to ...
28757         * sysdeps/x86_64/preconfigure.ac: ... here.
28758         * aclocal.m4: Change reference to configure.in to configure.ac.
28759         * config.h.in: Likewise.
28760         * manual/install.texi: Likewise.
28761         * manual/maint.texi: Likewise.
28762         * Makefile: Likewise.
28763         * malloc/Makefile: Likewise.
28764         * nscd/Makefile: Likewise.
28765         * Makeconfig: Change reference to configure.in and
28766         preconfigure.in to configure.ac and preconfigure.ac
28767         respectively.
28768         * INSTALL: Regenerated.
28769         * configure: Likewise.
28770         * sysdeps/gnu/configure: Likewise.
28771         * sysdeps/i386/configure: Likewise.
28772         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28773         * sysdeps/mach/configure: Likewise.
28774         * sysdeps/mach/hurd/configure: Likewise.
28775         * sysdeps/powerpc/configure: Likewise.
28776         * sysdeps/powerpc/powerpc32/configure: Likewise.
28777         * sysdeps/powerpc/powerpc64/configure: Likewise.
28778         * sysdeps/s390/s390-32/configure: Likewise.
28779         * sysdeps/s390/s390-64/configure: Likewise.
28780         * sysdeps/sh/configure: Likewise.
28781         * sysdeps/sparc/configure: Likewise.
28782         * sysdeps/unix/sysv/linux/configure: Likewise.
28783         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28784         * sysdeps/x86_64/configure: Likewise.
28785         * sysdeps/x86_64/preconfigure: Likewise.
28787 2013-10-29  Andreas Schwab  <schwab@suse.de>
28789         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28791 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28793         * benchtests/pow-inputs: Add new inputs.
28795         * benchtests/exp-inputs: Add new inputs.
28797         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28798         conditional check for return value.
28799         (__cos32): Likewise.
28801 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28803         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28804         to provide a boost for large inputs with word alignment.
28805         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28806         implementation based on optimized PPC64 strcpy.
28807         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28808         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28809         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28810         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28812 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28814         [BZ #2801]
28815         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28817 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28819         [BZ #14876]
28820         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28821         * time/tst-strptime.c (day_tests): Add testcase.
28823 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28825         [BZ #14029]
28826         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28828 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28830         [BZ #16074]
28831         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28832         MAP_FAILED on error.
28834 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28836         [BZ #16072]
28837         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28838         heap for large requests.
28840 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28842         [BZ #9954]
28843         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28844         result if the result has no associated interface.
28845         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28846         interface for all 127.X.Y.Z addresses.
28848 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28850         * locale/iso-639.def: Add Ligurian (lij)
28852 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28854         [BZ #15825]
28855         * sunrpc/rpc_main.c: Document rpcgen -5.
28857 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28859         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28861 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28863         [BZ #10278]
28864         * posix/glob.c: Match only directories when trailing slash is present.
28865         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28866         (main): Add testcase.
28868 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28870         [BZ #15670]
28871         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28873 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28875         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28876         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28877         AUTH_DES and cindex for FIPS 140-2.
28878         (DES Encryption): Add cindex FIPS 46-3.
28880         * locale/locarchive.h (struct locarhandle): Add fname.
28881         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28882         if an optional argument was specified to --list-archive,
28883         otherwise NULL.
28884         * locale/programs/locarchive.c (show_archive_content): Take new
28885         argument fname and pass it via ah.fname to open_archive.
28886         * locale/programs/localedef.h: Update decl.
28887         (open_archive): If AH->fname is non-null, open that file
28888         rather than the default file name, and don't ignore ENOENT.
28889         (create_archive): Set AH.fname to NULL.
28890         (delete_locales_from_archive): Likewise.
28891         (add_locales_to_archive): Likewise.
28892         * locale/programs/locfile.c (write_all_categories): Likewise.
28894 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28895             Aldy Hernandez  <aldyh@redhat.com>
28897         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28898         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28899         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28900         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28901         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28902         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28903         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28904         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28905         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28906         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28907         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28908         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28909         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28910         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28911         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28912         Likewise.
28913         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28914         Likewise.
28915         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28916         Likewise.
28917         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28918         Likewise.
28919         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28920         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28921         Likewise.
28922         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28923         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28924         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28925         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28926         Likewise.
28927         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28928         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28929         * sysdeps/powerpc/preconfigure: Likewise.
28930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28931         Likewise.
28932         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28933         Replace contents of file by #include of <fenv_libc.h>.
28934         * sysdeps/powerpc/soft-fp/sfp-machine.h
28935         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28936         and <sys/prctl.h>.
28937         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28938         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28939         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28940         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28941         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28942         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28943         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28944         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28945         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28946         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28947         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28948         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28950         Allow copysignl PLT reference to be missing.
28952 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28953             Joseph Myers  <joseph@codesourcery.com
28955         [BZ #15948]
28956         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28957         single character.
28958         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28960 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28962         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28963         * elf/tst-tls1.c: Likewise.
28964         * elf/tst-tls10.h: Likewise.
28965         * elf/tst-tls14.c: Likewise.
28966         * elf/tst-tls2.c: Likewise.
28967         * elf/tst-tls3.c: Likewise.
28968         * elf/tst-tls4.c: Likewise.
28969         * elf/tst-tls5.c: Likewise.
28970         * elf/tst-tls6.c: Likewise.
28971         * elf/tst-tls7.c: Likewise.
28972         * elf/tst-tls8.c: Likewise.
28973         * elf/tst-tls9.c: Likewise.
28974         * elf/tst-tlsmod1.c: Likewise.
28975         * elf/tst-tlsmod13.c: Likewise.
28976         * elf/tst-tlsmod13a.c: Likewise.
28977         * elf/tst-tlsmod14a.c: Likewise.
28978         * elf/tst-tlsmod16a.c: Likewise.
28979         * elf/tst-tlsmod16b.c: Likewise.
28980         * elf/tst-tlsmod2.c: Likewise.
28981         * elf/tst-tlsmod3.c: Likewise.
28982         * elf/tst-tlsmod4.c: Likewise.
28983         * elf/tst-tlsmod5.c: Likewise.
28984         * elf/tst-tlsmod6.c: Likewise.
28986 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28988         [BZ #12486]
28989         * malloc/malloc.c: remove checks for statistics.
28991 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28993         [BZ #15277]
28994         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28995         * inet/tst-network.c: Add testcase.
28997 2013-10-17  Andreas Schwab  <schwab@suse.de>
28999         [BZ #15218]
29000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29001         to determine canonical name.
29003 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29005         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29006         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29007         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29008         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29009         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29010         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29011         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29012         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29013         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29014         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29015         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29016         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29017         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29018         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29019         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29020         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29021         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29022         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29023         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29024         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29025         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29026         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29027         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29028         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29029         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29030         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29031         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29032         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29033         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29034         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29035         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29036         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29037         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29038         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29039         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29040         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29041         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29042         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29043         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29044         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29045         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29046         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29047         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29048         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29049         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29050         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29051         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29052         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29053         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29054         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29055         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29056         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29057         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29058         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29059         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29060         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29061         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29062         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29064 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29066         [BZ #16041]
29067         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29068         make result into a quiet NaN.
29070 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29072         * soft-fp/adddf3.c: Fix horizontal whitespace.
29073         * soft-fp/addsf3.c: Likewise.
29074         * soft-fp/addtf3.c: Likewise.
29075         * soft-fp/divdf3.c: Likewise.
29076         * soft-fp/divsf3.c: Likewise.
29077         * soft-fp/divtf3.c: Likewise.
29078         * soft-fp/double.h: Likewise.
29079         * soft-fp/eqdf2.c: Likewise.
29080         * soft-fp/eqsf2.c: Likewise.
29081         * soft-fp/eqtf2.c: Likewise.
29082         * soft-fp/extenddftf2.c: Likewise.
29083         * soft-fp/extended.h: Likewise.
29084         * soft-fp/extendsfdf2.c: Likewise.
29085         * soft-fp/extendsftf2.c: Likewise.
29086         * soft-fp/extendxftf2.c: Likewise.
29087         * soft-fp/fixdfdi.c: Likewise.
29088         * soft-fp/fixdfsi.c: Likewise.
29089         * soft-fp/fixdfti.c: Likewise.
29090         * soft-fp/fixsfdi.c: Likewise.
29091         * soft-fp/fixsfsi.c: Likewise.
29092         * soft-fp/fixsfti.c: Likewise.
29093         * soft-fp/fixtfdi.c: Likewise.
29094         * soft-fp/fixtfsi.c: Likewise.
29095         * soft-fp/fixtfti.c: Likewise.
29096         * soft-fp/fixunsdfdi.c: Likewise.
29097         * soft-fp/fixunsdfsi.c: Likewise.
29098         * soft-fp/fixunsdfti.c: Likewise.
29099         * soft-fp/fixunssfdi.c: Likewise.
29100         * soft-fp/fixunssfsi.c: Likewise.
29101         * soft-fp/fixunssfti.c: Likewise.
29102         * soft-fp/fixunstfdi.c: Likewise.
29103         * soft-fp/fixunstfsi.c: Likewise.
29104         * soft-fp/fixunstfti.c: Likewise.
29105         * soft-fp/floatdidf.c: Likewise.
29106         * soft-fp/floatdisf.c: Likewise.
29107         * soft-fp/floatditf.c: Likewise.
29108         * soft-fp/floatsidf.c: Likewise.
29109         * soft-fp/floatsisf.c: Likewise.
29110         * soft-fp/floatsitf.c: Likewise.
29111         * soft-fp/floattidf.c: Likewise.
29112         * soft-fp/floattisf.c: Likewise.
29113         * soft-fp/floattitf.c: Likewise.
29114         * soft-fp/floatundidf.c: Likewise.
29115         * soft-fp/floatundisf.c: Likewise.
29116         * soft-fp/floatunditf.c: Likewise.
29117         * soft-fp/floatunsidf.c: Likewise.
29118         * soft-fp/floatunsisf.c: Likewise.
29119         * soft-fp/floatunsitf.c: Likewise.
29120         * soft-fp/floatuntidf.c: Likewise.
29121         * soft-fp/floatuntisf.c: Likewise.
29122         * soft-fp/floatuntitf.c: Likewise.
29123         * soft-fp/fmadf4.c: Likewise.
29124         * soft-fp/fmasf4.c: Likewise.
29125         * soft-fp/fmatf4.c: Likewise.
29126         * soft-fp/gedf2.c: Likewise.
29127         * soft-fp/gesf2.c: Likewise.
29128         * soft-fp/getf2.c: Likewise.
29129         * soft-fp/ledf2.c: Likewise.
29130         * soft-fp/lesf2.c: Likewise.
29131         * soft-fp/letf2.c: Likewise.
29132         * soft-fp/muldf3.c: Likewise.
29133         * soft-fp/mulsf3.c: Likewise.
29134         * soft-fp/multf3.c: Likewise.
29135         * soft-fp/negdf2.c: Likewise.
29136         * soft-fp/negsf2.c: Likewise.
29137         * soft-fp/negtf2.c: Likewise.
29138         * soft-fp/op-1.h: Likewise.
29139         * soft-fp/op-2.h: Likewise.
29140         * soft-fp/op-4.h: Likewise.
29141         * soft-fp/op-8.h: Likewise.
29142         * soft-fp/op-common.h: Likewise.
29143         * soft-fp/quad.h: Likewise.
29144         * soft-fp/single.h: Likewise.
29145         * soft-fp/soft-fp.h: Likewise.
29146         * soft-fp/sqrtdf2.c: Likewise.
29147         * soft-fp/sqrtsf2.c: Likewise.
29148         * soft-fp/sqrttf2.c: Likewise.
29149         * soft-fp/subdf3.c: Likewise.
29150         * soft-fp/subsf3.c: Likewise.
29151         * soft-fp/subtf3.c: Likewise.
29152         * soft-fp/truncdfsf2.c: Likewise.
29153         * soft-fp/trunctfdf2.c: Likewise.
29154         * soft-fp/trunctfsf2.c: Likewise.
29155         * soft-fp/trunctfxf2.c: Likewise.
29156         * soft-fp/unorddf2.c: Likewise.
29157         * soft-fp/unordsf2.c: Likewise.
29158         * soft-fp/unordtf2.c: Likewise.
29160 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29162         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29163         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29165 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29167         * elf/dl-libc.c: Clear initfini list after freeing.
29169 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29171         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29172         * soft-fp/addsf3.c: Likewise.
29173         * soft-fp/addtf3.c: Likewise.
29174         * soft-fp/divdf3.c: Likewise.
29175         * soft-fp/divsf3.c: Likewise.
29176         * soft-fp/divtf3.c: Likewise.
29177         * soft-fp/double.h: Likewise.
29178         * soft-fp/eqdf2.c: Likewise.
29179         * soft-fp/eqsf2.c: Likewise.
29180         * soft-fp/eqtf2.c: Likewise.
29181         * soft-fp/extenddftf2.c: Likewise.
29182         * soft-fp/extended.h: Likewise.
29183         * soft-fp/extendsfdf2.c: Likewise.
29184         * soft-fp/extendsftf2.c: Likewise.
29185         * soft-fp/extendxftf2.c: Likewise.
29186         * soft-fp/fixdfdi.c: Likewise.
29187         * soft-fp/fixdfsi.c: Likewise.
29188         * soft-fp/fixdfti.c: Likewise.
29189         * soft-fp/fixsfdi.c: Likewise.
29190         * soft-fp/fixsfsi.c: Likewise.
29191         * soft-fp/fixsfti.c: Likewise.
29192         * soft-fp/fixtfdi.c: Likewise.
29193         * soft-fp/fixtfsi.c: Likewise.
29194         * soft-fp/fixtfti.c: Likewise.
29195         * soft-fp/fixunsdfdi.c: Likewise.
29196         * soft-fp/fixunsdfsi.c: Likewise.
29197         * soft-fp/fixunsdfti.c: Likewise.
29198         * soft-fp/fixunssfdi.c: Likewise.
29199         * soft-fp/fixunssfsi.c: Likewise.
29200         * soft-fp/fixunssfti.c: Likewise.
29201         * soft-fp/fixunstfdi.c: Likewise.
29202         * soft-fp/fixunstfsi.c: Likewise.
29203         * soft-fp/fixunstfti.c: Likewise.
29204         * soft-fp/floatdidf.c: Likewise.
29205         * soft-fp/floatdisf.c: Likewise.
29206         * soft-fp/floatditf.c: Likewise.
29207         * soft-fp/floatsidf.c: Likewise.
29208         * soft-fp/floatsisf.c: Likewise.
29209         * soft-fp/floatsitf.c: Likewise.
29210         * soft-fp/floattidf.c: Likewise.
29211         * soft-fp/floattisf.c: Likewise.
29212         * soft-fp/floattitf.c: Likewise.
29213         * soft-fp/floatundidf.c: Likewise.
29214         * soft-fp/floatundisf.c: Likewise.
29215         * soft-fp/floatunsidf.c: Likewise.
29216         * soft-fp/floatunsisf.c: Likewise.
29217         * soft-fp/floatuntidf.c: Likewise.
29218         * soft-fp/floatuntisf.c: Likewise.
29219         * soft-fp/floatuntitf.c: Likewise.
29220         * soft-fp/fmadf4.c: Likewise.
29221         * soft-fp/fmasf4.c: Likewise.
29222         * soft-fp/fmatf4.c: Likewise.
29223         * soft-fp/gedf2.c: Likewise.
29224         * soft-fp/gesf2.c: Likewise.
29225         * soft-fp/getf2.c: Likewise.
29226         * soft-fp/ledf2.c: Likewise.
29227         * soft-fp/lesf2.c: Likewise.
29228         * soft-fp/letf2.c: Likewise.
29229         * soft-fp/muldf3.c: Likewise.
29230         * soft-fp/mulsf3.c: Likewise.
29231         * soft-fp/multf3.c: Likewise.
29232         * soft-fp/negdf2.c: Likewise.
29233         * soft-fp/negsf2.c: Likewise.
29234         * soft-fp/negtf2.c: Likewise.
29235         * soft-fp/op-1.h: Likewise.
29236         * soft-fp/op-2.h: Likewise.
29237         * soft-fp/op-4.h: Likewise.
29238         * soft-fp/op-8.h: Likewise.
29239         * soft-fp/op-common.h: Likewise.
29240         * soft-fp/quad.h: Likewise.
29241         * soft-fp/single.h: Likewise.
29242         * soft-fp/soft-fp.h: Likewise.
29243         * soft-fp/sqrtdf2.c: Likewise.
29244         * soft-fp/sqrtsf2.c: Likewise.
29245         * soft-fp/sqrttf2.c: Likewise.
29246         * soft-fp/subdf3.c: Likewise.
29247         * soft-fp/subsf3.c: Likewise.
29248         * soft-fp/subtf3.c: Likewise.
29249         * soft-fp/truncdfsf2.c: Likewise.
29250         * soft-fp/trunctfdf2.c: Likewise.
29251         * soft-fp/trunctfsf2.c: Likewise.
29252         * soft-fp/trunctfxf2.c: Likewise.
29253         * soft-fp/unorddf2.c: Likewise.
29254         * soft-fp/unordsf2.c: Likewise.
29255         * soft-fp/unordtf2.c: Likewise.
29257 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29259         [BZ #15672]
29260         * misc/error.c (error_tail): Fix possible buffer overflow.
29262 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29264         [BZ #13028]
29265         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29266         address.
29268 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29270         [BZ #832]
29271         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29272         testing pipefail option.
29274 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29276         * soft-fp/double.h: Indent preprocessor directives inside #if.
29277         * soft-fp/extended.h: Likewise.
29278         * soft-fp/op-2.h: Likewise.
29279         * soft-fp/op-4.h: Likewise.
29280         * soft-fp/op-common.h: Likewise.
29281         * soft-fp/quad.h: Likewise.
29282         * soft-fp/single.h: Likewise.
29283         * soft-fp/soft-fp.h: Likewise.
29285 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29287         * iconv/iconv_prog.c: Fix typos.
29288         * stdio-common/psiginfo-data.h: Likewise.
29290 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29292         [BZ #15764]
29293         * locale/setlocale.c: Fix typo.
29295 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29297         [BZ #16036]
29298         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29299         signaling NaN arguments.
29300         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29301         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29303         [BZ #14910]
29304         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29305         unordered operands.
29306         * soft-fp/gesf2.c (__gesf2): Likewise.
29307         * soft-fp/getf2.c (__getf2): Likewise.
29308         * soft-fp/ledf2.c (__ledf2): Likewise.
29309         * soft-fp/lesf2.c (__lesf2): Likewise.
29310         * soft-fp/letf2.c (__letf2): Likewise.
29312         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29313         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29314         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29315         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29316         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29317         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29318         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29319         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29320         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29321         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29322         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29323         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29324         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29325         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29326         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29327         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29328         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29329         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29330         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29331         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29332         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29333         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29334         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29335         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29336         * soft-fp/floattidf.c (__floattidf): Likewise.
29337         * soft-fp/floattisf.c (__floattisf): Likewise.
29338         * soft-fp/floattitf.c (__floattitf): Likewise.
29339         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29340         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29341         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29342         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29343         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29344         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29345         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29346         * soft-fp/gesf2.c (__gesf2): Likewise.
29347         * soft-fp/getf2.c (__getf2): Likewise.
29348         * soft-fp/ledf2.c (__ledf2): Likewise.
29349         * soft-fp/lesf2.c (__lesf2): Likewise.
29350         * soft-fp/letf2.c (__letf2): Likewise.
29352         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29353         Undefine and redefine.
29354         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29355         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29356         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29357         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29358         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29359         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29360         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29361         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29362         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29363         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29364         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29365         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29366         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29367         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29368         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29370         [BZ #16032]
29371         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29372         without decrementing exponent if mantissa >= that for the
29373         denominator, not >.
29374         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29375         denominator, not >.  Decrement exponent in < case instead of
29376         incrementing in >= case.
29377         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29378         without decrementing exponent if mantissa >= that for the
29379         denominator, not >.
29381         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29382         computing saturated result for unsigned overflow.
29384 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29385             Jeff Law  <law@redhat.com>
29387         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29388         (atan2Mp): Add systemtap probe marker.
29389         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29390         (__ieee754_log): Add systemtap probe marker.
29391         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29392         (atanMp): Add systemtap probe marker.
29393         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29394         (tanMp): Add systemtap probe marker.
29395         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29396         (__slowexp): Add systemtap probe marker.
29397         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29398         (__slowpow): Add systemtap probe marker.
29399         * manual/probes.texi: Document probes.
29401 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29403         [BZ #15362]
29404         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29405         written.
29406         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29407         written.
29408         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29409         written to buffer but not flushed.
29410         * libio/iofwrite_u.c:  Likewise.
29411         * libio/iopadn.c:  Return bytes returned even if EOF was
29412         encountered.
29413         * libio/iowpadn.c:  Likewise.
29414         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29415         if _IO_padn does not write the whole buffer.
29416         [!COMPILE_WPRINTF] (PAD): Likewise.
29418 2013-10-10  David S. Miller  <davem@davemloft.net>
29420         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29421         directory block.
29423 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29425         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29426         instead of FSF address.
29427         * soft-fp/fixdfti.c: Likewise.
29428         * soft-fp/fixsfti.c: Likewise.
29429         * soft-fp/fixtfti.c: Likewise.
29430         * soft-fp/fixunsdfti.c: Likewise.
29431         * soft-fp/fixunssfti.c: Likewise.
29432         * soft-fp/fixunstfti.c: Likewise.
29433         * soft-fp/floattidf.c: Likewise.
29434         * soft-fp/floattisf.c: Likewise.
29435         * soft-fp/floattitf.c: Likewise.
29436         * soft-fp/floatuntidf.c: Likewise.
29437         * soft-fp/floatuntisf.c: Likewise.
29438         * soft-fp/floatuntitf.c: Likewise.
29439         * soft-fp/trunctfxf2.c: Likewise.
29441         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29442         * soft-fp/fixdfti.c: Likewise.
29443         * soft-fp/fixsfti.c: Likewise.
29444         * soft-fp/fixtfti.c: Likewise.
29445         * soft-fp/fixunsdfti.c: Likewise.
29446         * soft-fp/fixunssfti.c: Likewise.
29447         * soft-fp/fixunstfti.c: Likewise.
29448         * soft-fp/floattidf.c: Likewise.
29449         * soft-fp/floattisf.c: Likewise.
29450         * soft-fp/floattitf.c: Likewise.
29451         * soft-fp/floatuntidf.c: Likewise.
29452         * soft-fp/floatuntisf.c: Likewise.
29453         * soft-fp/floatuntitf.c: Likewise.
29454         * soft-fp/trunctfxf2.c: Likewise.
29456 2013-10-10  David S. Miller  <davem@davemloft.net>
29458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29460 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29462         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29463         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29464         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29465         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29466         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29467         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29468         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29470         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29471         for NaNs before doing comparisons on argument.
29472         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29473         Likewise.
29475 2013-10-10  Will Newton  <will.newton@linaro.org>
29477         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29478         passed to _int_memalign does not overflow.
29480 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29482         * scripts/bench.pl: Add include-sources directive.
29483         * benchtests/README: Update documentation.
29485 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29487         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29488         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29489         instead of FP_INIT_ROUNDMODE.
29490         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29491         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29493         [BZ #16034]
29494         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29495         copy class of input value.
29496         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29497         not handle exceptions.
29498         * soft-fp/negsf2.c (__negsf2): Likewise.
29499         * soft-fp/negtf2.c (__negtf2): Likewise.
29500         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29502 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29504         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29505         semicolon.  From Linux kernel.
29507 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29509         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29511 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29513         [BZ #156]
29514         * manual/socket.texi: Added statement about buffer
29515         for gethostbyname2_r.
29517 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29519         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29520         Use .p2align directive instead, throughout.
29521         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29522         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29523         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29524         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29525         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29526         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29527         * sysdeps/x86_64/strchr.S: Likewise.
29528         * sysdeps/x86_64/strrchr.S: Likewise.
29530 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29532         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29534         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29536         * sysdeps/generic/math_private.h (__mpsin1): Remove
29537         declaration.
29538         (__mpcos1): Likewise.
29539         (__mpsin): New argument __range_reduce.
29540         (__mpcos): Likewise.
29541         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29542         (slow): Use __mpsin and __mpcos.
29543         (slow1): Likewise.
29544         (slow2): Likewise.
29545         (sloww): Likewise.
29546         (sloww1): Likewise.
29547         (sloww2): Likewise.
29548         (bsloww): Likewise.
29549         (bsloww1): Likewise.
29550         (bsloww2): Likewise.
29551         (cslow2): Likewise.
29552         (csloww): Likewise.
29553         (csloww1): Likewise.
29554         (csloww2): Likewise.
29555         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29556         range_reduce.  Merge in __mpsin1.
29557         (__mpcos): Likewise.
29558         (__mpsin1): Remove.
29559         (__mpcos1): Likewise.
29561 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29563         * locale/loadlocale.c (_nl_intern_locale_data): Use
29564         LOCFILE_ALIGNED_P.
29565         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29566         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29567         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29568         obstack data is appropriately aligned.
29569         (obstack_int32_grow_fast): Likewise.
29570         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29571         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29572         (add_locale_uint32_array): Likewise.
29574 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29576         * benchtests/Makefile: Remove ARGLIST and RET variables.
29577         ($(objpfx)bench-%.c): Pass only function name to the script.
29578         * benchtests/README: Update documentation.
29579         * benchtests/acos-inputs: Add new directives.
29580         * benchtests/acosh-inputs: Likewise.
29581         * benchtests/asin-inputs: Likewise.
29582         * benchtests/asinh-inputs: Likewise.
29583         * benchtests/atan-inputs: Likewise.
29584         * benchtests/atanh-inputs: Likewise.
29585         * benchtests/cos-inputs: Likewise.
29586         * benchtests/cosh-inputs: Likewise.
29587         * benchtests/exp-inputs: Likewise.
29588         * benchtests/log-inputs: Likewise.
29589         * benchtests/pow-inputs: Likewise.
29590         * benchtests/rint-inputs: Likewise.
29591         * benchtests/sin-inputs: Likewise.
29592         * benchtests/sinh-inputs: Likewise.
29593         * benchtests/tan-inputs: Likewise.
29594         * benchtests/tanh-inputs: Likewise.
29595         * scripts/bench.pl: Add support for new directives.
29597 2013-10-07  Alan Modra  <amodra@gmail.com>
29599         * README: Fix careless merge.
29601 2013-10-05  Alan Modra  <amodra@gmail.com>
29603         * NEWS: Mention powerpc64le support and bugs fixed.
29604         * README: Both big-endian and little-endian powerpc64 supported.
29606 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29608         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29609         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29610         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29611         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29613 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29615         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29616         match prototype.
29618 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29620         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29621         Move -mhard-float appending from
29622         ports/sysdeps/powerpc/powerpc32/Makefile.
29623         [$(with-fp) = yes] (ASFLAGS): Likewise.
29624         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29625         * sysdeps/powerpc/nofpu: Move directory from
29626         ports/sysdeps/powerpc/nofpu.
29627         * sysdeps/powerpc/soft-fp: Move directory from
29628         ports/sysdeps/powerpc/soft-fp.
29629         * sysdeps/powerpc/powerpc32/405: Move directory from
29630         ports/sysdeps/powerpc/powerpc32/405.
29631         * sysdeps/powerpc/powerpc32/440: Move directory from
29632         ports/sysdeps/powerpc/powerpc32/440.
29633         * sysdeps/powerpc/powerpc32/464: Move directory from
29634         ports/sysdeps/powerpc/powerpc32/464.
29635         * sysdeps/powerpc/powerpc32/476: Move directory from
29636         ports/sysdeps/powerpc/powerpc32/476.
29637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29638         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29640         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29642         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29644         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29646         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29647         * README: Update for powerpc-*-linux-gnu software floating point
29648         support in libc.
29650         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29651         case to powerpc/powerpc32*.
29652         * sysdeps/unix/sysv/linux/configure: Regenerated.
29654         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29655         (_FPU_MASK_OM): Define as 0x04.
29656         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29657         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29658         0x00c10080.
29659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29660         0x0000003c.
29661         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29664         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29665         getcontext_e500.
29666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29667         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29668         setcontext_e500.
29669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29670         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29671         and setcontext_e500.
29673 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29675         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29677 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29679         * manual/threads.texi (Default Thread Attributes): Fix typo.
29681 2013-10-04  Will Newton  <will.newton@linaro.org>
29683         * malloc/Makefile: Add tst-memalign.
29684         * malloc/tst-memalign.c: New file.
29686         * malloc/tst-posix_memalign.c: Add comments.
29687         (do_test): Add comments and call free on all potentially
29688         allocated pointers. Add space after cast.
29690         * malloc/tst-pvalloc.c: Add comments.
29691         (do_test): Add comments and call free on all potentially
29692         allocated pointers. Remove duplicate check for NULL pointer.
29693         Add space after cast.
29695         * malloc/tst-valloc.c: Add comments.
29696         (do_test): Add comments and call free on all potentially
29697         allocated pointers. Remove duplicate check for NULL pointer.
29698         Add space after cast.
29700 2013-10-04  Alan Modra  <amodra@gmail.com>
29702         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29703         Use stdint types in rather than __attribute__((mode())).
29704         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29706 2013-10-04  Alan Modra  <amodra@gmail.com>
29708         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29709         Correct handling of unaligned relocs for little-endian.
29710         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29712 2013-10-04  Alan Modra  <amodra@gmail.com>
29714         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29715         * configure: Regenerate.
29716         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29717         * shlib-versions: Likewise.
29719 2013-10-04  Alan Modra  <amodra@gmail.com>
29721         * string/tester.c (test_memrchr): Increment reported test cycle.
29723 2013-10-04  Alan Modra  <amodra@gmail.com>
29725         * string/test-memcpy.c (do_one_test): When reporting errors, print
29726         string address and don't overrun end of string.
29728 2013-10-04  Alan Modra  <amodra@gmail.com>
29730         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29731         insrdi.  Make better use of reg selection to speed exit slightly.
29732         Schedule entry path a little better.  Remove useless "are we done"
29733         checks on entry to main loop.  Handle wrapping around zero address.
29734         Correct main loop count.  Handle single left-over word from main
29735         loop inline rather than by using loop_small.  Remove extra word
29736         case in loop_small caused by wrong loop count.  Add little-endian
29737         support.
29738         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29739         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29740         cache hint.
29741         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29742         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29743         support.  Avoid rlwimi.
29744         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29746 2013-10-04  Alan Modra  <amodra@gmail.com>
29748         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29749         insrdi.  Formatting.
29750         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29751         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29752         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29753         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29754         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29755         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29757 2013-10-04  Alan Modra  <amodra@gmail.com>
29759         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29760         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29761         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29762         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29763         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29764         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29765         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29766         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29767         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29768         use of regs.  Use power7 mtocrf.  Tidy function tails.
29770 2013-10-04  Alan Modra  <amodra@gmail.com>
29772         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29773         Formatting.  Consistently use rXXX register defines or rN defines.
29774         Use early exit labels that avoid restoring unused non-volatile regs.
29775         Make cr field use more consistent with rWORDn compares.  Rename
29776         regs used as shift registers for unaligned loop, using rN defines
29777         for short lifetime/multiple use regs.
29778         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29779         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29780         addi 1,1,64 to pop stack frame.  Simplify return value code.
29781         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29783 2013-10-04  Alan Modra  <amodra@gmail.com>
29785         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29786         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29787         rather than rlwimi.
29788         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29789         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29790         little-endian support.  Correct typos.
29791         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29792         rather than rlwimi.
29793         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29794         in loop and entry code to keep "and." results.
29795         (strchr): Add little-endian support.  Comment.  Move cntlzd
29796         earlier in tail.
29797         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29799 2013-10-04  Alan Modra  <amodra@gmail.com>
29801         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29802         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29803         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29804         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29806 2013-10-04  Alan Modra  <amodra@gmail.com>
29808         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29809         (rTMP): Define as r11.
29810         (strcmp): Add little-endian support.  Optimise tail.
29811         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29812         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29813         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29814         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29815         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29816         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29817         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29819 2013-10-04  Alan Modra  <amodra@gmail.com>
29821         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29822         little-endian support.  Remove unnecessary "are we done" tests.
29823         Handle "s" wrapping around zero and extremely large "size".
29824         Correct main loop count.  Handle single left-over word from main
29825         loop inline rather than by using small_loop.  Correct comments.
29826         Delete "zero" tail, use "end_max" instead.
29827         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29829 2013-10-04  Alan Modra  <amodra@gmail.com>
29831         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29832         support.  Don't branch over align.
29833         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29834         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29835         support.  Rearrange tmp reg use to suit.  Comment.
29836         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29838 2013-10-04  Alan Modra  <amodra@gmail.com>
29840         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29842 2013-10-04  Alan Modra  <amodra@gmail.com>
29844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29845         conditional form of branch and link when obtaining pc.
29846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29848 2013-10-04  Alan Modra  <amodra@gmail.com>
29850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29851         HIWORD/LOWORD.
29852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29855 2013-10-04  Alan Modra  <amodra@gmail.com>
29857         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29858         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29859         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29860         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29861         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29862         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29863         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29864         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29865         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29866         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29868 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29869             Alistair Popple <alistair@ozlabs.au.ibm.com>
29870             Alan Modra <amodra@gmail.com>
29872         [BZ #15723]
29873         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29874         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29875         _dl_hwcap access for little-endian.
29876         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29877         destroy vmx regs when saving unaligned.
29878         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29879         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29880         destroy vmx regs when saving unaligned.
29882 2013-10-04  Alan Modra  <amodra@gmail.com>
29884         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29885         Don't use a union to pack hi/low value.
29887 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29889         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29890         for little-endian.
29891         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29892         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29893         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29894         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29895         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29897 2013-10-04  Alan Modra  <amodra@gmail.com>
29899         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29900         constants to usual value for .cst8 section, and remove redundant
29901         high address load.
29902         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29903         constant for 0x1p52.  Load little-endian words of double from
29904         correct stack offsets.
29906 2013-10-04  Alan Modra  <amodra@gmail.com>
29908         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29909         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29910         words of double from correct stack offsets.
29911         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29912         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29913         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29914         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29915         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29916         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29917         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29918         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29919         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29920         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29921         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29922         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29923         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29924         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29925         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29926         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29927         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29929 2013-10-04  Alan Modra  <amodra@gmail.com>
29931         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29932         64-bit int/double union.
29933         (_FPU_SETCW): Likewise.
29934         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29935         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29937 2013-10-04  Alan Modra  <amodra@gmail.com>
29939         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29940         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29942 2013-10-04  Alan Modra  <amodra@gmail.com>
29944         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29945         use vector int constants.
29946         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29948 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29950         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29951         array with long long.
29952         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29953         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29954         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29955         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29956         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29957         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29958         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29959         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29960         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29961         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29962         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29963         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29964         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29966 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29968         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29969         (__signbit): Likewise.  Correct for little-endian.
29970         (__signbitl): Call __signbit.
29971         (lrint): Correct for little-endian.
29972         (lrintf): Call lrint.
29974 2013-10-04  Alan Modra  <amodra@gmail.com>
29976         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29977         union 32-bit int array member with 64-bit int array.
29978         (t515, tm256): Double rather than long double.
29979         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29981 2013-10-04  Alan Modra  <amodra@gmail.com>
29983         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29984         Delete.
29985         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29986         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29987         version of math_ldbl.h.
29989 2013-10-04  Alan Modra  <amodra@gmail.com>
29991         [BZ #15734], [BZ #15735]
29992         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29993         all uses of ieee875 long double macros and unions.  Simplify test
29994         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29995         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29996         normalize after ldbl_extract_mantissa, and don't add hidden bit
29997         already handled.  Don't treat low word of ieee854 mantissa like
29998         low word of IBM long double and mask off bit when testing for
29999         zero.
30000         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30001         all uses of ieee875 long double macros and unions.  Simplify tests
30002         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30003         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30004         two1022, instead use their values.  Recognise that tests for large
30005         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30006         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30007         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30008         test for 0.0L and nan.  Correct negation.
30009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30010         ieee875 long double macros and unions.  Correct output for large
30011         magnitude x.  Correct absolute value calculation.
30012         (__erfcl): Likewise.
30013         * math/libm-test.inc: Add tests for errors discovered in IBM long
30014         double versions of fmodl, remainderl, erfl and erfcl.
30016 2013-10-04  Alan Modra  <amodra@gmail.com>
30018         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30019         all uses of ieee854 long double macros and unions.  Simplify tests
30020         for long doubles that are fully specified by the high double.
30021         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30022         Likewise.
30023         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30024         Remove dead code too.
30025         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30026         (__ieee754_ynl): Likewise.
30027         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30028         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30029         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30030         Remove dead code too.
30031         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30032         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30033         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30034         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30035         Simplify.
30036         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30037         Simplify.
30038         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30039         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30040         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30041         Comment on variable precision.
30042         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30043         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30044         Likewise.
30045         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30046         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30047         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30048         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30049         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30051 2013-10-04  Alan Modra  <amodra@gmail.com>
30053         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30054         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30055         all uses of ieee854 long double macros and unions.
30056         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30057         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30058         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30059         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30060         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30061         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30062         Likewise.
30063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30064         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30065         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30066         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30067         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30068         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30069         Simplify sign and nan test too.
30070         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30071         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30072         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30073         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30074         Likewise.
30075         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30076         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30077         Likewise.
30078         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30079         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30080         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30081         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30082         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30083         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30085 2013-10-04  Alan Modra  <amodra@gmail.com>
30087         * stdio-common/printf_size.c (__printf_size): Don't use
30088         union ieee854_long_double in fpnum union.
30089         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30090         signbit macro to retrieve sign from long double.
30091         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30092         retrieve sign from long double.
30093         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30094         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30095         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30096         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30097         * math/test-misc.c (main): Don't use union ieee854_long_double.
30099 2013-10-04  Alan Modra  <amodra@gmail.com>
30101         [BZ #15680]
30102         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30103         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30104         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30105         calculation.  Remove unnecessary test for denormal exponent.
30106         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30107         Correct handling of denormals.  Avoid undefined shift behaviour.
30108         Correct normalisation of low mantissa when low double is denormal.
30109         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30110         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30111         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30112         Correct normalisation of low mantissa.  Test for overflow of high
30113         mantissa and normalise.
30114         (ldbl_nearbyint): Use more readable constant for two52.
30115         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30116         (__mpn_construct_long_double): Fix test for overflow of high
30117         mantissa and correct normalisation.  Avoid undefined shift.
30119 2013-10-04  Alan Modra  <amodra@gmail.com>
30121         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30122         (union ibm_extended_long_double): Define as an array of ieee754_double.
30123         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30124         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30125         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30126         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30127         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30128         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30129         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30130         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30131         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30132         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30133         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30135 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30137         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30138         page size instead of calling getpagesize.
30140         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30141         (LOCFILE_ALIGN_MASK): Likewise.
30142         (LOCFILE_ALIGN_UP): Likewise.
30143         (LOCFILE_ALIGNED_P): Likewise.
30144         * locale/programs/ld-collate.c (collate_output): Use the new
30145         macros instead of __alignof__ (int32_t).
30146         * locale/weight.h (findidx): Likewise.
30148 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30150         [BZ #431]
30151         * manual/string.texi: Fix strncat and wcsncat.
30153 2013-10-03  Brooks Moses  <bmoses@google.com>
30155         [BZ #15915]
30156         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30157         * Makerules: ...here, and adjust associated comments.
30159 2013-10-02  Will Newton  <will.newton@linaro.org>
30161         * malloc/Makefile: Add tst-pvalloc.
30162         * malloc/tst-pvalloc.c: New file.
30164 2013-10-02  Will Newton  <will.newton@linaro.org>
30166         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30167         improve test coverage.
30169 2013-10-02  Will Newton  <will.newton@linaro.org>
30171         * malloc/Makefile: Add tst-posix_memalign.
30172         * malloc/tst-posix_memalign.c: New file.
30174 2013-10-01  Eric Blake  <eblake@redhat.com>
30176         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30177         Use __THROWNL rather than __THROW on static functions.
30179 2013-09-30  Petr Machata  <pmachata@redhat.com>
30181         * elf/elf.h (R_AARCH64_ABS16): New macro.
30182         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30183         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30184         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30185         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30186         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30187         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30188         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30189         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30190         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30191         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30192         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30193         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30194         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30195         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30196         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30197         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30198         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30199         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30200         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30201         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30202         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30203         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30204         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30205         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30206         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30207         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30208         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30209         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30210         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30211         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30212         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30213         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30214         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30215         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30216         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30217         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30218         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30219         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30220         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30221         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30222         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30223         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30224         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30225         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30226         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30227         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30228         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30229         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30230         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30231         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30232         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30233         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30234         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30235         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30236         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30237         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30238         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30239         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30240         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30241         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30242         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30243         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30244         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30245         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30246         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30247         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30248         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30249         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30250         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30251         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30252         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30253         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30254         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30255         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30256         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30257         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30258         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30259         (R_AARCH64_TLSDESC_LDR): Likewise.
30260         (R_AARCH64_TLSDESC_ADD): Likewise.
30261         (R_AARCH64_TLSDESC_CALL): Likewise.
30263 2013-09-30  Andreas Schwab  <schwab@suse.de>
30265         [BZ #15048]
30266         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30267         the nss database lookup.
30268         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30271 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30273         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30275 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30277         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30278         ${Bash-specific parameter/pattern/string} parameter expansion.
30279         * sysdeps/unix/make-syscalls.sh: Likewise.
30281 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30283         * sysdeps/sh/stackguard-macros.h: New file.
30285 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30289         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30290         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30291         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30292         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30294 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30296         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30297         Fix thread ID register.
30299 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30301         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30302         [POSIX || UNIX98]: Require rather than permitting all symbols from
30303         <time.h>.
30304         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30305         element of struct sched_param.
30306         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30307         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30308         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30309         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30310         constant.
30312 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30314         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30315         argument calculation.
30317 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30319         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30320         Expect macro.
30321         [POSIX] (pthread_attr_t): Do not require type.
30322         [POSIX] (pthread_cond_t): Likewise.
30323         [POSIX] (pthread_condattr_t): Likewise.
30324         [POSIX] (pthread_key_t): Likewise.
30325         [POSIX] (pthread_mutex_t): Likewise.
30326         [POSIX] (pthread_mutexattr_t): Likewise.
30327         [POSIX] (pthread_once_t): Likewise.
30328         [POSIX] (pthread_t): Likewise.
30329         [POSIX-based standards] (pthread_atfork): Expect function.
30331 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30332             Richard Sandiford  <richard@codesourcery.com>
30334         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30335         (swap_endianness_p): New extern variable.
30336         (set_big_endian): New inline function.
30337         (maybe_swap_uint32): Likewise.
30338         (maybe_swap_uint32_array): Likewise.
30339         (maybe_swap_uint32_obstack): Likewise.
30340         * locale/programs/locfile.c: Include <stdbool.h>.
30341         (swap_endianness_p): New variable.
30342         (add_locale_uint32): Call maybe_swap_uint32.
30343         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30344         (write_locale_data): Call maybe_swap_uint32_array.
30345         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30346         maybe_swap_uint32.
30347         (obstack_int32_grow_fast): Likewise.
30348         (output_weightwc): Call maybe_swap_uint32_obstack.
30349         (collate_output): Likewise.
30350         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30351         (OPT_LITTLE_ENDIAN): Likewise.
30352         (options): Add --little-endian and --big-endian options.
30353         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30354         * locale/programs/locarchive.c: Include "locfile.h".
30355         (GET): New macro.
30356         (SET): Likewise.
30357         (INC): Likewise.
30358         (create_archive): Use the new macros to access fields of
30359         structures directly mapped from or written to locale archives.
30360         (oldlocrecentcmp): Likewise.
30361         (enlarge_archive): Likewise.
30362         (insert_name): Likewise.
30363         (add_alias): Likewise.
30364         (add_locale): Likewise.
30365         (delete_locales_from_archive): Likewise.
30366         (show_archive_content): Likewise.
30367         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30368         locale data.
30370 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30372         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30373         http://www.gnu.org/doc/freemanuals.texi.
30374         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30376 2013-09-24  Will Newton  <will.newton@linaro.org>
30378         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30379         macro.
30381 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30383         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30384         unsigned char.
30386 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30388         * manual/threads.texi (POSIX Threads): Fix a typo.
30390 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30392         [BZ #14547]
30393         * string/tst-strcoll-overflow.c: New test case.
30394         * string/Makefile (xtests): Add tst-strcoll-overflow.
30395         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30396         cache if string sizes may cause integer overflow.
30398         [BZ #14547]
30399         * string/strcoll_l.c (coll_seq): New members rule, idx,
30400         save_idx and back_us.
30401         (get_next_seq_nocache): New function.
30402         (do_compare_nocache): New function.
30403         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30404         when malloc fails.
30406 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30408         [BZ #15754]
30409         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30410         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30411         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30413         [BZ #15754]
30414         * elf/Makefile (tests): Add tst-ptrguard1.
30415         (tests-static): Add tst-ptrguard1-static.
30416         (tst-ptrguard1-ARGS): Define.
30417         (tst-ptrguard1-static-ARGS): Define.
30418         * elf/tst-ptrguard1.c: New file.
30419         * elf/tst-ptrguard1-static.c: New file.
30420         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30421         * sysdeps/i386/stackguard-macros.h: Likewise.
30422         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30423         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30424         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30425         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30426         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30427         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30429 2013-09-23  Hector Marco  <hecmargi@upv.es>
30430             Ismael Ripoll  <iripoll@disca.upv.es>
30431             Carlos O'Donell  <carlos@redhat.com>
30433         [BZ #15754]
30434         * sysdeps/generic/stackguard-macros.h: Define
30435         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30436         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30437         Define __pointer_chk_guard_local.
30438         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30439         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30441 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30443         [BZ #15859]
30444         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30446 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30448         * include/string.h (__ffs): Declare as hidden.
30449         * string/ffs.c (__ffs): Define as hidden.
30450         * sysdeps/i386/ffs.c (__ffs): Likewise.
30451         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30452         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30453         * sysdeps/s390/ffs.c (__ffs): Likewise.
30454         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30456 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30458         * NEWS: Mention malloc probes.
30460         * malloc/arena.c (new_heap): New memory_heap_new probe.
30461         (grow_heap): New memory_heap_more probe.
30462         (shrink_heap): New memory_heap_less probe.
30463         (heap_trim): New memory_heap_free probe.
30464         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30465         (systrim): New memory_sbrk_less probe.
30466         * manual/probes.texi: Document them.
30468         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30469         * manual/probes.texi: Document it.
30471         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30472         (__libc_realloc): Add memory_realloc_retry probe.
30473         (__libc_memalign): Add memory_memalign_retry probe.
30474         (__libc_valloc): Add memory_valloc_retry probe.
30475         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30476         (__libc_calloc): Add memory_calloc_retry probe.
30477         * manual/probes.texi: Document them.
30479         * malloc/arena.c (get_free_list): Add probe
30480         memory_arena_reuse_free_list.
30481         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30482         and memory_arena_reuse.
30483         (arena_get2) [!PER_THREAD]: Likewise.
30484         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30485         memory_arena_reuse_realloc.
30486         * manual/probes.texi: Document them.
30488         * malloc/malloc.c (__libc_free): Add
30489         memory_mallopt_free_dyn_thresholds probe.
30490         (__libc_mallopt): Add multiple memory_mallopt probes.
30491         * manual/probes.texi: Document them.
30493         * malloc/malloc.c: Include stap-probe.h.
30494         (__libc_mallopt): Add memory_mallopt probe.
30495         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30496         * manual/probes.texi: New.
30497         * manual/Makefile (chapters): Add probes.
30498         * manual/threads.texi: Set next node.
30500 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30502         [BZ #15963, #13985]
30503         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30504         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30505         Add `Chinese' to `nan' entry name.
30507 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30509         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30510         (POLYNOMIAL): Likewise.
30511         (TAYLOR_SINCOS): Likewise.
30512         (TAYLOR_SLOW): Likewise.
30513         (__sin): Use TAYLOR_SINCOS.
30514         (__cos): Likewise.
30515         (slow): Use TAYLOR_SLOW.
30516         (sloww): Likewise.
30517         (bsloww): Likewise.
30518         (csloww): Likewise.
30520 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30522         * stdlib/strtod_l.c: Fix buffer overrun.
30524 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30526         * benchtests/Makefile (bench): Add sincos.
30527         * benchtests/bench-sincos.c: New file.
30529         * math/libm-test.inc (cos_test_data): New test inputs.
30530         (sin_test_data): Likewise.
30532         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30533         macro.
30534         (__sin): Use it.
30535         (__cos): Likewise.
30536         (slow1): Likewise.
30537         (slow2): Likewise.
30538         (sloww1): Likewise.
30539         (sloww2): Likewise.
30540         (bsloww1): Likewise.
30541         (bsloww2): Likewise.
30542         (cslow2): Likewise.
30543         (csloww1): Likewise.
30544         (csloww2): Likewise.
30546         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30547         function.
30548         (__sin): Use it.
30549         (__cos): Likewise.
30551         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30552         gotos.
30553         (__cos): Likewise.
30555 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30557         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30558         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30559         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30560         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30561         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30562         * elf/cache.c (print_entry): Handle the new cache flags.
30564 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30565             Aldy Hernandez  <aldyh@redhat.com>
30567         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30568         Change condition to [_SOFT_FLOAT].
30569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30571         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30574         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30581         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30584         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30585         declaration.
30587 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30589         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30590         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30591         (__longjmp): Use LOAD_GP to load saved GPRs.
30592         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30593         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30594         (__sigsetjmp): Use SAVE_GP to save GPRs.
30596         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30597         Do not append -msoft-float.
30598         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30600 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30602         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30604 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30606         [BZ #15966]
30607         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30608         (_FPU_GETCW): Use initial "__" on variable and field names but not
30609         on macro parameter name.
30610         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30611         parentheses around reference to macro parameter.
30613 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30615         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30616         prototype.
30617         (ctype_startup): Use uint32_t in cast and sizeof for
30618         ctype->charnames.
30620 2013-09-11  Jia Liu  <proljc@gmail.com>
30622         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30623         __daddr_t_defined.
30624         [__FreeBSD__]: Likewise.
30626 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30628         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30629         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30630         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30631         (strchr): Remove __strchr_sse42 ifunc selection.
30632         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30633         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30635 2013-09-11  Will Newton  <will.newton@linaro.org>
30637         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30638         parameter to RES. Remove hardcoded 1000 value.
30639         * benchtests/bench-skeleton.c (main): Pass RES parameter
30640         to TIMING_INIT and multiply result by 1000.
30642 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30646 2013-09-11  Andreas Schwab  <schwab@suse.de>
30648         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30649         if not defined.
30650         (O_TMPFILE) [__USE_GNU]: Define.
30651         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30652         Define.
30654 2013-09-11  Will Newton  <will.newton@linaro.org>
30656         [BZ #15857]
30657         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30658         does not overflow.
30660 2013-09-11  Will Newton  <will.newton@linaro.org>
30662         [BZ #15856]
30663         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30664         does not overflow.
30666 2013-09-11  Will Newton  <will.newton@linaro.org>
30668         [BZ #15855]
30669         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30670         does not overflow.
30672 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30674         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30675         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30676         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30677         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30678         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30680 2013-09-10  Allan McRae  <allan@archlinux.org>
30682         [BZ #15748]
30683         * manual/arith.texi (Parsing of Floats): Clarify
30684         cross-reference.
30686         [BZ #15849]
30687         * manual/install.texi (Running make install): Mention
30688         --enable-pt-chown.
30689         * INSTALL: Regenerated.
30691 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30693         * csu/init-first.c (_init): Remove the !SHARED condition around
30694         FPU control word initialization.
30695         * elf/dl-support.c (_dl_fpu_control): New variable.
30696         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30697         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30698         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30699         * math/test-fpucw-static.c: New file.
30700         * math/test-fpucw-ieee.c: New file.
30701         * math/test-fpucw-ieee-static.c: New file.
30702         * math/Makefile (tests): Add `test-fpucw-ieee' and
30703         `$(tests-static)'.
30704         (tests-static): New variable.
30705         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30706         dependency to...
30707         [($(build-shared),yes)]
30708         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30709         ... this.
30710         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30711         New dependency.
30713 2013-09-09  Allan McRae  <allan@archlinux.org>
30715         [BZ #15939]
30716         * manual/string.texi (Collation Functions): Fix typo in
30717         strcoll example.
30718         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30720         [BZ #15893]
30721         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30723         [BZ #15892]
30724         * libio/memstream.c (open_memstream): Fix memory leak.
30725         * libio/wmemstream.c (open_wmemstream): Likewise.
30727         [BZ #15895]
30728         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30730 2013-09-09  Will Newton  <will.newton@linaro.org>
30732         * malloc/Makefile: Add tst-realloc to tests.
30733         * malloc/tst-realloc.c: New file.
30735 2013-09-09  Allan McRae  <allan@archlinux.org>
30737         [BZ #15844]
30738         * COPYING: Update from GNU website to fix FSF address.
30739         * COPYING.LIB: Likewise.
30741 2013-09-06  David S. Miller  <davem@davemloft.net>
30743         * po/zh_TW.po: Update Chinese (traditional) translation from
30744         translation project.
30746 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30747             Joseph Myers  <joseph@codesourcery.com>
30749         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30750         "localeinfo.h".
30751         (obstack_chunk_alloc): New macro.
30752         (obstack_chunk_free): Likewise.
30753         (record_offset): New function.
30754         (init_locale_data): Likewise.
30755         (align_locale_data): Likewise.
30756         (add_locale_empty): Likewise.
30757         (add_locale_raw_data): Likewise.
30758         (add_locale_raw_obstack): Likewise.
30759         (add_locale_string): Likewise.
30760         (add_locale_wstring): Likewise.
30761         (add_locale_uint32): Likewise.
30762         (add_locale_uint32_array): Likewise.
30763         (add_locale_char): Likewise.
30764         (start_locale_structure): Likewise.
30765         (end_locale_structure): Likewise.
30766         (start_locale_prelude): Likewise.
30767         (end_locale_prelude): Likewise.
30768         (write_locale_data): Take locale_file structure rather than an
30769         iovec.
30770         * locale/programs/locfile.h: Include "obstack.h".
30771         (struct locale_file): Change to store locale file contents instead
30772         of header.
30773         (init_locale_data): New prototype.
30774         (align_locale_data): Likewise.
30775         (add_locale_empty): Likewise.
30776         (add_locale_raw_data): Likewise.
30777         (add_locale_raw_obstack): Likewise.
30778         (add_locale_string): Likewise.
30779         (add_locale_wstring): Likewise.
30780         (add_locale_uint32): Likewise.
30781         (add_locale_uint32_array): Likewise.
30782         (add_locale_char): Likewise.
30783         (start_locale_structure): Likewise.
30784         (end_locale_structure): Likewise.
30785         (start_locale_prelude): Likewise.
30786         (end_locale_prelude): Likewise.
30787         (write_locale_data): Update prototype.
30788         * locale/programs/3level.h (struct TABLE): Remove result field.
30789         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30790         Use new locale_file interface.
30791         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30792         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30793         * locale/programs/ld-address.c (address_output): Use new
30794         locale_file interface.
30795         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30796         NO_ADD_LOCALE.
30797         (collate_finish): Don't call collseq_table_finalize.
30798         (collate_output): Use new locale_file interface.
30799         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30800         in file.
30801         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30802         (TABLE): Move defines earlier in file.
30803         (ELEMENT): Likewise.
30804         (DEFAULT): Likewise.
30805         (wctrans_table_add): Move macro and inline function earlier in
30806         file.
30807         (struct wctype_table): Move type earlier in file.
30808         (add_locale_wctype_table): New static prototype.
30809         (struct locale_ctype_t): Use logical types instead of struct iovec
30810         pointers for members.
30811         (ctype_output): Use new locale_file interface.
30812         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30813         new locale_file interface.
30814         (allocate_arrays): Update for use of new locale_file interface.
30815         * locale/programs/ld-identification.c (identification_output): Use
30816         new locale_file interface.
30817         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30818         * locale/programs/ld-messages.c (messages_output): Likewise.
30819         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30820         * locale/programs/ld-name.c (name_output): Likewise.
30821         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30822         * locale/programs/ld-paper.c (paper_output): Likewise.
30823         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30824         * locale/programs/ld-time.c (time_output): Likewise.
30826 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30828         * benchtests/Makefile: Add memrchr benchmark.
30829         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30830         benchmark as memrchr.
30831         * benchtests/bench-memrchr-ifunc.c: New file.
30832         * benchtests/bench-memrchr.c: New file.
30834 2013-09-06   Will Newton  <will.newton@linaro.org>
30836         * benchtests/Makefile (string-bench): Add memcpy.
30838 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30839             Cong Wang  <amwang@redhat.com>
30841         [BZ #15850]
30842         * sysdeps/unix/sysv/linux/bits/in.h
30843         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30844         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30845         before __USE_KERNEL_IPV6_DEFS uses.
30846         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30847         IPPROTO_BEETPH.
30848         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30849         sockaddr_in6, or ipv6_mreq.
30851 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30853         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30854         memory access for final bytes in some large inputs.
30855         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30857 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30859         * string/test-memrchr.c: New file.
30860         * string/test-memrchr-ifunc.c: New file.
30861         * string/Makefile: Add new memrchr testcase.
30863 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30865         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30866         fanotify_init returns EPERM.
30868 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30870         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30871         errors.
30872         (top level): Treat second token from macro or constant entries for
30873         allowed headers as allowed.
30874         * include/complex.h: Condition internal declarations on
30875         [!_ISOMAC].
30876         * include/fenv.h: Condition include of <stdbool.h> and internal
30877         declarations on [!_ISOMAC].
30879 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30881         [BZ #15923]
30882         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30884 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30886         * configure.in (--enable-versioning): Remove configure option.
30887         (libc_cv_asm_symver_directive): Remove configure test.
30888         (libc_cv_ld_version_script_option): Likewise.
30889         (VERSIONING): Remove variable and AC_SUBST.
30890         (DO_VERSIONING): Remove AC_DEFINE.
30891         * configure: Regenerated.
30892         * config.h.in (DO_VERSIONING): Remove macro.
30893         * Makerules [$(versioning) = yes]: Change conditionals to
30894         [$(build-shared) = yes].
30895         * config.make.in (versioning): Remove variable.
30896         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30897         [$(build-shared) = yes].
30898         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30899         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30900         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30901         [$(build-shared) = yes].
30902         * extra-lib.mk [$(versioning) = yes]: Likewise.
30903         * hurd/Makefile [$(versioning) = yes]: Likewise.
30904         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30905         [SHARED].
30906         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30907         [SHARED].
30908         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30909         [SHARED && !NO_HIDDEN].
30910         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30911         [SHARED].
30912         [SHARED && DO_VERSIONING]: Likewise..
30913         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30914         [$(build-shared) = yes].
30915         * manual/install.texi (--disable-versioning): Remove
30916         documentation.
30917         * INSTALL: Regenerated.
30918         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30919         to [SHARED].
30920         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30921         [$(build-shared) = yes].
30922         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30923         * sysdeps/i386/i686/multiarch/strstr-c.c
30924         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30925         [SHARED && !NO_HIDDEN].
30926         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30927         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30928         * sysdeps/powerpc/powerpc32/dl-machine.c
30929         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30930         * sysdeps/powerpc/powerpc32/sysdep.h
30931         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30932         to [SHARED && PIC && !NO_HIDDEN].
30933         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30934         conditional to [SHARED].
30936 2013-09-04   Will Newton  <will.newton@linaro.org>
30938         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30939         * benchtests/bench-string.h: Include bench-timing.h instead
30940         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30941         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30942         call to HP_TIMING_DIFF_INIT.
30943         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30944         instead of hp-timing.h macros.
30945         * benchtests/bench-memchr.c: Likewise.
30946         * benchtests/bench-memcmp.c: Likewise.
30947         * benchtests/bench-memcpy.c: Likewise.
30948         * benchtests/bench-memmem.c: Likewise.
30949         * benchtests/bench-memmove.c: Likewise.
30950         * benchtests/bench-memset.c: Likewise.
30951         * benchtests/bench-rawmemchr.c: Likewise.
30952         * benchtests/bench-strcasecmp.c: Likewise.
30953         * benchtests/bench-strcasestr.c: Likewise.
30954         * benchtests/bench-strcat.c: Likewise.
30955         * benchtests/bench-strchr.c: Likewise.
30956         * benchtests/bench-strcmp.c: Likewise.
30957         * benchtests/bench-strcpy.c: Likewise.
30958         * benchtests/bench-strcpy_chk.c: Likewise.
30959         * benchtests/bench-strlen.c: Likewise.
30960         * benchtests/bench-strncasecmp.c: Likewise.
30961         * benchtests/bench-strncat.c: Likewise.
30962         * benchtests/bench-strncmp.c: Likewise.
30963         * benchtests/bench-strncpy.c: Likewise.
30964         * benchtests/bench-strnlen.c: Likewise.
30965         * benchtests/bench-strpbrk.c: Likewise.
30966         * benchtests/bench-strrchr.c: Likewise.
30967         * benchtests/bench-strspn.c: Likewise.
30968         * benchtests/bench-strstr.c: Likewise.
30970 2013-09-04  Will Newton  <will.newton@linaro.org>
30972         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30974 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30976         [BZ #15427]
30977         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30978         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30979         * math/libm-test.inc (lgamma_test_data): Add more tests.
30980         * sysdeps/i386/fpu/libm-test-ulps: Update.
30981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30983 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30985         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30987         Add ifunc.
30988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30989         Add strcmp-sse2-unaligned
30990         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30992 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30994         * Versions.def (libc): Add GLIBC_2.19.
30996 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30998         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30999         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31001 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31003         [BZ #14155]
31004         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31005         intermediate calculations in recurrence.
31006         (__ieee754_ynf): Likewise.
31007         * math/libm-test.inc (jn_test_data): Do not allow spurious
31008         underflow exception.  Add more tests.
31009         (yn_test_data): Add more tests.
31010         * sysdeps/i386/fpu/libm-test-ulps: Update.
31011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31013 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31015         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31017 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31019         * csu/init-first.c: Fix then/than typos.
31020         * locale/programs/ld-collate.c: Likewise.
31021         * locale/programs/linereader.h: Likewise.
31022         * manual/charset.texi: Likewise.
31023         * manual/filesys.texi: Likewise.
31024         * manual/stdio.texi: Likewise.
31025         * manual/string.texi: Likewise.
31026         * stdlib/fmtmsg.c: Likewise.
31027         * sysdeps/i386/stpncpy.S: Likewise.
31028         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31029         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31030         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31031         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31033 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31035         * elf/dl-open.c: Fix typos.
31036         * iconvdata/gbbig5.c: Likewise.
31037         * iconvdata/iso-2022-jp.c: Likewise.
31038         * iconv/gconv_int.h: Likewise.
31039         * iconv/loop.c: Likewise.
31040         * nis/rpcsvc/nis.h: Likewise.
31041         * resolv/ns_name.c: Likewise.
31042         * stdio-common/vfscanf.c: Likewise.
31043         * streams/stropts.h: Likewise.
31044         * sunrpc/rpc_thread.c: Likewise.
31045         * sysdeps/i386/strpbrk.S: Likewise.
31046         * sysdeps/ieee754/k_standard.c: Likewise.
31047         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31048         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31049         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31050         * sysdeps/mach/hurd/profil.c: Likewise.
31051         * sysdeps/s390/dl-procinfo.h: Likewise.
31052         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31053         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31054         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31055         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31056         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31058 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31060         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31061         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31063 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31065         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31066         aix specific files.
31067         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31068         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31069         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31070         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31071         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31072         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31073         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31074         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31076 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31077             Roland McGrath  <roland@hack.frob.com>
31079         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31080         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31082 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31084         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31085         __executable_start symbol instead of _start.
31087 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31089         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31090         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31091         Move macros to...
31092         * sysdeps/gnu/ldsodefs.h: ... this new file.
31094         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31095         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31096         instead of ELFOSABI_LINUX.
31098         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31099         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31100         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31101         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31102         Likewise.
31103         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31104         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31105         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31106         Likewise.
31107         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31108         (ibm_extended_long_double): Add ieee_nan member.
31109         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31110         (do_test): New function.
31112         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31113         TEST_TRUNC.
31114         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31115         functions, renamed from truncdfsf_test, trunctfsf_test,
31116         trunctfdf_test.
31117         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31118         functions.
31119         (do_test): Run all these.
31121 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31123         * argp/argp-help.c: Fix typos.
31124         * argp/argp-parse.c: Likewise.
31125         * debug/backtracesyms.c: Likewise.
31126         * elf/elf.h: Likewise.
31127         * malloc/malloc.c: Likewise.
31128         * nis/nis_print.c: Likewise.
31129         * resolv/res_comp.c: Likewise.
31130         * stdlib/stdlib.h: Likewise.
31131         * sunrpc/clnt_tcp.c: Likewise.
31132         * sunrpc/clnt_udp.c: Likewise.
31133         * sunrpc/clnt_unix.c: Likewise.
31134         * sysdeps/unix/bsd/ptsname.c: Likewise.
31135         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31136         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31138         Likewise.
31139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31140         Likewise.
31141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31142         Likewise.
31143         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31145 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31147         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31148         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31150 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31152         [BZ #15897]
31153         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31154         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31155         ($(objpfx)bug-dl-leaf): New rule.
31156         ($(objpfx)bug-dl-leaf.so): Likewise.
31157         ($(objpfx)bug-dl-leaf.out): Likewise.
31158         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31159         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31160         * dlfcn/bug-dl-leaf.c: New test.
31161         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31162         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31163         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31164         (dlclose): Likewise.
31165         (dlmopen): Likewise.
31167 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31169         * include/netdb.h [!_ISOMAC]:
31170         Don't include <tls.h>.
31171         (h_errno, __libc_h_errno): Move declaration and macros out of
31172         [_LIBC_REENTRANT].
31174         * include/resolv.h [_RESOLV_H_]:
31175         Don't include <tls.h>.
31176         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31177         * resolv/res_libc.c: Don't include <tls.h>.
31178         (_res): Use __attribute__ ((nocommon)) in place of
31179         __attribute__ ((section (".bss"))).
31181         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31182         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31184         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31186         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31187         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31189         * resolv/res_mkquery.c: Include <sys/time.h>.
31191         * inet/ifreq.c: Moved to ...
31192         * sysdeps/unix/ifreq.c: ... here.
31193         * inet/ifreq.c: New file, true stub version.
31195         * socket/sa_len.c: New file.
31196         * socket/Makefile (aux): Add it.
31197         * sysdeps/unix/sysv/linux/Makefile
31198         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31199         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31200         and #include <socket/sa_len.c>.
31201         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31202         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31204         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31205         * bits/socket.h: ... here.
31207         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31208         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31209         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31211 2013-08-27  Andreas Schwab  <schwab@suse.de>
31213         [BZ #15736]
31214         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31215         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31216         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31217         * string/test-strcasecmp.c (test_main): Run tests in several
31218         locales.
31219         * string/test-strncasecmp.c (test_main): Likewise.
31221         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31222         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31223         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31224         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31225         (__strncasecmp_ssse3) [PIC]: Likewise.
31227 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31229         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31231         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31232         instead of explicitly declaring xdecrypt.
31233         * nis/nss_nis/nis-publickey.c: Likewise.
31235 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31237         [BZ #15890]
31238         * nscd/aicache.c: Include res_hconf.h.
31239         (addhstaiX): Initialize res_hconf.
31241 2013-08-26  Andreas Schwab  <schwab@suse.de>
31243         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31244         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31246 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31248         * nscd/aicache.c (addhstaiX): Fix indentation.
31250 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31252         * configure.ac: Quote $build_pt_chown test.
31253         * configure: Regenerated.
31255 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31257         [BZ #15532]
31258         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31259         * math/s_cexpf.c (__cexpf): Likewise.
31260         * math/s_cexpl.c (__cexpl): Likewise.
31261         * math/libm-test.inc (cexp_test_data): Correct expected return
31262         value for NaN + i0.  Add another test.
31264 2013-08-22  David S. Miller  <davem@davemloft.net>
31266         * po/ca.po: Update Catalan translation from translation project.
31267         * po/uk.po: Add Ukrainian translations from translation project.
31269 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31271         [BZ #15797]
31272         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31273         is infinite, not alongside NaN test.
31274         * math/s_fdimf.c (__fdimf): Likewise.
31275         * math/s_fdiml.c (__fdiml): Likewise.
31276         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31277         errno is unchanged.
31279 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31281         * argp/argp-help.c: Fix typos.
31282         * crypt/speeds.c: Likewise.
31283         * csu/check_fds.c: Likewise.
31284         * elf/dl-load.c: Likewise.
31285         * elf/dl-open.c: Likewise.
31286         * elf/reldep3.c: Likewise.
31287         * elf/reldep.c: Likewise.
31288         * elf/sprof.c: Likewise.
31289         * iconv/iconv_charmap.c: Likewise.
31290         * iconv/skeleton.c: Likewise.
31291         * iconv/strtab.c: Likewise.
31292         * io/lockf64.c: Likewise.
31293         * libio/libioP.h: Likewise.
31294         * resolv/gai_notify.c: Likewise.
31295         * resolv/ns_name.c: Likewise.
31296         * resolv/ns_samedomain.c: Likewise.
31297         * resolv/res_send.c: Likewise.
31298         * stdlib/random.c: Likewise.
31299         * sunrpc/rpc/xdr.h: Likewise.
31300         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31301         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31302         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31303         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31304         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31305         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31306         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31307         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31308         * sysdeps/mach/hurd/check_fds.c: Likewise.
31309         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31310         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31311         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31312         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31313         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31314         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31315         * sysdeps/pthread/aio_notify.c: Likewise.
31316         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31317         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31318         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31319         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31320         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31322 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31324         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31325         version if bit_Slow_SSE4_2 is set.
31326         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31327         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31329 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31331         [BZ #15867]
31332         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31333         trampoline stack frame information.
31334         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31335         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31336         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31337         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31338         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31339         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31340         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31341         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31342         sa_flags value.
31343         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31344         interrupting a syscall and set with option SA_SIGINFO.
31346 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31348         [BZ #15531]
31349         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31350         argument is infinite.
31351         * math/s_cprojf.c (__cprojf): Likewise.
31352         * math/s_cprojl.c (__cprojl): Likewise.
31353         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31354         * math/libm-test.inc (cproj_test_data): Add more tests.
31356         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31358         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31359         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31360         size.  Use __ffs to determine corresponding shift.
31362 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31363             Roland McGrath  <roland@hack.frob.com>
31365         * Makefile (INSTALL): Remove trailing blank lines from output of
31366         makeinfo.
31368 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31370         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31371         Align 32 bit compat elf_greg to 8 bytes.
31373 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31375         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31377 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31379         * string/strcoll_l.c (coll_seq): New structure.
31380         (get_next_seq_cached): New function.
31381         (get_next_seq): New function.
31382         (do_compare): New function.
31383         (STRCOLL): Use GNU style definition.  Simplify implementation
31384         by using get_next_seq, get_next_seq_cached and do_compare.
31386 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31388         [BZ #14699]
31389         CVE-2013-4237
31390         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31391         member.
31392         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31393         member.
31394         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31395         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31396         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31397         conditional.
31398         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31399         GETDENTS_64BIT_ALIGNED.
31400         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31401         * manual/filesys.texi (Reading/Closing Directory): Document
31402         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31403         strongly.
31404         * manual/conf.texi (Limits for Files): Add portability note to
31405         NAME_MAX, PATH_MAX.
31406         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31408 2013-08-13  Andreas Schwab  <schwab@suse.de>
31410         [BZ #15749]
31411         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31412         of fabs.
31413         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31414         LDBL_MAX_EXP >= 16384]: Add tests for it.
31416 2013-08-12  David S. Miller  <davem@davemloft.net>
31418         * version.h (RELEASE): Set to "development".
31419         (VERSION): Set to "2.18.90".
31420         * NEWS: Add 2.19 section.
31422 2013-08-03  David S. Miller  <davem@davemloft.net>
31424         * po/ko.po: Update Korean translation from translation project.
31426 2013-08-01  David S. Miller  <davem@davemloft.net>
31428         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31429         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31430         Bilka.
31432 2013-07-30  David S. Miller  <davem@davemloft.net>
31434         * po/fr.po: Update French translation from translation project.
31436 2013-07-28  David S. Miller  <davem@davemloft.net>
31438         * po/cs.po: Update Czech translation from translation project.
31440         * po/sv.po: Update Swedish translation from translation project.
31442 2013-07-27  David S. Miller  <davem@davemloft.net>
31444         * po/eo.po: Update Esperanto translation from translation project.
31446         * po/vi.po: Update Vietnamese translation from translation project.
31448         * po/de.po: Update German translation from translation project.
31450 2013-07-26  David S. Miller  <davem@davemloft.net>
31452         * po/bg.po: Update Bulgarian translation from translation project.
31454         * po/nl.po: Update Dutch translation from translation project.
31455         * po/pl.po: Update Polish translation from translation project.
31456         * po/ru.po: Update Russian translation from translation project.
31458 2013-07-24  David S. Miller  <davem@davemloft.net>
31460         * po/libc.pot: Update.
31462 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31464         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31465         variable page size.
31466         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31467         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31468         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31470 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31472         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31474 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31475             Andreas Schwab  <schwab@suse.de>
31476             Roland McGrath  <roland@hack.frob.com>
31477             Joseph Myers  <joseph@codesourcery.com>
31478             Carlos O'Donell  <carlos@redhat.com>
31480         [BZ #15755]
31481         * config.h.in: Define HAVE_PT_CHOWN.
31482         * config.make.in (build-pt-chown): New variable.
31483         * configure.in (--enable-pt_chown): New configure option.
31484         * configure: Regenerate.
31485         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31486         build-pt-chown is enabled.
31487         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31488         pt_chown to fix pty ownership.
31489         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31490         CLOSE_ALL_FDS.
31491         * manual/install.texi (Configuring and compiling): Mention
31492         --enable-pt_chown. Add @findex for grantpt.
31493         * INSTALL: Regenerate.
31495 2013-07-20  David S. Miller  <davem@davemloft.net>
31497         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31498         difference between 32-bit and 64-bit.
31500 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31502         [BZ #15711]
31503         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31504         Avoid system header dependency with -ffreestanding.
31505         ($(objpfx)bits/syscall%d): Likewise.
31507 2013-07-13  David S. Miller  <davem@davemloft.net>
31509         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31510         underflows from atanl/atan2l due to bug 15319.
31511         (casinh_test_data): Likewise.
31513 2013-07-07  David S. Miller  <davem@davemloft.net>
31515         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31517 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31519         * sysdeps/i386/fpu/libm-test-ulps: Update.
31520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31522 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31524         * configure.in (--enable-lock-elision): Fix message text.
31525         * INSTALL: Regenerate.
31526         * configure: Regenerate.
31528 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31532 2013-07-03  Andreas Jaeger  <aj@suse.de>
31534         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31535         define.
31536         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31537         (ptrace_peeksiginfo_args): Add.
31538         (__ptrace_peeksiginfo_flags): Add.
31539         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31540         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31541         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31543 2013-07-03  Allan McRae  <allan@archlinux.org>
31545         * sysdeps/i386/fpu/libm-test-ulps: Update.
31547 2013-07-02  David S. Miller  <davem@davemloft.net>
31549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31551 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31555 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31557         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31560 2013-07-02  Andi Kleen <ak@linux.intel.com>
31562         * config.h.in (ENABLE_LOCK_ELISION): Add.
31563         * configure.in (--enable-lock-elision): Add option.
31564         * manual/install.texi: Document --enable lock elision.
31565         * configure: Regenerate
31566         * INSTALL: Regenerate.
31568 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31570         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31571         SSE4.2 strcasecmp for libc.a.
31572         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31574 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31576         [BZ #13304]
31577         * soft-fp/op-common.h (_FP_FMA): New macro.
31578         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31579         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31580         (_FP_MUL_MEAT_1_imm): ... here.
31581         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31582         (_FP_MUL_MEAT_1_wide): ... here.
31583         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31584         (_FP_MUL_MEAT_1_hard): ... here.
31585         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31586         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31587         (_FP_MUL_MEAT_2_wide): ... here.
31588         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31589         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31590         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31591         (_FP_MUL_MEAT_2_gmp): ... here.
31592         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31593         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31594         (_FP_MUL_MEAT_4_wide): ... here.
31595         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31596         (_FP_MUL_MEAT_4_gmp): ... here.
31597         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31598         (_FP_WFRACBITS_DW_S): Likewise.
31599         (_FP_WFRACXBITS_DW_S): Likewise.
31600         (_FP_HIGHBIT_DW_S): Likewise.
31601         (FP_FMA_S): Likewise.
31602         (_FP_FRAC_HIGH_DW_S): Likewise.
31603         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31604         (_FP_WFRACBITS_DW_D): Likewise.
31605         (_FP_WFRACXBITS_DW_D): Likewise.
31606         (_FP_HIGHBIT_DW_D): Likewise.
31607         (FP_FMA_D): Likewise.
31608         (_FP_FRAC_HIGH_DW_D): Likewise.
31609         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31610         (_FP_WFRACBITS_DW_E): Likewise.
31611         (_FP_WFRACXBITS_DW_E): Likewise.
31612         (_FP_HIGHBIT_DW_E): Likewise.
31613         (FP_FMA_E): Likewise.
31614         (_FP_FRAC_HIGH_DW_E): Likewise.
31615         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31616         (_FP_WFRACBITS_DW_Q): Likewise.
31617         (_FP_WFRACXBITS_DW_Q): Likewise.
31618         (_FP_HIGHBIT_DW_Q): Likewise.
31619         (FP_FMA_Q): Likewise.
31620         (_FP_FRAC_HIGH_DW_Q): Likewise.
31621         * soft-fp/fmasf4.c: New file.
31622         * soft-fp/fmadf4.c: Likewise.
31623         * soft-fp/fmatf4.c: Likewise.
31625 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31627         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31628         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31629         Silvermont.
31630         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31631         macro.
31632         (index_Slow_SSE4_2): Likewise.
31633         (index_Prefer_PMINUB_for_stringop): Likewise.
31634         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31635         bit_Slow_SSE4_2 is set.
31636         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31637         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31639 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31641         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31642         rtld_global._dl_hwcap2.
31643         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31644         POWER8.
31645         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31646         POWER8 feature descriptions defined in _dl_hwcap2.
31647         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31648         string handling for POWER8 feature bits.
31649         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31650         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31651         _dl_powerpc_cap_flags.
31652         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31653         * sysdeps/powerpc/rtld-global-offsets.sym
31654         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31655         _dl_hwcap2 in the rtld_global_ro structure.
31657 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31659         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31660         hardware capabilities in support of AT_HWCAP2.
31661         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31662         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31663         GLRO(dl_hwcap2).
31664         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31665         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31666         explicitly the unknown a_type display mechanism is used.
31667         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31668         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31669         struct member.
31670         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31671         to macro prototype for AT_HWCAP2 support.
31672         * sysdeps/i386/dl-procinfo.h: Likewise.
31673         * sysdeps/s390/dl-procinfo.h: Likewise.
31674         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31675         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31676         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31677         return -1 for unknown a_type display fallback.
31678         * sysdeps/sparc/dl-procinfo.h: Likewise.
31679         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31680         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31682 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31684         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31685         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31687 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31689         [BZ #12492]
31690         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31691         mprotect making __stack_prot writable.
31693 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31694             Joseph Myers  <joseph@codesourcery.com>
31696         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31697         as being properly aligned.
31699 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31701         * dlfcn/modstatic5.c: New file.
31702         * dlfcn/tststatic5.c: New file.
31703         * dlfcn/Makefile (tests): Add tststatic5.
31704         (tests-static): Likewise.
31705         (modules-names): Add modstatic5.
31706         (tststatic5-ENV): New variable.
31707         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31709         [BZ #15022]
31710         * elf/dl-support.c (_dl_main_map): New variable.
31711         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31712         (_dl_nns, _dl_load_adds): Set to 1.
31713         (_dl_initial_searchlist): Refer to _dl_main_map.
31714         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31715         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31716         call to _dl_get_origin.
31717         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31718         around call_map.
31719         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31720         * dlfcn/modstatic3.c: New file.
31721         * dlfcn/tststatic3.c: New file.
31722         * dlfcn/tststatic4.c: New file.
31723         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31724         (tests-static): Likewise.
31725         (modules-names): Add modstatic3.
31726         (tststatic3-ENV, tststatic4-ENV): New variables.
31727         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31728         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31730 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31732         * configure.in (CC): Require GCC version 4.4 or later.
31733         * configure: Regenerated.
31734         * manual/install.texi (Tools for Compilation): Update GCC version
31735         requirement.
31736         * INSTALL: Regenerated.
31738 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31740         [BZ #15674]
31741         * string/test-memcmp.c (check2): New.
31742         (main): Call check2.
31744         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31746 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31748         [BZ #15022]
31749         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31750         over to...
31751         (dl_open_worker) [!SHARED]: ... here.
31753 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31755         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31757 2013-06-25  Richard Henderson  <rth@redhat.com>
31759         * locale/programs/locarchive.c: Include <libc-internal.h>
31761 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31763         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31764         trailing whitespace removed.
31766 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31768         [BZ #10283]
31769         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31770         * locale/programs/locarchive.c: Include libc-mmap.h.
31771         (prepare_address_space): Take two new outputs (the mmap base and len).
31772         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31773         values.
31774         (create_archive): Declare new mmap base and len values for
31775         prepare_address_space, and store the result in ah.
31776         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31777         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31778         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31779         Declare new mmap base and len values for
31780         prepare_address_space, and store the result in new_ah.
31781         (open_archive): Declare new mmap base and len values for
31782         prepare_address_space, and store the result in ah.
31783         (close_archive): If ah->mmap_base is not NULL, use that and
31784         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31785         * sysdeps/generic/libc-mmap.h: New file.
31787 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31789         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31790         (ALIGN_UP): Likewise.
31791         (PTR_ALIGN_DOWN): Likewise.
31792         (PTR_ALIGN_UP): Likewise.
31794 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31796         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31797         entry mapped to PPC_PLATFORM_POWER8.
31798         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31799         POWER8.
31800         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31801         (_dl_string_platform): Add case for exporting platform position for
31802         POWER8.
31803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31804         search path to sysdeps/powerpc/powerpc32/power8 directory.
31805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31806         search path to sysdeps/powerpc/powerpc64/power8 directory.
31807         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31808         power7 directories.
31809         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31810         power7 directories.
31812 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31814         * INSTALL: Regenerate.
31816         * nscd/connections.c (nscd_init): Fix comment.
31818 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31820         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31822         [BZ #15667]
31823         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31824         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31826 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31828         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31829         DL_DST_REQ_STATIC.
31830         (DL_DST_REQ_STATIC): Remove macro.
31832 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31834         [BZ #7006]
31835         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31836         with a shift of 0 bits.
31838 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31840         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31841         $(tststatic-ENV).
31843 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31845         [BZ #15655]
31846         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31848 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31850         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31851         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31852         accepts -fno-tree-loop-distribute-patterns.
31853         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31854         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31855         recursive call.
31856         * string/memset.c (memset): Likewise.
31857         * string/test-memmove.c (simple_memmove): Disable loop transformation
31858         to library calls.
31859         * string/test-memset.c (simple_memset): Likewise.
31860         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31861         * benchtests/bench-memset.c (simple_memset): Likewise.
31862         * configure: Regenerated.
31864 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31866         * math/test-misc.c (main): Ignore fesetround failure when failures
31867         of subsequent rounding tests would be ignored.
31869         [BZ #15654]
31870         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31871         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31872         * math/fegetenv.c (__fegetenv): Return 0.
31873         * math/fegetexcept.c (fegetexcept): Return 0.
31874         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31875         FE_TONEAREST.
31876         * math/feholdexcpt.c (feholdexcept): Return 0.
31877         * math/fesetenv.c (__fesetenv): Return 0.
31878         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31879         argument FE_TONEAREST.
31880         * math/feupdateenv.c (__feupdateenv): Return 0.
31881         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31883 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31885         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31886         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31887         ($(objpfx)rtld-%.os rules): Use them.
31889 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31891         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31892         fields.
31894 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31896         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31897         length of target pattern, then descending length of dependency pattern.
31898         * configure.in (AWK): Require gawk 3.1.2 or newer.
31899         * manual/install.texi (Tools for Compilation): Say that we do.
31900         * configure: Regenerated.
31902         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31903         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31904         * scripts/sysd-rules.awk: ... this new script.
31905         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31906         than a glob-style pattern.
31908 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31910         * math/test-misc.c (main): Do not treat incorrectly rounded
31911         conversions as failure unless ROUNDING_TESTS passes.
31913 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31915         [BZ #15631]
31916         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31917         restore exception state around main square root computation, then
31918         check for inexactness explicitly.
31920         * math/libm-test.inc (fma_test_data): Add another test.
31922 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31924         * manual/threads.texi (Non-POSIX Extensions): New document
31925         node.  Document pthread_getattr_default_np and
31926         pthread_setattr_default_np.
31928         * Versions.def (libpthread): Add GLIBC_2.18.
31929         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31931         Likewise.
31932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31933         Likewise.
31934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31935         Likewise.
31936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31937         Likewise.
31938         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31939         Likewise.
31940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31941         Likewise.
31942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31943         Likewise.
31944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31945         Likewise.
31946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31947         Likewise.
31949 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31952         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31954 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31955             H.J. Lu  <hjl.tools@gmail.com>
31957         [BZ #15627]
31958         * sysdeps/x86_64/rtld-memset.c: Remove file.
31959         * sysdeps/x86_64/rtld-memset.S: New file.
31961 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31963         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31964         (test_in_one_mode): Take arguments for whether the rounding mode
31965         is supported for each floating-point type.
31966         (do_test): Pass new arguments to test_in_one_mode using
31967         ROUNDING_TESTS.
31969 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31971         * posix/tst-waitid.c (do_test): Distinguish different instances of
31972         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31973         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31974         before entering the kernel for waitpid.
31976 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31978         * NEWS: Fix note on clock function precision.  Text by Roland
31979         McGrath.
31981 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31983         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31984         it into place only when and if the sanity check passes.
31986 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31988         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31989         output for whether conversion result is exact.  Take argument
31990         indicating whether type is IBM long double.
31991         (round_for_all): Change need_exact field to ibm_ld.
31992         * stdlib/tst-strtod-round.c (struct exactness): New type.
31993         (struct test): Change bool ld_ok field to struct exactness exact.
31994         (TEST): Update all definitions for change to field.
31995         (tests): Regenerate array contents.
31996         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31997         field value.  Check for IBM long double here.
31998         (do_test): Update calls to test_in_one_mode.
32000 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32002         [BZ #12515]
32003         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32004         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32006 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32008         [BZ #15605]
32009         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32010         generated by the compiler on loop optimizations.
32011         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32012         general definitions.
32014 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32016         * math/bug-nextafter.c: Include <math-tests.h>.
32017         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32018         the relevant type.
32019         * math/bug-nexttoward.c: Include <math-tests.h>.
32020         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32021         the relevant type.
32022         * math/test-misc.c: Include <math-tests.h>.
32023         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32024         the relevant type.
32026 2013-06-12  Andreas Jaeger  <aj@suse.de>
32028         * po/ia.po: Update Interlingua translation from translation
32029         project.
32031 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32033         * include/fenv.h: Include stdbool.h.
32034         (struct rm_ctx): New structure.
32035         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32036         Define macro.
32037         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32038         (SET_RESTORE_ROUNDF): Likewise.
32039         (SET_RESTORE_ROUNDL): Likewise.
32040         (SET_RESTORE_ROUND_NOEX): Likewise.
32041         (SET_RESTORE_ROUND_NOEXF): Likewise.
32042         (SET_RESTORE_ROUND_NOEXL): Likewise.
32043         (SET_RESTORE_ROUND_53BIT): Likewise.
32044         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32045         (libc_feresetround_noexf_ctx): Likewise.
32046         (libc_feresetround_noexl_ctx): Likewise.
32047         (libc_feholdsetround_53bit_ctx): Likewise.
32048         (libc_feresetround_53bit_ctx): Likewise.
32049         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32050         (libc_feholdexcept_setround_sse_ctx): New function.
32051         (libc_fesetenv_sse_ctx): Likewise.
32052         (libc_feupdateenv_sse_ctx): Likewise.
32053         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32054         (libc_feholdexcept_setround_387_ctx): Likewise.
32055         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32056         (libc_feholdsetround_387_prec_ctx): Likewise.
32057         (libc_feholdsetround_387_ctx): Likewise.
32058         (libc_feholdsetround_387_53bit_ctx): Likewise.
32059         (libc_feholdsetround_sse_ctx): Likewise.
32060         (libc_feresetround_sse_ctx): Likewise.
32061         (libc_feresetround_387_ctx): Likewise.
32062         (libc_feupdateenv_387_ctx): Likewise.
32063         (libc_feholdexcept_setroundf_ctx): Define macro.
32064         (libc_fesetenvf_ctx): Likewise.
32065         (libc_feupdateenvf_ctx): Likewise.
32066         (libc_feholdsetroundf_ctx): Likewise.
32067         (libc_feresetroundf_ctx): Likewise.
32068         (libc_feholdexcept_setround_ctx): Likewise.
32069         (libc_fesetenv_ctx): Likewise.
32070         (libc_feupdateenv_ctx): Likewise.
32071         (libc_feholdsetround_ctx): Likewise.
32072         (libc_feresetround_ctx): Likewise.
32073         (libc_feholdexcept_setroundl_ctx): Likewise.
32074         (libc_feupdateenvl_ctx): Likewise.
32075         (libc_feholdsetroundl_ctx): Likewise.
32076         (libc_feresetroundl_ctx): Likewise.
32077         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32078         (libc_feresetround_53bit_ctx): Likewise.
32080 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32082         * locale/iso-639.def: Convert to UTF-8.
32084 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32086         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32087         (EXCEPTION_TESTS_double): Likewise.
32088         (EXCEPTION_TESTS_long_double): Likewise.
32089         (EXCEPTION_TESTS): Likewise.
32090         * math/libm-test.inc (test_exceptions): Only test exceptions if
32091         EXCEPTION_TESTS (FLOAT).
32093 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32095         * benchtests/Makefile (string-bench): Add strcpy_chk and
32096         stpcpy_chk.
32097         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32098         * benchtests/bench-stpcpy_chk.c: New file.
32099         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32100         * benchtests/bench-strcpy_chk.c: New file.
32101         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32102         code.
32103         (do_test): Likewise.
32105 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32107         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32108         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32109         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32110         with tabs where appropriate.
32111         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32112         dl-procinfo.h.
32113         [PPC_PLATFORM_PPC440]: Likewise.
32114         [PPC_PLATFORM_PPC464]: Likewise.
32115         [PPC_PLATFORM_PPC476]: Likewise.
32116         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32117         ppc464, and ppc476 platform strings merging from ports/
32118         dl-procinfo.h.
32120 2013-06-11  Andreas Schwab  <schwab@suse.de>
32122         [BZ #14991]
32123         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32124         (from_ucs4_idx): Regenerate.
32125         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32126         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32127         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32128         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32129         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32130         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32131         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32132         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32133         from FROM_LOOP and TO_LOOP specific macros.
32134         (BODY): Handle combining characters.
32135         * iconvdata/BIG5HKSCS.irreversible: Update.
32136         * iconvdata/BIG5HKSCS.precomposed: New file.
32137         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32138         characters.
32139         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32141 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32143         * include/sys/time.h: Fix indentation and add copyright header.
32145         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32146         (do_test): Likewise.
32147         * string/test-memchr.c (do_one_test): Likewise.
32148         (do_test): Likewise.
32149         * string/test-memcmp.c (do_one_test): Likewise.
32150         (do_test): Likewise.
32151         * string/test-memcpy.c (do_one_test): Likewise.
32152         (do_test): Likewise.
32153         * string/test-memmem.c (do_one_test): Likewise.
32154         (do_test): Likewise.
32155         (do_random_tests): Likewise.
32156         * string/test-memmove.c (do_one_test): Likewise.
32157         (do_test): Likewise.
32158         * string/test-memset.c (do_one_test): Likewise.
32159         (do_test): Likewise.
32160         * string/test-rawmemchr.c (do_one_test): Likewise.
32161         (do_test): Likewise.
32162         * string/test-strcasecmp.c (do_one_test): Likewise.
32163         (do_test): Likewise.
32164         * string/test-strcasestr.c (do_one_test): Likewise.
32165         (do_test): Likewise.
32166         * string/test-strcat.c (do_one_test): Likewise.
32167         (do_test): Likewise.
32168         * string/test-strchr.c (do_one_test): Likewise.
32169         (do_test): Likewise.
32170         * string/test-strcmp.c (do_one_test): Likewise.
32171         (do_test): Likewise.
32172         * string/test-strcpy.c (do_one_test): Likewise.
32173         (do_test): Likewise.
32174         * string/test-string.h: Likewise.
32175         (test_init): Likewise.
32176         * string/test-strlen.c (do_one_test): Likewise.
32177         (do_test): Likewise.
32178         * string/test-strncasecmp.c (do_one_test): Likewise.
32179         (do_test): Likewise.
32180         * string/test-strncat.c (do_one_test): Likewise.
32181         (do_test): Likewise.
32182         * string/test-strncmp.c (do_one_test): Likewise.
32183         (do_test_limit): Likewise.
32184         (do_test): Likewise.
32185         * string/test-strncpy.c (do_one_test): Likewise.
32186         (do_test): Likewise.
32187         * string/test-strnlen.c (do_one_test): Likewise.
32188         (do_test): Likewise.
32189         * string/test-strpbrk.c (do_one_test): Likewise.
32190         (do_test): Likewise.
32191         * string/test-strrchr.c (do_one_test): Likewise.
32192         (do_test): Likewise.
32193         * string/test-strspn.c (do_one_test): Likewise.
32194         (do_test): Likewise.
32195         * string/test-strstr.c (do_one_test): Likewise.
32196         (do_test): Likewise.
32198         * benchtests/Makefile (string-bench): Add string benchmarks.
32199         * benchtests/bench-bcopy-ifunc.c: New file.
32200         * benchtests/bench-bcopy.c: New file.
32201         * benchtests/bench-bzero-ifunc.c: New file.
32202         * benchtests/bench-bzero.c: New file.
32203         * benchtests/bench-memccpy-ifunc.c: New file.
32204         * benchtests/bench-memccpy.c: New file.
32205         * benchtests/bench-memchr-ifunc.c: New file.
32206         * benchtests/bench-memchr.c: New file.
32207         * benchtests/bench-memcmp-ifunc.c: New file.
32208         * benchtests/bench-memcmp.c: New file.
32209         * benchtests/bench-memmem-ifunc.c: New file.
32210         * benchtests/bench-memmem.c: New file.
32211         * benchtests/bench-memmove-ifunc.c: New file.
32212         * benchtests/bench-memmove.c: New file.
32213         * benchtests/bench-mempcpy-ifunc.c: New file.
32214         * benchtests/bench-mempcpy.c: New file.
32215         * benchtests/bench-memset-ifunc.c: New file.
32216         * benchtests/bench-memset.c: New file.
32217         * benchtests/bench-rawmemchr-ifunc.c: New file.
32218         * benchtests/bench-rawmemchr.c: New file.
32219         * benchtests/bench-stpcpy-ifunc.c: New file.
32220         * benchtests/bench-stpcpy.c: New file.
32221         * benchtests/bench-stpncpy-ifunc.c: New file.
32222         * benchtests/bench-stpncpy.c: New file.
32223         * benchtests/bench-strcasecmp-ifunc.c: New file.
32224         * benchtests/bench-strcasecmp.c: New file.
32225         * benchtests/bench-strcasestr-ifunc.c: New file.
32226         * benchtests/bench-strcasestr.c: New file.
32227         * benchtests/bench-strcat-ifunc.c: New file.
32228         * benchtests/bench-strcat.c: New file.
32229         * benchtests/bench-strchr-ifunc.c: New file.
32230         * benchtests/bench-strchr.c: New file.
32231         * benchtests/bench-strchrnul-ifunc.c: New file.
32232         * benchtests/bench-strchrnul.c: New file.
32233         * benchtests/bench-strcmp-ifunc.c: New file.
32234         * benchtests/bench-strcmp.c: New file.
32235         * benchtests/bench-strcpy-ifunc.c: New file.
32236         * benchtests/bench-strcpy.c: New file.
32237         * benchtests/bench-strcspn-ifunc.c: New file.
32238         * benchtests/bench-strcspn.c: New file.
32239         * benchtests/bench-strlen-ifunc.c: New file.
32240         * benchtests/bench-strlen.c: New file.
32241         * benchtests/bench-strncasecmp-ifunc.c: New file.
32242         * benchtests/bench-strncasecmp.c: New file.
32243         * benchtests/bench-strncat-ifunc.c: New file.
32244         * benchtests/bench-strncat.c: New file.
32245         * benchtests/bench-strncmp-ifunc.c: New file.
32246         * benchtests/bench-strncmp.c: New file.
32247         * benchtests/bench-strncpy-ifunc.c: New file.
32248         * benchtests/bench-strncpy.c: New file.
32249         * benchtests/bench-strnlen-ifunc.c: New file.
32250         * benchtests/bench-strnlen.c: New file.
32251         * benchtests/bench-strpbrk-ifunc.c: New file.
32252         * benchtests/bench-strpbrk.c: New file.
32253         * benchtests/bench-strrchr-ifunc.c: New file.
32254         * benchtests/bench-strrchr.c: New file.
32255         * benchtests/bench-strspn-ifunc.c: New file.
32256         * benchtests/bench-strspn.c: New file.
32257         * benchtests/bench-strstr-ifunc.c: New file.
32258         * benchtests/bench-strstr.c: New file.
32260         * benchtests/Makefile: Disable parallel execution of targets.
32261         (string-bench): Add memcpy.
32262         (benchset): New variable to store a list of benchmark sets.
32263         (bench-func): Renamed from bench.
32264         (bench-set): New target.
32265         (bench): Depend on bench-func and bench-set.
32266         * benchtests/README: Add section on benchmark sets.
32267         * benchtests/bench-memcpy-ifunc.c: New file.
32268         * benchtests/bench-memcpy.c: New file.
32269         * benchtests/bench-string.h: New file.
32271 2013-06-11  Andreas Schwab  <schwab@suse.de>
32273         [BZ #15577]
32274         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32275         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32276         values in the triple.
32277         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32278         terminator in the group key.
32280 2013-06-11  Andreas Jaeger  <aj@suse.de>
32282         * po/zh_TW.po: Update Chinese (traditional) translation from
32283         translation project.
32285 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32287         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32288         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32289         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32290         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32291         (clock_getcpuclockid): Likewise.
32292         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32293         Add weak_alias and libc_hidden_def.
32294         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32295         * rt/clock_gettime.c (clock_gettime): Rename to
32296         __clock_gettime.  Add weak_alias and libc_hidden_def.
32297         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32298         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32299         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32300         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32301         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32302         Likewise.
32303         * rt/clock_settime.c (clock_settime): Rename to
32304         __clock_settime.  Add weak_alias and libc_hidden_def.
32305         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32307 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32309         * mach/err_boot.sub: Remove trailing whitespace.
32310         * mach/err_ipc.sub: Likewise.
32311         * mach/err_mach.sub: Likewise.
32313         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32314         (ROUNDING_TESTS_double): Likewise.
32315         (ROUNDING_TESTS_long_double): Likewise.
32316         (ROUNDING_TESTS): Likewise.
32317         * math/libm-test.inc: Include <math-tests.h>.
32318         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32319         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32320         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32321         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32323 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32325         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32326         of assigning.
32328 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32330         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32331         otherwise empty TRANS lines.
32332         * sysdeps/gnu/errlist.c: Regenerated.
32334         * catgets/gencat.c (error_print): Use (void) in function
32335         definition.
32336         * crypt/crypt_util.c (__init_des): Likewise.
32337         * crypt/speeds.c (Stop): Likewise.
32338         (main): Likewise.
32339         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32340         * inet/ruserpass.c (token): Likewise.
32341         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32342         * intl/localealias.c (extend_alias_table): Likewise.
32343         * intl/plural-exp.c (init_germanic_plural): Likewise.
32344         * libio/fcloseall.c (__fcloseall): Likewise.
32345         * libio/genops.c (_IO_flush_all): Likewise.
32346         (_IO_flush_all_linebuffered): Likewise.
32347         (_IO_cleanup): Likewise.
32348         (_IO_iter_begin): Likewise.
32349         (_IO_iter_end): Likewise.
32350         (_IO_list_lock): Likewise.
32351         (_IO_list_unlock): Likewise.
32352         (_IO_list_resetlock): Likewise.
32353         * libio/getchar.c (getchar): Likewise.
32354         * libio/getchar_u.c (getchar_unlocked): Likewise.
32355         * libio/getwchar.c (getwchar): Likewise.
32356         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32357         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32358         * login/getpt.c (__getpt): Likewise.
32359         * login/tst-utmp.c (main): Likewise.
32360         * malloc/hooks.c (__malloc_check_init): Likewise.
32361         * malloc/malloc.c (__malloc_stats): Likewise.
32362         * malloc/mtrace.c (tr_break): Likewise.
32363         (mtrace): Likewise.
32364         (muntrace): Likewise.
32365         * misc/fstab.c (endfsent): Likewise.
32366         * misc/getclktck.c (__getclktck): Likewise.
32367         * misc/getdtsz.c (__getdtablesize): Likewise.
32368         * misc/gethostid.c (gethostid): Likewise.
32369         * misc/getpagesize.c (__getpagesize): Likewise.
32370         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32371         (__get_nprocs): Likewise.
32372         (__get_phys_pages): Likewise.
32373         (__get_avphys_pages): Likewise.
32374         * misc/getttyent.c (getttyent): Likewise.
32375         (setttyent): Likewise.
32376         (endttyent): Likewise.
32377         * misc/getusershell.c (getusershell): Likewise.
32378         (endusershell): Likewise.
32379         (setusershell): Likewise.
32380         (initshells): Likewise.
32381         * misc/hsearch.c (__hdestroy): Likewise.
32382         * misc/sync.c (sync): Likewise.
32383         * misc/syslog.c (closelog_internal): Likewise.
32384         (closelog): Likewise.
32385         * misc/ttyslot.c (ttyslot): Likewise.
32386         * misc/vhangup.c (vhangup): Likewise.
32387         * posix/fork.c (__fork): Likewise.
32388         * posix/getegid.c (__getegid): Likewise.
32389         * posix/geteuid.c (__geteuid): Likewise.
32390         * posix/getgid.c (__getgid): Likewise.
32391         * posix/getpid.c (__getpid): Likewise.
32392         * posix/getppid.c (__getppid): Likewise.
32393         * posix/getuid.c (__getuid): Likewise.
32394         * posix/pause.c (pause): Likewise.
32395         * posix/setpgrp.c (setpgrp): Likewise.
32396         * posix/setsid.c (__setsid): Likewise.
32397         * posix/test-vfork.c (noop): Likewise.
32398         * resolv/gethnamaddr.c (_endhtent): Likewise.
32399         (_gethtent): Likewise.
32400         (ht_endhostent): Likewise.
32401         (gethostent): Likewise.
32402         (dns_service): Likewise.
32403         * stdlib/drand48.c (drand48): Likewise.
32404         * stdlib/lrand48.c (lrand48): Likewise.
32405         * stdlib/mrand48.c (mrand48): Likewise.
32406         * stdlib/rand.c (rand): Likewise.
32407         * stdlib/random.c (__random): Likewise.
32408         * stdlib/setenv.c (clearenv): Likewise.
32409         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32410         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32411         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32412         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32413         (__get_nprocs): Likewise.
32414         (__get_phys_pages): Likewise.
32415         (__get_avphys_pages): Likewise.
32416         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32417         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32418         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32419         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32420         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32421         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32422         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32423         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32424         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32425         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32426         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32427         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32428         * sysdeps/posix/clock.c (clock): Likewise.
32429         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32430         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32431         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32432         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32433         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32434         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32435         (__get_nprocs_conf): Likewise.
32436         (__get_phys_pages): Likewise.
32437         (__get_avphys_pages): Likewise.
32438         * time/clock.c (clock): Likewise.
32439         * time/tzset.c (__tzname_max): Likewise.
32441 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32443         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32444         (__bswap_32): Do not use "register".
32445         * crypt/crypt.c (_ufc_doit_r): Likewise.
32446         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32447         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32448         * gmon/gmon.c (__monstartup): Likewise.
32449         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32450         * hurd/hurdmalloc.c (more_memory): Likewise.
32451         (malloc): Likewise.
32452         (free): Likewise.
32453         (realloc): Likewise.
32454         (malloc_fork_prepare): Likewise.
32455         (malloc_fork_parent): Likewise.
32456         (malloc_fork_child): Likewise.
32457         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32458         (_svcauth_des): Likewise.
32459         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32460         * inet/inet_net.c (inet_network): Likewise.
32461         * inet/inet_netof.c (inet_netof): Likewise.
32462         * inet/rcmd.c (__validuser2_sa): Likewise.
32463         * io/fts.c (fts_open): Likewise.
32464         (fts_load): Likewise.
32465         (fts_close): Likewise.
32466         (fts_read): Likewise.
32467         (fts_children): Likewise.
32468         (fts_build): Likewise.
32469         (fts_stat): Likewise.
32470         (fts_sort): Likewise.
32471         (fts_alloc): Likewise.
32472         (fts_lfree): Likewise.
32473         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32474         (_IO_file_xsgetn): Likewise.
32475         (_IO_file_xsgetn_mmap): Likewise.
32476         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32477         (_IO_cookie_write): Likewise.
32478         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32479         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32480         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32481         * malloc/obstack.c (_obstack_begin): Likewise.
32482         (_obstack_begin_1): Likewise.
32483         (_obstack_newchunk): Likewise.
32484         (_obstack_allocated_p): Likewise.
32485         (obstack_free): Likewise.
32486         (_obstack_memory_used): Likewise.
32487         * misc/getttyent.c (getttynam): Likewise.
32488         (getttyent): Likewise.
32489         (skip): Likewise.
32490         (value): Likewise.
32491         * misc/getusershell.c (initshells): Likewise.
32492         * misc/syslog.c (__vsyslog_chk): Likewise.
32493         * misc/ttyslot.c (ttyslot): Likewise.
32494         * nis/nis_hash.c (__nis_hash): Likewise.
32495         * posix/fnmatch_loop.c (FCT): Likewise.
32496         * posix/getconf.c (print_all): Likewise.
32497         (main): Likewise.
32498         * posix/getopt.c (exchange): Likewise.
32499         * posix/glob.c (globfree): Likewise.
32500         (prefix_array): Likewise.
32501         (__glob_pattern_type): Likewise.
32502         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32503         (NS_GET32): Likewise.
32504         (NS_PUT16): Likewise.
32505         (NS_PUT32): Likewise.
32506         * resolv/gethnamaddr.c (getanswer): Likewise.
32507         (gethostbyname2): Likewise.
32508         (gethostbyaddr): Likewise.
32509         (_gethtent): Likewise.
32510         (_gethtbyname2): Likewise.
32511         (_gethtbyaddr): Likewise.
32512         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32513         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32514         * resolv/res_init.c (__res_vinit): Likewise.
32515         (net_mask): Likewise.
32516         * resolv/res_mkquery.c (outchar): Likewise.
32517         (PRINT): Likewise.
32518         * stdio-common/printf_fp.c (outchar): Likewise.
32519         (PRINT): Likewise.
32520         * stdio-common/printf_fphex.c (outchar): Likewise.
32521         (PRINT): Likewise.
32522         * stdio-common/printf_size.c (outchar): Likewise.
32523         (PRINT): Likewise.
32524         * stdio-common/test_rdwr.c (main): Likewise.
32525         * stdio-common/tfformat.c (matches): Likewise.
32526         * stdio-common/vfprintf.c (outchar): Likewise.
32527         (printf_unknown): Likewise.
32528         (buffered_vfprintf): Likewise.
32529         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32530         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32531         (ReadFile): Likewise.
32532         * stdlib/qsort.c (SWAP): Likewise.
32533         (_quicksort): Likewise.
32534         * stdlib/setenv.c (__add_to_environ): Likewise.
32535         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32536         * stdlib/strtol_l.c (__strtol_l): Likewise.
32537         * stdlib/tst-strtod.c (main): Likewise.
32538         * stdlib/tst-strtol.c (main): Likewise.
32539         * stdlib/tst-strtoll.c (main): Likewise.
32540         * string/bits/string2.h (__strcmp_cc): Likewise.
32541         (__strcmp_cg): Likewise.
32542         (__strcspn_c1): Likewise.
32543         (__strcspn_c2): Likewise.
32544         (__strcspn_c3): Likewise.
32545         (__strspn_c1): Likewise.
32546         (__strspn_c2): Likewise.
32547         (__strspn_c3): Likewise.
32548         (__strsep_1c): Likewise.
32549         (__strsep_2c): Likewise.
32550         (__strsep_3c): Likewise.
32551         * string/memccpy.c (__memccpy): Likewise.
32552         * string/stpcpy.c (__stpcpy): Likewise.
32553         * string/strcmp.c (strcmp): Likewise.
32554         * string/strrchr.c (strrchr): Likewise.
32555         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32556         Likewise.
32557         * sysdeps/mach/hurd/getcwd.c
32558         (_hurd_canonicalize_directory_name_internal): Likewise.
32559         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32560         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32561         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32562         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32563         Likewise, in both definitions.
32564         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32565         definitions.
32566         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32567         64] (__bswap_64): Likewise.
32568         * time/test_time.c (main): Likewise.
32569         * time/tzfile.c (__tzfile_read): Likewise.
32570         (__tzfile_compute): Likewise.
32571         * time/tzset.c (__tzset_parse_tz): Likewise.
32572         (tzset_internal): Likewise.
32573         (compute_change): Likewise.
32574         * wcsmbs/wcscat.c (__wcscat): Likewise.
32575         * wcsmbs/wcschr.c (wcschr): Likewise.
32576         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32577         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32578         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32579         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32580         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32581         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32582         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32583         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32584         * wcsmbs/wmemset.c (wmemset): Likewise.
32586 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32588         * scripts/config.guess: Update to version 2013-05-16.
32589         * scripts/config.sub: Update to version 2013-04-24.
32590         * scripts/install-sh: Update to version 2011-11-20.07.
32591         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32592         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32594 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32596         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32597         * elf/sln.c: Likewise.
32598         * hurd/hurd/ioctl.h: Likewise.
32599         * hurd/hurdmalloc.c: Likewise.
32600         * hurd/xattr.c: Likewise.
32601         * include/shlib-compat.h: Likewise.
32602         * inet/ruserpass.c: Likewise.
32603         * libio/iofgets_u.c: Likewise.
32604         * libio/iofgetws_u.c: Likewise.
32605         * locale/programs/ld-identification.c: Likewise.
32606         * locale/programs/ld-time.c: Likewise.
32607         * mach/msg-destroy.c: Likewise.
32608         * nss/nss_files/files-netgrp.c: Likewise.
32609         * resolv/res_data.c: Likewise.
32610         * soft-fp/op-1.h: Likewise.
32611         * soft-fp/op-2.h: Likewise.
32612         * soft-fp/op-4.h: Likewise.
32613         * soft-fp/op-common.h: Likewise.
32614         * stdio-common/printf_fphex.c: Likewise.
32615         * stdlib/strtod_l.c: Likewise.
32616         * sunrpc/rpc/clnt.h: Likewise.
32617         * sysdeps/generic/framestate.c: Likewise.
32618         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32619         * sysdeps/i386/bsd-setjmp.S: Likewise.
32620         * sysdeps/i386/__longjmp.S: Likewise.
32621         * sysdeps/i386/setjmp.S: Likewise.
32622         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32623         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32624         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32625         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32626         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32627         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32628         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32629         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32630         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32631         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32632         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32633         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32634         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32635         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32636         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32637         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32638         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32639         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32640         * sysdeps/ieee754/support.c: Likewise.
32641         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32642         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32643         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32644         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32645         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32646         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32647         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32648         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32649         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32650         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32651         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32652         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32653         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32654         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32655         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32656         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32657         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32660 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32662         * posix/transbug.c: Remove executable mode.
32664 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32666         * crypt/speeds.c: Remove trailing whitespace.
32667         * dlfcn/default.c: Likewise.
32668         * elf/ifuncdep2.c: Likewise.
32669         * elf/ifuncmain1.c: Likewise.
32670         * elf/ifuncmain1vis.c: Likewise.
32671         * elf/testobj.h: Likewise.
32672         * elf/tst-stackguard1.c: Likewise.
32673         * gmon/sys/gmon.h: Likewise.
32674         * hurd/hurdmsg.c: Likewise.
32675         * hurd/new-fd.c: Likewise.
32676         * hurd/ports-get.c: Likewise.
32677         * iconvdata/ibm1008_420.c: Likewise.
32678         * inet/tst-getni1.c: Likewise.
32679         * inet/tst-getni2.c: Likewise.
32680         * libio/ioungetc.c: Likewise.
32681         * libio/wfiledoalloc.c: Likewise.
32682         * manual/libm-err-tab.pl: Likewise.
32683         * math/w_dremf.c: Likewise.
32684         * misc/ftruncate.c: Likewise.
32685         * posix/bug-glob2.c: Likewise.
32686         * posix/tst-pcre.c: Likewise.
32687         * posix/wait4.c: Likewise.
32688         * resolv/README: Likewise.
32689         * resolv/res_debug.h: Likewise.
32690         * resolv/tst-inet_ntop.c: Likewise.
32691         * setjmp/bug269-setjmp.c: Likewise.
32692         * soft-fp/extended.h: Likewise.
32693         * soft-fp/op-1.h: Likewise.
32694         * soft-fp/op-2.h: Likewise.
32695         * soft-fp/op-4.h: Likewise.
32696         * soft-fp/op-8.h: Likewise.
32697         * soft-fp/testit.c: Likewise.
32698         * stdio-common/bug16.c: Likewise.
32699         * stdlib/random.c: Likewise.
32700         * sunrpc/rpcsvc/rquota.x: Likewise.
32701         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32702         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32703         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32704         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32705         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32706         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32707         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32708         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32709         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32710         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32711         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32712         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32713         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32714         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32715         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32716         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32717         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32718         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32719         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32720         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32721         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32722         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32723         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32724         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32725         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32726         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32727         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32728         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32729         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32730         * sysdeps/ieee754/s_lib_version.c: Likewise.
32731         * sysdeps/mach/hurd/check_fds.c: Likewise.
32732         * sysdeps/mach/hurd/getsockname.c: Likewise.
32733         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32734         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32735         * sysdeps/powerpc/bits/link.h: Likewise.
32736         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32737         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32738         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32739         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32740         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32741         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32742         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32743         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32744         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32745         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32746         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32747         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32748         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32749         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32750         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32751         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32752         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32753         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32754         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32755         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32756         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32757         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32758         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32759         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32760         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32761         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32762         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32763         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32764         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32765         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32766         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32767         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32768         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32769         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32770         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32771         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32772         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32773         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32774         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32775         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32776         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32777         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32778         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32779         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32780         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32781         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32782         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32783         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32784         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32785         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32786         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32787         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32788         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32789         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32790         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32791         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32792         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32793         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32794         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32795         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32796         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32797         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32798         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32799         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32800         * sysdeps/powerpc/sysdep.h: Likewise.
32801         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32802         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32803         * sysdeps/sh/dl-trampoline.S: Likewise.
32804         * sysdeps/sh/memset.S: Likewise.
32805         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32806         * sysdeps/sh/strlen.S: Likewise.
32807         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32808         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32809         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32810         * sysdeps/sparc/sparc32/rem.S: Likewise.
32811         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32812         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32813         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32814         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32815         * sysdeps/sparc/sparc32/urem.S: Likewise.
32816         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32817         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32818         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32819         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32820         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32821         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32822         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32823         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32824         * sysdeps/unix/bsd/times.c: Likewise.
32825         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32826         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32830         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32831         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32832         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32833         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32834         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32835         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32836         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32837         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32838         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32839         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32840         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32841         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32842         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32843         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32844         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32845         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32846         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32847         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32848         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32849         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32850         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32851         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32852         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32853         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32854         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32855         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32856         * sysdeps/x86_64/strcspn.S: Likewise.
32858 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32860         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32861         generated file.  Regenerate properly from gen-translit.pl.
32862         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32863         locale/C-translit.h.
32865 2013-06-05  Andreas Schwab  <schwab@suse.de>
32867         [BZ #15100]
32868         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32869         week as 6 instead of -1.
32870         * time/tst-strptime.c (day_tests): Add test case.
32872 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32874         * sysdeps/generic/math_private.h
32875         (libc_feholdexcept_setround_53bit): Replace with
32876         libc_feholdsetround_53bit.
32877         (libc_feupdateenv_53bit): Replace with
32878         libc_feresetround_53bit.
32879         (SET_RESTORE_ROUND_53BIT): Adjust.
32881 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32883         * string/test-strchrnul.c: Add copyright header.
32885         * posix/tst-getaddrinfo4.c: Increase test timeout.
32887 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32889         [BZ #15536]
32890         * math/libm-test.inc (MAX_EXP): Remove
32891         (MIN_EXP): Define.
32892         (ulp): Use MIN_EXP - MANT_DIG.
32893         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32895 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32897         * po/be.po: Revert last change.
32898         * po/zh_CN.po: Likewise.
32899         * po/header.pot: Likewise.
32901 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32903         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32904         link-libc-deps to empty as target-specific variable.
32905         * Makerules (link-libc-args): New variable.
32906         (libc-for-link): Likewise.
32907         (link-libc-deps): Likewise.
32908         (lib%.so): Depend on $(link-libc-deps).  Link with
32909         $(link-libc-args).
32910         (build-module): Link with $(link-libc-args).
32911         (build-module-asneeded): Likewise.
32912         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32913         list of objects.
32914         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32915         target-specific variable.
32916         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32917         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32918         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32919         libc.
32920         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32921         libc and ld.so.
32922         ($(objpfx)libpcprofile.so): Likewise.
32923         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32924         libc_nonshared.a.
32925         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32926         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32927         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32928         $(link-libc-deps).
32929         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32930         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32931         * login/Makefile ($(objpfx)libutil.so): Likewise.
32932         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32933         * math/Makefile ($(objpfx)libm.so): Likewise.
32934         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32935         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32936         variable instead of depending directly on libc.
32937         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32938         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32939         $(link-libc-deps).
32940         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32941         libc.
32942         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32943         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32944         ($(objpfx)libanl.so): Likewise.
32945         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32946         ld.so.
32947         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32948         $(link-libc-deps).
32949         * sysdeps/i386/fpu/Makefile: Remove file.
32950         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32951         ($(objpfx)libm.so): Remove dependency on ld.so.
32953 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32955         [BZ # 15553]
32956         * nis/yp_xdr.c (XDRMAXNAME): Define.
32957         (XDRMAXRECORD): Define.
32958         (xdr_domainname): Use XDRMAXNAME.
32959         (xdr_mapname): Likewise.
32960         (xdr_peername): Likewise.
32961         (xdr_keydat): Use XDRMAXRECORD.
32962         (xdr_valdat): Likewise.
32964 2013-05-30  Jeff Law  <law@redhat.com>
32966         [BZ #14256]
32967         * manual/errno.texi (ESTALE): Update to account for more than
32968         just NFS file systems.
32969         * sysdeps/gnu/errlist.c: Regenerated.
32971 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32973         [BZ #15465]
32974         * elf/Makefile (tests): Add tst-null-argv.
32975         (modules-names):  Add tst-null-argv-lib.
32976         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32977         (tst-null-argv-ENV): Set environment for tst-null-argv.
32978         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32979         (RTLD_PROGNAME): New macro.
32980         * elf/tst-null-argv.c: New test case.
32981         * elf/tst-null-argv-lib.c: Library for test case.
32982         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32983         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32984         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32985         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32986         * elf/dl-init.c (call_init): Likewise.
32987         (_dl_init): Likewise.
32988         * elf/dl-load.c (print_search_path): Likewise.
32989         (_dl_map_object): Likewise.
32990         * elf/dl-lookup.c (do_lookup_x): Likewise.
32991         (add_dependency): Likewise.
32992         (_dl_lookup_symbol_x): Likewise.
32993         (_dl_debug_bindings): Likewise.
32994         * elf/dl-open.c (_dl_show_scope): Likewise.
32995         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32996         * elf/dl-version.c (match_symbol): Likewise.
32997         (_dl_check_map_versions): Likewise.
32998         * elf/rtld.c (dl_main): Likewise.
32999         (print_unresolved): Use RTLD_PROGNAME.
33000         (print_missing_version): Likewise.
33001         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33002         (elf_machine_rela): Likewise.
33003         * sysdeps/powerpc/powerpc32/dl-machine.c
33004         (__process_machine_rela): Likewise.
33005         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33006         Likewise.
33007         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33008         Likewise.
33009         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33010         Likewise.
33011         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33012         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33013         Likewise.
33014         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33015         Likewise.
33016         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33018 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33020         * po/be.po: Add descriptive title.
33021         * po/zh_CN.po: Likewise.
33022         * po/header.pot: Likewise.
33024 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33026         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33027         error message.
33028         (enlarge_archive): Likewise.
33030 2013-05-28  Ben North  <ben@redfrontdoor.org>
33032         * manual/arith.texi (frexp): It is the magnitude of the return
33033         value which lies in [0.5, 1), not the return value itself.
33035 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33039 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33041         * stdio-common/bug26.c (main): Correct fscanf template.
33043         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33044         declare _dl_skip_args.
33046         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33047         Don't declare.
33049         * manual/platform.texi: Add missing @end deftypefun.
33051 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33053         [BZ #15529]
33054         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33055         bit of mantissa of 2^16382.
33056         * math/libm-test.inc (hypot_test_data): Add more tests.
33058         * math/libm-test.inc: Add drem and pow10 to list of tested
33059         functions.
33060         (pow10_test): New function.
33061         (drem_test): Likewise.
33062         (drem_test_tonearest): Likewise.
33063         (drem_test_towardzero): Likewise.
33064         (drem_test_downward): Likewise.
33065         (drem_test_upward): Likewise.
33066         (main): Call the new functions.
33068         * math/libm-test.inc (finite_test_data): Remove.
33069         (finite_test): Run tests from isfinite_test_data.
33070         (gamma_test_data): Remove.
33071         (gamma_test): Run tests from lgamma_test_data.
33072         * sysdeps/i386/fpu/libm-test-ulps: Update.
33073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33075 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33077         * manual/platform.texi: Add PowerPC PPR function set documentation.
33078         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33079         implementation.
33081 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33083         * math/libm-test.inc (MAX_EXP): Define.
33084         (ULPDIFF): Define.
33085         (ulp): New function.
33086         (check_float_internal): Use ULPDIFF.
33087         (cpow_test): Disable failing test.
33088         (check_ulp): Test ulp() implemetnation.
33089         (main): Call check_ulp before starting tests.
33091 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33093         * math/gen-libm-test.pl (generate_testfile): Do not handle
33094         START_DATA and END_DATA.
33095         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33096         END_DATA.
33097         (acos_tonearest_test_data): Likewise.
33098         (acos_towardzero_test_data): Likewise.
33099         (acos_downward_test_data): Likewise.
33100         (acos_upward_test_data): Likewise.
33101         (acosh_test_data): Likewise.
33102         (asin_test_data): Likewise.
33103         (asin_tonearest_test_data): Likewise.
33104         (asin_towardzero_test_data): Likewise.
33105         (asin_downward_test_data): Likewise.
33106         (asin_upward_test_data): Likewise.
33107         (asinh_test_data): Likewise.
33108         (atan_test_data): Likewise.
33109         (atanh_test_data): Likewise.
33110         (atan2_test_data): Likewise.
33111         (cabs_test_data): Likewise.
33112         (cacos_test_data): Likewise.
33113         (cacosh_test_data): Likewise.
33114         (carg_test_data): Likewise.
33115         (casin_test_data): Likewise.
33116         (casinh_test_data): Likewise.
33117         (catan_test_data): Likewise.
33118         (catanh_test_data): Likewise.
33119         (cbrt_test_data): Likewise.
33120         (ccos_test_data): Likewise.
33121         (ccosh_test_data): Likewise.
33122         (ceil_test_data): Likewise.
33123         (cexp_test_data): Likewise.
33124         (cimag_test_data): Likewise.
33125         (clog_test_data): Likewise.
33126         (clog10_test_data): Likewise.
33127         (conj_test_data): Likewise.
33128         (copysign_test_data): Likewise.
33129         (cos_test_data): Likewise.
33130         (cos_tonearest_test_data): Likewise.
33131         (cos_towardzero_test_data): Likewise.
33132         (cos_downward_test_data): Likewise.
33133         (cos_upward_test_data): Likewise.
33134         (cosh_test_data): Likewise.
33135         (cosh_tonearest_test_data): Likewise.
33136         (cosh_towardzero_test_data): Likewise.
33137         (cosh_downward_test_data): Likewise.
33138         (cosh_upward_test_data): Likewise.
33139         (cpow_test_data): Likewise.
33140         (cproj_test_data): Likewise.
33141         (creal_test_data): Likewise.
33142         (csin_test_data): Likewise.
33143         (csinh_test_data): Likewise.
33144         (csqrt_test_data): Likewise.
33145         (ctan_test_data): Likewise.
33146         (ctan_tonearest_test_data): Likewise.
33147         (ctan_towardzero_test_data): Likewise.
33148         (ctan_downward_test_data): Likewise.
33149         (ctan_upward_test_data): Likewise.
33150         (ctanh_test_data): Likewise.
33151         (ctanh_tonearest_test_data): Likewise.
33152         (ctanh_towardzero_test_data): Likewise.
33153         (ctanh_downward_test_data): Likewise.
33154         (ctanh_upward_test_data): Likewise.
33155         (erf_test_data): Likewise.
33156         (erfc_test_data): Likewise.
33157         (exp_test_data): Likewise.
33158         (exp_tonearest_test_data): Likewise.
33159         (exp_towardzero_test_data): Likewise.
33160         (exp_downward_test_data): Likewise.
33161         (exp_upward_test_data): Likewise.
33162         (exp10_test_data): Likewise.
33163         (exp2_test_data): Likewise.
33164         (expm1_test_data): Likewise.
33165         (fabs_test_data): Likewise.
33166         (fdim_test_data): Likewise.
33167         (finite_test_data): Likewise.
33168         (floor_test_data): Likewise.
33169         (fma_test_data): Likewise.
33170         (fma_towardzero_test_data): Likewise.
33171         (fma_downward_test_data): Likewise.
33172         (fma_upward_test_data): Likewise.
33173         (fmax_test_data): Likewise.
33174         (fmin_test_data): Likewise.
33175         (fmod_test_data): Likewise.
33176         (fpclassify_test_data): Likewise.
33177         (frexp_test_data): Likewise.
33178         (gamma_test_data): Likewise.
33179         (hypot_test_data): Likewise.
33180         (ilogb_test_data): Likewise.
33181         (isfinite_test_data): Likewise.
33182         (isgreater_test_data): Likewise.
33183         (isgreaterequal_test_data): Likewise.
33184         (isinf_test_data): Likewise.
33185         (isless_test_data): Likewise.
33186         (islessequal_test_data): Likewise.
33187         (islessgreater_test_data): Likewise.
33188         (isnan_test_data): Likewise.
33189         (isnormal_test_data): Likewise.
33190         (issignaling_test_data): Likewise.
33191         (isunordered_test_data): Likewise.
33192         (j0_test_data): Likewise.
33193         (j1_test_data): Likewise.
33194         (jn_test_data): Likewise.
33195         (ldexp_test_data): Likewise.
33196         (lgamma_test_data): Likewise.
33197         (lrint_test_data): Likewise.
33198         (lrint_tonearest_test_data): Likewise.
33199         (lrint_towardzero_test_data): Likewise.
33200         (lrint_downward_test_data): Likewise.
33201         (lrint_upward_test_data): Likewise.
33202         (llrint_test_data): Likewise.
33203         (llrint_tonearest_test_data): Likewise.
33204         (llrint_towardzero_test_data): Likewise.
33205         (llrint_downward_test_data): Likewise.
33206         (llrint_upward_test_data): Likewise.
33207         (log_test_data): Likewise.
33208         (log10_test_data): Likewise.
33209         (log1p_test_data): Likewise.
33210         (log2_test_data): Likewise.
33211         (logb_test_data): Likewise.
33212         (logb_downward_test_data): Likewise.
33213         (lround_test_data): Likewise.
33214         (llround_test_data): Likewise.
33215         (modf_test_data): Likewise.
33216         (nearbyint_test_data): Likewise.
33217         (nextafter_test_data): Likewise.
33218         (nexttoward_test_data): Likewise.
33219         (pow_test_data): Likewise.
33220         (pow_tonearest_test_data): Likewise.
33221         (pow_towardzero_test_data): Likewise.
33222         (pow_downward_test_data): Likewise.
33223         (pow_upward_test_data): Likewise.
33224         (remainder_test_data): Likewise.
33225         (remainder_tonearest_test_data): Likewise.
33226         (remainder_towardzero_test_data): Likewise.
33227         (remainder_downward_test_data): Likewise.
33228         (remainder_upward_test_data): Likewise.
33229         (remquo_test_data): Likewise.
33230         (rint_test_data): Likewise.
33231         (rint_tonearest_test_data): Likewise.
33232         (rint_towardzero_test_data): Likewise.
33233         (rint_downward_test_data): Likewise.
33234         (rint_upward_test_data): Likewise.
33235         (round_test_data): Likewise.
33236         (scalb_test_data): Likewise.
33237         (scalbn_test_data): Likewise.
33238         (scalbln_test_data): Likewise.
33239         (signbit_test_data): Likewise.
33240         (sin_test_data): Likewise.
33241         (sin_tonearest_test_data): Likewise.
33242         (sin_towardzero_test_data): Likewise.
33243         (sin_downward_test_data): Likewise.
33244         (sin_upward_test_data): Likewise.
33245         (sincos_test_data): Likewise.
33246         (sinh_test_data): Likewise.
33247         (sinh_tonearest_test_data): Likewise.
33248         (sinh_towardzero_test_data): Likewise.
33249         (sinh_downward_test_data): Likewise.
33250         (sinh_upward_test_data): Likewise.
33251         (sqrt_test_data): Likewise.
33252         (tan_test_data): Likewise.
33253         (tan_tonearest_test_data): Likewise.
33254         (tan_towardzero_test_data): Likewise.
33255         (tan_downward_test_data): Likewise.
33256         (tan_upward_test_data): Likewise.
33257         (tanh_test_data): Likewise.
33258         (tgamma_test_data): Likewise.
33259         (trunc_test_data): Likewise.
33260         (y0_test_data): Likewise.
33261         (y1_test_data): Likewise.
33262         (yn_test_data): Likewise.
33263         (significand_test_data): Likewise.
33265         * math/gen-libm-test.pl (@functions): Remove variable.
33266         (generate_testfile): Don't handle START and END lines.
33267         * math/libm-test.inc (START): New macro.
33268         (END): Likewise.
33269         (END_COMPLEX): Likewise.
33270         (acos_test): Use END macro without arguments.
33271         (acos_test_tonearest): Likewise.
33272         (acos_test_towardzero): Likewise.
33273         (acos_test_downward): Likewise.
33274         (acos_test_upward): Likewise.
33275         (acosh_test): Likewise.
33276         (asin_test): Likewise.
33277         (asin_test_tonearest): Likewise.
33278         (asin_test_towardzero): Likewise.
33279         (asin_test_downward): Likewise.
33280         (asin_test_upward): Likewise.
33281         (asinh_test): Likewise.
33282         (atan_test): Likewise.
33283         (atanh_test): Likewise.
33284         (atan2_test): Likewise.
33285         (cabs_test): Likewise.
33286         (cacos_test): Use END_COMPLEX macro without arguments.
33287         (cacosh_test): Likewise.
33288         (carg_test): Use END macro without arguments.
33289         (casin_test): Use END_COMPLEX macro without arguments.
33290         (casinh_test): Likewise.
33291         (catan_test): Likewise.
33292         (catanh_test): Likewise.
33293         (cbrt_test): Use END macro without arguments.
33294         (ccos_test): Use END_COMPLEX macro without arguments.
33295         (ccosh_test): Likewise.
33296         (ceil_test): Use END macro without arguments.
33297         (cexp_test): Use END_COMPLEX macro without arguments.
33298         (cimag_test): Use END macro without arguments.
33299         (clog_test): Use END_COMPLEX macro without arguments.
33300         (clog10_test): Likewise.
33301         (conj_test): Likewise.
33302         (copysign_test): Use END macro without arguments.
33303         (cos_test): Likewise.
33304         (cos_test_tonearest): Likewise.
33305         (cos_test_towardzero): Likewise.
33306         (cos_test_downward): Likewise.
33307         (cos_test_upward): Likewise.
33308         (cosh_test): Likewise.
33309         (cosh_test_tonearest): Likewise.
33310         (cosh_test_towardzero): Likewise.
33311         (cosh_test_downward): Likewise.
33312         (cosh_test_upward): Likewise.
33313         (cpow_test): Use END_COMPLEX macro without arguments.
33314         (cproj_test): Likewise.
33315         (creal_test): Use END macro without arguments.
33316         (csin_test): Use END_COMPLEX macro without arguments.
33317         (csinh_test): Likewise.
33318         (csqrt_test): Likewise.
33319         (ctan_test): Likewise.
33320         (ctan_test_tonearest): Likewise.
33321         (ctan_test_towardzero): Likewise.
33322         (ctan_test_downward): Likewise.
33323         (ctan_test_upward): Likewise.
33324         (ctanh_test): Likewise.
33325         (ctanh_test_tonearest): Likewise.
33326         (ctanh_test_towardzero): Likewise.
33327         (ctanh_test_downward): Likewise.
33328         (ctanh_test_upward): Likewise.
33329         (erf_test): Use END macro without arguments.
33330         (erfc_test): Likewise.
33331         (exp_test): Likewise.
33332         (exp_test_tonearest): Likewise.
33333         (exp_test_towardzero): Likewise.
33334         (exp_test_downward): Likewise.
33335         (exp_test_upward): Likewise.
33336         (exp10_test): Likewise.
33337         (exp2_test): Likewise.
33338         (expm1_test): Likewise.
33339         (fabs_test): Likewise.
33340         (fdim_test): Likewise.
33341         (finite_test): Likewise.
33342         (floor_test): Likewise.
33343         (fma_test): Likewise.
33344         (fma_test_towardzero): Likewise.
33345         (fma_test_downward): Likewise.
33346         (fma_test_upward): Likewise.
33347         (fmax_test): Likewise.
33348         (fmin_test): Likewise.
33349         (fmod_test): Likewise.
33350         (fpclassify_test): Likewise.
33351         (frexp_test): Likewise.
33352         (gamma_test): Likewise.
33353         (hypot_test): Likewise.
33354         (ilogb_test): Likewise.
33355         (isfinite_test): Likewise.
33356         (isgreater_test): Likewise.
33357         (isgreaterequal_test): Likewise.
33358         (isinf_test): Likewise.
33359         (isless_test): Likewise.
33360         (islessequal_test): Likewise.
33361         (islessgreater_test): Likewise.
33362         (isnan_test): Likewise.
33363         (isnormal_test): Likewise.
33364         (issignaling_test): Likewise.
33365         (isunordered_test): Likewise.
33366         (j0_test): Likewise.
33367         (j1_test): Likewise.
33368         (jn_test): Likewise.
33369         (ldexp_test): Likewise.
33370         (lgamma_test): Likewise.
33371         (lrint_test): Likewise.
33372         (lrint_test_tonearest): Likewise.
33373         (lrint_test_towardzero): Likewise.
33374         (lrint_test_downward): Likewise.
33375         (lrint_test_upward): Likewise.
33376         (llrint_test): Likewise.
33377         (llrint_test_tonearest): Likewise.
33378         (llrint_test_towardzero): Likewise.
33379         (llrint_test_downward): Likewise.
33380         (llrint_test_upward): Likewise.
33381         (log_test): Likewise.
33382         (log10_test): Likewise.
33383         (log1p_test): Likewise.
33384         (log2_test): Likewise.
33385         (logb_test): Likewise.
33386         (logb_test_downward): Likewise.
33387         (lround_test): Likewise.
33388         (llround_test): Likewise.
33389         (modf_test): Likewise.
33390         (nearbyint_test): Likewise.
33391         (nextafter_test): Likewise.
33392         (nexttoward_test): Likewise.
33393         (pow_test): Likewise.
33394         (pow_test_tonearest): Likewise.
33395         (pow_test_towardzero): Likewise.
33396         (pow_test_downward): Likewise.
33397         (pow_test_upward): Likewise.
33398         (remainder_test): Likewise.
33399         (remainder_test_tonearest): Likewise.
33400         (remainder_test_towardzero): Likewise.
33401         (remainder_test_downward): Likewise.
33402         (remainder_test_upward): Likewise.
33403         (remquo_test): Likewise.
33404         (rint_test): Likewise.
33405         (rint_test_tonearest): Likewise.
33406         (rint_test_towardzero): Likewise.
33407         (rint_test_downward): Likewise.
33408         (rint_test_upward): Likewise.
33409         (round_test): Likewise.
33410         (scalb_test): Likewise.
33411         (scalbn_test): Likewise.
33412         (scalbln_test): Likewise.
33413         (signbit_test): Likewise.
33414         (sin_test): Likewise.
33415         (sin_test_tonearest): Likewise.
33416         (sin_test_towardzero): Likewise.
33417         (sin_test_downward): Likewise.
33418         (sin_test_upward): Likewise.
33419         (sincos_test): Likewise.
33420         (sinh_test): Likewise.
33421         (sinh_test_tonearest): Likewise.
33422         (sinh_test_towardzero): Likewise.
33423         (sinh_test_downward): Likewise.
33424         (sinh_test_upward): Likewise.
33425         (sqrt_test): Likewise.
33426         (tan_test): Likewise.
33427         (tan_test_tonearest): Likewise.
33428         (tan_test_towardzero): Likewise.
33429         (tan_test_downward): Likewise.
33430         (tan_test_upward): Likewise.
33431         (tanh_test): Likewise.
33432         (tgamma_test): Likewise.
33433         (trunc_test): Likewise.
33434         (y0_test): Likewise.
33435         (y1_test): Likewise.
33436         (yn_test): Likewise.
33437         (significand_test): Likewise.
33439 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33441         [BZ #15381]
33442         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33444 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33446         [BZ #14894]
33447         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33448         __ppc_mdoio and __ppc_mdoom.
33449         * manual/platform.texi: Document new functions __ppc_yield,
33450         __ppc_mdoio and __ppc_mdoom.
33452 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33454         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33455         (main): Mention "tls" pseudo-hwcap is legacy.
33456         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33458 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33460         * math/gen-libm-test.pl (parse_args): Output only string of
33461         arguments as text for test name, not full call or descriptions of
33462         tests for extra outputs.
33463         (generate_testfile): Do not pass function name to parse_args.
33464         Generate this_func variable from START.
33465         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33466         field to arg_str.
33467         (struct test_ff_f_data): Likewise.
33468         (test_ff_f_data_nexttoward): Likewise.
33469         (struct test_fi_f_data): Likewise.
33470         (struct test_fl_f_data): Likewise.
33471         (struct test_if_f_data): Likewise.
33472         (struct test_fff_f_data): Likewise.
33473         (struct test_c_f_data): Likewise.
33474         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33475         (struct test_fF_f1_data): Likewise.
33476         (struct test_ffI_f1_data): Likewise.
33477         (struct test_c_c_data): Rename test_name field to arg_str.
33478         (struct test_cc_c_data): Likewise.
33479         (struct test_f_i_data): Likewise.
33480         (struct test_ff_i_data): Likewise.
33481         (struct test_f_l_data): Likewise.
33482         (struct test_f_L_data): Likewise.
33483         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33484         and extra2_name.
33485         (COMMON_TEST_SETUP): New macro.
33486         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33487         (COMMON_TEST_CLEANUP): Likewise.
33488         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33489         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33490         macros.
33491         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33492         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33493         macros.
33494         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33495         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33496         cleanup macros.
33497         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33498         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33499         macros.
33500         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33501         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33502         macros.
33503         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33504         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33505         cleanup macros.
33506         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33507         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33508         cleanup macros.
33509         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33510         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33511         cleanup macros.
33512         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33513         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33514         macros.
33515         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33516         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33517         macros.
33518         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33519         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33520         macros.
33521         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33522         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33523         cleanup macros.
33524         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33525         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33526         cleanup macros.
33527         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33528         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33529         macros.
33530         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33531         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33532         cleanup macros.
33533         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33534         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33535         macros.
33536         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33537         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33538         macros.
33539         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33540         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33541         cleanup macros.
33542         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33544 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33546         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33547         to _sifields.sigfault.
33548         (si_addr_lsb): Define new macro.
33549         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33550         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33551         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33553 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33555         [BZ #15441]
33556         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33557         returns -1.
33558         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33559         null return -1.
33560         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33561         loading the domain.
33563 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33565         * math/gen-libm-test.pl (parse_args): Do not include expected
33566         result in test name.
33567         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33568         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33569         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33570         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33571         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33574 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33576         * benchtests/Makefile: Sort function entries.
33578         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33579         tanh, asinh, acosh, atanh.
33580         * benchtests/acos-inputs: New file.
33581         * benchtests/acosh-inputs: New file.
33582         * benchtests/asin-inputs: New file.
33583         * benchtests/asinh-inputs: New file.
33584         * benchtests/atanh-inputs: New file.
33585         * benchtests/cosh-inputs: New file.
33586         * benchtests/log-inputs: New file.
33587         * benchtests/sinh-inputs: New file.
33588         * benchtests/tanh-inputs: New file.
33590 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33592         [BZ #15339]
33593         * posix/tst-getaddrinfo4.c: New test.
33594         * posix/Makefile (tests): Add it.
33596 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33598         [BZ #15339]
33599         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33600         when no services were used.
33601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33602         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33604 2013-05-21  Andreas Schwab  <schwab@suse.de>
33606         [BZ #15014]
33607         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33608         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33609         successful.
33610         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33611         redundant variable declarations and reallocation of buffer when
33612         parsing as IPv6 address.  Always set NSS status when called from
33613         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33614         buffer too small.  Correct computation of needed size.
33615         * nss/Makefile (tests): Add test-digits-dots.
33616         * nss/test-digits-dots.c: New test.
33618 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33620         * benchtests/Makefile: Remove instructions for adding
33621         benchmark tests.
33622         * benchtests/README: New file to explain how to execute and
33623         enhance the benchmark tests.
33625 2013-05-21  Andreas Schwab  <schwab@suse.de>
33627         [BZ #15493]
33628         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33629         * setjmp/tst-sigsetjmp.c: New test.
33631 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33633         * sysdeps/x86_64/memset.S (memset): New implementation.
33634         (__bzero): Likewise.
33635         (__memset_tail): New function.
33637 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33639         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33640         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33641         __memcpy_sse2_unaligned ifunc selection.
33642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33643         Add memcpy-sse2-unaligned.S.
33644         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33645         Add: __memcpy_sse2_unaligned.
33647 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33649         [BZ #15490]
33650         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33651         math_force_eval before restoring floating-point envrionment.
33652         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33653         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33654         Likewise.
33655         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33656         <math_private.h>.
33657         (__nearbyintl): Use math_force_eval before restoring
33658         floating-point environment.
33659         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33661         * math/gen-libm-test.pl (special_functions): Remove.
33662         (parse_args): Don't handle TEST_extra.  Handle functions with no
33663         return value.
33664         * math/libm-test.inc (struct test_sincos_data): Replace with
33665         struct test_fFF_11_data.
33666         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33667         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33668         (sincos_test_data): Change element type to struct
33669         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33670         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33671         RUN_TEST_LOOP_sincos.
33672         * math/README.libm-test: Don't mention special handling of
33673         individual functions.
33674         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33675         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33676         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33677         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33678         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33681         * math/gen-libm-test.pl (get_variable): Remove function.
33682         (parse_args): Don't show pointer parameters to call in test
33683         names.  Use "extra output N" in test names for extra outputs
33684         rather than naming variables.
33686 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33688         [BZ #15488]
33689         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33690         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33691         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33692         double tests.
33693         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33694         disable.
33695         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33696         check_long_double.
33698         * math/gen-libm-test.pl (@tests): Remove variable.
33699         ($count): Likewise.
33700         (new_test): Remove function.
33701         (show_exceptions): New function.
33702         (special_functions): Use show_exceptions instead of new_test.
33703         (parse_args): Likewise.
33704         (generate_testfile): Pass only function name in generated call to
33705         print_max_error or print_complex_max_error.
33706         (get_ulps): Do not handle complex tests specially.
33707         (output_test): Rename to ...
33708         (get_all_ulps_for_test): ... this.  Return a string rather than
33709         printing to a file.  Require ulps to be present.
33710         (output_ulps): Generate arrays rather than #defines.
33711         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33712         (struct ulp_data): New type.
33713         (BUILD_COMPLEX_ULP): Remove macro.
33714         (compare_ulp_data): New function.
33715         (find_ulps): Likewise.
33716         (find_test_ulps): Likewise.
33717         (find_function_ulps): Likewise.
33718         (find_complex_function_ulps): Likewise.
33719         (print_max_error): Determine allowed ulps using
33720         find_function_ulps.
33721         (print_complex_max_error): Determine allowed ulps using
33722         find_complex_function_ulps.
33723         (check_float_internal): Determine max ulps using find_test_ulps.
33724         (check_float): Do not take max_ulp parameter.  Update call to
33725         check_float_internal.
33726         (check_complex): Likewise.
33727         (check_int): Do not take max_ulp parameter.
33728         (check_long): Likewise.
33729         (check_bool): Likewise.
33730         (check_longlong): Likewise.
33731         (struct test_f_f_data): Remove max_ulp field.
33732         (struct test_ff_f_data): Likewise.
33733         (struct test_ff_f_data_nexttoward): Likewise.
33734         (struct test_fi_f_data): Likewise.
33735         (struct test_fl_f_data): Likewise.
33736         (struct test_if_f_data): Likewise.
33737         (struct test_fff_f_data): Likewise.
33738         (struct test_c_f_data): Likewise.
33739         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33740         (struct test_fF_f1_data): Likewise.
33741         (struct test_ffI_f1_data): Likewise.
33742         (struct test_c_c_data): Remove max_ulp field.
33743         (struct test_cc_c_data): Likewise.
33744         (struct test_f_i_data): Likewise.
33745         (struct test_ff_i_data): Likewise.
33746         (struct test_f_l_data): Likewise.
33747         (struct test_f_L_data): Likewise.
33748         (struct test_sincos_data): Likewise.
33749         (RUN_TEST_f_f): Do not handle ulps.
33750         (RUN_TEST_LOOP_f_f): Likewise.
33751         (RUN_TEST_2_f): Likewise.
33752         (RUN_TEST_LOOP_2_f): Likewise.
33753         (RUN_TEST_fff_f): Likewise.
33754         (RUN_TEST_LOOP_fff_f): Likewise.
33755         (RUN_TEST_c_f): Likewise.
33756         (RUN_TEST_LOOP_c_f): Likewise.
33757         (RUN_TEST_f_f1): Likewise.
33758         (RUN_TEST_LOOP_f_f1): Likewise.
33759         (RUN_TEST_fF_f1): Likewise.
33760         (RUN_TEST_LOOP_fF_f1): Likewise.
33761         (RUN_TEST_fI_f1): Likewise.
33762         (RUN_TEST_LOOP_fI_f1): Likewise.
33763         (RUN_TEST_ffI_f1): Likewise.
33764         (RUN_TEST_LOOP_ffI_f1): Likewise.
33765         (RUN_TEST_c_c): Likewise.
33766         (RUN_TEST_LOOP_c_c): Likewise.
33767         (RUN_TEST_cc_c): Likewise.
33768         (RUN_TEST_LOOP_cc_c): Likewise.
33769         (RUN_TEST_f_i): Likewise.
33770         (RUN_TEST_LOOP_f_i): Likewise.
33771         (RUN_TEST_f_i_tg): Likewise.
33772         (RUN_TEST_LOOP_f_i_tg): Likewise.
33773         (RUN_TEST_ff_i_tg): Likewise.
33774         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33775         (RUN_TEST_f_b): Likewise.
33776         (RUN_TEST_LOOP_f_b): Likewise.
33777         (RUN_TEST_f_b_tg): Likewise.
33778         (RUN_TEST_LOOP_f_b_tg): Likewise.
33779         (RUN_TEST_f_l): Likewise.
33780         (RUN_TEST_LOOP_f_l): Likewise.
33781         (RUN_TEST_f_L): Likewise.
33782         (RUN_TEST_LOOP_f_L): Likewise.
33783         (RUN_TEST_sincos): Likewise.
33784         (RUN_TEST_LOOP_sincos): Likewise.
33786 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33788         [BZ #15480]
33789         [BZ #15485]
33790         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33791         main case of finite arguments, set rounding mode to FE_TONEAREST
33792         and discard exceptions.
33793         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33794         exceptions.
33795         (remainder_tonearest_test_data): New variable.
33796         (remainder_test_tonearest): New function.
33797         (remainder_towardzero_test_data): New variable.
33798         (remainder_test_towardzero): New function.
33799         (remainder_downward_test_data): New variable.
33800         (remainder_test_downward): New function.
33801         (remainder_upward_test_data): New variable.
33802         (remainder_test_upward): New function.
33803         (main): Call the new test functions.
33805         * math/libm-test.inc (struct test_f_f1_data): Remove field
33806         extra_init.
33807         (struct test_fF_f1_data): Likewise.
33808         (struct test_ffI_f1_data): Likewise.
33809         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33810         based on value of EXTRA_EXPECTED.
33811         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33812         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33813         EXTRA_VAR based on value of EXTRA_EXPECTED.
33814         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33815         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33816         EXTRA_VAR based on value of EXTRA_EXPECTED.
33817         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33818         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33819         EXTRA_VAR based on value of EXTRA_EXPECTED.
33820         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33821         * math/gen-libm-test.pl (parse_args): Don't output initializers
33822         for extra output values.
33824         * math/libm-test.inc (check_int): Expect result to be exactly
33825         equal to expected value and do not handle ulps.
33826         (check_long): Likewise.
33827         (check_longlong): Likewise.
33829         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33830         exceptions.
33831         (cimag_test_data): Likewise.
33832         (conj_test_data): Likewise.
33833         (copysign_test_data): Likewise.
33834         (cproj_test_data): Likewise.
33835         (creal_test_data): Likewise.
33836         (fabs_test_data): Likewise.
33837         (fdim_test_data): Likewise.
33838         (finite_test_data): Likewise.
33839         (floor_test_data): Likewise.
33840         (fmax_test_data): Likewise.
33841         (fmin_test_data): Likewise.
33842         (fmod_test_data): Likewise.
33843         (fpclassify_test_data): Likewise.
33844         (frexp_test_data): Likewise.
33845         (ilogb_test_data): Likewise.
33846         (isfinite_test_data): Likewise.
33847         (isgreater_test_data): Likewise.
33848         (isgreaterequal_test_data): Likewise.
33849         (isinf_test_data): Likewise.
33850         (isless_test_data): Likewise.
33851         (islessequal_test_data): Likewise.
33852         (islessgreater_test_data): Likewise.
33853         (isnan_test_data): Likewise.
33854         (isnormal_test_data): Likewise.
33855         (issignaling_test_data): Likewise.
33856         (isunordered_test_data): Likewise.
33857         (ldexp_test_data): Likewise.
33858         (lrint_test_data): Likewise.
33859         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33860         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33861         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33862         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33863         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33864         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33865         test input.
33866         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33867         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33868         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33869         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33870         that test input.
33871         (lrint_downward_test_data): Test for "inexact" exceptions.
33872         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33873         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33874         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33875         test input.
33876         (lrint_upward_test_data): Test for "inexact" exceptions.
33877         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33878         test input.
33879         (llrint_test_data): Test for "inexact" exceptions.
33880         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33881         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33882         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33883         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33884         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33885         (llrint_downward_test_data): Test for "inexact" exceptions.
33886         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33887         (llrint_upward_test_data): Test for "inexact" exceptions.
33888         (logb_test_data): Likewise.
33889         (logb_downward_test_data): Likewise.
33890         (nextafter_test_data): Likewise.
33891         (nexttoward_test_data): Likewise.
33892         (remainder_test_data): Likewise.
33893         (remquo_test_data): Likewise.
33894         (scalbn_test_data): Likewise.
33895         (scalbln_test_data): Likewise.
33896         (signbit_test_data): Likewise.
33897         (sqrt_test_data): Likewise.
33898         (significand_test_data): Likewise.
33900 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33902         [BZ #15424]
33903         * benchtests/bench-modf.c (struct args): Mark arg0 as
33904         volatile.
33905         * scripts/bench.pl: Mark members of struct args as volatile.
33907 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33909         [BZ # 15497]
33910         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33911         negative infinity on POWER6 or lower.
33912         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33914 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33916         [BZ #15442]
33917         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33918         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33919         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33920         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33921         (_FP_SETQNAN): New macro.
33922         (_FP_SETQNAN_SEMIRAW): Likewise.
33923         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33924         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33925         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33926         (FP_EXTEND): Use _FP_FRAC_SNANP.
33927         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33928         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33929         into account.
33930         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33931         New macro.
33932         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33933         Likewise.
33935 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33937         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33938         with DIVIDE_BY_ZERO_EXCEPTION.
33939         (gamma_test_data): Likewise.
33940         (lgamma_test_data): Likewise.
33941         (log_test_data): Likewise.
33942         (log10_test_data): Likewise.
33943         (log2_test_data): Likewise.
33944         (tgamma_test_data): Likewise.
33946         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33947         (acos_test_tonearest): Likewise.
33948         (acos_test_towardzero): Likewise.
33949         (acos_test_downward): Likewise.
33950         (acos_test_upward): Likewise.
33951         (acosh_test): Likewise.
33952         (asin_test): Likewise.
33953         (asin_test_tonearest): Likewise.
33954         (asin_test_towardzero): Likewise.
33955         (asin_test_downward): Likewise.
33956         (asin_test_upward): Likewise.
33957         (asinh_test): Likewise.
33958         (atan_test): Likewise.
33959         (atanh_test): Likewise.
33960         (atan2_test): Likewise.
33961         (cabs_test): Likewise.
33962         (cacos_test): Likewise.
33963         (cacosh_test): Likewise.
33964         (casin_test): Likewise.
33965         (casinh_test): Likewise.
33966         (catan_test): Likewise.
33967         (catanh_test): Likewise.
33968         (cbrt_test): Likewise.
33969         (ccos_test): Likewise.
33970         (ccosh_test): Likewise.
33971         (cexp_test): Likewise.
33972         (clog_test): Likewise.
33973         (clog10_test): Likewise.
33974         (cos_test): Likewise.
33975         (cos_test_tonearest): Likewise.
33976         (cos_test_towardzero): Likewise.
33977         (cos_test_downward): Likewise.
33978         (cos_test_upward): Likewise.
33979         (cosh_test): Likewise.
33980         (cosh_test_tonearest): Likewise.
33981         (cosh_test_towardzero): Likewise.
33982         (cosh_test_downward): Likewise.
33983         (cosh_test_upward): Likewise.
33984         (cpow_test): Likewise.
33985         (csin_test): Likewise.
33986         (csinh_test): Likewise.
33987         (csqrt_test): Likewise.
33988         (ctan_test): Likewise.
33989         (ctan_test_tonearest): Likewise.
33990         (ctan_test_towardzero): Likewise.
33991         (ctan_test_downward): Likewise.
33992         (ctan_test_upward): Likewise.
33993         (ctanh_test): Likewise.
33994         (ctanh_test_tonearest): Likewise.
33995         (ctanh_test_towardzero): Likewise.
33996         (ctanh_test_downward): Likewise.
33997         (ctanh_test_upward): Likewise.
33998         (erf_test): Likewise.
33999         (erfc_test): Likewise.
34000         (exp_test): Likewise.
34001         (exp_test_tonearest): Likewise.
34002         (exp_test_towardzero): Likewise.
34003         (exp_test_downward): Likewise.
34004         (exp_test_upward): Likewise.
34005         (exp10_test): Likewise.
34006         (exp2_test): Likewise.
34007         (expm1_test): Likewise.
34008         (fmod_test): Likewise.
34009         (gamma_test): Likewise.
34010         (hypot_test): Likewise.
34011         (j0_test): Likewise.
34012         (j1_test): Likewise.
34013         (jn_test): Likewise.
34014         (lgamma_test): Likewise.
34015         (log_test): Likewise.
34016         (log10_test): Likewise.
34017         (log1p_test): Likewise.
34018         (log2_test): Likewise.
34019         (logb_test_downward): Likewise.
34020         (pow_test): Likewise.
34021         (pow_test_tonearest): Likewise.
34022         (pow_test_towardzero): Likewise.
34023         (pow_test_downward): Likewise.
34024         (pow_test_upward): Likewise.
34025         (remainder_test): Likewise.
34026         (remquo_test): Likewise.
34027         (sin_test): Likewise.
34028         (sin_test_tonearest): Likewise.
34029         (sin_test_towardzero): Likewise.
34030         (sin_test_downward): Likewise.
34031         (sin_test_upward): Likewise.
34032         (sincos_test): Likewise.
34033         (sinh_test): Likewise.
34034         (sinh_test_tonearest): Likewise.
34035         (sinh_test_towardzero): Likewise.
34036         (sinh_test_downward): Likewise.
34037         (sinh_test_upward): Likewise.
34038         (sqrt_test): Likewise.
34039         (tan_test): Likewise.
34040         (tan_test_tonearest): Likewise.
34041         (tan_test_towardzero): Likewise.
34042         (tan_test_downward): Likewise.
34043         (tan_test_upward): Likewise.
34044         (tanh_test): Likewise.
34045         (tgamma_test): Likewise.
34046         (y0_test): Likewise.
34047         (y1_test): Likewise.
34048         (yn_test): Likewise.
34050         * math/gen-libm-test.pl (adjust_arg): Remove function.
34051         (special_function): Remove argument $in_func.  Only handle
34052         generating output for tables of tests, not inside functions.
34053         (parse_args): Likewise.
34054         (generate_testfile): Remove variable $in_func.  Update call to
34055         parse_args.
34056         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34057         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34058         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34059         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34060         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34061         (MAX_VALUE_INIT): Rename macro to max_value.
34062         (MIN_VALUE_INIT): Rename macro to min_value.
34063         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34064         (plus_zero): Remove variable.
34065         (minus_zero): Likewise.
34066         (plus_infty): Likewise.
34067         (minus_infty): Likewise.
34068         (qnan_value): Likewise.
34069         (max_value): Likewise.
34070         (min_value): Likewise.
34071         (min_subnorm_value): Likewise.
34073 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34075         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34076         uint64_t or uint32_t usage.
34077         * crypt/sha256-block.c: Likewise.
34078         * crypt/sha256-crypt.c: Likewise.
34079         * crypt/sha256.c: Likewise.
34080         * crypt/sha512-block.c: Likewise.
34081         * crypt/sha512-crypt.c: Likewise.
34082         * crypt/sha512.c: Likewise.
34083         * debug/backtrace-tst.c: Likewise.
34084         * debug/pcprofiledump.c: Likewise.
34085         * elf/cache.c: Likewise.
34086         * elf/dl-cache.c: Likewise.
34087         * elf/dl-misc.c: Likewise.
34088         * elf/dl-profile.c: Likewise.
34089         * elf/dl-support.c: Likewise.
34090         * elf/ldconfig.c: Likewise.
34091         * elf/sprof.c: Likewise.
34092         * iconv/dummy-repertoire.c: Likewise.
34093         * iconv/iconv_charmap.c: Likewise.
34094         * iconv/skeleton.c: Likewise.
34095         * iconvdata/8bit-generic.c: Likewise.
34096         * iconvdata/cp737.h: Likewise.
34097         * iconvdata/cp775.h: Likewise.
34098         * iconvdata/ibm1008.h: Likewise.
34099         * iconvdata/ibm1025.h: Likewise.
34100         * iconvdata/ibm1046.h: Likewise.
34101         * iconvdata/ibm1097.h: Likewise.
34102         * iconvdata/ibm1112.h: Likewise.
34103         * iconvdata/ibm1122.h: Likewise.
34104         * iconvdata/ibm1123.h: Likewise.
34105         * iconvdata/ibm1124.h: Likewise.
34106         * iconvdata/ibm1129.h: Likewise.
34107         * iconvdata/ibm1130.h: Likewise.
34108         * iconvdata/ibm1132.h: Likewise.
34109         * iconvdata/ibm1133.h: Likewise.
34110         * iconvdata/ibm1137.h: Likewise.
34111         * iconvdata/ibm1140.h: Likewise.
34112         * iconvdata/ibm1141.h: Likewise.
34113         * iconvdata/ibm1142.h: Likewise.
34114         * iconvdata/ibm1143.h: Likewise.
34115         * iconvdata/ibm1144.h: Likewise.
34116         * iconvdata/ibm1145.h: Likewise.
34117         * iconvdata/ibm1146.h: Likewise.
34118         * iconvdata/ibm1147.h: Likewise.
34119         * iconvdata/ibm1148.h: Likewise.
34120         * iconvdata/ibm1149.h: Likewise.
34121         * iconvdata/ibm1153.h: Likewise.
34122         * iconvdata/ibm1154.h: Likewise.
34123         * iconvdata/ibm1155.h: Likewise.
34124         * iconvdata/ibm1156.h: Likewise.
34125         * iconvdata/ibm1157.h: Likewise.
34126         * iconvdata/ibm1158.h: Likewise.
34127         * iconvdata/ibm1160.h: Likewise.
34128         * iconvdata/ibm1161.h: Likewise.
34129         * iconvdata/ibm1162.h: Likewise.
34130         * iconvdata/ibm1163.h: Likewise.
34131         * iconvdata/ibm1164.h: Likewise.
34132         * iconvdata/ibm1166.h: Likewise.
34133         * iconvdata/ibm1167.h: Likewise.
34134         * iconvdata/ibm12712.h: Likewise.
34135         * iconvdata/ibm1390.h: Likewise.
34136         * iconvdata/ibm1399.h: Likewise.
34137         * iconvdata/ibm16804.h: Likewise.
34138         * iconvdata/ibm4517.h: Likewise.
34139         * iconvdata/ibm4899.h: Likewise.
34140         * iconvdata/ibm4909.h: Likewise.
34141         * iconvdata/ibm4971.h: Likewise.
34142         * iconvdata/ibm5347.h: Likewise.
34143         * iconvdata/ibm803.h: Likewise.
34144         * iconvdata/ibm856.h: Likewise.
34145         * iconvdata/ibm901.h: Likewise.
34146         * iconvdata/ibm902.h: Likewise.
34147         * iconvdata/ibm9030.h: Likewise.
34148         * iconvdata/ibm9066.h: Likewise.
34149         * iconvdata/ibm921.h: Likewise.
34150         * iconvdata/ibm922.h: Likewise.
34151         * iconvdata/ibm9448.h: Likewise.
34152         * iconvdata/isiri-3342.h: Likewise.
34153         * iconvdata/jis0201.h: Likewise.
34154         * include/link.h: Likewise.
34155         * include/netdb.h: Likewise.
34156         * inet/check_native.c: Likewise.
34157         * inet/check_pf.c: Likewise.
34158         * inet/getipv4sourcefilter.c: Likewise.
34159         * inet/getnameinfo.c: Likewise.
34160         * inet/getsourcefilter.c: Likewise.
34161         * inet/htonl.c: Likewise.
34162         * inet/setipv4sourcefilter.c: Likewise.
34163         * inet/setsourcefilter.c: Likewise.
34164         * inet/test-inet6_opt.c: Likewise.
34165         * inet/tst-network.c: Likewise.
34166         * locale/C-collate.c: Likewise.
34167         * locale/C-ctype.c: Likewise.
34168         * locale/C-time.c: Likewise.
34169         * locale/C-translit.h: Likewise.
34170         * locale/loadarchive.c: Likewise.
34171         * locale/programs/3level.h: Likewise.
34172         * locale/programs/charmap.c: Likewise.
34173         * locale/programs/charmap.h: Likewise.
34174         * locale/programs/ld-address.c: Likewise.
34175         * locale/programs/ld-collate.c: Likewise.
34176         * locale/programs/ld-ctype.c: Likewise.
34177         * locale/programs/ld-identification.c: Likewise.
34178         * locale/programs/ld-measurement.c: Likewise.
34179         * locale/programs/ld-messages.c: Likewise.
34180         * locale/programs/ld-monetary.c: Likewise.
34181         * locale/programs/ld-name.c: Likewise.
34182         * locale/programs/ld-numeric.c: Likewise.
34183         * locale/programs/ld-paper.c: Likewise.
34184         * locale/programs/ld-telephone.c: Likewise.
34185         * locale/programs/ld-time.c: Likewise.
34186         * locale/programs/linereader.c: Likewise.
34187         * locale/programs/locale.c: Likewise.
34188         * locale/programs/locarchive.c: Likewise.
34189         * locale/programs/locfile.h: Likewise.
34190         * locale/programs/repertoire.c: Likewise.
34191         * locale/programs/simple-hash.c: Likewise.
34192         * locale/programs/simple-hash.h: Likewise.
34193         * malloc/memusage.c: Likewise.
34194         * malloc/memusagestat.c: Likewise.
34195         * nis/nis_defaults.c: Likewise.
34196         * nis/nis_hash.c: Likewise.
34197         * nis/nis_print.c: Likewise.
34198         * nis/nis_xdr.c: Likewise.
34199         * nscd/connections.c: Likewise.
34200         * nscd/hstcache.c: Likewise.
34201         * nscd/nscd_gethst_r.c: Likewise.
34202         * nscd/nscd_getserv_r.c: Likewise.
34203         * nscd/nscd_helper.c: Likewise.
34204         * nscd/servicescache.c: Likewise.
34205         * nss/makedb.c: Likewise.
34206         * nss/nss_db/db-XXX.c: Likewise.
34207         * nss/nss_db/db-initgroups.c: Likewise.
34208         * nss/nss_db/db-netgrp.c: Likewise.
34209         * nss/nss_files/files-network.c: Likewise.
34210         * nss/nss_files/files-parse.c: Likewise.
34211         * posix/bug-regex5.c: Likewise.
34212         * posix/fnmatch_loop.c: Likewise.
34213         * posix/regcomp.c: Likewise.
34214         * posix/regexec.c: Likewise.
34215         * posix/tst-rfc3484-2.c: Likewise.
34216         * posix/tst-rfc3484-3.c: Likewise.
34217         * posix/tst-rfc3484.c: Likewise.
34218         * resolv/nss_dns/dns-canon.c: Likewise.
34219         * resolv/nss_dns/dns-network.c: Likewise.
34220         * resolv/res_init.c: Likewise.
34221         * resolv/res_mkquery.c: Likewise.
34222         * resolv/tst-aton.c: Likewise.
34223         * stdlib/cxa_atexit.c: Likewise.
34224         * stdlib/cxa_finalize.c: Likewise.
34225         * stdlib/gen-fpioconst.c: Likewise.
34226         * stdlib/strtol_l.c: Likewise.
34227         * string/tst-endian.c: Likewise.
34228         * sunrpc/auth_des.c: Likewise.
34229         * sunrpc/clnt_udp.c: Likewise.
34230         * sunrpc/rtime.c: Likewise.
34231         * sunrpc/svcauth_des.c: Likewise.
34232         * sunrpc/xdr.c: Likewise.
34233         * sunrpc/xdr_intXX_t.c: Likewise.
34234         * sunrpc/xdr_rec.c: Likewise.
34235         * sysdeps/generic/ldconfig.h: Likewise.
34236         * sysdeps/generic/ldsodefs.h: Likewise.
34237         * sysdeps/generic/memusage.h: Likewise.
34238         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34239         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34240         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34241         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34242         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34243         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34244         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34245         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34246         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34247         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34248         * sysdeps/posix/getaddrinfo.c: Likewise.
34249         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34250         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34251         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34252         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34253         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34254         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34255         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34256         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34257         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34258         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34259         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34260         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34261         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34262         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34263         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34264         * sysdeps/x86_64/dl-tls.h: Likewise.
34265         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34266         * time/alt_digit.c: Likewise.
34267         * time/era.c: Likewise.
34268         * wcsmbs/tst-c16c32-1.c: Likewise.
34270 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34272         * math/libm-test.inc (struct test_sincos_data): New type.
34273         (RUN_TEST_LOOP_sincos): New macro.
34274         (sincos_test_data): New variable.
34275         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34277 2013-05-16  Richard Henderson  <rth@redhat.com>
34279         * math/atest-exp2.c (LIMB64): New macro.
34280         (CONSTSZ): New macro.
34281         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34282         (hexdig): Move ...
34283         (print_mpn_fp): ... to function scope.
34284         (read_mpn_hex): Remove.
34285         (get_log2): Remove.
34286         (exp2_mpn): Use mp_log2.
34287         (main): Use mp_exp1.
34289 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34291         * math/libm-test.inc: Remove comment about not testing "inexact"
34292         exceptions.
34293         (INEXACT_EXCEPTION): New macro.
34294         (NO_INEXACT_EXCEPTION): Likewise.
34295         (INVALID_EXCEPTION_OK): Update value.
34296         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34297         (OVERFLOW_EXCEPTION_OK): Likewise.
34298         (UNDERFLOW_EXCEPTION_OK): Likewise.
34299         (IGNORE_ZERO_INF_SIGN): Likewise.
34300         (ERRNO_UNCHANGED): Likewise.
34301         (ERRNO_EDOM): Likewise.
34302         (ERRNO_ERANGE): Likewise.
34303         (test_exceptions): Handle testing "inexact" exceptions.
34304         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34305         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34306         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34307         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34308         INEXACT_EXCEPTION.
34309         (rint_towardzero_test_data): Likewise.
34310         (rint_downward_test_data): Likewise.
34311         (rint_upward_test_data): Likewise.
34313         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34314         with OVERFLOW_EXCEPTION.
34315         (exp10_test_data): Likewise.
34316         (exp2_test_data): Likewise.
34317         (expm1_test_data): Likewise.
34318         (lgamma_test_data): Likewise.
34319         (pow_test_data): Likewise.
34320         (tgamma_test_data): Likewise.
34321         (yn_test_data): Remove duplicate test of overflow.
34323         * math/libm-test.inc (struct test_cc_c_data): New type.
34324         (RUN_TEST_LOOP_cc_c): New macro.
34325         (cpow_test_data): New variable.
34326         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34328         * math/libm-test.inc (struct test_f_L_data): New type.
34329         (RUN_TEST_LOOP_f_L): New macro.
34330         (llrint_test_data): New variable.
34331         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34332         (llrint_tonearest_test_data): New variable.
34333         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34334         (llrint_towardzero_test_data): New variable.
34335         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34336         (llrint_downward_test_data): New variable.
34337         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34338         (llrint_upward_test_data): New variable.
34339         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34340         (llround_test_data): New variable.
34341         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34343 2013-05-13  Peter Collingbourne  <pcc@google.com>
34345         * math/atest-exp2.c (get_log2): Remove const attribute.
34347 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34349         * math/libm-test.inc (struct test_f_l_data): New type.
34350         (RUN_TEST_LOOP_f_l): New macro.
34351         (lrint_test_data): New variable.
34352         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34353         (lrint_tonearest_test_data): New variable.
34354         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34355         (lrint_towardzero_test_data): New variable.
34356         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34357         (lrint_downward_test_data): New variable.
34358         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34359         (lrint_upward_test_data): New variable.
34360         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34361         (lround_test_data): New variable.
34362         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34364 2013-05-15  Peter Collingbourne  <pcc@google.com>
34366         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34367         (EXTRACT_WORDS64) Use where appropriate.
34368         (INSERT_WORDS64) Likewise.
34370         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34371         constraints with x constraints.
34372         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34374         * malloc/obstack.c (_obstack_compat): Add initializer.
34376 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34378         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34379         si_trapno and add si_addr_lsb to _sifields.sigfault.
34380         (si_trapno): Remove macro.
34381         (si_addr_lsb): Define new macro.
34382         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34384 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34386         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34387         instead of TEST_f_l.
34388         (llrint_test_tonearest): Likewise.
34389         (llrint_test_towardzero): Likewise.
34390         (llrint_test_downward): Likewise.
34391         (llrint_test_upward): Likewise.
34392         (llround_test): Likewise.
34394         * math/libm-test.inc (struct test_f_i_data): Add comment.
34395         (RUN_TEST_LOOP_f_b): New macro.
34396         (RUN_TEST_LOOP_f_b_tg): Likewise.
34397         (finite_test_data): New variable.
34398         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34399         (isfinite_test_data): New variable.
34400         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34401         (isinf_test_data): New variable.
34402         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34403         (isnan_test_data): New variable.
34404         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34405         (isnormal_test_data): New variable.
34406         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34407         (issignaling_test_data): New variable.
34408         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34409         (signbit_test_data): New variable.
34410         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34412         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34413         with INVALID_EXCEPTION.
34414         (acosh_test_data): Likewise.
34415         (asin_test_data): Likewise.
34416         (atanh_test_data): Likewise.
34417         (fmod_test_data): Likewise.
34418         (log_test_data): Likewise.
34419         (log10_test_data): Likewise.
34420         (log2_test_data): Likewise.
34421         (pow_test_data): Likewise.
34422         (sqrt_test_data): Likewise.
34423         (y0_test_data): Likewise.
34424         (y1_test_data): Likewise.
34425         (yn_test_data): Likewise.
34427         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34428         function contents.
34430         * math/libm-test.inc (struct test_ff_i_data): New type.
34431         (RUN_TEST_LOOP_ff_i_tg): New macro.
34432         (isgreater_test_data): New variable.
34433         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34434         (isgreaterequal_test_data): New variable.
34435         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34436         (isless_test_data): New variable.
34437         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34438         (islessequal_test_data): New variable.
34439         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34440         (islessgreater_test_data): New variable.
34441         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34442         (isunordered_test_data): New variable.
34443         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34445 2013-05-14  David S. Miller  <davem@davemloft.net>
34447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34449 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34451         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34453         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34454         extra_test to int.
34455         (struct test_f_i_data): Change type of max_ulp to int.
34457         * math/libm-test.inc (test_ffI_f1_data): New type.
34458         (RUN_TEST_LOOP_ffI_f1): New macro.
34459         (remquo_test_data): New variable.
34460         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34462         * setjmp/tst-setjmp-fp.c: New file.
34463         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34464         (link-libm): New variable.
34465         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34467         * math/libm-test.inc (struct test_f_i_data): New type.
34468         (RUN_TEST_LOOP_f_i): New macro.
34469         (RUN_TEST_LOOP_f_i_tg): Likewise.
34470         (fpclassify_test_data): New variable.
34471         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34472         (ilogb_test_data): New variable.
34473         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34475         * math/libm-test.inc (scalbln_test): Correct function name in END
34476         call.
34478         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34479         (RUN_TEST_LOOP_fI_f1): New macro.
34480         (frexp_test_data): New variable.
34481         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34483         * math/libm-test.inc (struct test_fF_f1_data): New type.
34484         (RUN_TEST_LOOP_fF_f1): New macro.
34485         (modf_test_data): New variable.
34486         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34488         * math/libm-test.inc (struct test_f_f1_data): New type.
34489         (RUN_TEST_LOOP_f_f1): New macro.
34490         (gamma_test_data): New variable.
34491         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34492         (lgamma_test_data): New variable.
34493         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34495 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34497         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34498         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34499         (main): Comment "tls" pseudo-hwcap.
34501 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34503         * math/libm-test.inc (struct test_fl_f_data): New type.
34504         (RUN_TEST_LOOP_fl_f): New variable.
34505         (scalbln_test_data): New variable.
34506         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34508         * math/libm-test.inc (struct test_fi_f_data): New type.
34509         (RUN_TEST_LOOP_fi_f): New macro.
34510         (ldexp_test_data): New variable.
34511         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34512         (scalbn_test_data): New variable.
34513         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34515         * math/libm-test.inc (struct test_c_f_data): New type.
34516         (RUN_TEST_LOOP_c_f): New macro.
34517         (cabs_test_data): New variable.
34518         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34519         (carg_test_data): New variable.
34520         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34521         (cimag_test_data): New variable.
34522         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34523         (creal_test_data): New variable.
34524         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34526         * math/libm-test.inc (struct test_if_f_data): New type.
34527         (RUN_TEST_LOOP_if_f): New macro.
34528         (jn_test_data): New variable.
34529         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34530         (yn_test_data): New variable.
34531         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34533         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34535 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34537         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34538         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34540 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34542         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34543         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34544         (bench-deps): Add bench-timing.h.
34545         * benchtests-bench-skeleton.c: Include bench-timing.h.
34546         (main): Use TIMING_* macros instead of clock_gettime.
34547         * benchtests/bench-timing.h: New file.
34549         [BZ #14582]
34550         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34551         Renamed from _LIB_VERSION.
34552         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34554 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34556         * math/libm-test.inc (struct test_fff_f_data): New type.
34557         (RUN_TEST_LOOP_fff_f): New macro.
34558         (fma_test_data): New variable.
34559         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34560         (fma_towardzero_test_data): New variable.
34561         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34562         (fma_downward_test_data): New variable.
34563         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34564         (fma_upward_test_data): New variable.
34565         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34567         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34568         (struct test_c_c_data): New type.
34569         (RUN_TEST_LOOP_c_c): New macro.
34570         (cacos_test_data): New variable.
34571         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34572         (cacosh_test_data): New variable.
34573         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34574         (casin_test_data): New variable.
34575         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34576         (casinh_test_data): New variable.
34577         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34578         (catan_test_data): New variable.
34579         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34580         (catanh_test_data): New variable.
34581         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34582         (ccos_test_data): New variable.
34583         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34584         (ccosh_test_data): New variable.
34585         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34586         (cexp_test_data): New variable.
34587         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34588         (clog_test_data): New variable.
34589         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34590         (clog10_test_data): New variable.
34591         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34592         (conj_test_data): New variable.
34593         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34594         (cproj_test_data): New variable.
34595         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34596         (csin_test_data): New variable.
34597         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34598         (csinh_test_data): New variable.
34599         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34600         (csqrt_test_data): New variable.
34601         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34602         (ctan_test_data): New variable.
34603         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34604         (ctan_tonearest_test_data): New variable.
34605         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34606         (ctan_towardzero_test_data): New variable.
34607         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34608         (ctan_downward_test_data): New variable.
34609         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34610         (ctan_upward_test_data): New variable.
34611         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34612         (ctanh_test_data): New variable.
34613         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34614         (ctanh_tonearest_test_data): New variable.
34615         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34616         (ctanh_towardzero_test_data): New variable.
34617         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34618         (ctanh_downward_test_data): New variable.
34619         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34620         (ctanh_upward_test_data): New variable.
34621         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34622         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34623         of BUILD_COMPLEX.
34625         * math/libm-test.inc (struct test_ff_f_data): New type.
34626         (struct test_ff_f_data_nexttoward): Likewise.
34627         (RUN_TEST_LOOP_2_f): New macro.
34628         (RUN_TEST_LOOP_ff_f): Likewise.
34629         (atan2_test_data): New variable.
34630         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34631         (copysign_test_data): New variable.
34632         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34633         (fdim_test_data): New variable.
34634         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34635         (fmax_test_data): New variable.
34636         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34637         (fmin_test_data): New variable.
34638         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34639         (fmod_test_data): New variable.
34640         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34641         (hypot_test_data): New variable.
34642         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34643         (nextafter_test_data): New variable.
34644         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34645         (nexttoward_test_data): New variable.
34646         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34647         (pow_test_data): New variable.
34648         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34649         (pow_tonearest_test_data): New variable.
34650         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34651         (pow_towardzero_test_data): New variable.
34652         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34653         (pow_downward_test_data): New variable.
34654         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34655         (pow_upward_test_data): New variable.
34656         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34657         (remainder_test_data): New variable.
34658         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34659         (scalb_test_data): New variable.
34660         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34661         * sysdeps/i386/fpu/libm-test-ulps: Update.
34663 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34665         * math/libm-test.inc (fma_test): Use max_value instead of local
34666         variable fltmax.
34667         (nextafter_test): Likewise.
34669         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34670         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34671         (acos_downward_test_data): New variable.
34672         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34673         (acos_upward_test_data): New variable.
34674         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34675         (acosh_test_data): New variable.
34676         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34677         (asin_test_data): New variable.
34678         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34679         (asin_tonearest_test_data): New variable.
34680         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34681         (asin_towardzero_test_data): New variable.
34682         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34683         (asin_downward_test_data): New variable.
34684         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34685         (asin_upward_test_data): New variable.
34686         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34687         (asinh_test_data): New variable.
34688         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34689         (atan_test_data): New variable.
34690         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34691         (atanh_test_data): New variable.
34692         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34693         (cbrt_test_data): New variable.
34694         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34695         (ceil_test_data): New variable.
34696         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34697         (cos_test_data): New variable.
34698         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34699         (cos_tonearest_test_data): New variable.
34700         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34701         (cos_towardzero_test_data): New variable.
34702         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34703         (cos_downward_test_data): New variable.
34704         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34705         (cos_upward_test_data): New variable.
34706         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34707         (cosh_test_data): New variable.
34708         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34709         (cosh_tonearest_test_data): New variable.
34710         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34711         (cosh_towardzero_test_data): New variable.
34712         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34713         (cosh_downward_test_data): New variable.
34714         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34715         (cosh_upward_test_data): New variable.
34716         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34717         (erf_test_data): New variable.
34718         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34719         (erfc_test_data): New variable.
34720         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34721         (exp_test_data): New variable.
34722         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34723         (exp_tonearest_test_data): New variable.
34724         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34725         (exp_towardzero_test_data): New variable.
34726         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34727         (exp_downward_test_data): New variable.
34728         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34729         (exp_upward_test_data): New variable.
34730         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34731         (exp10_test_data): New variable.
34732         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34733         (exp2_test_data): New variable.
34734         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34735         (expm1_test_data): New variable.
34736         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34737         (fabs_test_data): New variable.
34738         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34739         (floor_test_data): New variable.
34740         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34741         (j0_test_data): New variable.
34742         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34743         (j1_test_data): New variable.
34744         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34745         (log_test_data): New variable.
34746         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34747         (log10_test_data): New variable.
34748         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34749         (log1p_test_data): New variable.
34750         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34751         (log2_test_data): New variable.
34752         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34753         (logb_test_data): New variable.
34754         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34755         (logb_downward_test_data): New variable.
34756         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34757         (nearbyint_test_data): New variable.
34758         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34759         (rint_test_data): New variable.
34760         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34761         (rint_tonearest_test_data): New variable.
34762         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34763         (rint_towardzero_test_data): New variable.
34764         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34765         (rint_downward_test_data): New variable.
34766         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34767         (rint_upward_test_data): New variable.
34768         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34769         (round_test_data): New variable.
34770         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34771         (sin_test_data): New variable.
34772         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34773         (sin_tonearest_test_data): New variable.
34774         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34775         (sin_towardzero_test_data): New variable.
34776         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34777         (sin_downward_test_data): New variable.
34778         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34779         (sin_upward_test_data): New variable.
34780         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34781         (sinh_test_data): New variable.
34782         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34783         (sinh_tonearest_test_data): New variable.
34784         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34785         (sinh_towardzero_test_data): New variable.
34786         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34787         (sinh_downward_test_data): New variable.
34788         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34789         (sinh_upward_test_data): New variable.
34790         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34791         (sqrt_test_data): New variable.
34792         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34793         (tan_test_data): New variable.
34794         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34795         (tan_tonearest_test_data): New variable.
34796         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34797         (tan_towardzero_test_data): New variable.
34798         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34799         (tan_downward_test_data): New variable.
34800         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34801         (tan_upward_test_data): New variable.
34802         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34803         (tanh_test_data): New variable.
34804         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34805         (tgamma_test_data): New variable.
34806         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34807         (trunc_test_data): New variable.
34808         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34809         (y0_test_data): New variable.
34810         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34811         (y1_test_data): New variable.
34812         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34813         (significand_test_data): New variable.
34814         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34816 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34818         [BZ #12387]
34819         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34821 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34823         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34825 2013-05-10  Andreas Jaeger  <aj@suse.de>
34827         [BZ #15448]
34828         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34829         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34831 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34833         * math/gen-libm-test.pl (adjust_arg): New function.
34834         (special_functions): Handle generating output in both functions
34835         and arrays.
34836         (parse_args): Likewise.
34837         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34838         $in_func argument to parse_args.
34839         * math/libm-test.inc (struct test_f_f_data): New type.
34840         (IF_ROUND_INIT_): New macro.
34841         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34842         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34843         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34844         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34845         (ROUND_RESTORE_): Likewise.
34846         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34847         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34848         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34849         (ROUND_RESTORE_FE_UPWARD): Likewise.
34850         (RUN_TEST_LOOP_f_f): New macro.
34851         (acos_test_data): New variable.
34852         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34853         (acos_tonearest_test_data): New variable.
34854         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34856 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34858         * benchtests/bench-skeleton.c (startup): Fix coding style.
34860 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34862         [BZ #6809]
34863         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34864         negative infinity argument.
34865         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34866         negative infinity argument.
34867         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34868         negative infinity argument.
34869         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34870         domain errors.
34872 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34874         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34875         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34876         * iconv/iconv_prog.c (main): Likewise.
34877         * locale/programs/charmap-dir.c (charmap_readdir)
34878         (fopen_uncompressed): Likewise.
34879         * locale/programs/locfile.c (siblings_uncached)
34880         (write_locale_data): Use lstat64 instead of lstat.
34881         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34882         stat.
34884 2013-05-10  Andreas Jaeger  <aj@suse.de>
34886         [BZ #15395]
34887         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34888         localization.
34889         Include <locale.h>.
34891 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34893         * elf/dl-close.c (_dl_close_worker): Add comments.
34895 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34897         [BZ #15359]
34898         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34899         high part of pi/2.
34900         (__ieee754_rem_pio2l): Update comments.
34902         [BZ #15429]
34903         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34904         high part of pi/2.
34905         (__ieee754_rem_pio2l): Update comments.
34907         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34908         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34910         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34911         M_PI_4l.
34913         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34914         (M_PI_34_LOG10El): Likewise.
34915         (M_PI2_LOG10El): Likewise.
34916         (M_PI4_LOG10El): Likewise.
34917         (M_PI_LOG10El): Likewise.
34919 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34923 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34925         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34926         (MINUS_ZERO_INIT): Likewise.
34927         (PLUS_INFTY_INIT): Likewise.
34928         (MINUS_INFTY_INIT): Likewise.
34929         (QNAN_VALUE_INIT): Likewise.
34930         (MAX_VALUE_INIT): Likewise.
34931         (MIN_VALUE_INIT): Likewise.
34932         (MIN_SUBNORM_VALUE_INIT): Likewise.
34933         (plus_zero): Initialize with PLUS_ZERO_INIT.
34934         (minus_zero): Initialize with MINUS_ZERO_INIT.
34935         (plus_infty): Initialize with PLUS_INFTY_INIT.
34936         (minus_infty): Initialize with MINUS_INFTY_INIT.
34937         (qnan_value): Initialize with QNAN_VALUE_INIT.
34938         (max_value): Initialize with MAX_VALUE_INIT.
34939         (min_value): Initialize with MIN_VALUE_INIT.
34940         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34942         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34943         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34944         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34945         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34947         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34948         (RUN_TEST_2_f): Likewise.
34949         (RUN_TEST_ff_f): Likewise.
34950         (RUN_TEST_fi_f): Likewise.
34951         (RUN_TEST_fl_f): Likewise.
34952         (RUN_TEST_fff_f): Likewise.
34953         (RUN_TEST_c_f): Likewise.
34954         (RUN_TEST_f_f1): Likewise.
34955         (RUN_TEST_fF_f1): Likewise.
34956         (RUN_TEST_fI_f1): Likewise.
34957         (RUN_TEST_ffI_f1): Likewise.
34958         (RUN_TEST_c_c): Likewise.
34959         (RUN_TEST_cc_c): Likewise.
34960         (RUN_TEST_f_i): Likewise.
34961         (RUN_TEST_f_i_tg): Likewise.
34962         (RUN_TEST_ff_i_tg): Likewise.
34963         (RUN_TEST_f_b): Likewise.
34964         (RUN_TEST_f_b_tg): Likewise.
34965         (RUN_TEST_f_l): Likewise.
34966         (RUN_TEST_f_L): Likewise.
34967         (RUN_TEST_sincos): Likewise.
34968         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34969         whether to show exceptions.  Do not include ");\n" in return
34970         value.
34971         (special_functions): Output call to RUN_TEST_sincos instead of
34972         check_float calls.  Update calls to new_test.
34973         (parse_args): Output call to single RUN_TEST_* macro instead of
34974         check_* calls and other assignments.  Update calls to new_test.
34976         [BZ #2546]
34977         [BZ #2560]
34978         [BZ #5159]
34979         [BZ #15426]
34980         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34981         input to result for tgamma overflow.
34982         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34983         (gamma_coeff): New variable.
34984         (NCOEFF): New macro.
34985         (gamma_positive): New function.
34986         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34987         underflow here.  Use gamma_positive instead of exp (lgamma) for
34988         other arguments.
34989         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34990         (gamma_coeff): New variable.
34991         (NCOEFF): New macro.
34992         (gammaf_positive): New function.
34993         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34994         underflow here.  Use gamma_positive instead of exp (lgamma) for
34995         other arguments.
34996         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34997         (gamma_coeff): New variable.
34998         (NCOEFF): New macro.
34999         (gammal_positive): New function.
35000         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35001         underflow here.  Use gamma_positive instead of exp (lgamma) for
35002         other arguments.
35003         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35004         (gamma_coeff): New variable.
35005         (NCOEFF): New macro.
35006         (gammal_positive): New function.
35007         (__ieee754_gammal_r): Handle positive infinity, overflow and
35008         underflow here.  Handle NaN the same as positive infinity.  Remove
35009         check x < 0xffffffff for negative integers.  Use gamma_positive
35010         instead of exp (lgamma) for other arguments.
35011         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35012         (gamma_coeff): New variable.
35013         (NCOEFF): New macro.
35014         (gammal_positive): New function.
35015         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35016         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35017         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35018         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35019         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35020         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35021         * sysdeps/generic/math_private.h (__gamma_productf): New
35022         prototype.
35023         (__gamma_product): Likewise.
35024         (__gamma_productl): Likewise.
35025         * math/Makefile (libm-calls): Add gamma_product.
35026         * math/libm-test.inc (tgamma_test): Add more tests.
35027         * sysdeps/i386/fpu/libm-test-ulps: Update.
35028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35030 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35032         * benchtests/bench-skeleton.c (main): Preheat CPU.
35034 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35036         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35038 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35040         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35041         and _dl_skip_args_internal.
35043 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35045         * manual/message.texi (Message Translation): Talk about users.
35046         Message to key mapping impacts design.
35048 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35050         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35052         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35054         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35055         * sysdeps/wordsize-64/glob64.c: ... here.
35057         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35058         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35059         New macros.
35061         * debug/getlogin_r_chk.c: Moved to ...
35062         * login/getlogin_r_chk.c: ... here.
35063         * debug/Makefile (routines): Move getlogin_r_chk to ...
35064         * login/Makefile (routines): ... here.
35065         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35066         * login/Versions (libc: GLIBC_2.4): ... here.
35068         * io/poll.c (__poll): Renamed from poll.
35069         Add libc_hidden_def.
35070         (poll): Define as weak alias.
35072         * debug/ptsname_r_chk.c: Moved to ...
35073         * login/ptsname_r_chk.c: ... here.
35074         * debug/Makefile (routines): Move ptsname_r_chk to ...
35075         * login/Makefile (routines): ... here.
35076         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35077         * login/Versions (libc: GLIBC_2.4): ... here.
35079         * posix/getlogin.c: Moved to ...
35080         * login/getlogin.c: ... here.
35081         * posix/getlogin_r.c: Moved to ...
35082         * login/getlogin_r.c: ... here.
35083         * posix/getlogin_r.c: Moved to ...
35084         * login/getlogin_r.c: ... here.
35085         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35086         * login/Makefile (routines): ... here.
35087         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35088         * login/Versions (libc: GLIBC_2.0): ... here.
35090         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35091         (setrlimit): Define as weak alias.
35093         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35094         Call __ names for open, ftruncate, and close.
35095         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35096         (truncate): Define as weak alias.
35098 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35100         * math/gen-libm-test.pl (parse_args): Initialize x before each
35101         test of frexp, modf and remquo.
35103         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35104         test signgam value.
35106 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35108         [BZ #15418]
35109         [BZ #15419]
35110         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35111         internal tests.
35112         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35114 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35116         * elf/dl-writev.h: New file.
35117         * elf/dl-misc.c: Include it.
35118         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35119         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35121 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35123         * math/libm-test.inc (noXFails): Remove variable.
35124         (noXPasses): Likewise.
35125         (BUILD_COMPLEX_INT): Remove macro.
35126         (print_screen): Remove xfail argument.
35127         (print_screen_max_error): Likewise.
35128         (update_stats): Likewise.
35129         (print_max_error): Likewise.  Update calls to other affected
35130         functions.
35131         (print_complex_max_error): Likewise.
35132         (test_single_exception): Update calls to print_screen.
35133         (test_single_errno): Likewise.
35134         (check_float_internal): Remove xfail argument.  Update calls to
35135         other affected functions.
35136         (check_float): Likewise.
35137         (check_complex): Likewise.
35138         (check_int): Likewise.
35139         (check_long): Likewise.
35140         (check_bool): Likewise.
35141         (check_longlong): Likewise.
35142         (main): Don't print noXFails and noXPasses.
35143         * math/gen-libm-test.pl (top level): Don't mention expected
35144         failure handling in comment.
35145         (new_test): Don't handle expected failures.
35146         (parse_args): Don't mention expected failure handling in comment.
35147         (generate_testfile): Don't handle expected failures.
35148         (parse_ulps): Likewise.
35149         (print_ulps_file): Likewise.
35150         (get_failure): Remove function.
35151         (output_test): Don't handle expected failures.
35152         * make/README.libm-test: Don't mention expected failure handling.
35154         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35155         (minus_zero): Likewise.
35156         (plus_infty): Likewise.
35157         (minus_infty): Likewise.
35158         (qnan_value): Likewise.
35159         (max_value): Likewise.
35160         (min_value): Likewise.
35161         (min_subnorm_value): Likewise.
35162         (initialize): Do not initialize those variables dynamically.
35164 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35166         * io/open.c (__open_2): Moved to ...
35167         * io/open_2.c: ... this new file.
35168         * io/open64.c (__open64_2): Moved to ...
35169         * io/open64_2.c: ... this new file.
35170         * io/openat.c (__openat_2): Moved to ...
35171         * io/openat_2.c: ... this new file.
35172         * io/openat64.c (__openat64_2): Moved to ...
35173         * io/openat64_2.c: ... this new file.
35174         * io/Makefile (routines): Add them.
35175         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35176         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35177         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35178         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35179         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35180         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35181         (__openat64): Add hidden_ver.
35182         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35183         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35185         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35186         Separately conditionalize setting of GLRO(dl_sysinfo) so
35187         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35188         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35190 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35192         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35193         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35194         definition.
35195         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35196         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35197         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35198         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35199         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35201 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35203         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35204         test signgam value.
35206         * math/libm-test.inc (hypot_test): Do not use
35207         IGNORE_ZERO_INF_SIGN.
35209 2013-05-03  Andreas Jaeger  <aj@suse.de>
35211         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35212         Linux 3.9.
35213         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35214         (PF_MAX): Adjust for VSOCK change.
35216 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35220 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35222         [BZ #15264]
35223         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35224         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35225         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35227 2013-05-02  David S. Miller  <davem@davemloft.net>
35229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35231 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35233         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35235 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35237         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35239 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35241         [BZ #14952]
35242         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35243         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35244         Use __attribute__ ((__gnu_inline__)).
35245         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35246         Don't use __attribute__ ((__gnu_inline__)).
35248 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35250         [BZ #15423]
35251         * math/s_catan.c (__catan): Handle small real or imaginary part of
35252         input specially to avoid spurious underflow.
35253         * math/s_catanf.c (__catanf): Likewise.
35254         * math/s_catanh.c (__catanh): Likewise.
35255         * math/s_catanhf.c (__catanhf): Likewise.
35256         * math/s_catanhl.c (__catanhl): Likewise.
35257         * math/s_catanl.c (__catanl): Likewise.
35258         * math/libm-test.inc (catan_test): Add more tests.
35259         (catanh_test): Likewise.
35260         * sysdeps/i386/fpu/libm-test-ulps: Update.
35261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35263 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35267 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35269         [BZ #15416]
35270         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35271         accurately for denominator in atan2.
35272         * math/s_catanf.c (__catanf): Likewise.
35273         * math/s_catanh.c (__catanh): Likewise.
35274         * math/s_catanhf.c (__catanhf): Likewise.
35275         * math/s_catanhl.c (__catanhl): Likewise.
35276         * math/s_catanl.c (__catanl): Likewise.
35277         * math/libm-test.inc (catan_test): Add more tests.
35278         (catanh_test): Likewise.
35279         * sysdeps/i386/fpu/libm-test-ulps: Update.
35280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35282 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35284         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35286         * benchtests/Makefile (bench): Remove slow benchmarks.
35287         * benchtests/atan-inputs: Add slow benchmark inputs.
35288         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35289         (BENCH_FUNC): Accept variant offset.
35290         (VARIANT): Define.
35291         * benchtests/bench-skeleton.c (main): Run benchmark for each
35292         variant.
35293         * benchtests/cos-inputs: Add slow benchmark inputs.
35294         * benchtests/exp-inputs: Likewise.
35295         * benchtests/pow-inputs: Likewise.
35296         * benchtests/sin-inputs: Likewise.
35297         * benchtests/slowatan-inputs: Remove.
35298         * benchtests/slowatan.c: Remove.
35299         * benchtests/slowcos-inputs: Remove.
35300         * benchtests/slowcos.c: Remove.
35301         * benchtests/slowexp-inputs: Remove.
35302         * benchtests/slowexp.c: Remove.
35303         * benchtests/slowpow-inputs: Remove.
35304         * benchtests/slowpow.c: Remove.
35305         * benchtests/slowsin-inputs: Remove.
35306         * benchtests/slowsin.c: Remove.
35307         * benchtests/slowtan-inputs: Remove.
35308         * benchtests/slowtan.c: Remove.
35309         * benchtests/tan-inputs: Add slow benchmark inputs.
35310         * scripts/bench.pl: Parse comments and directives.
35312         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35313         in CPPFLAGS.
35314         ($(objpfx)bench-%.c): Remove *-ITER.
35315         * benchtests/bench-modf.c: Remove definition of ITER.
35316         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35317         (main): Loop for DURATION seconds instead of fixed number of
35318         iterations.
35319         * scripts/bench.pl: Don't expect iterations in parameters.
35321 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35323         * io/fchdir.c (__fchdir): Renamed from fchdir.
35324         (fchdir): Define as weak alias.
35326 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35328         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35329         (ERRNO_EDOM): Likewise.
35330         (ERRNO_ERANGE): Likewise.
35331         (noErrnoTests): New variable.
35332         (init_max_error): Set errno to 0.
35333         (test_single_errno): New function.
35334         (test_errno): Likewise.
35335         (check_float_internal): Call test_errno.  Set errno to 0.
35336         (check_complex): Refer to errno tests in comment.
35337         (check_int): Call test_errno.  Set errno to 0.
35338         (check_long): Likewise.
35339         (check_bool): Likewise.
35340         (check_longlong): Likewise.
35341         (cos_test): Use ERRNO_* flags for errno tests instead of
35342         check_int.
35343         (expm1_test): Likewise.
35344         (fmod_test): Likewise.
35345         (ilogb_test): Likewise.
35346         (lgamma_test): Likewise.
35347         (pow_test): Likewise.
35348         (remainder_test): Likewise.
35349         (sin_test): Likewise.
35350         (tan_test): Likewise.
35351         (yn_test): Likewise.
35352         (initialize): Set errno to 0.
35353         (main): Print number of errno tests.
35354         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35356 2013-04-29  Andreas Jaeger  <aj@suse.de>
35358         [BZ #15084]
35359         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35360         and RES_USEVC.
35362         [BZ #15085]
35363         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35364         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35365         unimplemented.
35367         [BZ #15380]
35368         * stdlib/random.c (__initstate): Return NULL if
35369         __initstate fails.
35371         [BZ #15086]
35372         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35373         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35374         RES_SNGLKUPREOP.
35376 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35380 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35382         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35383         of individual tests.
35384         (casin_test): Likewise.
35385         (casinh_test): Likewise.
35387 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35389         [BZ #15409]
35390         * math/s_catan.c (__catan): Handle arguments with large real or
35391         imaginary part separately without squaring.
35392         * math/s_catanf.c (__catanf): Likewise.
35393         * math/s_catanh.c (__catanh): Likewise.
35394         * math/s_catanhf.c (__catanhf): Likewise.
35395         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35396         and redefine.
35397         (__catanhl): Handle arguments with large real or imaginary part
35398         separately without squaring.
35399         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35400         and redefine.
35401         (__catanl): Handle arguments with large real or imaginary part
35402         separately without squaring.
35403         * math/libm-test.inc (catan_test): Add more tests.
35404         (catanh_test): Likewise.
35405         * sysdeps/i386/fpu/libm-test-ulps: Update.
35406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35408 2013-04-27  Andreas Jaeger  <aj@suse.de>
35410         [BZ #15007]
35411         * stdlib/stdlib.h: Update guards for qecvt.
35412         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35413         <stdlib.h>.
35415 2013-04-27  Allan McRae  <allan@archlinux.org>
35417         * sysdeps/i386/fpu/libm-test-ulps: Update.
35419 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35421         [BZ #15406]
35422         * math/s_catan.c: Include <float.h>.
35423         (__catan): Ensure underflow exception occurs for underflowed
35424         result.
35425         * math/s_catanf.c: Include <float.h>.
35426         (__catanf): Ensure underflow exception occurs for underflowed
35427         result.
35428         * math/s_catanh.c: Include <float.h>.
35429         (__catanh): Ensure underflow exception occurs for underflowed
35430         result.
35431         * math/s_catanhf.c: Include <float.h>.
35432         (__catanhf): Ensure underflow exception occurs for underflowed
35433         result.
35434         * math/s_catanhl.c: Include <float.h>.
35435         (__catanhl): Ensure underflow exception occurs for underflowed
35436         result.
35437         * math/s_catanl.c: Include <float.h>.
35438         (__catanl): Ensure underflow exception occurs for underflowed
35439         result.
35440         * math/libm-test.inc (catan_test): Add more tests.
35441         (catanh_test): Likewise.
35443         [BZ #15405]
35444         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35445         underflowed result.
35446         * math/s_ccoshf.c (__ccoshf): Likewise.
35447         * math/s_ccoshl.c (__ccoshl): Likewise.
35448         * math/s_csin.c (__csin): Likewise.
35449         * math/s_csinf.c (__csinf): Likewise.
35450         * math/s_csinh.c (__csinh): Likewise.
35451         * math/s_csinhf.c (__csinhf): Likewise.
35452         * math/s_csinhl.c (__csinhl): Likewise.
35453         * math/s_csinl.c (__csinl): Likewise.
35454         * math/libm-test.inc (ccos_test): Add more tests.
35455         (ccosh_test): Likewise.
35456         (csin_test): Likewise.
35457         (csinh_test): Likewise.
35459 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35461         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35462         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35463         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35464         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35465         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35466         powerpc/power5+/fpu folders.
35467         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35470 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35474 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35476         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35477         additions to variable.
35478         [$(config-machine) = x86_64] (modules-names): Likewise.
35479         ($(objpfx)tst-audit3): Remove dependency.
35480         ($(objpfx)tst-audit3.out): Likewise.
35481         ($(objpfx)tst-audit4): Likewise.
35482         ($(objpfx)tst-audit4.out): Likewise.
35483         ($(objpfx)tst-audit5): Likewise.
35484         ($(objpfx)tst-audit5.out): Likewise.
35485         ($(objpfx)tst-audit6): Likewise.
35486         ($(objpfx)tst-audit6.out): Likewise.
35487         ($(objpfx)tst-audit7): Likewise.
35488         ($(objpfx)tst-audit7.out): Likewise.
35489         (tst-audit3-ENV): Remove variable.
35490         (tst-audit4-ENV): Likewise.
35491         (tst-audit5-ENV): Likewise.
35492         (tst-audit6-ENV): Likewise.
35493         (tst-audit7-ENV): Likewise.
35494         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35495         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35496         addition to variable.
35497         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35498         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35499         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35500         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35501         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35502         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35503         tst-audit3, tst-audit4 and tst-audit5.
35504         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35505         tst-audit6 and tst-audit7.
35506         [$(subdir) = elf] (modules-names): Add audit modules for those
35507         tests.
35508         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35509         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35510         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35511         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35512         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35513         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35514         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35515         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35516         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35517         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35518         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35519         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35520         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35521         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35522         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35523         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35524         Likewise.
35525         [$(subdir) = elf && $(config-cflags-avx) = yes]
35526         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35527         [$(subdir) = elf && $(config-cflags-avx) = yes]
35528         (CFLAGS-tst-auditmod4a.c): Likewise.
35529         [$(subdir) = elf && $(config-cflags-avx) = yes]
35530         (CFLAGS-tst-auditmod4b.c): Likewise.
35531         [$(subdir) = elf && $(config-cflags-avx) = yes]
35532         (CFLAGS-tst-auditmod6b.c): Likewise.
35533         [$(subdir) = elf && $(config-cflags-avx) = yes]
35534         (CFLAGS-tst-auditmod6c.c): Likewise.
35535         [$(subdir) = elf && $(config-cflags-avx) = yes]
35536         (CFLAGS-tst-auditmod7b.c): Likewise.
35537         * elf/tst-audit3.c: Move to ...
35538         * sysdeps/x86_64/tst-audit3.c: ... here.
35539         * elf/tst-audit4.c: Move to ...
35540         * sysdeps/x86_64/tst-audit4.c: ... here.
35541         * elf/tst-audit5.c: Move to ...
35542         * sysdeps/x86_64/tst-audit5.c: ... here.
35543         * elf/tst-audit6.c: Move to ...
35544         * sysdeps/x86_64/tst-audit6.c: ... here.
35545         * elf/tst-audit7.c: Move to ...
35546         * sysdeps/x86_64/tst-audit7.c: ... here.
35547         * elf/tst-auditmod3a.c: Move to ...
35548         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35549         * elf/tst-auditmod3b.c: Move to ...
35550         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35551         * elf/tst-auditmod4a.c: Move to ...
35552         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35553         * elf/tst-auditmod4b.c: Move to ...
35554         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35555         * elf/tst-auditmod5a.c: Move to ...
35556         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35557         * elf/tst-auditmod5b.c: Move to ...
35558         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35559         * elf/tst-auditmod6a.c: Move to ...
35560         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35561         * elf/tst-auditmod6b.c: Move to ...
35562         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35563         * elf/tst-auditmod6c.c: Move to ...
35564         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35565         * elf/tst-auditmod7a.c: Move to ...
35566         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35567         * elf/tst-auditmod7b.c: Move to ...
35568         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35570 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35572         [BZ #15366]
35573         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35574         define unconditionally.
35575         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35576         define unconditionally.
35577         (INT8_C, INT16_C, etc.): Likewise.
35579 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35581         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35582         __ehdr_start with hidden visibility.
35584         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35586 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35588         * math/libm-test.inc (cos_test): Use accurate hex constants.
35589         (sincost_test): Likewise.
35591 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35593         * math/libm-test.inc (catan_test): Add more tests.
35594         (catanh_test): Likewise.
35596         * math/s_catanf.c (__catanf): Use suffixed floating-point
35597         constants.
35598         * math/s_catanhf.c (__catanhf): Likewise.
35599         * math/s_catanhl.c (__catanhl): Likewise.
35600         * math/s_catanl.c (__catanl): Likewise.
35602         [BZ #15394]
35603         * math/s_catan.c (__catan): Calculate imaginary part of result
35604         with log1p not log unless computing log of number close to 0.
35605         * math/s_catanf.c (__catanf): Likewise.
35606         * math/s_catanl.c (__catanl): Likewise.
35607         * math/s_catanh.c (__catanh): Calculate real part of result with
35608         log1p not log unless computing log of number close to 0.
35609         * math/s_catanhf.c (__catanhf): Likewise.
35610         * math/s_catanhl.c (__catanhl): Likewise.
35611         * math/libm-test.inc (catan_test): Add more tests.
35612         (catanh_test): Likewise.
35613         * sysdeps/i386/fpu/libm-test-ulps: Update.
35614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35616 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35618         * benchtests/Makefile: Mention files in which fast and slow
35619         paths of math functions are implemented.
35621 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35623         * sysdeps/posix/timespec_get.c: New file.
35625 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35627         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35628         POWER.
35629         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35630         for POWER.
35631         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35632         powerpc/power5/fpu folders.
35633         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35634         * benchtests/Makefile: Add modf testcase.
35635         * benchtests/bench-modf.c: New file: Benchmark test for mo
35637 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35639         [BZ #14888]
35640         * time/Makefile (tests): Add tst-strptime-whitespace.
35641         * time/strptime_l.c (get_number): Use ISSPACE.
35642         (__strptime_internal): Likewise.
35643         * time/tst-strptime-whitespace.c: New test case.
35645 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35647         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35648         member.
35649         (_nss_files_init): Set it here.
35651 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35653         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35654         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35655         unsigned.
35657 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35659         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35661 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35663         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35664         size just once.
35666 2013-04-21  David S. Miller  <davem@davemloft.net>
35668         * po/ru.po: Update Russion translation from translation project.
35670 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35672         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35673         and setfsgid.
35675 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35677         * configure.in: Remove i386 configure warning. Remove i386 case.
35678         * configure: Regenerate.
35679         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35680         Add example to error message.
35681         * sysdeps/i386/configure: Regenerate.
35683 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35685         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35686         slowtan.
35687         * benchtests/cos-inputs: New file.
35688         * benchtests/slowcos-inputs: New file.
35689         * benchtests/slowcos.c: New file.
35690         * benchtests/slowtan-inputs: New file.
35691         * benchtests/slowtan.c: New file.
35692         * benchtests/tan-inputs: New file.
35694 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35696         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35697         considered kosher.
35699 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35701         * benchtests/Makefile: Include cppflags-iterator.mk to add
35702         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35704         * Makefile.in (bench-clean): New target.
35705         * benchtests/Makefile (bench-clean): Likewise.
35707 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35709         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35711 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35713         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35715 2013-04-15  Andreas Schwab  <schwab@suse.de>
35717         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35718         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35719         * nscd/pwdcache.c (cache_addpw): Likewise.
35720         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35721         more than recsize.
35723 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35725         * benchtests/Makefile (bench): Write all output to
35726         bench-out.tmp together.
35728 2013-04-15  Andreas Schwab  <schwab@suse.de>
35730         * nscd/nscd.c (main): Don't fork again after closing files.
35732 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35734         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35736         * benchtests/Rules (bench-deps): Collect dependencies into a
35737         single variable.  Add Makefile to dependencies.
35738         ($(objpfx)bench-%.c): Depend on bench-deps.
35740 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35741             Xavier Roche  <roche+kml2@exalead.com>
35743         [BZ #15361]
35744         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35745         just that it's a file descriptor.
35746         * manual/llio.texi (Synchronizing AIO Operations): Update description
35747         for EBADF error from aio_fsync.
35749 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35751         * Rules (bench): Move target definition...
35752         * benchtests/Makefile: ... here.
35754 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35756         * math/libm-test.inc (cos_test): Fix PI/2 test.
35757         (sincos_test): Likewise.
35758         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35759         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35761 2013-04-11  Andreas Schwab  <schwab@suse.de>
35763         [BZ #13988]
35764         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35765         accept exponent character only when digits were seen.
35766         * stdio-common/Makefile (tests): Add bug26.
35767         * stdio-common/bug26.c: New file.
35769         [BZ #14293]
35770         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35771         non-freeable.
35773 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35775         * Makeconfig (rtld-prefix): Define built linker prefix.
35776         * Rules (run-bench): Use it.
35777         * math/Makefile (run-regen-ulps): Likewise.
35779         * Rules (bench): Remove eval.
35781 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35782             Roland McGrath  <roland@hack.frob.com>
35783             Ondrej Bilka  <neleai@seznam.cz>
35785         [BZ #15346]
35786         * time/getdate.c: Include ctype.h and alloca.h.
35787         (__getdate_r): Trim leading and trailing spaces of input.
35788         * time/tst-getdate.c (tests): Add tests with leading and
35789         trailing spaces.
35791 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35793         [BZ #14280]
35794         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35795         when computing value.
35797 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35799         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35800         Use testrun.sh to run libm tests.
35802         [BZ #15309]
35803         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35805 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35807         [BZ #15264]
35808         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35810 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35812         * Makefile.in (regen-ulps): New target.
35813         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35814         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35815         [ifneq (no,$(PERL)] (regen-ulps): New target.
35816         [ifeq (no,$(PERL)] (regen-ulps): New target.
35817         * math/libm-test.inc (ulps_file_name): Define.
35818         (output_dir): New variable.
35819         (options): Add "output-dir" option.
35820         (parse_opt): Handle 'o' case.
35821         (main): If output_dir is non-NULL use it as a prefix
35822         otherwise use "".
35823         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35825 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35827         [BZ #10060, #10062]
35828         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35829         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35830         fail configure if __sync_val_compare_and_swap is not inlined.
35831         * sysdeps/i386/configure: Regenerate.
35832         * configure.in: Build for i686 when configured for i386.
35833         * configure: Regenerate.
35834         * README: Remove i386 reference.
35836 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35838         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35839         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35841 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35843         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35844         (lmsnanval): New variables.
35845         (F): Add conversion tests.
35846         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35847         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35849         * stdio-common/tstdiomisc.c (F): Properly collect individual
35850         tests' results.
35852         [BZ #14686, #15336]
35853         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35854         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35855         Instead, use input NaN values or generate a qNaN by arithmetic
35856         operation.  Also fix bugs to comply with the standard.
35857         * math/libm-test.inc (remainder_test): Add more tests.
35859         [BZ #15335, #15342]
35860         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35861         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35862         input NaN values or generate a qNaN by arithmetic operation.
35864         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35865         unreachable code.
35867         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35868         definitions.
35870 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35872         [BZ #14478]
35873         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35874         underflowed result.
35875         * math/s_cexpf.c (__cexpf): Likewise.
35876         * math/s_cexpl.c (__cexpl): Likewise.
35877         * math/libm-test.inc (cexp_test): Add more tests.
35879 2013-04-03  Andreas Schwab  <schwab@suse.de>
35881         [BZ #15330]
35882         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35883         order arrays from heap if bigger than alloca cutoff.
35885 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35887         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35888         (SNAN_TESTS_double): Refer to GCC PR56831.
35889         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35890         GCC PR56828.
35892 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35894         * Rules (bench): Move bench.out after the run is complete.
35896         * Rules (bench): Echo currently running benchmark.
35898         * benchtests/Makefile (bench): Add atan and slowatan.
35899         * benchtests/atan-inputs: New file.
35900         * benchtests/slowatan-inputs: New file.
35901         * benchtests/slowatan.c: New file.
35903         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35904         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35905         its value.
35907         [BZ #15305]
35908         * sysdeps/unix/sysv/linux/kernel-features.h
35909         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35910         __ASSUME_XFS_RESTRICTED_CHOWN.
35911         * sysdeps/unix/sysv/linux/pathconf.c
35912         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35913         Save and restore errno.
35915 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35917         [BZ #15327]
35918         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35919         arguments using __kernel_casinh.
35920         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35921         arguments using __kernel_casinhf.
35922         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35923         arguments using __kernel_casinhl.
35924         * math/libm-test.inc (cacosh_test): Add more tests.
35925         * sysdeps/i386/fpu/libm-test-ulps: Update.
35926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35928 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35930         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35931         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35933         * bench/Makefile (bench): Add sin and slowsin.
35934         * benchtests/sin-inputs: New file.
35935         * benchtests/slowsin-inputs: New file.
35936         * benchtests/slowsin.c: New file.
35938         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35939         (bench): Add slowexp and slowpow.
35940         (exp-ITER): Increase iterations.
35941         (pow-ITER): Likewise.
35942         * benchtests/exp-inputs: Change input.
35943         * benchtests/pow-inputs: Likewise.
35944         * benchtests/slowexp-inputs: New file.
35945         * benchtests/slowexp.c: New file.
35946         * benchtests/slowpow-inputs: New file.
35947         * benchtests/slowpow.c: New file.
35949 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35951         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35952         instructions.
35953         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35954         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35955         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35956         * benchtests/Makefile: Add rint benchtest.
35957         * benchtests/rint-inputs: Input for rint benchtest.
35959 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35961         * Versions.def (libm): Add GLIBC_2.18.
35962         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35963         hidden libm prototypes.
35964         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35965         * math/Makefile (libm-calls): Add s_issignaling.
35966         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35967         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35968         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35969         declaration.
35970         * math/math.h [__USE_GNU] (issignaling): New macro.
35971         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35972         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35973         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35974         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35975         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35976         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35977         * manual/arith.texi (issignaling): New section.
35978         * manual/libm-err-tab.pl (@all_functions): Update comment.
35979         * math/gen-libm-test.pl (parse_args): Apply special handling for
35980         issignaling.
35981         * math/libm-test.inc (print_float, issignaling_test): New
35982         functions.
35983         (check_float_internal): Add issignaling checks.
35984         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35985         default definition.
35986         * sysdeps/powerpc/math-tests.h: New file.
35987         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35988         tests.
35989         * math/test-snan.c (TEST_FUNC): Likewise.
35991 2013-03-30  David S. Miller  <davem@davemloft.net>
35993         * po/de.po: Update from translation team.
35995 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35997         [BZ #10357]
35998         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35999         imaginary part less than 1.0 and real part less than 0.5
36000         specially.
36001         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36002         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36003         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36004         (cacos_test): Add more tests.
36005         (casin_test): Likewise.
36006         (casinh_test): Likewise.
36007         * sysdeps/i386/fpu/libm-test-ulps: Update.
36008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36010 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36012         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36013         ONE with its value.
36015         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36016         (__pow_mp): Replace ONE and MONE with their values.
36017         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36018         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36019         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36020         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36021         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36022         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36024         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36026         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36027         (__pow_mp): Replace ZERO and MZERO with their values.
36028         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36029         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36030         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36031         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36032         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36033         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36034         (__sqr): Likewise.
36036         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36038         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36040 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36042         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36043         Declare with __attribute__ ((weak)).
36044         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36045         Call __call_tls_dtors only if it's not NULL.
36047 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36049         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36050         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36051         magic __ehdr_start linker symbol if it's defined.
36052         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36053         them up here if it was already done.
36055         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36056         (_dl_aux_init): Use const in cast when setting it.
36057         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36058         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36059         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36061         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36062         Declare them here.
36063         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36064         * csu/libc-tls.c: Nor here.
36065         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36067         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36068         (__libc_message): Never call vsyslog.
36070 2013-03-28  Alan Modra  <amodra@gmail.com>
36072         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36073         Define as empty.
36074         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36075         Likewise.
36077 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36079         [BZ #15214]
36080         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36081         underflow.
36082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36084 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36086         [BZ #15304]
36087         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36088         Don't add gid passed as argument.
36090         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36092 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36094         [BZ #15307]
36095         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36096         imaginary part between 1.0 and 1.5 and real part less than 0.5
36097         specially.
36098         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36099         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36100         * math/libm-test.inc (cacos_test): Add more tests.
36101         (casin_test): Likewise.
36102         (casinh_test): Likewise.
36103         * sysdeps/i386/fpu/libm-test-ulps: Update.
36104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36106 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36108         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36109         constants.
36110         (norm): Likewise.
36111         (denorm): Likewise.
36112         (__dbl_mp): Likewise.
36113         (add_magnitudes): Likewise.
36114         (sub_magnitudes): Likewise.
36115         (__add): Likewise.
36116         (__sub): Likewise.
36117         (__mul): Likewise.
36118         (__sqr): Likewise.
36119         (__inv): Likewise.
36120         (__dvd): Likewise.
36122         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36123         commented code.
36124         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36125         (__dubcos): Likewise.
36126         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36127         (__ieee754_acos): Likewise.
36128         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36129         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36130         (__exp1): Likewise.
36131         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36132         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36133         (log1): Likewise.
36134         (my_log2): Likewise.
36135         (checkint): Likewise.
36136         * sysdeps/ieee754/dbl-64/e_remainder.c
36137         (__ieee754_remainder): Likewise.
36138         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36139         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36140         (bsloww): Likewise.
36141         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36143         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36144         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36145         MANTISSA_STORE_T to store computations on mantissa.  Use
36146         macros for rounding and division.
36147         (denorm): Likewise.
36148         (__dbl_mp): Likewise.
36149         (add_magnitudes): Likewise.
36150         (sub_magnitudes): Likewise.
36151         (__mul): Likewise.
36152         (__sqr): Likewise.
36153         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36154         powers of two in terms of TWOPOW macro.
36155         (mp_no): Make type of mantissa as MANTISSA_T.
36156         [!RADIXI]: Define RADIXI.
36157         [!TWO52]: Define TWO52.
36158         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36160 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36162         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36163         llroundl symbol when building for PPC32.
36165 2013-03-24  Mark H Weaver  <mhw@netris.org>
36167         * manual/arith.texi (Normalization Functions): Fix prototypes for
36168         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36170 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36172         [BZ #13889]
36173         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36174         high value to check if expl overflow.
36175         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36176         to check for underflow and overflow.
36177         * math/libm-test.inc: Add exp test.
36179 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36181         [BZ #11120]
36182         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36183         with NOT_IN_libc.
36185 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36187         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36188         symbol.
36190 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36192         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36193         wrap blocks consisting of several statements.
36195         * sysdeps/generic/math-tests.h: New file.
36196         * sysdeps/i386/fpu/math-tests.h: Likewise.
36197         * math/test-snan.c: Include it.
36198         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36200 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36202         [BZ #15285]
36203         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36204         (__ieee754_j0l): Do not improve calculations using cos of twice
36205         input for inputs above LDBL_MAX / 2.0L.
36206         (__ieee754_y0l): Likewise.
36207         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36208         (__ieee754_j1l): Do not improve calculations using cos of twice
36209         input for inputs above LDBL_MAX / 2.0L.
36210         (__ieee754_y1l): Likewise.
36211         * math/libm-test.inc (j0_test): Add another test.
36212         (j1_test): Likewise.
36213         (y0_test): Likewise.
36214         (y1_test): Likewise.
36215         * sysdeps/i386/fpu/libm-test-ulps: Update.
36217 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36219         * Rules ($(objpfx)bench-%.c): Include code from a C source
36220         file.
36222 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36224         [BZ #15287]
36225         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36226         imaginary part 1.0 and real part less than 0.5 specially.
36227         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36228         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36229         * math/libm-test.inc (cacos_test): Add more tests.
36230         (casin_test): Likewise.
36231         (casinh_test): Likewise.
36232         * sysdeps/i386/fpu/libm-test-ulps: Update.
36233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36235 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36237         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36238         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36240 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36242         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36243         * config.make.in (config-cflags-sse4): Remove variable.
36244         (config-cflags-avx): Likewise.
36245         (config-cflags-sse2avx): Likewise.
36246         (config-cflags-novzeroupper): Likewise.
36247         (config-asflags-i686): Likewise.
36248         (have-mfma4): Likewise.
36249         (have-as-vis3): Likewise.
36250         (MIG): Likewise.
36251         * configure.in (MIG): Do not AC_SUBST.
36252         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36253         (libc_cv_cc_sse4): Do not AC_SUBST.
36254         (libc_cv_cc_avx): Likewise.
36255         (libc_cv_cc_sse2avx): Likewise.
36256         (libc_cv_cc_novzeroupper): Likewise.
36257         (libc_cv_cc_fma4): Likewise.
36258         (libc_cv_as_i686): Likewise.
36259         (libc_cv_sparc_as_vis3): Likewise.
36260         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36261         LIBC_CONFIG_VAR.
36262         (config-asflags-i686): Likewise.
36263         (config-cflags-avx): Likewise.
36264         (config-cflags-sse2avx): Likewise.
36265         (have-mfma4): Likewise.
36266         (config-cflags-novzeroupper): Likewise.
36267         * sysdeps/mach/configure.in (MIG): Likewise.
36268         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36269         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36270         LIBC_CONFIG_VAR.
36271         (config-cflags-avx): Likewise.
36272         (config-cflags-sse2avx): Likewise.
36273         (have-mfma4): Likewise.
36274         (config-cflags-novzeroupper): Likewise.
36275         * configure: Regenerated.
36276         * sysdeps/i386/configure: Likewise.
36277         * sysdeps/mach/configure: Likewise.
36278         * sysdeps/sparc/configure: Likewise.
36279         * sysdeps/x86_64/configure: Likewise.
36281 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36283         [BZ #14812]
36284         * locale/programs/localedef.c (options): Put N_ translation marker
36285         on argument names, not just descriptions.
36287 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36289         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36291 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36293         [BZ #14176]
36294         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36296 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36298         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36299         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36300         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36301         [!BEFORE_ABORT] (before_abort): New function.
36302         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36303         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36304         (writev_for_fatal): New function.
36305         (WRITEV_FOR_FATAL): New macro; call that.
36306         (backtrace_and_maps): New function.
36307         (BEFORE_ABORT): New macro; call that.
36308         (struct str_list): Type removed.
36309         (__libc_message, __libc_fatal): Functions removed.
36310         Include <sysdeps/posix/libc_fatal.c> instead.
36312 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36314         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36315         constants.
36316         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36317         double constants.
36319 2013-03-19  Andreas Schwab  <schwab@suse.de>
36321         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36322         * sysdeps/gnu/configure: Regenerate.
36324         * configure.in: Substitute libc_cv_rtlddir.
36325         * configure: Regenerate.
36326         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36327         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36328         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36329         * elf/Makefile (install-others, CFLAGS-interp.c)
36330         (ldso_install, common-ldd-rewrite): Likewise.
36331         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36332         $(inst_slibdir)/$(rtld-installed-name).
36333         * scripts/rellns-sh: Add -p option.
36334         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36335         for source.
36337 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36339         * manual/nptl.texi: Renamed to ...
36340         * manual/threads.texi: ... this.
36341         * manual/Makefile (chapters): Update.
36343 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36345         [BZ #14812]
36346         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36347         on argument names, not just descriptions.
36348         * malloc/memusagestat.c (options): Likewise.
36349         * nss/getent.c (options): Likewise.
36351 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36353         [BZ #14812]
36354         * iconv/iconv_prog.c (options): Put N_ translation marker
36355         on argument names, not just descriptions.
36356         * iconv/iconvconfig.c (options): Likewise.
36358 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36360         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36361         implementation which is faster on all x86_64 architectures.
36362         Tested on AMD, Intel Nehalem, SNB, IVB.
36363         * sysdeps/x86_64/strnlen.S: Likewise.
36365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36366         Remove all multiarch strlen and strnlen versions.
36367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36368         Remove strlen and strnlen related parts.
36370         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36371         Inline strlen part.
36372         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36374         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36375         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36376         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36377         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36378         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36379         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36381 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36383         * manual/memory.texi (Malloc Tunable Parameters):
36384         Sort parameters alphabetically. Add comments for missing entries.
36386 2013-03-17  David S. Miller  <davem@davemloft.net>
36388         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36390 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36392         [BZ #15283]
36393         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36394         for arguments at most half maximum finite value.
36395         * math/libm-test.inc (j0_test): Add more tests.
36396         (j1_test): Likewise.
36397         (y0_test): Likewise.
36398         (y1_test): Likewise.
36399         * sysdeps/i386/fpu/libm-test-ulps: Update.
36400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36402         [BZ #14155]
36403         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36404         1 / x and functions P and Q for arguments above 0x1p256L.
36405         (__ieee754_y0l): Likewise.
36406         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36407         (__ieee754_y1l): Likewise.
36408         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36409         (j1_test): Likewise.
36410         (y0_test): Likewise.
36411         (y1_test): Likewise.
36413 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36415         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36416         variable.
36418 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36420         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36421         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36422         zero since it's initialized to EXEC_PAGESIZE.
36424         * sysdeps/unix/sysv/linux/ldsodefs.h
36425         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36426         * sysdeps/generic/ldsodefs.h: ... here.
36428 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36430         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36432         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36433         math/test-snan.c.
36434         * math/test-snan.c: Renamed from
36435         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36436         * math/Makefile (tests): Add test-snan.
36437         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36438         test-powerpc-snan.
36440         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36441         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36442         functions.
36443         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36444         __builtin_nan family of functions.
36445         * math/libm-test.inc (initialize): Initialize qnan_value with
36446         __builtin_nan family of functions.
36447         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36448         Remove variables.
36449         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36450         Remove functions.
36451         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36452         storage class.  Initialize qNaN_var and sNaN_var with
36453         __builtin_nan and __builtin_nans families of functions,
36454         respectively.
36456         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36457         (sqrt_test): Remove duplicate test with qNaN input.
36458         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36459         (round_test, signbit_test, significand_test): Note missing +/-Inf
36460         as well as qNaN tests.
36462         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36463         qNaN_var.  Fix a few strings, too.
36464         * math/libm-test.inc (nan_value): Rename to qnan_value.
36465         * math/gen-libm-test.pl (%beautify): Adjust to that.
36466         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36467         * math/test-misc.c (main): Likewise.
36468         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36469         to __qnan_bytes, and __qnan_union, respectively.
36470         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36471         Likewise.
36472         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36473         and lqnanval, respectively.
36474         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36475         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36476         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36477         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36479         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36480         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36481         doubles.
36483         * math/test-misc.c (main): Fix copy'n'pastos.
36484         * misc/tst-efgcvt.c (special): Likewise.
36486         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36487         Remove declarations.
36489 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36491         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36492         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36493         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36494         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36496 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36498         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36499         macro to return vdso values correctly in IFUNC implementations.
36500         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36501         Optimization by using IFUNC.
36503 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36504             Richard Henderson  <rth@redhat.com>
36505             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36507         * Makefile.in (bench): New target.
36508         * NEWS: Mention the benchmark framework.
36509         * Rules (bench): Likewise.
36510         (binaries-bench): Generate binaries for functions to
36511         benchmark.
36512         * benchtests/Makefile: New makefile for benchmark tests.
36513         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36514         programs.
36515         * benchtests/exp-inputs: New input file for EXP function.
36516         * benchtests/pow-inputs: New input file for POW function.
36517         * scripts/bench.pl: New script to generate source files for
36518         benchmark programs.
36520 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36522         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36523         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36524         computations on mantissa.  Use macros for rounding and
36525         division.
36526         (denorm): Likewise.
36527         (__dbl_mp): Likewise.
36528         (add_magnitudes): Likewise.
36529         (sub_magnitudes): Likewise.
36530         (__mul): Likewise.
36531         (__sqr): Likewise.
36532         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36533         powers of two in terms of TWOPOW macro.
36534         (mp_no): Make type of mantissa as MANTISSA_T.
36535         [!RADIXI]: Define RADIXI.
36536         [!TWO52]: Define TWO52.
36537         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36539         * manual/nptl.texi (cindex): Modify threads to pthreads.
36541 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36543         * sysdeps/x86_64/preconfigure: Regenerated.
36545 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36547         [BZ #14155]
36548         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36549         0x1p28 and above.
36550         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36551         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36552         0x1p28 and above.
36553         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36554         * math/libm-test.inc (j0_test): Do not allow one spurious
36555         underflow exception.
36556         (y1_test): Likewise.
36558 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36560         * manual/Makefile (chapters): Add nptl.
36561         * manual/debug.texi (Debugging Support): Add link to Threads
36562         chapter.
36563         * manual/nptl.texi: New file.
36565         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36567 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36569         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36570         for non-NULL pointer before the memory validity test. Pointed
36571         out by Holger Brunck <holger.brunck@keymile.com>.
36573 2013-03-13  Andreas Schwab  <schwab@suse.de>
36575         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36576         instead of .os.
36578 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36580         * timezone/zic.c: Update from tzcode 2013b.
36582 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36584         * manual/install.texi (Configuring and compiling):
36585         Mention i686 and i586.
36586         * INSTALL: Regenerate.
36588 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36590         * sysdeps/init_array/elf-init.c: New file.
36591         * csu/elf-init.c
36592         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36593         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36595         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36596         __gmon_start__ as global, but as static with a .preinit_array pointer.
36597         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36598         * sysdeps/init_array/crti.S: New file, empty except for comments.
36599         * sysdeps/init_array/crtn.S: Likewise.
36601 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36603         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36604         definining bcopy.
36605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36606         Remove Prefer_SSE_for_memop.
36607         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36608         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36609         HAS_PREFER_SSE_FOR_MEMOP.
36610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36611         memset-x86-64.
36612         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36613         Remove bzero, memset ifunc support.
36614         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36615         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36616         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36617         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36619 2013-03-11  Andreas Schwab  <schwab@suse.de>
36621         [BZ #15234]
36622         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36623         by SHLIB_COMPAT.
36624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36625         (GLIBC_2.16): Remove pthread_atfork.
36627 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36629         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36630         (ptestcases.h): Likewise.
36632 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36634         * Makeconfig ($(common-objpfx)config.status): Depend on
36635         sysdeps/*/preconfigure{,.in} too.
36637 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36639         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36640         (__free_hook): Use void * instead of __malloc_ptr_t.
36641         (__malloc_hook): Likewise.
36642         (__realloc_hook): Likewise.
36643         (__memalign_hook): Likewise.
36644         (__after_morecore_hook): Likewise.
36645         * malloc/arena.c (save_malloc_hook): Likewise.
36646         (save_free_hook): Likewise.
36647         * malloc/hooks.c (malloc_hook_ini): Likewise.
36648         (realloc_hook_ini): Likewise.
36649         (memalign_hook_ini): Likewise.
36650         * malloc/malloc.c (malloc_hook_ini): Likewise.
36651         (realloc_hook_ini): Likewise.
36652         (memalign_hook_ini): Likewise.
36653         (__free_hook): Likewise.
36654         (__malloc_hook): Likewise.
36655         (__realloc_hook): Likewise.
36656         (__memalign_hook): Likewise.
36657         (__libc_malloc): Likewise.
36658         (__libc_free): Likewise.
36659         (__libc_realloc): Likewise.
36660         (__libc_memalign): Likewise.
36661         (__libc_valloc): Likewise.
36662         (__libc_pvalloc): Likewise.
36663         (__libc_calloc): Likewise.
36664         (__posix_memalign): Likewise.
36665         * malloc/morecore.c (__sbrk): Likewise.
36666         (__default_morecore): Likewise.
36668         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36670         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36671         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36672         __malloc_ptrdiff_t.
36674         * malloc/malloc.h (__malloc_size_t): Remove macro.
36675         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36676         __malloc_size_t.
36677         (old_memalign_hook): Likewise.
36678         (old_realloc_hook): Likewise.
36679         (struct hdr): Likewise.
36680         (flood): Likewise.
36681         (mallochook): Likewise.
36682         (memalignhook): Likewise.
36683         (reallochook): Likewise.
36684         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36685         (tr_old_realloc_hook): Likewise.
36686         (tr_old_memalign_hook): Likewise.
36687         (tr_mallochook): Likewise.
36688         (tr_reallochook): Likewise.
36689         (tr_memalignhook): Likewise.
36691 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36693         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36694         default_ldbl_pack and using as default implementation.
36695         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36696         implementation.
36697         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36698         redundant definition.
36699         (ldbl_insert_mantissa): Likewise.
36700         (ldbl_canonicalize): Likewise.
36701         (ldbl_nearbyint): Likewise.
36702         (ldbl_pack): Rename to ldbl_pack_ppc.
36703         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36704         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36705         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36707 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36710         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36711         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36712         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36714         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36715         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36716         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36718 2013-03-07  Andreas Jaeger  <aj@suse.de>
36720         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36721         bits/mman-linux.h.
36723 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36725         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36726         Include mpa.h and declare __MPEXP.
36727         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36728         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36729         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36730         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36731         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36732         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36733         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36735         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36736         (__slowpow): Use long double EXPL and LOGL functions to
36737         compute POW.
36738         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36739         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36740         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36741         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36742         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36743         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36746         intermediate variable to calculate exponent.
36747         (__sqr): Likewise.
36748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36749         Likewise.
36750         (__sqr): Likewise.
36752         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36753         [!NO__SQR]: Define __sqr.
36754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36755         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36756         sysdeps/ieee754/dbl-64/mpa.c.
36757         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36759         [BZ #12723]
36760         * posix/Makefile (tests): Add tst-pathconf.
36761         * posix/tst-pathconf.c: New test case.
36762         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36763         _PC_PIPE_BUF.
36764         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36766 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36768         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36770 2013-03-06  Andreas Jaeger  <aj@suse.de>
36772         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36773         definition via __MAP_ANONYMOUS.
36775         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36776         it's not part of Linux headers.
36778         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36779         (MAP_HUGE_MASK): Define.
36781         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36782         Define.
36783         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36784         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36785         Define.
36786         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36787         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36788         Define.
36789         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36790         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36791         Define.
36792         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36794         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36795         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36796         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36797         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36798         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36799         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36801         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36802         Handle f2fs.
36804         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36805         Handle f2fs and efivarfs.
36807         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36808         f2fs.
36810         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36811         (EFIVARFS_MAGIC): Add.
36812         (F2FS_LINK_MAX): Add.
36814 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36816         * stdio-common/vfprintf.c: Replace __builtin_expect with
36817         __glibc_unlikely.
36819 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36821         [BZ #13550]
36822         * sysdeps/generic/bp-sym.h: Remove file.
36823         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36824         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36825         <bp-sym.h> and <bp-asm.h>.
36826         (__longjmp): Don't use BP_SYM.
36827         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36828         and <bp-asm.h>.
36829         (memcpy): Don't use BP_SYM.
36830         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36831         <bp-sym.h> and <bp-asm.h>.
36832         (memcpy): Don't use BP_SYM.
36833         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36834         <bp-asm.h>.
36835         (memcpy): Don't use BP_SYM.
36836         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36837         <bp-asm.h>.
36838         (memset): Don't use BP_SYM.
36839         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36840         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36841         (__bzero): Don't use BP_SYM.
36842         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36843         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36844         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36845         <bp-sym.h> and <bp-asm.h>.
36846         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36847         pointers.
36848         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36849         <bp-sym.h> and <bp-asm.h>.
36850         (memcpy): Don't use BP_SYM.
36851         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36852         <bp-sym.h> and <bp-asm.h>.
36853         (memset): Don't use BP_SYM.
36854         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36855         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36856         (__bzero): Don't use BP_SYM.
36857         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36858         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36859         * sysdeps/powerpc/powerpc64/power4/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/power6/memcpy.S: Don't include
36864         <bp-sym.h> and <bp-asm.h>.
36865         (memcpy): Don't use BP_SYM.
36866         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36867         <bp-sym.h> and <bp-asm.h>.
36868         (memset): Don't use BP_SYM.
36869         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36870         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36871         (__bzero): Don't use BP_SYM.
36872         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36873         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36874         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36875         <bp-sym.h> and <bp-asm.h>.
36876         (__memchr): Don't use BP_SYM.
36877         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36878         <bp-sym.h> and <bp-asm.h>.
36879         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36880         pointers.
36881         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36882         <bp-sym.h> and <bp-asm.h>.
36883         (memcpy): Don't use BP_SYM.
36884         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36885         <bp-sym.h> and <bp-asm.h>.
36886         (__mempcpy): Don't use BP_SYM.
36887         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36888         <bp-sym.h> and <bp-asm.h>.
36889         (__memrchr): Don't use BP_SYM.
36890         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36891         <bp-sym.h> and <bp-asm.h>.
36892         (memset): Don't use BP_SYM.
36893         (__bzero): Likewise.
36894         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36895         <bp-sym.h> and <bp-asm.h>.
36896         (__rawmemchr): Don't use BP_SYM.
36897         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36898         <bp-sym.h> and <bp-asm.h>.
36899         (__STRCMP): Don't use BP_SYM.
36900         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36901         <bp-sym.h> and <bp-asm.h>.
36902         (strchr): Don't use BP_SYM.
36903         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36904         <bp-sym.h> and <bp-asm.h>.
36905         (__strchrnul): Don't use BP_SYM.
36906         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36907         <bp-sym.h> and <bp-asm.h>.
36908         (strlen): Don't use BP_SYM.
36909         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36910         <bp-sym.h> and <bp-asm.h>.
36911         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36912         pointers.
36913         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36914         <bp-sym.h> and <bp-asm.h>.
36915         (__strnlen): Don't use BP_SYM.
36916         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36917         <bp-sym.h> and <bp-asm.h>.
36918         (__GI__setjmp): Don't use BP_SYM.
36919         (_setjmp): Likewise.
36920         (__sigsetjmp): Likewise.
36921         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36922         (L(start_addresses)): Don't use BP_SYM.
36923         (_start): Likewise.
36924         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36925         <bp-asm.h>.
36926         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36927         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36928         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36929         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36930         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36931         <bp-asm.h>.
36932         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36933         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36934         about bounded pointers.
36935         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36936         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36937         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36938         <bp-asm.h>.
36939         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36940         about bounded pointers.  Remove GKM FIXME comments.
36941         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36942         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36943         <bp-asm.h>.
36944         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36945         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36946         Remove GKM FIXME comments.
36947         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36948         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36949         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36950         <bp-asm.h>.
36951         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36952         about bounded pointers.  Remove GKM FIXME comment.
36953         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36954         and <bp-asm.h>.
36955         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36956         pointers.
36957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36958         <bp-sym.h> and <bp-asm.h>.
36959         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36961         <bp-sym.h> and <bp-asm.h>.
36962         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36963         comment.
36965 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36967         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36968         call free(NULL).
36970 2013-03-05  David S. Miller  <davem@davemloft.net>
36972         * po/es.po: Update from translation team.
36974 2013-03-05  Andreas Jaeger  <aj@suse.de>
36976         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36977         <bits/mman-linux.h>.
36978         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36979         is fine.
36980         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36981         <bits/mman-linux.h> to end of file.
36982         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36983         is fine.
36984         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36985         <bits/mman-linux.h> to end of file.
36986         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36987         is fine.
36988         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36989         <bits/mman-linux.h> to end of file.
36991         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36992         (MCL_CURRENT, MCL_FUTURE): Define here.
36994 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36996         [BZ #15232]
36997         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36998         attribute_hidden.
36999         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37001 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37003         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37004         fourth parameter needed for rt_sigprocmask syscall.
37005         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37006         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37007         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37008         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37009         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37010         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37012 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37014         [BZ #13550]
37015         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37016         comment about bounded pointers.
37017         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37018         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37020 2013-03-04  Andreas Jaeger  <aj@suse.de>
37022         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37023         common definitions.
37025         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37026         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37027         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37028         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37029         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37030         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37032 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37034         [BZ #15055]
37035         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37036         __ieee754_sqrl instead of __sqrl.
37038 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37040         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37041         * sysdeps/powerpc/fpu_control.h: ... here.
37042         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37043         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37044         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37045         * sysdeps/powerpc/bits/mathinline.h: ... here.
37047 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37049         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37050         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37051         to just [NEED_DL_SYSINFO_DSO].
37052         * elf/dl-support.c: Likewise.
37053         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37054         * elf/rtld.c (dl_main): Likewise.
37055         * elf/setup-vdso.h (setup_vdso): Likewise.
37056         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37057         * sysdeps/unix/sysv/linux/dl-sysdep.c
37058         (_dl_discover_osversion): Likewise.
37060 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37062         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37063         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37065 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37067         * NEWS: Mention libm performance improvements and non-x86 PI
37068         futex support.
37070         * csu/libc-start.c (__pthread_initialize_minimal): Change
37071         function arguments.
37072         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37074 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37076         [BZ #13550]
37077         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37078         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37079         <bp-sym.h> and <bp-asm.h>.
37080         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37081         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37082         and <bp-asm.h>.
37083         (memcpy): Don't use BP_SYM.
37084         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37085         <bp-asm.h>.
37086         (__mpn_add_n): Don't use BP_SYM.
37087         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37088         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37089         and <bp-asm.h>.
37090         (__mpn_addmul_1): Don't use BP_SYM.
37091         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37092         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37093         <bp-sym.h>.
37094         (_setjmp): Don't use BP_SYM.
37095         (__novmx_setjmp): Likewise.
37096         (__GI__setjmp): Likewise.
37097         (__vmx_setjmp): Likewise.
37098         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37099         <bp-sym.h>.
37100         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37101         (__bzero): Don't use BP_SYM.
37102         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37103         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37104         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37105         <bp-sym.h> and <bp-asm.h>.
37106         (memcpy): Don't use BP_SYM.
37107         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37108         <bp-sym.h> and <bp-asm.h>.
37109         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37110         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37111         <bp-sym.h> and <bp-asm.h>.
37112         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37113         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37114         <bp-asm.h>.
37115         (__mpn_lshift): Don't use BP_SYM.
37116         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37117         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37118         <bp-asm.h>.
37119         (memset): Don't use BP_SYM.
37120         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37121         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37122         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37123         <bp-asm.h>.
37124         (__mpn_mul_1): Don't use BP_SYM.
37125         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37126         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37127         <bp-sym.h> and <bp-asm.h>.
37128         (memcmp): Don't use BP_SYM.
37129         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37130         <bp-sym.h> and <bp-asm.h>.
37131         (memcpy): Don't use BP_SYM.
37132         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37133         <bp-sym.h> and <bp-asm.h>.
37134         (memset): Don't use BP_SYM.
37135         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37136         <bp-sym.h> and <bp-asm.h>.
37137         (strncmp): Don't use BP_SYM.
37138         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37139         <bp-sym.h> and <bp-asm.h>.
37140         (memcpy): Don't use BP_SYM.
37141         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37142         <bp-sym.h> and <bp-asm.h>.
37143         (memset): Don't use BP_SYM.
37144         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37145         <bp-sym.h> and <bp-asm.h>.
37146         (__memchr): Don't use BP_SYM.
37147         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37148         <bp-sym.h> and <bp-asm.h>.
37149         (memcmp): Don't use BP_SYM.
37150         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37151         <bp-sym.h> and <bp-asm.h>.
37152         (memcpy): Don't use BP_SYM.
37153         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37154         <bp-sym.h> and <bp-asm.h>.
37155         (__mempcpy): Don't use BP_SYM.
37156         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37157         <bp-sym.h> and <bp-asm.h>.
37158         (__memrchr): Don't use BP_SYM.
37159         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37160         <bp-sym.h> and <bp-asm.h>.
37161         (memset): Don't use BP_SYM.
37162         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37163         <bp-sym.h> and <bp-asm.h>.
37164         (__rawmemchr): Don't use BP_SYM.
37165         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37166         <bp-sym.h> and <bp-asm.h>.
37167         (__STRCMP): Don't use BP_SYM.
37168         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37169         <bp-sym.h> and <bp-asm.h>.
37170         (strchr): Don't use BP_SYM.
37171         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37172         <bp-sym.h> and <bp-asm.h>.
37173         (__strchrnul): Don't use BP_SYM.
37174         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37175         <bp-sym.h> and <bp-asm.h>.
37176         (strlen): Don't use BP_SYM.
37177         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37178         <bp-sym.h> and <bp-asm.h>.
37179         (strncmp): Don't use BP_SYM.
37180         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37181         <bp-sym.h> and <bp-asm.h>.
37182         (__strnlen): Don't use BP_SYM.
37183         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37184         <bp-asm.h>.
37185         (__mpn_rshift): Don't use BP_SYM.
37186         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37187         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37188         <bp-sym.h> and <bp-asm.h>.
37189         (__sigsetjmp): Don't use BP_SYM.
37190         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37191         (L(start_addresses)): Don't use BP_SYM.
37192         (_start): Likewise.
37193         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37194         <bp-asm.h>.
37195         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37196         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37197         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37198         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37199         <bp-asm.h>.
37200         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37201         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37202         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37203         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37204         <bp-asm.h>.
37205         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37206         comments.
37207         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37208         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37209         <bp-asm.h>.
37210         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37211         FIXME comments.
37212         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37213         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37214         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37215         <bp-asm.h>.
37216         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37217         comment.
37218         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37219         and <bp-asm.h>.
37220         (strncmp): Don't use BP_SYM,
37221         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37222         <bp-asm.h>.
37223         (__mpn_sub_n): Don't use BP_SYM.
37224         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37225         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37226         and <bp-asm.h>.
37227         (__mpn_submul_1): Don't use BP_SYM.
37228         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37230         <bp-sym.h> and <bp-asm.h>.
37231         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37233         <bp-sym.h> and <bp-asm.h>.
37234         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37235         comment.
37237 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37240         Use ZK to minimize writes to Z.
37241         (sub_magnitudes): Simplify code a bit.
37242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37243         Use ZK to minimize writes to Z.
37244         (sub_magnitudes): Simplify code a bit.
37246 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37248         * csu/gmon-start.c: Add special exception to license text.
37250 2013-02-27  Richard Henderson  <rth@redhat.com>
37252         * scripts/config.guess: Update from config.git.
37253         * scripts/config.sub: Likewise.
37255 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37257         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37259         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37261         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37263         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37265         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37267 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37269         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37270         [$(build-shared = yes].
37272 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37274         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37275         (__mul): Reduce iterations for calculating mantissa.
37277         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37278         MPTWO.
37279         (__mpranred): Likewise.
37281         [BZ #15160]
37282         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37283         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37285 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37287         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37288         Define __attribute__.
37290 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37292         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37293         unused.
37294         * posix/regex_internal.h (__attribute): Remove.
37295         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37296         (re_string_context_at): Likewise.
37297         (bitset_not): Use __attribute__ and mark function as possibly
37298         unused.
37299         (bitset_merge): Likewise.
37300         (bitset_mask): Likewise.
37301         (re_string_char_size_at): Likewise.
37302         (re_string_wchar_at): Likewise.
37303         (re_string_elem_size_at): Likewise.
37305 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37307         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37308         code.
37309         (cc32): Likewise.
37311         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37312         (__acr): Likewise.
37313         (__cpy): Likewise.
37314         (norm): Likewise.
37315         (denorm): Likewise.
37316         (__dbl_mp): Likewise.
37317         (add_magnitudes): Likewise.
37318         (sub_magnitudes): Likewise.
37319         (__mul): Likewise.
37320         (__inv): Likewise.
37322         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37323         style.
37325         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37326         style.
37328         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37329         code.
37331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37332         up changes with default code.
37333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37334         Likewise.
37336 2013-02-24  Allan McRae  <allan@archlinux.org>
37338         * manual/socket.texi (The Internet Namespace): Order menu items
37339         to match that in the file.
37341         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37342         node listing of the info page menu.
37344 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37346         [BZ #13550]
37347         * sysdeps/i386/bp-asm.h: Remove file.
37348         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37349         (PARMS): Do not use macros from bp-asm.h.
37350         (S1): Likewise.
37351         (S2): Likewise.
37352         (SIZE): Likewise.
37353         (__mpn_add_n): Do not use BP_SYM
37354         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37355         "bp-asm.h".
37356         (PARMS): Do not use macros from bp-asm.h.
37357         (S1): Likewise.
37358         (SIZE): Likewise.
37359         (__mpn_addmul_1): Do not use BP_SYM
37360         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37361         "bp-asm.h".
37362         (PARMS): Do not use macros from bp-asm.h.
37363         (SIGMSK): Likewise.
37364         (_setjmp): Likewise.  Do not use BP_SYM.
37365         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37366         "bp-asm.h".
37367         (PARMS): Do not use macros from bp-asm.h.
37368         (SIGMSK): Likewise.
37369         (setjmp): Likewise.  Do not use BP_SYM.
37370         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37371         "bp-asm.h".
37372         (PARMS): Do not use macros from bp-asm.h.
37373         (__frexp): Do not use BP_SYM.
37374         (frexp): Likewise.
37375         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37376         "bp-asm.h".
37377         (PARMS): Do not use macros from bp-asm.h.
37378         (__frexpf): Do not use BP_SYM.
37379         (frexpf): Likewise.
37380         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37381         "bp-asm.h".
37382         (PARMS): Do not use macros from bp-asm.h.
37383         (__frexpl): Do not use BP_SYM.
37384         (frexpl): Likewise.
37385         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37386         "bp-asm.h".
37387         (PARMS): Do not use macros from bp-asm.h.
37388         (__remquo): Do not use BP_SYM.
37389         (remquo): Likewise.
37390         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37391         "bp-asm.h".
37392         (PARMS): Do not use macros from bp-asm.h.
37393         (__remquof): Do not use BP_SYM.
37394         (remquof): Likewise.
37395         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37396         "bp-asm.h".
37397         (PARMS): Do not use macros from bp-asm.h.
37398         (__remquol): Do not use BP_SYM.
37399         (remquol): Likewise.
37400         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37401         "bp-asm.h".
37402         (PARMS): Do not use macros from bp-asm.h.
37403         (DEST): Likewise.
37404         (SRC): Likewise.
37405         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37406         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37407         "bp-asm.h".
37408         (PARMS): Do not use macros from bp-asm.h.
37409         (strlen): Do not use BP_SYM.
37410         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37411         "bp-asm.h".
37412         (PARMS): Do not use macros from bp-asm.h.
37413         (S1): Likewise.
37414         (S2): Likewise.
37415         (SIZE): Likewise.
37416         (__mpn_add_n): Do not use BP_SYM.
37417         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37418         "bp-asm.h".
37419         (PARMS): Do not use macros from bp-asm.h.
37420         (S1): Likewise.
37421         (SIZE): Likewise.
37422         (__mpn_addmul_1): Do not use BP_SYM.
37423         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37424         weak_alias.
37425         (bzero): Likewise.
37426         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37427         "bp-asm.h".
37428         (PARMS): Do not use macros from bp-asm.h.
37429         (S): Likewise.
37430         (SIZE): Likewise.
37431         (__mpn_lshift): Do not use BP_SYM.
37432         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37433         "bp-asm.h".
37434         (PARMS): Do not use macros from bp-asm.h.
37435         (DEST): Likewise.
37436         (SRC): Likewise.
37437         (LEN): Likewise.
37438         (memcpy): Likewise.  Do not use BP_SYM.
37439         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37440         libc_hidden_def and weak_alias.
37441         (mempcpy): Do not use BP_SYM in weak_alias.
37442         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37443         "bp-asm.h".
37444         (PARMS): Do not use macros from bp-asm.h.
37445         (DEST): Likewise.
37446         (LEN): Likewise.
37447         [!BZERO_P] (CHR): Likewise.
37448         (memset): Likewise.  Do not use BP_SYM.
37449         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37450         "bp-asm.h".
37451         (PARMS): Do not use macros from bp-asm.h.
37452         (S1): Likewise.
37453         (SIZE): Likewise.
37454         (__mpn_mul_1): Do not use BP_SYM.
37455         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37456         "bp-asm.h".
37457         (PARMS): Do not use macros from bp-asm.h.
37458         (S): Likewise.
37459         (SIZE): Likewise.
37460         (__mpn_rshift): Do not use BP_SYM.
37461         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37462         "bp-asm.h".
37463         (PARMS): Do not use macros from bp-asm.h.
37464         (STR): Likewise.
37465         (CHR): Likewise.
37466         (strchr): Likewise.  Do not use BP_SYM.
37467         (index): Do not use BP_SYM in weak_alias.
37468         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37469         "bp-asm.h".
37470         (PARMS): Do not use macros from bp-asm.h.
37471         (DEST): Likewise.
37472         (SRC): Likewise.
37473         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37474         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37475         "bp-asm.h".
37476         (PARMS): Do not use macros from bp-asm.h.
37477         (strlen): Do not use BP_SYM.
37478         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37479         "bp-asm.h".
37480         (PARMS): Do not use macros from bp-asm.h.
37481         (S1): Likewise.
37482         (S2): Likewise.
37483         (SIZE): Likewise.
37484         (__mpn_sub_n): Do not use BP_SYM.
37485         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37486         "bp-asm.h".
37487         (PARMS): Do not use macros from bp-asm.h.
37488         (S1): Likewise.
37489         (SIZE): Likewise.
37490         (__mpn_submul_1): Do not use BP_SYM.
37491         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37492         "bp-asm.h".
37493         (PARMS): Do not use macros from bp-asm.h.
37494         (S1): Likewise.
37495         (S2): Likewise.
37496         (SIZE): Likewise.
37497         (__mpn_add_n): Do not use BP_SYM.
37498         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37499         weak_alias.
37500         (bzero): Likewise.
37501         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37502         "bp-asm.h".
37503         (PARMS): Do not use macros from bp-asm.h.
37504         (BLK2): Likewise.
37505         (LEN): Likewise.
37506         (memcmp): Do not use BP_SYM.
37507         (bcmp): Do not use BP_SYM in weak_alias.
37508         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37509         "bp-asm.h".
37510         (PARMS): Do not use macros from bp-asm.h.
37511         (DEST): Likewise.
37512         (SRC): Likewise.
37513         (LEN): Likewise.
37514         (memcpy): Likewise.  Do not use BP_SYM.
37515         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37516         "bp-asm.h".
37517         (PARMS): Do not use macros from bp-asm.h.
37518         (DEST): Likewise.
37519         (SRC): Likewise.
37520         (LEN): Likewise.
37521         (memmove): Likewise.  Do not use BP_SYM.
37522         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37523         "bp-asm.h".
37524         (PARMS): Do not use macros from bp-asm.h.
37525         (DEST): Likewise.
37526         (SRC): Likewise.
37527         (LEN): Likewise.
37528         (__mempcpy): Likewise.  Do not use BP_SYM.
37529         (mempcpy): Do not use BP_SYM in weak_alias.
37530         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37531         "bp-asm.h".
37532         (PARMS): Do not use macros from bp-asm.h.
37533         (DEST): Likewise.
37534         (LEN): Likewise.
37535         [!BZERO_P] (CHR): Likewise.
37536         (memset): Likewise.  Do not use BP_SYM.
37537         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37538         "bp-asm.h".
37539         (PARMS): Do not use macros from bp-asm.h.
37540         (STR2): Likewise.
37541         (strcmp): Do not use BP_SYM.
37542         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37543         "bp-asm.h".
37544         (PARMS): Do not use macros from bp-asm.h.
37545         (STR): Likewise.
37546         (DELIM): Likewise.
37547         [USE_AS_STRTOK_R] (SAVE): Likewise.
37548         (FUNCTION): Likewise.  Do not use BP_SYM.
37549         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37550         aliases.
37551         (strtok_r): Likewise.
37552         (__GI___strtok_r): Likewise.
37553         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37554         (PARMS): Do not use macros from bp-asm.h.
37555         (S): Likewise.
37556         (SIZE): Likewise.
37557         (__mpn_lshift): Do not use BP_SYM.
37558         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37559         (PARMS): Do not use macros from bp-asm.h.
37560         (STR): Likewise.
37561         (CHR): Likewise.
37562         (__memchr): Do not use BP_SYM.
37563         (memchr): Do not use BP_SYM in weak_alias.
37564         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37565         (PARMS): Do not use macros from bp-asm.h.
37566         (BLK2): Likewise.
37567         (LEN): Likewise.
37568         (memcmp): Do not use BP_SYM.
37569         (bcmp): Do not use BP_SYM in weak_alias.
37570         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37571         (PARMS): Do not use macros from bp-asm.h.
37572         (S1): Likewise.
37573         (SIZE): Likewise.
37574         (__mpn_mul_1): Do not use BP_SYM.
37575         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37576         "bp-asm.h".
37577         (PARMS): Do not use macros from bp-asm.h.
37578         (STR): Likewise.
37579         (CHR): Likewise.
37580         (__rawmemchr): Do not use BP_SYM.
37581         (rawmemchr): Do not use BP_SYM in weak_alias.
37582         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37583         (PARMS): Do not use macros from bp-asm.h.
37584         (S): Likewise.
37585         (SIZE): Likewise.
37586         (__mpn_rshift): Do not use BP_SYM.
37587         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37588         (PARMS): Do not use macros from bp-asm.h.
37589         (SIGMSK): Likewise.
37590         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37591         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37592         (_start): Do not use BP_SYM.
37593         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37594         (PARMS): Do not use macros from bp-asm.h.
37595         (DEST): Likewise.
37596         (SRC): Likewise.
37597         (__stpcpy): Likewise.  Do not use BP_SYM.
37598         (stpcpy): Do not use BP_SYM in weak_alias.
37599         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37600         "bp-asm.h".
37601         (PARMS): Do not use macros from bp-asm.h.
37602         (DEST): Likewise.
37603         (SRC): Likewise.
37604         (LEN): Likewise.
37605         (__stpncpy): Likewise.  Do not use BP_SYM.
37606         (stpncpy): Do not use BP_SYM in weak_alias.
37607         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37608         (PARMS): Do not use macros from bp-asm.h.
37609         (STR): Likewise.
37610         (CHR): Likewise.
37611         (strchr): Likewise.  Do not use BP_SYM.
37612         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37613         "bp-asm.h".
37614         (PARMS): Do not use macros from bp-asm.h.
37615         (STR): Likewise.
37616         (CHR): Likewise.
37617         (__strchrnul): Likewise.  Do not use BP_SYM.
37618         (strchrnul): Do not use BP_SYM in weak_alias.
37619         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37620         "bp-asm.h".
37621         (PARMS): Do not use macros from bp-asm.h.
37622         (STOP): Likewise.
37623         (strcspn): Do not use BP_SYM.
37624         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37625         "bp-asm.h".
37626         (PARMS): Do not use macros from bp-asm.h.
37627         (STR): Likewise.
37628         (STOP): Likewise.
37629         (strpbrk): Likewise.  Do not use BP_SYM.
37630         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37631         "bp-asm.h".
37632         (PARMS): Do not use macros from bp-asm.h.
37633         (STR): Likewise.
37634         (CHR): Likewise.
37635         (strrchr): Likewise.  Do not use BP_SYM.
37636         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37637         (PARMS): Do not use macros from bp-asm.h.
37638         (SKIP): Likewise.
37639         (strspn): Do not use BP_SYM.
37640         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37641         (PARMS): Do not use macros from bp-asm.h.
37642         (STR): Likewise.
37643         (DELIM): Likewise.
37644         (SAVE): Likewise.
37645         (FUNCTION): Likewise.  Do not use BP_SYM.
37646         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37647         aliases.
37648         (strtok_r): Likewise.
37649         (__GI___strtok_r): Likewise.
37650         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37651         (PARMS): Do not use macros from bp-asm.h.
37652         (S1): Likewise.
37653         (S2): Likewise.
37654         (SIZE): Likewise.
37655         (__mpn_sub_n): Do not use BP_SYM.
37656         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37657         "bp-asm.h".
37658         (PARMS): Do not use macros from bp-asm.h.
37659         (S1): Likewise.
37660         (SIZE): Likewise.
37661         (__mpn_submul_1): Do not use BP_SYM.
37662         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37663         <bp-sym.h>.
37664         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37665         and <bp-asm.h>.
37666         (PARMS): Do not use macros from bp-asm.h.
37667         (FLAGS): Likewise.
37668         (PTID): Likewise.
37669         (TLS): Likewise.
37670         (CTID): Likewise.
37671         (__clone): Do not use BP_SYM.
37672         (clone): Do not use BP_SYM in weak_alias.
37673         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37674         and <bp-asm.h>.
37675         (PARMS): Do not use macros from bp-asm.h.
37676         (LEN): Likewise.
37677         (__mmap64): Do not use BP_SYM.
37678         (mmap64): Do not use BP_SYM in weak_alias.
37679         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37680         <bp-sym.h> and <bp-asm.h>.
37681         (PARMS): Do not use macros from bp-asm.h.
37682         (__posix_fadvise64_l64): Do not use BP_SYM.
37683         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37684         (PARMS): Do not use macros from bp-asm.h.
37685         (NSOPS): Likewise.
37686         (semtimedop): Do not use BP_SYM.
37687         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37688         and <bp-asm.h>.
37690 2013-02-21  Allan McRae  <allan@archlinux.org>
37692         * manual/message.texi (Charset conversion in gettext):
37693         Move @end statement to beginning of line.
37695 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37697         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37698         static.
37699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37700         Likewise.
37702         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37703         (denorm): Likewise.
37704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37705         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37707 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37709         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37710         tail-call to the resolved function if pltexit isn't needed.
37712 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37715         or Y being zero as being unlikely.
37716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37717         Likewise.
37719 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37721         * manual/nss.texi (System Databases and Name Service Switch):
37722         Remove frobnicate @pxref.
37724 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37726         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37727         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37729 2013-02-20  Petr Machata  <pmachata@redhat.com>
37731         * elf/elf.h (R_ARM_TARGET1): New macro.
37732         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37733         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37734         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37735         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37736         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37737         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37738         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37739         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37740         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37741         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37742         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37743         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37744         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37745         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37746         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37747         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37748         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37749         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37750         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37751         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37752         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37753         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37754         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37755         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37756         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37757         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37758         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37759         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37760         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37761         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37762         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37763         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37764         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37765         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37766         (R_ARM_THM_GOT_BREL12): Likewise.
37767         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37768         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37769         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37770         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37771         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37772         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37773         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37774         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37775         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37777 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37779         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37780         __attribute_used__ to __attribute__ ((unused)).
37782 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37784         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37785         powerpc mpa.c.
37786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37787         comment formatting.
37788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37790 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37792         [BZ #13550]
37793         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37794         Remove macro.
37795         (ENTER): Remove both macro definitions.
37796         (LEAVE): Likewise.
37797         (CHECK_BOUNDS_LOW): Likewise.
37798         (CHECK_BOUNDS_HIGH): Likewise.
37799         (CHECK_BOUNDS_BOTH): Likewise.
37800         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37801         (RETURN_BOUNDED_POINTER): Likewise.
37802         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37803         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37804         (POP_ERRNO_LOCATION_RETURN): Likewise.
37805         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37806         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37807         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37808         macros.
37809         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37810         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37811         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37812         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37813         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37814         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37815         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37816         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37817         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37818         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37819         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37820         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37821         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37822         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37823         removed macros.
37824         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37825         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37826         macros.
37827         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37828         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37829         * sysdeps/i386/i586/memset.S (memset): Likewise.
37830         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37831         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37832         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37833         macros.
37834         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37835         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37836         Change uses of L(2) to L(out).
37837         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37838         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37839         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37840         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37841         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37842         removed macros.
37843         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37844         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37845         macros.
37846         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37847         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37848         (RETURN): Do not use macro LEAVE.
37849         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37850         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37851         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37852         * sysdeps/i386/i686/memset.S (memset): Likewise.
37853         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37854         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37855         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37856         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37857         Likewise.
37858         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37859         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37860         L(1_2) and L(1_3) into L(1).
37861         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37862         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37863         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37864         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37865         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37866         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37867         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37868         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37869         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37870         macros.
37871         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37872         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37873         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37874         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37875         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37876         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37877         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37878         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37879         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37880         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37881         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37882         * sysdeps/i386/strspn.S (strspn): Likewise.
37883         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37884         conditional code.
37885         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37886         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37887         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37888         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37889         L(1_3) into L(1_1).
37890         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37891         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37892         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37893         macros.
37894         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37896 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37898         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37899         macro.
37901 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37903         * math/atest-exp.c (exp_mpn): Remove ROUND.
37904         * math/atest-exp2.c (exp_mpn): Likewise.
37905         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37907         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37908         * stdlib/tst-tls-atexit-lib.c: Likewise.
37909         * stdlib/tst-tls-atexit.c: Likewise.
37911 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37913         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37914         and __attribute_alloc_size__.
37916 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37918         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37919         __attribute_alloc_size__.
37920         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37921         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37923 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37925         * include/programs/xmalloc.h: New file.
37926         * catgets/gencat.c: Include it.
37927         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37928         * elf/pldd.c: Likewise.
37929         * iconv/iconv_charmap.c: Likewise.
37930         * iconv/iconvconfig.c: Likewise.
37931         * iconv/strtab.c: Likewise.
37932         * locale/programs/locale.c: Likewise.
37933         * locale/programs/localedef.h: Likewise.
37934         * locale/programs/simple-hash.c: Likewise.
37935         * nscd/nscd.h: Likewise.
37936         * nss/makedb.c: Likewise.
37937         * sysdeps/generic/ldconfig.h: Likewise.
37939 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37941         * Versions.def: Add GLIBC_2.18.
37942         * include/link.h (struct link_map): New member l_tls_dtor_count.
37943         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37944         (__call_tls_dtors): Likewise.
37945         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37946         __cxa_thread_atexit_impl.
37947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37948         Likewise.
37949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37950         Likewise.
37951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37952         Likewise.
37953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37954         Likewise.
37955         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37957         Likewise.
37958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37959         Likewise.
37960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37962         Likewise.
37963         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37964         (tests): Add test case tst-tls-atexit.
37965         (modules-names): Add shared library for tst-tls-atexit.
37966         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37967         (GLIBC_PRIVATE): Add __call_tls_dtors.
37968         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37969         for libstdc++.
37970         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37971         * stdlib/tst-tls-atexit.c: New test case.
37972         * stdlib/tst-tls-atexit-lib.c: New test case.
37974         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37976         * elf/Versions (ld): Add _dl_find_dso_for_object.
37977         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37978         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37979         (dl_open_worker): Use _dl_find_dso_for_object.
37980         * elf/dl-sym.c (do_sym): Likewise.
37981         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37983 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37985         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37986         Syntactic changes only.
37987         (_dl_runtime_profile): Do a tail-call to the resolved function.
37989 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37991         [BZ #13550]
37992         * sysdeps/x86_64/bp-asm.h: Remove file.
37993         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37994         <bp-sym.h> and <bp-asm.h>.
37995         (__clone): Do not use BP_SYM.
37996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37997         <bp-sym.h> and <bp-asm.h>.
37998         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37999         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38000         "bp-asm.h".
38001         (_setjmp): Do not use BP_SYM.
38002         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38003         "bp-asm.h".
38004         (setjmp): Do not use BP_SYM.
38005         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38006         libc_hidden_def.
38007         (mempcpy): Do not use BP_SYM in weak_alias.
38008         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38009         "bp-asm.h".
38010         (strchr): Do not use BP_SYM.
38011         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38012         "bp-asm.h".
38013         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38014         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38015         (_start): Do not use BP_SYM.
38016         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38017         "bp-asm.h".
38018         (strcat): Do not use BP_SYM.
38019         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38020         "bp-asm.h".
38021         (STRCMP): Do not use BP_SYM.
38022         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38023         "bp-asm.h".
38024         (STRCPY): Do not use BP_SYM.
38025         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38026         "bp-asm.h".
38027         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38028         "bp-asm.h".
38029         (FUNCTION): Do not use BP_SYM.
38030         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38031         weak_alias.
38032         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38034 2013-02-17  Andreas Jaeger  <aj@suse.de>
38036         * time/Versions: Sort entries.
38037         * string/Versions: Likewise.
38038         * resolv/Versions: Likewise.
38039         * posix/Versions: Likewise.
38040         * iconv/Versions: Likewise.
38041         * elf/Versions: Likewise.
38042         * wcsmbs/Versions: Likewise.
38044 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38046         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38047         loop termination condition.
38049         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38050         variable to calculate EZ.
38051         (__sqr): Likewise.
38053         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38054         the lower precision input.
38056 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38058         [BZ #13550]
38059         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38060         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38061         (run-via-rtld-prefix): Do not handle %-bp tests.
38062         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38063         (all-object-suffixes): Remove .ob.
38064         (bppfx): Remove variable.
38065         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38066         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38067         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38068         [$(build-bounded) = yes] (libtype.ob): Likewise.
38069         * Makerules (elide-routines.ob): Remove variable.
38070         (do-tests-clean): Do not handle *-bp.out.
38071         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38072         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38073         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38074         (tests): Do not include $(tests-bp.out).
38075         (xtests): Do not include $(xtests-bp.out).
38076         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38077         [$(build-bounded) = yes] ($(addprefix
38078         $(objpfx),$(binaries-bounded))): Remove rule.
38079         ($(objpfx)%-bp.out): Remove rule.
38080         * config.make.in (build-bounded): Remove variable.
38081         * crypt/Makefile [$(build-bounded) = yes]
38082         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38083         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38084         append to variable.
38085         [$(build-bounded) = yes] (install-lib): Likewise.
38086         [$(build-bounded) = yes] (generated): Likewise.
38087         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38088         Remove rule.
38089         * intl/Makefile [$(build-bounded) = yes]
38090         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38091         * math/Makefile [$(build-bounded) = yes]
38092         ($(tests:%=$(objpfx)%-bp): Likewise.
38093         * misc/Makefile [$(build-bounded) = yes]
38094         ($(objpfx)tst-tsearch-bp): Likewise.
38095         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38096         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38097         Remove dependency.
38098         * string/Makefile (o-objects.ob): Remove variable.
38099         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38100         (CFLAGS-.ob): Remove variable.
38101         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38102         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38103         both definitions of variable.
38104         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38105         (ASFLAGS-.ob): Remove variable.
38107 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38109         [BZ #13550]
38110         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38111         Remove __BOUNDED_POINTERS__ from condition.
38112         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38113         * string/bits/string2.h [!__NO_STRING_INLINES &&
38114         !__BOUNDED_POINTERS__]: Likewise.
38115         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38116         Likewise.
38117         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38118         Remove conditional code.
38119         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38120         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38121         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38122         condition.
38124         [BZ #13550]
38125         * csu/libc-start.c: Do not include <bp-sym.h>.
38126         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38127         * elf/dl-open.c: Do not include <bp-sym.h>.
38128         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38129         * math/fegetenv.c: Do not include <bp-sym.h>.
38130         (fegetenv): Do not use BP_SYM in versioned symbols.
38131         * nptl/sysdeps/pthread/bits/libc-lockP.h
38132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38133         <bp-sym.h>.
38134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38135         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38137         (__pthread_mutex_destroy): Likewise.
38138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38139         (__pthread_mutex_lock): Likewise.
38140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38141         (__pthread_mutex_trylock): Likewise.
38142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38143         (__pthread_mutex_unlock): Likewise.
38144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38145         (__pthread_mutexattr_init): Likewise.
38146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38147         (__pthread_mutexattr_destroy): Likewise.
38148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38149         (__pthread_mutexattr_settype): Likewise.
38150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38151         (__pthread_rwlock_init): Likewise.
38152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38153         (__pthread_rwlock_destroy): Likewise.
38154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38155         (__pthread_rwlock_rdlock): Likewise.
38156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38157         (__pthread_rwlock_tryrdlock): Likewise.
38158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38159         (__pthread_rwlock_wrlock): Likewise.
38160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38161         (__pthread_rwlock_trywrlock): Likewise.
38162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38163         (__pthread_rwlock_unlock): Likewise.
38164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38165         (__pthread_key_create): Likewise.
38166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38167         (__pthread_setspecific): Likewise.
38168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38169         (__pthread_getspecific): Likewise.
38170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38171         Likewise.
38172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38173         (_pthread_cleanup_push_defer): Likewise.
38174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38175         (_pthread_cleanup_pop_restore): Likewise.
38176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38177         (pthread_setcancelstate): Likewise.
38178         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38179         <bp-sym.h>.
38180         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38181         (memchr): Do not use BP_SYM in weak_alias.
38182         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38183         (fegetenv): Do not use BP_SYM in versioned symbols.
38184         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38185         (fesetenv): Do not use BP_SYM in versioned symbols.
38186         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38187         (feupdateenv): Do not use BP_SYM in versioned symbols.
38188         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38189         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38190         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38191         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38192         (open64): Do not use BP_SYM in weak_alias.
38193         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38194         (fegetenv): Do not use BP_SYM in versioned symbols.
38195         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38196         (fesetenv): Do not use BP_SYM in versioned symbols.
38197         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38198         (feupdateenv): Do not use BP_SYM in versioned symbols.
38199         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38200         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38201         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38202         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38203         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38204         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38205         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38206         <bp-sym.h>.
38207         (__libc_start_main): Do not use BP_SYM.
38209 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38212         redundant return line.
38213         (norm): Likewise.
38214         (denorm): Likewise.
38215         (dbl_mp): Likewise.
38216         (sub_magnitudes): Likewise.
38217         (__add): Likewise.
38218         (__sub): Likewise.
38219         (__mul): Likewise.
38220         (__inv): Likewise.
38221         (__dvd): Likewise.
38222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38223         (norm): Likewise.
38224         (denorm): Likewise.
38225         (dbl_mp): Likewise.
38226         (sub_magnitudes): Likewise.
38227         (__add): Likewise.
38228         (__sub): Likewise.
38229         (__mul): Likewise.
38230         (__inv): Likewise.
38231         (__dvd): Likewise.
38233         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38234         instead of __mul.
38235         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38236         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38237         (cc32): Likewise.
38239         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38240         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38241         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38242         of __mul for squares.
38243         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38244         function
38245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38246         Likewise.
38247         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38248         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38250 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38252         [BZ #13550]
38253         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38254         code.
38255         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38256         prototype or function definition.  Rename ubp_* variables and
38257         parameters.  Remove argv definitions conditional on
38258         [__BOUNDED_POINTERS__].
38259         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38260         * elf/dl-runtime.c (_dl_fixup): Likewise.
38261         * include/set-hooks.h (RUN_HOOK): Likewise.
38262         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38263         definition.
38264         * string/strcpy.c (strcpy): Do not use __unbounded.
38265         * sysdeps/generic/frame.h (struct layout): Likewise.
38266         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38267         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38268         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38269         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38270         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38271         (__backtrace): Likewise.
38272         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38273         use __ptrvalue.
38274         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38275         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38276         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38277         Likewise.
38278         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38279         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38280         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38281         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38282         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38283         Do not use __unbounded.
38284         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38285         Rename __unboundedrlimits parameter to rlimits in prototype.
38286         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38287         Do not use __unbounded.
38288         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38289         not use __ptrvalue.
38290         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38291         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38292         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38293         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38294         __ptrvalue or __unbounded.
38295         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38296         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38297         use __unbounded.
38298         (__new_msgctl): Do not use __ptrvalue.
38299         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38300         __unbounded.
38301         (__libc_msgrcv): Do not use __ptrvalue.
38302         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38303         startup_info): Do not use __unbounded.
38304         (__libc_start_main): Likewise.  Rename ubp_* variables and
38305         parameters.  Remove argv definitions conditional on
38306         [__BOUNDED_POINTERS__].
38307         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38308         __ptrvalue.
38309         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38310         use __unbounded.
38311         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38312         or __ptrvalue.
38313         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38314         use __unbounded.
38315         (__new_shmctl): Do not use __ptrvalue.
38316         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38317         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38318         Likewise.
38319         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38320         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38321         (__libc_sigaction): Likewise.
38322         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38323         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38324         Likewise.
38325         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38327 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38329         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38331         * string/mempcpy.c: Implement by calling memcpy.
38333 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38335         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38338         evaluation.
38340         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38341         values in the mantissa.
38343         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38344         minimize writes to Z.
38345         (sub_magnitudes): Simplify code a bit.
38347 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38349         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38350         from the message.  The linker prefixes all warnings with that already.
38352 2013-02-12  Andreas Schwab  <schwab@suse.de>
38354         [BZ #15078]
38355         * posix/regexec.c (extend_buffers): Add parameter min_len.
38356         (check_matching): Pass minimum needed length.
38357         (clean_state_log_if_needed): Likewise.
38358         (get_subexp): Likewise.
38359         * posix/Makefile (tests): Add bug-regex34.
38360         (bug-regex34-ENV): Define.
38361         * posix/bug-regex34.c: New file.
38363         [BZ #11561]
38364         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38365         elements compare against the byte sequence of it, not its name.
38366         * posix/Makefile (tests): Add bug-regex35.
38367         (bug-regex35-ENV): Define.
38368         * posix/bug-regex35.c: New file.
38370 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38372         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38373         comment.
38374         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38375         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38376         (CHECK_EOL): Add undef.
38378 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38380         * bits/stdlib-bsearch.h: New file.
38381         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38382         * stdlib/stdlib.h: Likewise.
38384 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38386         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38387         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38388         declaration.
38389         * manual/search.texi (Array Search Function): Add missing const in
38390         lfind prototype.
38391         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38392         declaration to use rlim_t.
38393         (Basic Scheduling Functions): Remove erroneous const from
38394         sched_getparam prototype.  Remove erroneous * from
38395         sched_get_priority_max and sched_get_priority_min prototypes.
38396         (Resource Usage): Fix summary @comment on vtimes to refer to
38397         sys/vtimes.h rather than vtimes.h.
38398         Add missing *s in vtimes prototype.
38399         (Limits on Resources): Fix ulimit prototype to return long int.
38400         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38401         prototypes to use long int rather than double.
38402         (BSD Random): Fix initstate and setstate to use char *, not void *.
38403         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38404         prototype to make second argument 'struct aiocb64 *const[]'.
38405         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38406         (Status of AIO Operations): Remove erroneous const in aio_return and
38407         aio_return64 prototypes.
38408         (Synchronizing I/O): Fix sync prototype to return void.
38409         * manual/startup.texi (Suboptions): Remove an erroneous const in
38410         getsubopt prototype.
38411         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38412         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38413         use size_t rather than int.
38414         (Scanning All Users): Likewise for getpwent_r.
38415         (Setting Groups): Add missing const to setgroups prototype.
38416         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38417         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38418         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38419         'const void *' rather than 'const char *'.
38420         (Host Address Functions): Likewise for inet_ntop.
38421         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38422         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38423         ssize_t for return value.
38424         (Sending Data): Likewise for send, sendto, sendmsg.
38425         (Socket Option Functions): Add a missing const in setsockopt prototype.
38426         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38427         use wchar_t for the argument.
38428         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38429         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38430         take no arguments.
38431         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38432         double/float/long double for second argument.
38433         Fix return types of significand, significandf, significandl.
38434         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38435         argument in fchmod prototype.
38436         (File Owner): Use uid_t and gid_t in fchown prototype.
38437         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38438         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38439         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38440         use 'const struct dirent **' as argument types to CMP function pointer
38441         argument.
38442         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38443         (File Times): Fix summary magic @comment for struct utimbuf and utime
38444         to refer to utime.h, not time.h.
38445         * manual/string.texi (Argz Functions): Add missing const in
38446         argz_extract and argz_next prototypes.
38447         (Finding Tokens in a String): Likewise for basename.
38448         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38449         (Copying and Concatenation): Fix typo in wmemmove prototype.
38450         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38451         (Signal Stack): Remove erroneous const in sigstack prototype.
38452         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38453         prototype.
38454         (Simple Calendar Time): Likewise for stime.
38455         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38456         prototype.
38457         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38458         say sys/sysctl.h instead.
38459         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38460         and vsyslog prototypes.
38462 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38464         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38465         Remove.
38467 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38469         * misc/sys/mman.h: Fix typo in mremap comment.
38471 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38473         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38474         the '\0' terminator.
38476 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38478         [BZ #13550]
38479         * debug/segfault.c: Don't include <bp-checks.h>.
38480         * sysdeps/generic/bp-checks.h: Remove file.
38481         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38482         (__GETDENTS): Don't use CHECK_N.
38483         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38484         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38485         (__getgroups): Don't use CHECK_N.
38486         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38487         (setgroups): Don't use CHECK_N.
38488         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38489         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38490         (__libc_msgrcv): Don't use CHECK_N.
38491         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38492         (__libc_msgsnd): Don't use CHECK_N.
38493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38494         <bp-checks.h>.
38495         (__libc_pread): Don't use CHECK_N.
38496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38497         include <bp-checks.h>.
38498         (__libc_pread64): Don't use CHECK_N.
38499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38500         include <bp-checks.h>.
38501         (__libc_pwrite): Don't use CHECK_N.
38502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38503         include <bp-checks.h>.
38504         (__libc_pwrite64): Don't use CHECK_N.
38505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38506         <bp-checks.h>.
38507         (__libc_pread): Don't use CHECK_N.
38508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38509         include <bp-checks.h>.
38510         (__libc_pread64): Don't use CHECK_N.
38511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38512         include <bp-checks.h>.
38513         (__libc_pwrite): Don't use CHECK_N.
38514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38515         include <bp-checks.h>.
38516         (__libc_pwrite64): Don't use CHECK_N.
38517         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38518         (do_pread): Don't use CHECK_N.
38519         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38520         (do_pread64): Don't use CHECK_N.
38521         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38522         (do_pwrite): Don't use CHECK_N.
38523         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38524         (do_pwrite64): Don't use CHECK_N.
38525         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38526         (__libc_readv): Don't use CHECK_N.
38527         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38528         (semop): Don't use CHECK_N.
38529         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38530         <bp-checks.h>.
38531         (semtimedop): Don't use CHECK_N.
38532         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38533         (__libc_pread): Don't use CHECK_N.
38534         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38535         <bp-checks.h>.
38536         (__libc_pread64): Don't use CHECK_N.
38537         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38538         <bp-checks.h>.
38539         (__libc_pwrite): Don't use CHECK_N.
38540         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38541         <bp-checks.h>.
38542         (__libc_pwrite64): Don't use CHECK_N.
38543         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38544         <bp-checks.h>.
38545         (__libc_msgrcv): Don't use CHECK_N.
38546         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38547         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38548         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38549         (__libc_writev): Don't use CHECK_N.
38551 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38553         * string/strcpy.c: Removed unused variable.
38555         * Makeconfig (+sysdep-includes): Define with := rather than =.
38556         Use an existing include/ subdir of each sysdeps dir before it.
38558 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38560         * nscd/connection.c (register_traced_file): Comment function.
38561         [HAVE_INOTIFY] (union __inev): Define.
38562         [HAVE_INOTIFY] (inotify_check_files): New function.
38563         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38564         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38565         clear_db_cache.
38566         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38568 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38570         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38571         loaded if not already and that a failure is permanent.
38573 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38575         [BZ #15006]
38576         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38577         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38579 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38581         [BZ #13550]
38582         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38583         (CHECK_1_NULL_OK): Likewise.
38584         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38585         (__fxstat): Do not use CHECK_1.
38586         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38587         <bp-checks.h>.
38588         (___fxstat64): Do not use CHECK_1.
38589         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38590         <bp-checks.h>.
38591         (__fxstatat): Do not use CHECK_1.
38592         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38593         <bp-checks.h>.
38594         (__fxstatat64): Do not use CHECK_1.
38595         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38596         <bp-checks.h>.
38597         (__fxstat): Do not use CHECK_1.
38598         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38599         <bp-checks.h>.
38600         (__fxstatat): Do not use CHECK_1.
38601         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38602         <bp-checks.h>.
38603         (__getresgid): Do not use CHECK_1.
38604         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38605         <bp-checks.h>.
38606         (__getresuid): Do not use CHECK_1.
38607         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38608         <bp-checks.h>.
38609         (__lxstat): Do not use CHECK_1.
38610         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38611         <bp-checks.h>.
38612         (__old_msgctl): Do not use CHECK_1.
38613         (__new_msgctl): Likewise.
38614         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38615         <bp-checks.h>.
38616         (__new_setrlimit): Do not use CHECK_1.
38617         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38618         <bp-checks.h>.
38619         (__old_shmctl): Do not use CHECK_1.
38620         (__new_shmctl): Likewise.
38621         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38622         <bp-checks.h>.
38623         (__xstat): Do not use CHECK_1.
38624         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38625         (__lxstat): Do not use CHECK_1.
38626         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38627         <bp-checks.h>.
38628         (___lxstat64): Do not use CHECK_1.
38629         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38630         (__old_msgctl): Do not use CHECK_1.
38631         (__new_msgctl): Likewise.
38632         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38633         <bp-checks.h>.
38634         (__gettimeofday): Do not use CHECK_1.
38635         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38636         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38637         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38638         <bp-checks.h>.
38639         (__gettimeofday): Do not use CHECK_1.
38640         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38641         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38642         (__new_shmctl): Do not use CHECK_1.
38643         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38644         <bp-checks.h>.
38645         (do_sigtimedwait): Do not use CHECK_1.
38646         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38647         <bp-checks.h>.
38648         (do_sigwaitinfo): Do not use CHECK_1.
38649         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38650         <bp-checks.h>.
38651         (msgctl): Do not use CHECK_1.
38652         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38653         <bp-checks.h>.
38654         (shmctl): Do not use CHECK_1.
38655         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38656         (ustat): Do not use CHECK_1.
38657         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38658         <bp-checks.h>.
38659         (__fxstat): Do not use CHECK_1.
38660         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38661         <bp-checks.h>.
38662         (__fxstatat): Do not use CHECK_1.
38663         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38664         <bp-checks.h>.
38665         (__lxstat): Do not use CHECK_1.
38666         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38667         <bp-checks.h>.
38668         (__xstat): Do not use CHECK_1.
38669         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38670         (__xstat): Do not use CHECK_1.
38671         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38672         (___xstat64): Do not use CHECK_1.
38674         [BZ #13550]
38675         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38676         definitions.
38677         (CHECK_BOUNDS_HIGH): Likewise.
38678         * string/strcpy.c: Do not include <bp-checks.h>.
38679         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38681 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38683         * nscd/nscd-client.h (__nscd_drop_map_ref):
38684         Add __attribute__ ((unused)).
38685         * nis/nss-nisplus.h (niserr2nss): Likewise.
38687         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38688         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38690         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38691         Remove inline keyword.
38692         * include/rounding-mode.h (round_away): Likewise.
38693         * libio/wfileops.c (adjust_wide_data): Likewise.
38694         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38695         (__m128i_strloadu_tolower): Likewise.
38696         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38697         (__m128i_strloadu_tolower): Likewise.
38698         * time/mktime.c (ydhms_diff): Likewise.
38699         * locale/elem-hash.h (elem_hash): Likewise.
38700         * locale/setlocale.c (setdata): Likewise.
38701         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38702         (re_string_wchar_at): Likewise.
38703         (bitset_not, bitset_merge, bitset_mask): Likewise.
38704         [!(__GNUC__ > 3)] (inline): Remove macro.
38705         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38706         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38707         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38708         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38709         * string/memcmp.c (memcmp_bytes): Likewise.
38710         * locale/programs/locarchive.c (compute_hashval): Likewise.
38711         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38712         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38713         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38714         * nss/getent.c (print_rpc, print_protocols): Likewise.
38715         (print_passwd, print_group, print_aliases): Likewise.
38716         * nis/nss-nisplus.h (niserr2nss): Likewise.
38717         * nscd/connections.c (restart_p): Likewise.
38718         Change return type to bool.
38720 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38722         * Makeconfig (all-Depend-files): Add existing
38723         $(sorted-subdirs:=/Depend) files.
38724         (all-subdirs): Remove nss.
38725         * sysdeps/unix/inet/Subdirs: Add it here instead.
38726         * hesiod/Depend: New file.
38728         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38729         instead of calling alloca.
38731         * io/lseek.c (__lseek): Rename to __libc_lseek.
38732         Define __lseek as an alias.
38734         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38736 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38738         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38739         else clause and remove check for non-standard endianness.
38741 2013-02-04  David S. Miller  <davem@davemloft.net>
38743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38745 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38747         [BZ #13550]
38748         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38749         (__ubp_memchr): Remove prototype.
38750         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38751         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38752         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38753         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38754         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38755         Remove alias.
38756         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38757         (__ubp_memchr): Likewise.
38758         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38759         (__ubp_memchr): Likewise.
38760         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38761         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38762         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38763         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38764         CHECK_STRING.
38765         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38766         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38767         (__getcwd): Do not use CHECK_STRING.
38768         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38769         <bp-checks.h>.
38770         (__real_chown): Do not use CHECK_STRING.
38771         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38772         <bp-checks.h>.
38773         (fchownat): Do not use CHECK_STRING.
38774         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38775         CHECK_STRING.
38776         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38777         <bp-checks.h>.
38778         (__lchown): Do not use CHECK_STRING.
38779         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38780         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38781         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38782         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38784         include <bp-checks.h>.
38785         (truncate64): Do not use CHECK_STRING.
38786         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38787         <bp-checks.h>.
38788         (__real_chown): Do not use CHECK_STRING.
38789         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38790         <bp-checks.h>.
38791         (__lchown): Do not use CHECK_STRING.
38792         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38793         <bp-checks.h>.
38794         (__chown): Do not use CHECK_STRING.
38795         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38796         <bp-checks.h>.
38797         (truncate64): Do not use CHECK_STRING.
38798         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38799         Likewise.
38800         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38801         (__xmknod): Do not use CHECK_STRING.
38802         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38803         <bp-checks.h>.
38804         (__xmknodat): Do not use CHECK_STRING.
38805         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38806         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38808 2013-02-04  Andreas Schwab  <schwab@suse.de>
38810         [BZ #14142]
38811         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38812         * include/netdb.h: Likewise for h_errno.
38813         * elf/tst-stackguard1.c: Include <tls.h>.
38815 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38817         * elf/link.h (struct link_map): Extend the l_addr comment.
38818         * include/link.h (struct link_map): Likewise.
38820 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38822         [BZ #13550]
38823         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38824         (BOUNDED_1): Remove macro.
38825         * debug/backtrace.c: Don't include <bp-checks.h>.
38826         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38827         (__backtrace): Likewise.
38828         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38829         <bp-checks.h>.
38830         (__backtrace): Don't use BOUNDED_1.
38831         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38832         <bp-checks.h>.
38833         (__backtrace): Don't use BOUNDED_1.
38834         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38835         (__backtrace): Don't use BOUNDED_1.
38836         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38837         (shmat): Don't use BOUNDED_N.
38839 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38841         [BZ #13550]
38842         * sysdeps/generic/bp-start.h: Remove file.
38843         * csu/libc-start.c: Don't include <bp-start.h>.
38844         (LIBC_START_MAIN): Set up __environ directly instead of using
38845         INIT_ARGV_and_ENVIRON.
38846         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38847         <bp-start.h>.
38849         [BZ #13550]
38850         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38851         definitions.
38852         (CHECK_FCNTL): Likewise.
38853         (CHECK_N_PAGES): Likewise.
38855         [BZ #13550]
38856         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38857         definitions.
38858         (CHECK_SIGSET_NULL_OK): Likewise.
38859         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38860         <bp-checks.h>.
38861         (sigpending): Don't use CHECK_SIGSET.
38862         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38863         <bp-checks.h>.
38864         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38865         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38866         <bp-checks.h>.
38867         (do_sigsuspend): Don't use CHECK_SIGSET.
38868         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38869         use CHECK_SIGSET.
38870         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38871         (do_sigwait): Don't use CHECK_SIGSET.
38872         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38873         use CHECK_SIGSET.
38874         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38875         include <bp-checks.h>.
38876         (sigpending): Don't use CHECK_SIGSET.
38877         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38878         include <bp-checks.h>.
38879         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38880         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38881         <bp-checks.h>.
38882         (sigpending): Don't use CHECK_SIGSET.
38883         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38884         <bp-checks.h>.
38885         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38887         [BZ #13550]
38888         * sysdeps/generic/bp-semctl.h: Remove file.
38889         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38890         <bp-checks.h> and <bp-semctl.h>.
38891         (__old_semctl): Don't use CHECK_SEMCTL.
38892         (__new_semctl): Likewise.
38893         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38894         and <bp-semctl.h>.
38895         (__old_semctl): Don't use CHECK_SEMCTL.
38896         (__new_semctl): Likewise.
38897         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38898         <bp-checks.h> and <bp-semctl.h>.
38899         (__old_semctl): Don't use CHECK_SEMCTL.
38900         (__new_semctl): Likewise.
38901         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38902         <bp-checks.h> and <bp-semctl.h>.
38903         (semctl): Don't use CHECK_SEMCTL.
38905         [BZ #13550]
38906         * Makerules (elide-bp-thunks): Remove variable.
38907         (elide-routines.oS): Don't use $(elide-bp-thunks).
38908         (elide-routines.os): Likewise.
38909         (elide-routines.o): Likewise.
38910         (elide-routines.op): Likewise.
38911         (elide-routines.og): Likewise.
38912         (objects): Don't use $(bp-thunks).
38913         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38914         include.
38915         (common-generated): Do not add s-proto-bp.d.
38916         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38917         (int): Likewise.
38918         (typ): Likewise.
38919         Do not generate makefile rules for bounded-pointer thunks.
38920         * sysdeps/generic/bp-thunks.h: Remove file.
38921         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38922         * sysdeps/unix/s-proto-bp.S: Likewise.
38924         [BZ #15062]
38925         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38926         parts of result separately when argument is not close to line from
38927         -i to i and one part of argument is small.
38928         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38929         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38930         * math/libm-test.inc (cacos_test): Add more tests.
38931         (casin_test): Likewise.
38932         (casinh_test): Likewise.
38933         * sysdeps/i386/fpu/libm-test-ulps: Update.
38934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38936 2013-01-31  David S. Miller  <davem@davemloft.net>
38938         * po/de.po: Update from translation team.
38940 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38942         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38944 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38946         * configure.in (_AC_PROG_CC_C89): New definition.
38947         * configure: Regenerate.
38949         * configure.in (AC_PROG_CPP): New definition.
38950         * configure: Regenerate.
38952 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38954         * debug/tst-backtrace.h: New file.
38955         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38956         (ret): Remove variable.
38957         (x): Likewise.
38958         (FAIL): Remove macro.
38959         (NO_INLINE): Likewise.
38960         (fn1): Use match function instead of strstr.
38961         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38962         (ret): Remove variable.
38963         (x): Likewise.
38964         (FAIL): Remove macro.
38965         (NO_INLINE): Likewise.
38966         (fn): Use match function instead of strstr.
38967         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38968         (ret): Remove variable.
38969         (x): Likewise.
38970         (FAIL): Remove macro.
38971         (NO_INLINE): Likewise.
38972         (handle_signal): Use match function instead of strstr.
38973         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38974         (ret): Remove variable.
38975         (x): Likewise.
38976         (FAIL): Remove macro.
38977         (NO_INLINE): Likewise.
38978         (handle_signal): Use match function instead of strstr.
38980 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38982         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38984 2013-01-23  David S. Miller  <davem@davemloft.net>
38986         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38987         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38988         argument of CAS if possible.
38989         * sysdeps/sparc/sparc64/bits/atomic.h
38990         (__arch_compare_and_exchange_val_32_acq): Likewise.
38991         (__arch_compare_and_exchange_val_64_acq): Likewise.
38993 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38995         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38996         * sysdeps/posix/ulimit.c: ... this.
38997         Include <limits.h>.
38998         * sysdeps/unix/bsd/ulimit.c: Remove file.
39000 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39002         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39003         (LDFLAGS-tst-array5): Likewise.
39005 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39007         [BZ #15036]
39008         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39009         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39010         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39011         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39013 2013-01-21  David S. Miller  <davem@davemloft.net>
39015         * sysdeps/sparc/backtrace.c: New file.
39016         * sysdeps/sparc/sparc32/backtrace.h: New file.
39017         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39018         * sysdeps/sparc/sparc64/backtrace.h: New file.
39019         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39020         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39021         -funwind-tables.
39023 2013-01-21  Andreas Schwab  <schwab@suse.de>
39025         [BZ #15020]
39026         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39027         closed its stdout.
39029 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39032         "mpa2.h".
39033         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39035 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39036             Mark Mitchell  <mark@codesourcery.com>
39037             Tom de Vries  <tom@codesourcery.com>
39038             Paul Pluzhnikov  <ppluzhnikov@google.com>
39040         * debug/tst-backtrace2.c: New file.
39041         * debug/tst-backtrace3.c: Likewise.
39042         * debug/tst-backtrace4.c: Likewise.
39043         * debug/tst-backtrace5.c: Likewise.
39044         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39045         (CFLAGS-tst-backtrace3.c): Likewise.
39046         (CFLAGS-tst-backtrace4.c): Likewise.
39047         (CFLAGS-tst-backtrace5.c): Likewise.
39048         (LDFLAGS-tst-backtrace2): Likewise.
39049         (LDFLAGS-tst-backtrace3): Likewise.
39050         (LDFLAGS-tst-backtrace4): Likewise.
39051         (LDFLAGS-tst-backtrace5): Likewise.
39052         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39053         tst-backtrace4 and tst-backtrace5.
39055 2013-01-18  Anton Blanchard  <anton@samba.org>
39056             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39058         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39059         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39060         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39061         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39063         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39064         "+r" and remove output regs list as redundant.  Add explicit inline
39065         asm to specify register of return val to work around compiler codegen
39066         bug.  Remove (int) cast on return value.  Add return type parameter to
39067         use in macro so that this macro does not truncate return value for
39068         64-bit values.
39069         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39070         pass to INTERNAL_VSYSCALL_NCS.
39071         (INLINE_VSYSCALL): Add 'long int' as return type to
39072         INTERNAL_VSYSCALL_NCS macro invocation.
39073         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39074         INTERNAL_VSYSCALL_NCS macro invocation.
39075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39077 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39079         [BZ #14496]
39080         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39081         Fix application of SIMD FP exception mask.
39083         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39084         mp_no from a power of two.
39085         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39086         __mpexp_twomm1.  Use __pow_mp.
39088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39089         multiplication.
39091 2013-01-17  David S. Miller  <davem@davemloft.net>
39093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39095 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39097         [BZ #15023]
39098         * include/complex.h: Condition contents on [!_COMPLEX_H].
39099         (__kernel_casinhf): New prototype.
39100         (__kernel_casinh): Likewise.
39101         (__kernel_casinhl): Likewise.
39102         * math/Makefile (libm_calls): Add k_casinh.
39103         * math/k_casinh.c: New file.
39104         * math/k_casinhf.c: Likewise.
39105         * math/k_casinhl.c: Likewise.
39106         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39107         finite nonzero arguments.
39108         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39109         finite nonzero arguments.
39110         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39111         finite nonzero arguments.
39112         * math/s_casinh.c: Do not include <float.h>.
39113         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39114         * math/s_casinhf.c: Do not include <float.h>.
39115         (__casinhf): Move code for finite nonzero arguments to
39116         k_casinhf.c.
39117         * math/s_casinhl.c: Do not include <float.h>.
39118         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39119         redefine.
39120         (__casinhl): Move code for finite nonzero arguments to
39121         k_casinhl.c.
39122         * math/libm-test.inc (cacos_test): Add more tests.
39123         * sysdeps/i386/fpu/libm-test-ulps: Update.
39124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39126 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39128         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39129         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39130         [!HAVE_MREMAP]: Remove [defined linux] case.
39131         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39133 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39135         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39137 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39139         * elf/elf.h (R_386_SIZE32): New relocation.
39140         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39141         R_386_SIZE32.
39142         (elf_machine_rela): Likewise.
39143         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39144         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39146 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39148         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39149         (FP_FAST_FMA): Do not define.
39150         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39151         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39152         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39153         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39154         !_SOFT_FLOAT]: Likewise.
39155         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39156         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39157         value.
39158         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39159         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39160         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39161         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39162         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39163         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39164         file.
39166 2013-01-16  Andreas Schwab  <schwab@suse.de>
39168         [BZ #14327]
39169         * include/stdlib.h (__mktemp): Add declaration.
39170         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39171         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39173 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39175         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39176         definitions.
39177         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39178         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39179         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39180         definitions here.
39181         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39182         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39183         definitions.
39184         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39185         and ONE.
39186         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39187         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39188         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39189         definitions.
39190         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39191         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39192         definitions.
39193         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39195         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39197 2013-01-15  David S. Miller  <davem@davemloft.net>
39199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39200         trunc{,f} to libm-sysdep_routes.
39201         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39203         file.
39204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39206         file.
39207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39208         file.
39209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39211         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39212         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39213         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39214         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39215         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39216         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39219         nearbyint{,f} to libm-sysdep_routes.
39220         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39222         New file.
39223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39224         file.
39225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39226         New file.
39227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39228         file.
39229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39231         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39232         file.
39233         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39234         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39235         file.
39236         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39237         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39238         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39240         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39241         libc_feholdexcept and libc_fesetenv.
39243 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39245         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39247 2013-01-14  David S. Miller  <davem@davemloft.net>
39249         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39250         (SPARC_ASM_VIS2_IFUNC): Likewise.
39251         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39253         use of 'siam' instruction.
39254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39255         Likewise.
39256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39257         Likewise.
39258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39259         Likewise.
39260         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39261         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39265         file.
39266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39267         file.
39268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39269         file.
39270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39271         file.
39272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39277         new VIS2 routines.
39278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39281         Likewise.
39282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39287         routines to libm-sysdep_routines.
39288         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39291         fdim/fdimf to libm-sysdep_routines.
39292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39293         file.
39294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39296         file.
39297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39300         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39301         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39302         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39303         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39305 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39307         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39308         to optimize copies.
39310         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39312         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39315         local variable MPTWO.
39316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39317         Likewise.
39319 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39321         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39322         GLOB_NOESCAPE.
39324 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39326         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39328 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39330         * manual/pattern.texi (glob_t): Document gl_flags.
39331         (glob64_t): Likewise.
39333 2013-01-11  David S. Miller  <davem@davemloft.net>
39335         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39336         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39337         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39338         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39339         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39340         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39341         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39342         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39343         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39344         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39345         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39346         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39347         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39349         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39350         sparc V9 rather than using V8 code.
39351         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39352         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39354         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39355         Move to...
39356         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39357         Here.
39359 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39361         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39362         not in the main loop.
39363         * configure: Regenerated.
39365 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39367         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39368         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39369         to just #else.
39370         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39371         [!__GLIBC_HAVE_LONG_LONG] case.
39372         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39373         condition to just #else.
39374         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39375         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39376         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39377         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39378         unconditional.
39379         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39380         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39381         #elif condition to just #else.
39382         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39383         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39384         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39385         #elif condition to just #else.
39387 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39389         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39390         (EF_MIPS_ARCH_64): Fix value.
39391         (EF_MIPS_ARCH_32R2): New.
39392         (EF_MIPS_ARCH_64R2): New.
39394 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39396         * Makeconfig (+link-pie-before-libc): New.
39397         (+link-pie-after-libc): Likewise.
39398         (+link-pie-tests): Likewise.
39399         (+link-pie): Rewritten.
39400         (link-before-libc): Remove $(config-LDFLAGS).
39401         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39402         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39403         (config-LDFLAGS): Renamed to ...
39404         (rtld-LDFLAGS): This.
39405         (rtld-tests-LDFLAGS): New macro.
39406         (link-libc-rpath-link): Likewise.
39407         (link-libc-tests-rpath-link): Likewise.
39408         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39409         (link-libc): Prepand $(link-libc-rpath-link).
39410         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39411         (test-program-prefix): New macro.
39412         (test-via-rtld-prefix): Likewise.
39413         (test-program-cmd): Likewise.
39414         (host-test-program-cmd): Likewise.
39415         * Makefile ($(common-objpfx)testrun.sh): Replace
39416         $(run-program-prefix) with $(test-program-prefix).
39417         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39418         $(rtld-LDFLAGS).
39419         ($(common-objpfx)shlib.lds): Likewise.
39420         (build-module-helper): Likewise.
39421         ($(common-objpfx)format.lds): Likewise.
39422         * Rules (binaries-pie-tests): New.
39423         (binaries-pie-notests): Likewise.
39424         (binaries-pie): Rewritten.
39425         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39426         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39427         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39428         (make-test-out): Replace $(host-built-program-cmd) with
39429         $(host-test-program-cmd).
39430         * config.make.in (build-hardcoded-path-in-tests): New variable.
39431         * configure.in (--enable-hardcoded-path-in-tests): New configure
39432         option.
39433         (hardcoded_path_in_tests): New AC_SUBST.
39434         * configure: Regenerated.
39435         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39436         $(built-program-cmd) with $(test-program-cmd).
39437         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39438         (test_program_cmd): This.
39439         * elf/Makefile ($(objpfx)order.out): Run test with
39440         $(test-program-prefix).
39441         ($(objpfx)order2.out): Likewise.
39442         ($(objpfx)tst-initorder.out): Likewise.
39443         ($(objpfx)tst-initorder2.out): Likewise.
39444         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39445         $(test-program-cmd).
39446         ($(objpfx)tst-array1-static.out): Likewise.
39447         ($(objpfx)tst-array2.out): Likewise.
39448         ($(objpfx)tst-array3.out): Likewise.
39449         ($(objpfx)tst-array4.out): Likewise.
39450         ($(objpfx)tst-array5.out): Likewise.
39451         ($(objpfx)tst-array5-static.out): Likewise.
39452         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39453         $(test-program-cmd).
39454         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39455         $(run-program-prefix) with $(test-program-prefix).
39456         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39457         (test_program_prefix): This.
39458         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39459         $(run-program-prefix) with $(test-program-prefix).
39460         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39461         (test_program_prefix): This.
39462         * iconvdata/tst-tables.sh: Likewise.
39463         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39464         $(run-program-prefix) with $(test-program-prefix).
39465         ($(objpfx)tst-translit.out): Likewise.
39466         ($(objpfx)tst-gettext2.out): Likewise.
39467         ($(objpfx)tst-gettext4.out): Likewise.
39468         ($(objpfx)tst-gettext6.out): Likewise.
39469         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39470         (test_program_prefix): This.
39471         * intl/tst-gettext2.sh: Likewise.
39472         * intl/tst-gettext4.sh  Likewise.
39473         * intl/tst-gettext6.sh: Likewise.
39474         * intl/tst-translit.sh: Likewise.
39475         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39476         with $(test-program-cmd).
39477         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39478         $(run-program-prefix) with $(test-program-prefix).
39479         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39480         (test_program_prefix): This.
39481         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39482         $(run-program-prefix) with $(test-program-prefix).
39483         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39484         (test_program_prefix): This.
39485         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39486         * posix/Makefile ($(objpfx)globtest.out): Replace
39487         $(run-via-rtld-prefix) and $(test-wrapper) with
39488         $(test-program-prefix) and $(test-via-rtld-prefix).
39489         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39490         $(test-program-prefix).
39491         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39492         $(host-test-program-cmd).
39493         (tst-spawn-ARGS): Likewise.
39494         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39495         $(test-program-prefix).
39496         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39497         (test_via_rtld_prefix): This.
39498         (test_wrapper): Renamed to ...
39499         (test_program_prefix): This.
39500         (run_program_prefix): Replaced by test_program_prefix.
39501         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39502         (test_program_prefix): This.
39503         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39504         with $(host-test-program-cmd).
39505         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39506         $(run-program-prefix) with $(test-program-prefix).
39507         ($(objpfx)tst-printf.out): Likewise.
39508         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39509         $(test-program-cmd).
39510         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39511         (test_program_prefix): This.
39512         * stdio-common/tst-unbputc.sh: Likewise.
39513         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39514         $(run-program-prefix) with $(test-program-prefix).
39515         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39516         (test_program_prefix): This.
39517         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39518         $(built-program-cmd) with $(test-program-cmd).
39520 2013-01-11  Andreas Jaeger  <aj@suse.de>
39522         [BZ #15003]
39523         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39524         value. Sync with Linux 3.7.
39526 2013-01-10  David S. Miller  <davem@davemloft.net>
39528         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39529         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39530         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39532 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39534         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39535         never set.
39536         * configure: Regenerated.
39538 2013-01-10  David S. Miller  <davem@davemloft.net>
39540         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39541         sparc V9 rather than using V8 code.
39542         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39543         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39545 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39547         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39548         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39549         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39550         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39551         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39552         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39553         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39554         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39555         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39556         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39557         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39558         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39559         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39560         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39561         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39562         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39563         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39564         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39565         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39566         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39567         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39568         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39569         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39570         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39571         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39572         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39573         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39575 2013-01-10  David S. Miller  <davem@davemloft.net>
39577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39579 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39581         * posix/Makefile (tests-static): New variable.
39582         (tests): Add $(tests-static).
39583         (tst-exec-static-ARGS): New variable.
39584         (tst-spawn-static-ARGS): Likewise.
39585         * posix/tst-exec-static.c: New file.
39586         * posix/tst-spawn-static.c: Likewise.
39587         * posix/tst-exec.c: Support run directly.
39588         * posix/tst-spawn.c: Likewise.
39590 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39592         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39593         long.
39594         * math/bits/mathcalls.h (llrint): Likewise.
39595         (llround): Likewise.
39596         * stdlib/stdlib.h (struct drand48_data): Likewise.
39597         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39598         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39599         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39600         Likewise.
39601         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39602         Likewise.
39603         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39604         (elf_greg_t): Likewise.
39605         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39606         (__jmp_buf): Likewise.
39607         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39608         definitions.
39609         (llrint): Likewise, for all definitions.
39610         (llrintl): Likewise.
39612         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39613         Remove [__GNUC__] condition.
39614         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39615         condition to just [__USE_ISOC99].
39616         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39618 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39620         [BZ #14200]
39621         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39622         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39623         defined.
39624         (_POSIX_V6_ILP32_OFF32): Likewise.
39625         (_XBS5_ILP32_OFF32): Likewise.
39626         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39627         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39629 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39631         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39633         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39634         doubles __mpexp_twomm1.  Adjust usage.
39635         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39636         Remove.
39638 2013-01-10  Andreas Schwab  <schwab@suse.de>
39640         [BZ #14964]
39641         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39642         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39644 2013-01-09  David S. Miller  <davem@davemloft.net>
39646         [BZ #15003]
39647         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39648         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39649         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39650         (TCP_FASTOPEN): Define.
39651         (tcp_repair_opt): New structure.
39652         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39653         enum values.
39654         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39655         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39656         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39657         (tcp_cookie_transactions): New structure.
39659 2013-01-09  Anton Blanchard  <anton@samba.org>
39661         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39662         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39663         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39664         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39666 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39668         * include/features.h (__USE_ANSI): Remove.
39670 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39672         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39674         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39676 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39678         * sysdeps/s390/fpu/libm-test-ulps: Update.
39680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39682         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39683         (__acr): Likewise.
39684         (__cpy): Likewise.
39685         (norm): Likewise.
39686         (denorm): Likewise.
39687         (__mp_dbl): Likewise.
39688         (__dbl_mp): Likewise.
39689         (add_magnitudes): Likewise.
39690         (sub_magnitudes): Likewise.
39691         (__add): Likewise.
39692         (__sub): Likewise.
39693         (__mul): Likewise.
39694         (__inv): Likewise.
39695         (__dvd): Likewise.
39696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39697         (__acr): Likewise.
39698         (__cpy): Likewise.
39699         (norm): Likewise.
39700         (denorm): Likewise.
39701         (__mp_dbl): Likewise.
39702         (__dbl_mp): Likewise.
39703         (add_magnitudes): Likewise.
39704         (sub_magnitudes): Likewise.
39705         (__add): Likewise.
39706         (__sub): Likewise.
39707         (__mul): Likewise.
39708         (__inv): Likewise.
39709         (__dvd): Likewise.
39710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39711         (__acr): Likewise.
39712         (__cpy): Likewise.
39713         (norm): Likewise.
39714         (denorm): Likewise.
39715         (__mp_dbl): Likewise.
39716         (__dbl_mp): Likewise.
39717         (add_magnitudes): Likewise.
39718         (sub_magnitudes): Likewise.
39719         (__add): Likewise.
39720         (__sub): Likewise.
39721         (__mul): Likewise.
39722         (__inv): Likewise.
39723         (__dvd): Likewise.
39725 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39727         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39728         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39729         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39730         2 && __USE_EXTERN_INLINES]: Likewise.
39732 2013-01-08  Andreas Jaeger  <aj@suse.de>
39734         [BZ# 14985]
39735         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39736         Remove.
39737         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39738         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39740 2013-01-07  Anton Blanchard  <anton@samba.org>
39742         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39743         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39744         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39745         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39746         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39747         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39748         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39749         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39751         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39752         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39753         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39754         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39755         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39756         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39757         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39758         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39759         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39760         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39761         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39762         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39763         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39764         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39765         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39766         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39767         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39768         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39769         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39770         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39771         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39772         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39774         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39775         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39776         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39777         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39778         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39779         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39780         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39781         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39782         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39783         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39784         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39786 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39788         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39789         (__MALLOC_PMT): Likewise.
39790         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39791         [__GNUC__], only on [_LIBC].
39792         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39793         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39794         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39795         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39796         forward declaration.
39797         (realloc_hook_ini): Likewise.
39798         (memalign_hook_ini): Likewise.
39799         (__libc_memalign): Do not use __MALLOC_PMT in variable
39800         declaration.
39801         (__libc_valloc): Likewise.
39802         (__libc_pvalloc): Likewise.
39803         (__libc_calloc): Likewise.
39804         (__posix_memalign): Likewise.
39806         [BZ #14996]
39807         * math/s_casinh.c: Include <float.h>.
39808         (__casinh): Do not do computation with squaring and square root
39809         for large arguments.
39810         * math/s_casinhf.c: Include <float.h>.
39811         (__casinhf): Do not do computation with squaring and square root
39812         for large arguments.
39813         * math/s_casinhl.c: Include <float.h>.
39814         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39815         (__casinhl): Do not do computation with squaring and square root
39816         for large arguments.
39817         * math/libm-test.inc (casin_test): Add more tests.
39818         (casinh_test): Likewise.
39819         * sysdeps/i386/fpu/libm-test-ulps: Update.
39820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39822 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39824         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39825         (__x86_64_raw_data_cache_size): Likewise.
39826         (__x86_64_data_cache_size_half): Likewise.
39827         (__x86_64_raw_data_cache_size_half): Likewise.
39828         (__x86_64_shared_cache_size): Likewise.
39829         (__x86_64_raw_shared_cache_size): Likewise.
39830         (__x86_64_shared_cache_size_half): Likewise.
39831         (__x86_64_raw_shared_cache_size_half): Likewise.
39832         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39833         to ...
39834         (__x86_data_cache_size): This.
39835         (__x86_64_raw_data_cache_size): Renamed to ...
39836         (__x86_raw_data_cache_size): This.
39837         (__x86_64_data_cache_size_half): Renamed to ...
39838         (__x86_data_cache_size_half): This.
39839         (__x86_64_raw_data_cache_size_half): Renamed to ...
39840         (__x86_raw_data_cache_size_half): This.
39841         (__x86_64_shared_cache_size): Renamed to ...
39842         (__x86_shared_cache_size): This.
39843         (__x86_64_raw_shared_cache_size): Renamed to ...
39844         (__x86_raw_shared_cache_size): This.
39845         (__x86_64_shared_cache_size_half): Renamed to ...
39846         (__x86_shared_cache_size_half): This.
39847         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39848         (__x86_raw_shared_cache_size_half): This.
39849         * sysdeps/x86_64/memcpy.S: Updated.
39850         * sysdeps/x86_64/memset.S: Likewise.
39851         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39852         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39853         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39855 2013-01-04  David S. Miller  <davem@davemloft.net>
39857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39859 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39861         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39862         1 to avoid redefinition warning.
39863         (__USE_GNU): Don't define.
39864         (init_signaling_nan): Protoize.
39866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39868 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39870         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39871         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39872         (__cpymn): Likewise.
39873         (norm): Remove commented code.
39874         (denorm): Likewise.
39875         (__mp_dbl): Likewise.
39876         (__inv): Likewise.
39877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39878         (__cpymn): Likewise.
39879         (norm): Remove commented code.
39880         (denorm): Likewise.
39881         (__mp_dbl): Likewise.
39882         (__inv): Likewise.
39884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39885         mp_no value for 1.0 and 2.0.
39886         (norm): Use RADIXI instead of radixi.d.
39887         (denorm): Likewise.
39888         (__mul): Use 0.0 instead of zero.d.
39889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39890         mp_no value for 1.0 and 2.0.
39891         (norm): Use RADIXI instead of radixi.d.
39892         (denorm): Likewise.
39893         (__mul): Use 0.0 instead of zero.d.
39895 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39897         [BZ #14994]
39898         * math/s_casinh.c (__casinh): Reduce finite argument to first
39899         quadrant then set signs of results at the end.
39900         * math/s_casinhf.c (__casinhf): Likewise.
39901         * math/s_casinhl.c (__casinhl): Likewise.
39902         * math/libm-test.inc (casin_test): Add more tests.
39903         (casinh_test): Likewise.
39904         * sysdeps/i386/fpu/libm-test-ulps: Update.
39905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39907 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39909         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39911         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39913         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39914         declarations.
39915         (denorm): Likewise.
39916         (__mp_dbl): Likewise.
39917         (__inv): Likewise.
39919         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39920         and adjust the header comment.
39922         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39923         variable name from declaration.
39925 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39927         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39928         Initialize COMMON_CPUID_INDEX_7 element.
39929         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39930         (CPUID_RTM): Likewise.
39931         (HAS_RTM): Likewise.
39932         (COMMON_CPUID_INDEX_7): New enum.
39934 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39936         [BZ #14981]
39937         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39938         size is zero, record memory as freed.
39940 2013-01-03  Andreas Jaeger  <aj@suse.de>
39942         * po/ia.po: Add new Interlingua translation.
39944 2012-01-03  Allan McRae  <allan@archlinux.org>
39946         * locale/programs/localedef.c: Fix description of '--posix' flag.
39948 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39950         * NEWS: Update dates in second copyright notice.
39951         * README: Update copyright dates in example.
39952         * manual/libc.texinfo: Update copyright dates.
39953         * scripts/test-installation.pl: Update copyright date in --version
39954         output.
39956         * hurd/ctty-input.c: Fix copyright notice formatting.
39957         * hurd/ctty-output.c: Likewise.
39958         * hurd/dtable.c: Likewise.
39959         * hurd/hurd-raise.c: Likewise.
39960         * hurd/hurdprio.c: Likewise.
39961         * hurd/msgportdemux.c: Likewise.
39962         * misc/sys/file.h: Likewise.
39963         * misc/sys/ioctl.h: Likewise.
39964         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39965         * sysdeps/mach/hurd/chdir.c: Likewise.
39966         * sysdeps/mach/hurd/fchdir.c: Likewise.
39967         * sysdeps/mach/hurd/rename.c: Likewise.
39968         * sysdeps/mach/hurd/rmdir.c: Likewise.
39969         * sysdeps/mach/hurd/seekdir.c: Likewise.
39970         * sysdeps/mach/hurd/setsid.c: Likewise.
39971         * sysdeps/posix/wait3.c: Likewise.
39973         * All files with FSF copyright notices: Update copyright dates
39974         using scripts/update-copyrights.
39975         * intl/plural.c: Regenerated.
39976         * locale/programs/charmap-kw.h: Likewise.
39977         * locale/programs/locfile-kw.h: Likewise.
39979 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39981         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39982         four values.
39984         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39985         calculation loop and add branch prediction.
39987         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39988         check access beyond bounds of m1np.
39990         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39991         MPTWO.
39992         (__inv): Remove local variable MPTWO to use the global
39993         constant.
39994         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39995         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39996         variable MPTWO.
39997         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39998         MP3HALFS static const.
40000 2013-01-01  David S. Miller  <davem@davemloft.net>
40002         * po/ca.po: Update from translation team.
40004 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40006         * scripts/update-copyrights: New file.
40007         * Makeconfig: Reformat copyright notice.
40008         * ctype/ctype.h: Likewise.
40009         * debug/swprintf_chk.c: Likewise.
40010         * elf/dl-cache.c: Likewise.
40011         * elf/dl-debug.c: Likewise.
40012         * elf/dl-object.c: Likewise.
40013         * grp/initgroups.c: Likewise.
40014         * hurd/Makefile: Likewise.
40015         * hurd/hurd/signal.h: Likewise.
40016         * hurd/hurdfault.c: Likewise.
40017         * hurd/hurdioctl.c: Likewise.
40018         * hurd/hurdlookup.c: Likewise.
40019         * hurd/intr-msg.c: Likewise.
40020         * iconv/gconv_open.c: Likewise.
40021         * libio/swprintf.c: Likewise.
40022         * locale/lc-ctype.c: Likewise.
40023         * locale/nl_langinfo.c: Likewise.
40024         * mach/Machrules: Likewise.
40025         * mach/Makefile: Likewise.
40026         * malloc/obstack.h: Likewise.
40027         * manual/Makefile: Likewise.
40028         * manual/tsort.awk: Likewise.
40029         * misc/bits/stab.def: Likewise.
40030         * nis/nis_print_group_entry.c: Likewise.
40031         * nis/nis_table.c: Likewise.
40032         * nis/nss_compat/compat-pwd.c: Likewise.
40033         * nis/nss_compat/compat-spwd.c: Likewise.
40034         * po/Makefile: Likewise.
40035         * posix/fnmatch.c: Likewise.
40036         * posix/regex.h: Likewise.
40037         * resolv/Makefile: Likewise.
40038         * resolv/nss_dns/dns-network.c: Likewise.
40039         * resolv/res_hconf.c: Likewise.
40040         * scripts/gen-sorted.awk: Likewise.
40041         * soft-fp/soft-fp.h: Likewise.
40042         * stdio-common/printf.h: Likewise.
40043         * stdlib/monetary.h: Likewise.
40044         * stdlib/random.c: Likewise.
40045         * stdlib/random_r.c: Likewise.
40046         * sysdeps/generic/Makefile: Likewise.
40047         * sysdeps/gnu/Makefile: Likewise.
40048         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40049         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40050         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40051         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40052         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40053         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40054         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40055         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40056         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40057         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40058         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40059         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40060         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40061         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40062         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40063         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40064         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40065         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40066         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40067         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40068         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40069         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40070         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40071         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40072         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40073         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40074         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40075         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40076         * sysdeps/mach/hurd/errnos.awk: Likewise.
40077         * sysdeps/mach/hurd/fork.c: Likewise.
40078         * sysdeps/mach/hurd/getcwd.c: Likewise.
40079         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40080         * sysdeps/mach/hurd/mmap.c: Likewise.
40081         * sysdeps/mach/hurd/utimes.c: Likewise.
40082         * sysdeps/mach/hurd/xmknod.c: Likewise.
40083         * sysdeps/posix/profil.c: Likewise.
40084         * sysdeps/posix/readdir_r.c: Likewise.
40085         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40086         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40087         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40088         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40090         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40091         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40092         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40094         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40095         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40096         * sysdeps/pthread/lio_listio.c: Likewise.
40097         * sysdeps/sparc/dl-procinfo.h: Likewise.
40098         * sysdeps/unix/i386/sysdep.S: Likewise.
40099         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40100         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40101         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40102         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40104         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40105         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40106         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40107         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40108         * sysdeps/wordsize-32/divdi3.c: Likewise.
40109         * time/sys/time.h: Likewise.
40110         * wcsmbs/Makefile: Likewise.
40112 2013-01-01  David S. Miller  <davem@davemloft.net>
40114         * po/fr.po: Update from translation team.
40116         * catgets/gencat.c: Update copyright year.
40117         * csu/version.c: Likewise.
40118         * debug/catchsegv.sh: Likewise.
40119         * debug/pcprofiledump.c: Likewise.
40120         * debug/xtrace.sh: Likewise.
40121         * elf/ldconfig.c: Likewise.
40122         * elf/ldd.bash.in: Likewise.
40123         * elf/pldd.c: Likewise.
40124         * elf/sotruss.ksh: Likewise.
40125         * elf/sprof.c: Likewise.
40126         * iconv/iconv_prog.c: Likewise.
40127         * iconv/iconvconfig.c: Likewise.
40128         * locale/programs/locale.c: Likewise.
40129         * locale/programs/localedef.c: Likewise.
40130         * login/programs/pt_chown.c: Likewise.
40131         * malloc/memusage.sh: Likewise.
40132         * malloc/memusagestat.c: Likewise.
40133         * malloc/mtrace.pl: Likewise.
40134         * nscd/nscd.c: Likewise.
40135         * nss/getent.c: Likewise.
40136         * nss/makedb.c: Likewise.
40137         * posix/getconf.c: Likewise.
40139 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40141         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40142         numbers.
40144 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40146         * math/bits/mathcalls.h (modf): Use __nonnull.
40148 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40150         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40151         (split): Use macro CN instead of the bare value.
40152         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40153         could be used.
40154         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40155         instead of the bare value.
40156         (power1): Likewise.
40158 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40160         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40161         __ATAN_TWOM.
40162         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40164         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40165         their values.
40166         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40167         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40168         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40169         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40171 2012-12-28  Andreas Jaeger  <aj@suse.de>
40173         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40174         values are from Linux 3.7.
40176         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40177         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40179 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40181         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40182         TRUE case.
40184         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40185         (norm): Likewise.
40186         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40187         variables with preprocessor constants.
40188         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40189         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40190         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40192 2012-12-27  Bruno Haible  <bruno@clisp.org>
40194         [BZ #14317]
40195         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40196         only if needed.
40198 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40200         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40201         and use variable directly.
40202         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40204         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40205         MPONE.
40206         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40207         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40208         variable MPONE.
40209         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40210         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40211         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40212         include directive.  Remove local variable MPONE.
40213         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40214         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40215         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40217 2012-12-25  David S. Miller  <davem@davemloft.net>
40219         * version.h (RELEASE): Set to "development".
40220         (VERSION): Set to "2.17.90".
40221         * NEWS: Add 2.18 section.
40223 2012-12-21  David S. Miller  <davem@davemloft.net>
40225         * po/hr.po: Update from translation team.
40227 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40229         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40231 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40233         * NEWS:  Mention new memcpy for MIPS.
40235 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40237         * manual/contrib.texi (Contributors): Spelling correction.
40239 2012-12-15  David S. Miller  <davem@davemloft.net>
40241         * po/ru.po: Update from translation team.
40243 2012-12-13  David S. Miller  <davem@davemloft.net>
40245         * NEWS: Mention IFUNC testsuite enhancements.
40247         * po/pl.po: Update from translation team.
40248         * po/bg.po: Likewise.
40250         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40251         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40253 2012-12-11  David S. Miller  <davem@davemloft.net>
40255         * po/sv.po: Update from translation team.
40257         * po/vi.po: Update from translation team.
40259         * po/cs.po: Update from translation team.
40261         * po/de.po: Update from translation team.
40262         * po/eo.po: Likewise.
40263         * po/nl.po: Likewise.
40265 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40267         [BZ #14246]
40268         * manual/argp.texi (Argp Helper Functions): Move node to follow
40269         Argp Parsing State.
40271         [BZ #14872]
40272         * manual/conf.texi (Limits on File System Capacity): Mention if
40273         terminating null is included in the max size.
40275 2012-12-10  Andreas Jaeger  <aj@suse.de>
40277         * po/cs.po: Update from translation team.
40279 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40281         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40282         void pointer and cast to uintptr_t.
40283         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40284         path.
40285         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40286         * sysdeps/s390/s390-64/memset.S: Likewise.
40288 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40290         [BZ #14833]
40291         * menual/message.texi (Message Translation): Fix typos.
40292         (Helper programs for gettext): Likewise.
40294 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40296         [BZ #14898]
40297         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40298         Change to -1.
40300 2012-12-07  David S. Miller  <davem@davemloft.net>
40302         * po/libc.pot: Update.
40304 2012-12-07  Richard Henderson  <rth@redhat.com>
40306         [BZ #10114]
40307         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40308         normal/normal case to before the switch.
40309         (_FP_DIV): Likewise.
40311 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40312             Mike Frysinger  <vapier@gentoo.org>
40314         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40315         check for __NR_fadvise64_64.
40317 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40319         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40320         0, not just to plain "0" as a statement.
40321         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40322         with cw.
40324 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40326         * NEWS: Use sourceware.org in Bugzilla URL.
40328 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40331         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40333         * stdio-common/tst-put-error.c (do_test): Add newline to the
40334         padded test to ensure flush.
40336 2012-12-05  Jeff Law  <law@redhat.com>
40338         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40340 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40342         * README: Don't refer to ports add-on as distributed separately.
40343         Mention AArch64 in list of systems supported in the ports add-on.
40345         * LICENSES: Add more non-FSF copyright and license notices.
40347         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40348         ((unused)).
40350         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40352         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40353         10000 as width of padded output.
40355 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40357         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40359         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40360         variable LX with __attribute__ ((unused)).
40361         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40362         Likewise.
40363         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40364         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40365         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40366         with __attribute__ ((unused)).
40368 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40370         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40372 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40374         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40375         (CFLAGS-nldbl-acos.c): New variable.
40376         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40377         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40378         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40379         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40380         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40381         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40382         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40383         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40384         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40385         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40386         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40387         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40388         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40389         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40390         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40391         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40392         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40393         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40394         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40395         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40396         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40397         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40398         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40399         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40400         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40401         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40402         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40403         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40404         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40405         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40406         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40407         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40408         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40409         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40410         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40411         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40412         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40413         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40414         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40415         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40416         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40417         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40418         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40419         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40420         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40421         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40422         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40423         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40424         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40425         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40426         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40427         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40428         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40429         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40430         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40431         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40432         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40433         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40434         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40435         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40436         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40437         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40438         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40439         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40440         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40441         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40442         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40443         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40444         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40445         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40446         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40447         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40448         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40449         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40450         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40451         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40452         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40453         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40454         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40455         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40456         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40457         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40458         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40459         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40460         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40461         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40462         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40463         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40464         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40465         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40466         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40467         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40468         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40469         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40470         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40471         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40472         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40475         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40477         [BZ #14914]
40478         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40479         whole low double instead of just low 47 bits when splitting values
40480         into two parts.
40482 2012-12-03  Allan McRae  <allan@archlinux.org>
40484         * manual/stdio.texi (Predefined Printf Handlers): Remove
40485         @hsep and @vsep usage.
40487 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40489         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40490         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40492 2012-12-03  Jeff Law  <law@redhat.com>
40494         * time/sys/time.h (settimeofday): Do not mark TV argument
40495         as __nonnull.
40497 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40499         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40500         when currently writing and seek to current position when not.
40501         * libio/Makefile (tests): Remove bug-fclose1.
40502         * libio/bug-fclose1.c: Delete.
40504 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40506         * manual/arith.texi (feenableexcept): Fix typo.
40507         (fedisableexcept): Likewise.
40509 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40511         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40512         second, differently-typed declaration, rather than a cast.
40514 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40516         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40517         * include/rpc/svc.h: ... here.
40519 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40521         [BZ #13013]
40522         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40523         depending n and resplen2 to catch cases where answer
40524         equals answerp2.
40526 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40528         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40529         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40531 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40533         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40535 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40537         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40539 2012-11-28  Jeff Law  <law@redhat.com>
40541         [BZ #13761]
40542         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40543         dataset_temporary.  Track alloca usage into alloca_used.
40544         If dataset is large allocate and release it via malloc/free.
40546 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40548         [BZ #14197]
40549         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40551 2012-11-28  David S. Miller  <davem@davemloft.net>
40553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40555 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40557         [BZ #14803]
40558         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40559         of pi/2 rounded to nearest to 64 bits.
40560         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40561         nearest to 64 bits.
40562         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40563         bits.
40565 2012-11-28  Jeff Law <law@redhat.com>
40566             Martin Osvald <mosvald@redhat.com>
40568         [BZ #14889]
40569         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40570         * sunrpc/svc.c: Include time.h.
40571         (__svc_accept_failed): New function.
40572         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40573         any reason other than EINTR, call __svc_accept_failed.
40574         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40575         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40577 2012-11-28  Andreas Schwab  <schwab@suse.de>
40579         * scripts/abilist.awk: Also handle indirect functions in .opd
40580         section.
40582 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40584         [BZ #13881]
40585         * sysdeps/x86/fpu/powl_helper.c: New file.
40586         * sysdeps/x86/fpu/Makefile: Likewise.
40587         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40588         (p3): New object.
40589         (__ieee754_powl): Use __powl_helper for finite arguments except
40590         integer exponents below 8.
40591         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40592         (p3): New object.
40593         (__ieee754_powl): Use __powl_helper for finite arguments except
40594         integer exponents below 8.
40595         * math/libm-test.inc (pow_test): Add more tests and enable some
40596         previously disabled tests.
40597         * sysdeps/i386/fpu/libm-test-ulps: Update.
40598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40600 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40601             Carlos O'Donell  <carlos_odonell@mentor.com>
40603         * nss/makedb.c (is_prime): Assert that input is odd and greater
40604         than 4.  Note that fact in a comment too.
40605         (next_prime): Add 4 to input.
40607 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40609         [BZ #11741]
40610         * libio/Makefile (tests): Add test case tst-fwrite-error.
40611         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40612         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40613         * libio/tst-fwrite-error.c: New test case.
40615 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40617         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40618         before casting to void *.
40619         * include/libc-internal.h (__pointer_type): New macro.
40620         (__integer_if_pointer_type_sub): Likewise.
40621         (__integer_if_pointer_type): Likewise.
40622         (cast_to_integer): Likewise.
40623         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40624         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40625         before casting to atomic64_t.
40626         (atomic_exchange_acq): Likewise.
40627         (__arch_exchange_and_add_body): Likewise.
40628         (__arch_add_body): Likewise.
40629         (atomic_add_negative): Likewise.
40630         (atomic_add_zero): Likewise.
40632 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40634         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40635         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40636         (add_fdes): Likewise.
40637         (linear_search_fdes): Likewise.
40638         (binary_search_unencoded_fdes): Likewise.
40640 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40642         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40644 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40646         * configure.in: Autodetect C++ header directories.
40647         * configure: Regenerated.
40649 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40651         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40653 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40657 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40659         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40660         LDBL_MANT_DIG == 106]: Disable some tests.
40661         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40662         Likewise.
40663         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40664         Likewise.
40666         [BZ #14871]
40667         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40668         input for small inputs.  Return +/- pi/2 for large inputs.
40669         * math/libm-test.inc (atan_test): Add more tests.
40671         * sysdeps/generic/unwind-dw2-fde-glibc.c
40672         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40673         __attribute__ ((unused)).
40675         [BZ #14645]
40676         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40677         x * y if x and y are nonzero and z is zero.
40679         [BZ #14811]
40680         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40681         nonzero exponents with absolute value below 0x1p-117 to +/-
40682         0x1p-117.
40684         [BZ #14869]
40685         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40686         up arguments below 2**-450, not just those below 2**-500.
40687         * math/libm-test.inc (hypot_test): Add another test.
40689         [BZ #14868]
40690         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40691         Return a+b for ratio over 2**120, not 2**60.
40692         * math/libm-test.inc (hypot_test): Add another test.
40694         * math/libm-test.inc (clog_test): Use
40695         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40696         (clog10_test): Likewise.
40698         [BZ #6778]
40699         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40701 2012-11-22  Andreas Schwab  <schwab@suse.de>
40703         * sysdeps/i386/fpu/libm-test-ulps: Update.
40705 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40707         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40708         printf output with newline.
40710 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40712         [BZ #14865]
40713         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40714         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40715         -z nodlopen, -z initfirst and -z execstack support.
40716         * configure: Regenerated.
40718         * elf/elf.h (DF_1_NODIRECT): New macro.
40719         (DF_1_IGNMULDEF): Likewise.
40720         (DF_1_NOKSYMS): Likewise.
40721         (DF_1_NOHDR): Likewise.
40722         (DF_1_EDITED): Likewise.
40723         (DF_1_NORELOC): Likewise.
40724         (DF_1_SYMINTPOSE): Likewise.
40725         (DF_1_GLOBAUDIT): Likewise.
40726         (DF_1_SINGLETON): Likewise.
40727         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40728         DT_1_SUPPORTED_MASK bits.
40729         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40731 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40733         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40735 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40737         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40738         macro.
40740         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40741         (sendmmsg): Move declarations...
40742         * socket/sys/socket.h: ... here.
40743         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40744         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40745         include it from...
40746         * socket/recvmmsg.c: ... this new file.
40747         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40748         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40749         definition of __sendmmsg hidden.
40750         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40751         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40752         Move ENOSYS stub into and include it from...
40753         * socket/sendmmsg.c: ... this new file.
40754         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40755         (sysdep_routines): Move recvmmsg and sendmmsg...
40756         * socket/Makefile (routines): ... here.
40757         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40758         (GLIBC_PRIVATE): Add __sendmmsg.
40759         * include/sys/socket.h (__sendmmsg): Add declarations.
40760         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40761         sendmmsg.
40763 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40765         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40766         variable I1 with __attribute__ ((unused)).
40767         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40769 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40771         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40772         DUMMY variables with __attribute__ ((unused)).
40774         * bits/byteswap.h: Include <bits/types.h>.
40775         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40777 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40779         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40780         string_t.  Do not manually set errno.
40781         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40782         length with __strnlen.  Make sure to both set errno and return it on
40783         failure.
40785 2012-11-19  David S. Miller  <davem@davemloft.net>
40787         With help from Joseph Myers.
40788         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40789         very large arguments properly.
40790         * math/libm-test.inc (atan_test): New tests.
40791         (atan2_test): New tests.
40792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40795 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40797         [BZ #14856]
40798         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40799         Define to 3.
40801         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40802         [POSIX] (EADDRNOTAVAIL): Likewise.
40803         [POSIX] (EAFNOSUPPORT): Likewise.
40804         [POSIX] (EALREADY): Likewise.
40805         [POSIX] (ECONNABORTED): Likewise.
40806         [POSIX] (ECONNREFUSED): Likewise.
40807         [POSIX] (ECONNRESET): Likewise.
40808         [POSIX] (EDESTADDRREQ): Likewise.
40809         [POSIX] (EDQUOT): Likewise.
40810         [POSIX] (EHOSTUNREACH): Likewise.
40811         [POSIX] (EIDRM): Likewise.
40812         [POSIX] (EISCONN): Likewise.
40813         [POSIX] (ELOOP): Likewise.
40814         [POSIX] (EMULTIHOP): Likewise.
40815         [POSIX] (ENETDOWN): Likewise.
40816         [POSIX] (ENETUNREACH): Likewise.
40817         [POSIX] (ENOBUFS): Likewise.
40818         [POSIX] (ENODATA): Likewise.
40819         [POSIX] (ENOLINK): Likewise.
40820         [POSIX] (ENOMSG): Likewise.
40821         [POSIX] (ENOPROTOOPT): Likewise.
40822         [POSIX] (ENOSR): Likewise.
40823         [POSIX] (ENOSTR): Likewise.
40824         [POSIX] (ENOTCONN): Likewise.
40825         [POSIX] (ENOTSOCK): Likewise.
40826         [POSIX] (EOPNOTSUPP): Likewise.
40827         [POSIX] (EOVERFLOW): Likewise.
40828         [POSIX] (EPROTO): Likewise.
40829         [POSIX] (EPROTONOSUPPORT): Likewise.
40830         [POSIX] (EPROTOTYPE): Likewise.
40831         [POSIX] (ESTALE): Likewise.
40832         [POSIX] (ETIME): Likewise.
40833         [POSIX] (ETXTBSY): Likewise.
40834         [POSIX] (EWOULDBLOCK): Likewise.
40835         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40836         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40837         [POSIX] (SEEK_CUR): Likewise.
40838         [POSIX] (SEEK_END): Likewise.
40839         [POSIX || UNIX98] (mode_t): Do not require.
40840         [POSIX] (off_t): Likewise.
40841         [POSIX] (pid_t): Likewise.
40842         [POSIX] (sys/stat.h): Do not allow header.
40843         [POSIX] (unistd.h): Likewise.
40844         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40845         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40846         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40847         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40848         require.
40849         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40850         sigevent): Specify elements.
40851         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40852         entry.
40853         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40854         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40856         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40857         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40858         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40859         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40860         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40861         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40862         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40863         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40864         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40865         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40866         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40867         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40868         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40869         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40870         Likewise.
40871         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40872         Likewise.
40873         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40874         Likewise.
40875         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40876         Likewise.
40877         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40878         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40879         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40880         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40881         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40882         Specify lower bound on value.
40883         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40884         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40885         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40886         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40887         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40888         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40889         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40890         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40891         value.
40892         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40893         as optional.
40894         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40895         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40896         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40897         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40898         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40899         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40900         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40901         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40902         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40903         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40904         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40905         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40906         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40907         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40908         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40909         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40910         entry.
40911         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40912         optional.
40913         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40914         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40915         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40916         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40917         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40918         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40919         Likewise.
40920         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40921         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40922         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40923         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40924         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40925         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40926         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40927         as optional.
40928         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40929         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40930         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40931         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40932         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40933         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40934         specify as optional.
40935         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40936         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40937         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40938         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40939         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40940         [XPG3] (NL_LANGMAX): Likewise.
40941         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40942         [POSIX || XPG3] (NL_NMAX): Likewise.
40943         [POSIX || XPG3] (NL_SETMAX): Likewise.
40944         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40945         [XPG3] (NZERO): Likewise.
40946         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40947         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40948         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40949         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40950         (REG_ERANGE): Expect.
40951         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40952         optional-constant.
40953         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40954         Use (void) in prototype.
40955         [POSIX] (*_t): Allow.
40956         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40957         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40958         (WRDE_BADVAL): Expect.
40960         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40961         expect.
40962         [XPG3 || XPG4] (O_RSYNC): Likewise.
40963         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40964         Likewise.
40965         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40966         [XPG3 || XPG4] (sigqueue): Likewise.
40967         [XPG3 || XPG4] (sigtimedwait): Likewise.
40968         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40969         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40970         [XPG3 || XPG4] (vsnprintf): Likewise.
40971         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40972         Likewise.
40973         [XPG3 || XPG4] (blksize_t): Likewise.
40974         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40975         Likewise.
40976         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40977         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40978         [XPG3 || XPG4] (struct itimerspec): Likewise.
40979         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40980         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40981         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40982         [XPG3 || XPG4] (clockid_t): Likewise.
40983         [XPG3 || XPG4] (timer_t): Likewise.
40984         [XPG3 || XPG4] (clock_getres): Likewise.
40985         [XPG3 || XPG4] (clock_gettime): Likewise.
40986         [XPG3 || XPG4] (clock_settime): Likewise.
40987         [XPG3 || XPG4] (nanosleep): Likewise.
40988         [XPG3 || XPG4] (timer_create): Likewise.
40989         [XPG3 || XPG4] (timer_delete): Likewise.
40990         [XPG3 || XPG4] (timer_gettime): Likewise.
40991         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40992         [XPG3 || XPG4] (timer_settime): Likewise.
40993         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40994         [XPG3 || XPG4] (getlogin_r): Likewise.
40995         [XPG3 || XPG4] (pread): Likewise.
40996         [XPG3 || XPG4] (pthread_atfork): Likewise.
40997         [XPG3 || XPG4] (pwrite): Likewise.
40999         [BZ #14835]
41000         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41001         <bits/siginfo.h>.
41003 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41005         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41006         finalizing MALLSTREAM.
41008         * sysdeps/mach/hurd/syncfs.c: New file.
41010 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41012         [BZ #14719]
41013         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41014         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41015         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41016         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41017         (_nss_dns_gethostbyname4_r): Likewise.
41018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41019         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41021 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41023         [BZ #13763]
41024         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41026 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41028         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41029         * elf/cache.c (print_entry): Print ",AArch64" for
41030         FLAG_AARCH64_LIB64
41032         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41033         * elf/cache.c (print_entry): Print ",hard-float" for
41034         FLAG_ARM_LIBHF.
41036 2012-11-18  David S. Miller  <davem@davemloft.net>
41038         With help from Joseph Myers.
41039         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41040         cutoff to 2**-13.
41041         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41042         cutoff to 2**-25.
41043         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41044         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41045         small.
41046         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41047         * math/libm-test.inc (y0_test): New tests.
41048         (y1_test): New tests.
41049         * sysdeps/i386/fpu/libm-test-ulps: Update.
41050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41053 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41055         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41056         64-bit targets.
41057         * configure: Regenerated.
41059 2012-11-17  David S. Miller  <davem@davemloft.net>
41061         [BZ #14811]
41062         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41063         nonzero exponents with absolute value below 0x1p-128 to +/-
41064         0x1p-128.
41066 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41068         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41070         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41072         * posix/getconf-speclist.c: New file.
41073         * posix/posix-envs.def: Likewise.
41074         * posix/confstr.c (START_ENV_GROUP): New macro.
41075         (END_ENV_GROUP): Likewise.
41076         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41077         (KNOWN_PRESENT_ENV_STRING): Likewise.
41078         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41079         (UNKNOWN_ENVIRONMENT): Likewise.
41080         (confstr): Include posix-envs.def instead of handling
41081         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41082         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41083         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41084         (END_ENV_GROUP): Likewise.
41085         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41086         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41087         (UNKNOWN_ENVIRONMENT): Likewise.
41088         (__sysconf): Include posix-envs.def instead of handling associated
41089         cases directly here.
41090         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41091         preprocessing getconf-speclist.c rather than running getconf or
41092         generating empty file.
41094 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41096         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41098 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41100         [BZ #14672]
41101         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41103 2012-11-16  David S. Miller  <davem@davemloft.net>
41105         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41106         smaller than LDBL_EPSILON/2.0L, just return xm1.
41108 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41110         * elf/tst-array1.c (init): Set constructor priority to 1000.
41111         (fini): Set destructor priority to 1000.
41112         * elf/tst-array2dep.c: Likewise.
41114 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41116         [BZ #11741]
41117         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41118         (_IO_new_file_xsputn): Also return EOF if none of the input
41119         data was written when overflow failed.
41120         * libio/iopadn.c (_IO_padn): Likewise.
41121         * libio/iowpadn.c (_IO_wpadn): Likewise.
41122         * stdio-common/tst-put-error.c: Add copyright notice.
41123         (do_test): Add case for printing padded string.
41124         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41125         _IO_padn returned error.
41126         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41127         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41128         return EOF.
41130 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41132         * libio/libioP.h: Add comment note that the references to C++
41133         bits are now obsolete.
41135 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41137         * math/libm-test.inc (check_complex): Use asprintf.
41139 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41141         * debug/pcprofiledump.c (print_version): Update copyright year.
41142         * malloc/memusagestat.c (print_version): Likewise.
41144 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41146         [BZ #14831]
41147         * elf/Makefile (tests): Add tst-audit8.
41148         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41149         ($(objpfx)tst-audit8.out): New target.
41150         (tst-audit8-ENV): New variable.
41151         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41152         audit if l_reloc_result is NULL.
41153         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41154         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41155         * elf/tst-audit8.c: New file.
41157 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41159         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41160         * misc/Makefile (CFLAGS-select.c): Define.
41161         * posix/Makefile (CFLAGS-pause.c): Define.
41163 2012-11-13  David S. Miller  <davem@davemloft.net>
41165         * crypt/Makefile: Move test targets after toplevel Rules
41166         inclusion.  Grab any necessary sysdep routines when linking.
41167         * crypt/md5.c (md5_process_block): Remove define, we will always
41168         name it __md5_process_block.
41169         (md5_finish_ctx): Update md5_process_block call.
41170         (md5_stream): Likewise.
41171         (md5_process_bytes): Likewise.
41172         (md5_process_block): Rename to __md5_process_block and move to ...
41173         * crypt/md5-block.c: ... here.
41174         * crypt/sha256.c (sha256_process_block): Move to ...
41175         * crypt/sha256-block.c: ... here.
41176         * crypt/sha512.c (sha512_process_block): Move to ...
41177         * crypt/sha512-block.c: ... here.
41178         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41179         path.
41180         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41181         * sysdeps/sparc/sparc64/multiarch/Makefile
41182         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41183         crypt subdir.
41184         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41185         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41186         multiarch changes.
41187         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41188         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41189         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41190         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41191         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41192         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41193         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41194         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41195         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41196         file.
41197         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41198         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41199         file.
41200         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41202 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41204         * timezone/tzselect.ksh: Update from tzcode git revision
41205         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41206         * timezone/zdump.c: Likewise.
41207         * timezone/zic.c: Likewise.
41208         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41209         in TZVERSION setting, not $(PKGVERSION).
41210         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41211         REPORT_BUGS_TO settings.
41213         [BZ #14838]
41214         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41215         macro.
41217 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41219         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41220         detection to immediately after _FP_ROUND().
41221         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41222         bits are 0.
41224 2012-11-11  David S. Miller  <davem@davemloft.net>
41226         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41227         inttypes.h
41228         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41229         __close rather than their public counterparts.
41231 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41233         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41234         file.
41235         [UNIX98] (sem_timedwait): Do not expect.
41236         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41237         [XPG4 || UNIX98] (sockatmark): Do not expect.
41238         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41239         (clock_getcpuclockid): Do not expect.
41240         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41241         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41242         Do not expect.
41243         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41244         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41245         [UNIX98] (vwscanf): Likewise.
41246         [UNIX98] (vswscanf): Likewise.
41248 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41250         * timezone/version.h: Remove file.
41251         * timezone/README: Do not refer to version.h.
41252         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41253         $(objpfx)version.h.
41254         ($(objpfx)zdump.o): Likewise.
41255         ($(objpfx)version.h): New target.
41257         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41258         2012i.
41259         * timezone/README: Don't mention modification to tzselect.ksh.
41260         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41261         work on unmodified tzselect.ksh.  Substitute version numbers in
41262         tzselect.ksh.
41264         * Makefile (format-me): Remove.
41265         (INSTALL): Adjust indentation.  Use commands directly instead of
41266         using $(format-me).
41268         * aclocal.m4 (ACX_PKGVERSION): New macro.
41269         (ACX_BUGURL): Likewise.
41270         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41271         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41272         (REPORT_BUGS_TO): Likewise.
41273         * configure: Regenerated.
41274         * config.h.in (PKGVERSION): New macro.
41275         (REPORT_BUGS_TO): Likewise.
41276         * config.make.in (PKGVERSION): New variable.
41277         (PKGVERSION_TEXI): Likewise.
41278         (REPORT_BUGS_TO): Likewise.
41279         (REPORT_BUGS_TEXI): Likewise.
41280         * Makefile (format-me): Use -I$(common-objpfx)manual.
41281         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41282         ($(common-objpfx)manual/%): New target.
41283         (manual/%): Remove target.
41284         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41285         (print_version): Use PKGVERSION.
41286         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41287         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41288         and REPORT_BUGS_TO.
41289         ($(objpfx)xtrace): Likewise.
41290         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41291         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41292         (print_version): Use PKGVERSION.
41293         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41294         (do_version): Use PKGVERSION.
41295         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41296         REPORT_BUGS_TO.
41297         (common-ldd-rewrite): Likewise.
41298         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41299         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41300         (print_version): Use PKGVERSION.
41301         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41302         * elf/pldd.c (argp_program_bug_address): Remove variable.
41303         (more_help): New function.
41304         (argp): Use more_help.
41305         (print_version): Use PKGVERSION.
41306         * elf/sln.c (main): Use PKGVERSION.
41307         (usage): Use REPORT_BUGS_TO.
41308         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41309         (top level): Use PKGVERSION.
41310         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41311         (print_version): Use PKGVERSION.
41312         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41313         (print_version): Use PKGVERSION.
41314         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41315         (print_version): Use PKGVERSION.
41316         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41317         (print_version): Use PKGVERSION.
41318         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41319         (print_version): Use PKGVERSION.
41320         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41321         (print_version): Use PKGVERSION.
41322         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41323         and BUGURL.
41324         ($(objpfx)memusage): Likewise.
41325         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41326         (do_version): Use PKGVERSION.
41327         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41328         (print_version): Use PKGVERSION.
41329         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41330         ($PKGVERSION): New variable.
41331         ($REPORT_BUGS_TO): Likewise.
41332         (usage): Use $REPORT_BUGS_TO.
41333         (top level): Use $PKGVERSION.
41334         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41335         ($(objpfx)pkgvers.texi): New rule.
41336         ($(objpfx)stamp-pkgvers): Likewise.
41337         * manual/install.texi: Include pkgvers.texi.
41338         (--with-pkgversion): Document new configure option.
41339         (--with-bugurl): Likewise.
41340         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41341         than necessarily for this particular distribution.  Use
41342         REPORT_BUGS_TO for where to report bugs.
41343         * INSTALL: Regenerated.
41344         * manual/libc.texinfo: Include pkgvers.texi.
41345         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41346         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41347         (print_version): Use PKGVERSION.
41348         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41349         (print_version): Use PKGVERSION.
41350         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41351         (print_version): Use PKGVERSION.
41352         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41353         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41354         macro.
41355         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41356         (print_version): Use PKGVERSION.
41357         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41358         (print_version): Use PKGVERSION.
41359         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41360         and PKGVERSION.
41362         * timezone/checktab.awk: Update from tzcode 2012i.
41363         * timezone/ialloc.c: Likewise.
41364         * timezone/private.h: Likewise.
41365         * timezone/scheck.c: Likewise.
41366         * timezone/tzfile.h: Likewise.
41367         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41368         (TZVERSION): Hardcode tzcode version number.
41369         * timezone/zdump.c: Update from tzcode 2012i.
41370         * timezone/zic.c: Likewise.
41371         * timezone/version.h: New file.
41372         * timezone/README: Describe version.h.  Update upstream location.
41374         [BZ #14824]
41375         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41376         (mktemp): Enable declaration.
41377         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41378         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41379         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41380         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41381         Likewise.
41382         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41383         Likewise.
41384         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41385         Likewise.
41386         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41387         Likewise.
41388         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41389         Likewise.
41390         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41391         Likewise.
41393         [BZ #14821]
41394         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41395         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41396         for copies of such integer values.
41397         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41398         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41400 2012-11-09  Andreas Jaeger  <aj@suse.de>
41402         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41403         definitions and declarations that are provided by
41404         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41406 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41408         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41409         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41410         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41411         definition.
41413 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41415         * elf/elf.h: Update comment before AArch64 relocations.
41417 2012-11-07  David S. Miller  <davem@davemloft.net>
41419         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41420         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41421         (__start_context): Declare.
41422         (__makecontext_ret): Delete.
41423         (__makecontext): Hook up __start_context instead of
41424         __makecontext_ret.
41425         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41426         (sysdep_routines): Add __start_context when in stdlib.
41428 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41430         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41431         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41432         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41433         hardcoded "nm".
41434         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41435         (READELF): New variable.  Use it instead of hardcoded "readelf".
41437 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41439         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41440         * sysdeps/x86/Makefile: Here.
41441         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41442         * sysdeps/x86/tst-xmmymm.sh: This.
41444 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41446         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41447         expectations.
41448         [UNIX98] (pthread_barrier_t): Do not expect.
41449         [UNIX98] (pthread_barrierattr_t): Likewise.
41450         [UNIX98] (pthread_spinlock_t): Likewise.
41451         [UNIX98] (pthread_barrier_destroy): Likewise.
41452         [UNIX98] (pthread_barrier_init): Likewise.
41453         [UNIX98] (pthread_barrier_wait): Likewise.
41454         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41455         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41456         [UNIX98] (pthread_barrierattr_init): Likewise.
41457         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41458         [UNIX98] (pthread_getcpuclockid): Likewise.
41459         [UNIX98] (pthread_mutex_timedlock): Likewise.
41460         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41461         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41462         [UNIX98] (pthread_sigmask): Likewise.
41463         [UNIX98] (pthread_spin_destroy): Likewise.
41464         [UNIX98] (pthread_spin_init): Likewise.
41465         [UNIX98] (pthread_spin_lock): Likewise.
41466         [UNIX98] (pthread_spin_trylock): Likewise.
41467         [UNIX98] (pthread_spin_unlock): Likewise.
41468         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41469         Do not expect.
41470         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41471         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41472         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41473         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41474         [XPG3 || XPG4] (pthread_key_t): Likewise.
41475         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41476         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41477         [XPG3 || XPG4] (pthread_once_t): Likewise.
41478         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41479         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41480         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41481         [XPG3 || XPG4] (pthread_t): Likewise.
41483         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41484         not expect.
41485         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41487         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41488         Change function return type to int.
41490         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41491         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41492         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41493         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41494         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41495         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41496         [!POSIX] (posix_madvise): Likewise.
41497         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41498         && !UNIX98].
41499         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41500         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41501         (mode_t): Likewise.
41502         (posix_mem_offset): Likewise.
41503         (posix_typed_mem_get_info): Likewise.
41504         (posix_typed_mem_open): Likewise.
41506         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41507         Change condition to [XOPEN2K8].
41509         * conform/conformtest.pl: Preprocess allow-header data with -x c
41510         instead of from stdin.
41511         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41512         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41513         [C99-based standards] (cerfc): Likewise.
41514         [C99-based standards] (cexp2): Likewise.
41515         [C99-based standards] (cexpm1): Likewise.
41516         [C99-based standards] (clog10): Likewise.
41517         [C99-based standards] (clog1p): Likewise.
41518         [C99-based standards] (clog2): Likewise.
41519         [C99-based standards] (clgamma): Likewise.
41520         [C99-based standards] (ctgamma): Likewise.
41521         [C99-based standards] (cerff): Likewise.
41522         [C99-based standards] (cerfcf): Likewise.
41523         [C99-based standards] (cexp2f): Likewise.
41524         [C99-based standards] (cexpm1f): Likewise.
41525         [C99-based standards] (clog10f): Likewise.
41526         [C99-based standards] (clog1pf): Likewise.
41527         [C99-based standards] (clog2f): Likewise.
41528         [C99-based standards] (clgammaf): Likewise.
41529         [C99-based standards] (ctgammaf): Likewise.
41530         [C99-based standards] (cerfl): Likewise.
41531         [C99-based standards] (cerfcl): Likewise.
41532         [C99-based standards] (cexp2l): Likewise.
41533         [C99-based standards] (cexpm1l): Likewise.
41534         [C99-based standards] (clog10l): Likewise.
41535         [C99-based standards] (clog1pl): Likewise.
41536         [C99-based standards] (clog2l): Likewise.
41537         [C99-based standards] (clgammal): Likewise.
41538         [C99-based standards] (ctgammal): Likewise.
41539         * conform/data/inttypes.h-data [C99-based standards]: Include
41540         stdint.h-data.  Remove all expectations for stdint.h contents.
41541         [C99-based standards] (PRI*): Do not allow.
41542         [C99-based standards] (SCN*): Likewise.
41543         [C99-based standards] (*_t): Likewise.
41544         [C99-based-standards] (PRId8): Expect macro.
41545         [C99-based-standards] (PRIi8): Likewise.
41546         [C99-based-standards] (PRIo8): Likewise.
41547         [C99-based-standards] (PRIu8): Likewise.
41548         [C99-based-standards] (PRIx8): Likewise.
41549         [C99-based-standards] (PRIX8): Likewise.
41550         [C99-based-standards] (SCNd8): Likewise.
41551         [C99-based-standards] (SCNi8): Likewise.
41552         [C99-based-standards] (SCNo8): Likewise.
41553         [C99-based-standards] (SCNu8): Likewise.
41554         [C99-based-standards] (SCNx8): Likewise.
41555         [C99-based-standards] (PRIdLEAST8): Likewise.
41556         [C99-based-standards] (PRIiLEAST8): Likewise.
41557         [C99-based-standards] (PRIoLEAST8): Likewise.
41558         [C99-based-standards] (PRIuLEAST8): Likewise.
41559         [C99-based-standards] (PRIxLEAST8): Likewise.
41560         [C99-based-standards] (PRIXLEAST8): Likewise.
41561         [C99-based-standards] (SCNdLEAST8): Likewise.
41562         [C99-based-standards] (SCNiLEAST8): Likewise.
41563         [C99-based-standards] (SCNoLEAST8): Likewise.
41564         [C99-based-standards] (SCNuLEAST8): Likewise.
41565         [C99-based-standards] (SCNxLEAST8): Likewise.
41566         [C99-based-standards] (PRIdFAST8): Likewise.
41567         [C99-based-standards] (PRIiFAST8): Likewise.
41568         [C99-based-standards] (PRIoFAST8): Likewise.
41569         [C99-based-standards] (PRIuFAST8): Likewise.
41570         [C99-based-standards] (PRIxFAST8): Likewise.
41571         [C99-based-standards] (PRIXFAST8): Likewise.
41572         [C99-based-standards] (SCNdFAST8): Likewise.
41573         [C99-based-standards] (SCNiFAST8): Likewise.
41574         [C99-based-standards] (SCNoFAST8): Likewise.
41575         [C99-based-standards] (SCNuFAST8): Likewise.
41576         [C99-based-standards] (SCNxFAST8): Likewise.
41577         [C99-based-standards] (PRId16): Likewise.
41578         [C99-based-standards] (PRIi16): Likewise.
41579         [C99-based-standards] (PRIo16): Likewise.
41580         [C99-based-standards] (PRIu16): Likewise.
41581         [C99-based-standards] (PRIx16): Likewise.
41582         [C99-based-standards] (PRIX16): Likewise.
41583         [C99-based-standards] (SCNd16): Likewise.
41584         [C99-based-standards] (SCNi16): Likewise.
41585         [C99-based-standards] (SCNo16): Likewise.
41586         [C99-based-standards] (SCNu16): Likewise.
41587         [C99-based-standards] (SCNx16): Likewise.
41588         [C99-based-standards] (PRIdLEAST16): Likewise.
41589         [C99-based-standards] (PRIiLEAST16): Likewise.
41590         [C99-based-standards] (PRIoLEAST16): Likewise.
41591         [C99-based-standards] (PRIuLEAST16): Likewise.
41592         [C99-based-standards] (PRIxLEAST16): Likewise.
41593         [C99-based-standards] (PRIXLEAST16): Likewise.
41594         [C99-based-standards] (SCNdLEAST16): Likewise.
41595         [C99-based-standards] (SCNiLEAST16): Likewise.
41596         [C99-based-standards] (SCNoLEAST16): Likewise.
41597         [C99-based-standards] (SCNuLEAST16): Likewise.
41598         [C99-based-standards] (SCNxLEAST16): Likewise.
41599         [C99-based-standards] (PRIdFAST16): Likewise.
41600         [C99-based-standards] (PRIiFAST16): Likewise.
41601         [C99-based-standards] (PRIoFAST16): Likewise.
41602         [C99-based-standards] (PRIuFAST16): Likewise.
41603         [C99-based-standards] (PRIxFAST16): Likewise.
41604         [C99-based-standards] (PRIXFAST16): Likewise.
41605         [C99-based-standards] (SCNdFAST16): Likewise.
41606         [C99-based-standards] (SCNiFAST16): Likewise.
41607         [C99-based-standards] (SCNoFAST16): Likewise.
41608         [C99-based-standards] (SCNuFAST16): Likewise.
41609         [C99-based-standards] (SCNxFAST16): Likewise.
41610         [C99-based-standards] (PRId32): Likewise.
41611         [C99-based-standards] (PRIi32): Likewise.
41612         [C99-based-standards] (PRIo32): Likewise.
41613         [C99-based-standards] (PRIu32): Likewise.
41614         [C99-based-standards] (PRIx32): Likewise.
41615         [C99-based-standards] (PRIX32): Likewise.
41616         [C99-based-standards] (SCNd32): Likewise.
41617         [C99-based-standards] (SCNi32): Likewise.
41618         [C99-based-standards] (SCNo32): Likewise.
41619         [C99-based-standards] (SCNu32): Likewise.
41620         [C99-based-standards] (SCNx32): Likewise.
41621         [C99-based-standards] (PRIdLEAST32): Likewise.
41622         [C99-based-standards] (PRIiLEAST32): Likewise.
41623         [C99-based-standards] (PRIoLEAST32): Likewise.
41624         [C99-based-standards] (PRIuLEAST32): Likewise.
41625         [C99-based-standards] (PRIxLEAST32): Likewise.
41626         [C99-based-standards] (PRIXLEAST32): Likewise.
41627         [C99-based-standards] (SCNdLEAST32): Likewise.
41628         [C99-based-standards] (SCNiLEAST32): Likewise.
41629         [C99-based-standards] (SCNoLEAST32): Likewise.
41630         [C99-based-standards] (SCNuLEAST32): Likewise.
41631         [C99-based-standards] (SCNxLEAST32): Likewise.
41632         [C99-based-standards] (PRIdFAST32): Likewise.
41633         [C99-based-standards] (PRIiFAST32): Likewise.
41634         [C99-based-standards] (PRIoFAST32): Likewise.
41635         [C99-based-standards] (PRIuFAST32): Likewise.
41636         [C99-based-standards] (PRIxFAST32): Likewise.
41637         [C99-based-standards] (PRIXFAST32): Likewise.
41638         [C99-based-standards] (SCNdFAST32): Likewise.
41639         [C99-based-standards] (SCNiFAST32): Likewise.
41640         [C99-based-standards] (SCNoFAST32): Likewise.
41641         [C99-based-standards] (SCNuFAST32): Likewise.
41642         [C99-based-standards] (SCNxFAST32): Likewise.
41643         [C99-based-standards] (PRId64): Likewise.
41644         [C99-based-standards] (PRIi64): Likewise.
41645         [C99-based-standards] (PRIo64): Likewise.
41646         [C99-based-standards] (PRIu64): Likewise.
41647         [C99-based-standards] (PRIx64): Likewise.
41648         [C99-based-standards] (PRIX64): Likewise.
41649         [C99-based-standards] (SCNd64): Likewise.
41650         [C99-based-standards] (SCNi64): Likewise.
41651         [C99-based-standards] (SCNo64): Likewise.
41652         [C99-based-standards] (SCNu64): Likewise.
41653         [C99-based-standards] (SCNx64): Likewise.
41654         [C99-based-standards] (PRIdLEAST64): Likewise.
41655         [C99-based-standards] (PRIiLEAST64): Likewise.
41656         [C99-based-standards] (PRIoLEAST64): Likewise.
41657         [C99-based-standards] (PRIuLEAST64): Likewise.
41658         [C99-based-standards] (PRIxLEAST64): Likewise.
41659         [C99-based-standards] (PRIXLEAST64): Likewise.
41660         [C99-based-standards] (SCNdLEAST64): Likewise.
41661         [C99-based-standards] (SCNiLEAST64): Likewise.
41662         [C99-based-standards] (SCNoLEAST64): Likewise.
41663         [C99-based-standards] (SCNuLEAST64): Likewise.
41664         [C99-based-standards] (SCNxLEAST64): Likewise.
41665         [C99-based-standards] (PRIdFAST64): Likewise.
41666         [C99-based-standards] (PRIiFAST64): Likewise.
41667         [C99-based-standards] (PRIoFAST64): Likewise.
41668         [C99-based-standards] (PRIuFAST64): Likewise.
41669         [C99-based-standards] (PRIxFAST64): Likewise.
41670         [C99-based-standards] (PRIXFAST64): Likewise.
41671         [C99-based-standards] (SCNdFAST64): Likewise.
41672         [C99-based-standards] (SCNiFAST64): Likewise.
41673         [C99-based-standards] (SCNoFAST64): Likewise.
41674         [C99-based-standards] (SCNuFAST64): Likewise.
41675         [C99-based-standards] (SCNxFAST64): Likewise.
41676         [C99-based-standards] (PRIdMAX): Likewise.
41677         [C99-based-standards] (PRIiMAX): Likewise.
41678         [C99-based-standards] (PRIoMAX): Likewise.
41679         [C99-based-standards] (PRIuMAX): Likewise.
41680         [C99-based-standards] (PRIxMAX): Likewise.
41681         [C99-based-standards] (PRIXMAX): Likewise.
41682         [C99-based-standards] (SCNdMAX): Likewise.
41683         [C99-based-standards] (SCNiMAX): Likewise.
41684         [C99-based-standards] (SCNoMAX): Likewise.
41685         [C99-based-standards] (SCNuMAX): Likewise.
41686         [C99-based-standards] (SCNxMAX): Likewise.
41687         [C99-based-standards] (PRIdPTR): Likewise.
41688         [C99-based-standards] (PRIiPTR): Likewise.
41689         [C99-based-standards] (PRIoPTR): Likewise.
41690         [C99-based-standards] (PRIuPTR): Likewise.
41691         [C99-based-standards] (PRIxPTR): Likewise.
41692         [C99-based-standards] (PRIXPTR): Likewise.
41693         [C99-based-standards] (SCNdPTR): Likewise.
41694         [C99-based-standards] (SCNiPTR): Likewise.
41695         [C99-based-standards] (SCNoPTR): Likewise.
41696         [C99-based-standards] (SCNuPTR): Likewise.
41697         [C99-based-standards] (SCNxPTR): Likewise.
41698         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41699         allow.
41700         * conform/data/stdint.h-data: Update comments to clarify
41701         requirements.
41702         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41703         type.
41704         [C99-based standards] (INT8_MAX): Likewise.
41705         [C99-based standards] (INT16_MIN): Likewise.
41706         [C99-based standards] (INT16_MAX): Likewise.
41707         [C99-based standards] (INT32_MIN): Likewise.
41708         [C99-based standards] (INT32_MAX): Likewise.
41709         [C99-based standards] (INT64_MIN): Likewise.
41710         [C99-based standards] (INT64_MAX): Likewise.
41711         [C99-based standards] (UINT8_MAX): Likewise.
41712         [C99-based standards] (UINT16_MAX): Likewise.
41713         [C99-based standards] (UINT32_MAX): Likewise.
41714         [C99-based standards] (UINT64_MAX): Likewise.
41715         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41716         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41717         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41718         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41719         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41720         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41721         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41722         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41723         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41724         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41725         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41726         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41727         [C99-based standards] (INT_FAST8_MIN): Likewise.
41728         [C99-based standards] (INT_FAST8_MAX): Likewise.
41729         [C99-based standards] (INT_FAST16_MIN): Likewise.
41730         [C99-based standards] (INT_FAST16_MAX): Likewise.
41731         [C99-based standards] (INT_FAST32_MIN): Likewise.
41732         [C99-based standards] (INT_FAST32_MAX): Likewise.
41733         [C99-based standards] (INT_FAST64_MIN): Likewise.
41734         [C99-based standards] (INT_FAST64_MAX): Likewise.
41735         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41736         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41737         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41738         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41739         [C99-based standards] (INTPTR_MIN): Likewise.
41740         [C99-based standards] (INTPTR_MAX): Likewise.
41741         [C99-based standards] (UINTPTR_MAX): Likewise.
41742         [C99-based standards] (INTMAX_MIN): Likewise.
41743         [C99-based standards] (INTMAX_MAX): Likewise.
41744         [C99-based standards] (UINTMAX_MAX): Likewise.
41745         [C99-based standards] (PTRDIFF_MIN): Likewise.
41746         [C99-based standards] (PTRDIFF_MAX): Likewise.
41747         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41748         [C99-based standards] (SIZE_MAX): Likewise.
41749         [C99-based standards] (WCHAR_MAX): Likewise.
41750         [C99-based standards] (WINT_MAX): Likewise.
41751         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41752         constraint on value.
41753         [C99-based standards] (WCHAR_MIN): Likewise.
41754         [C99-based standards] (WINT_MIN): Likewise.
41755         [C99-based standards] (*_t): Allow.
41756         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41757         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41758         Include math.h-data and complex.h-data.  Remove all expectations
41759         of math.h and complex.h contents.
41760         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41761         at end of line.
41762         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41763         (struct tm): Expect tag.
41764         [C99-based-standards] (wcstof): Expect function.
41765         [C99-based-standards] (wcstold): Likewise.
41766         [C99-based-standards] (wcstoll): Likewise.
41767         [C99-based-standards] (wcstoull): Likewise.
41768         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41769         macro-int-constant.  Specify type.
41770         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41771         constraint on value.
41772         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41773         Specify type.
41774         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41775         Specify value.
41776         [ISO C standards]: Do not allow headers.
41777         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41778         wcs[abcdefghijklmnopqrstuvwxyz]*.
41779         [ISO C standards] (*_t): Do not allow.
41780         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41781         Expect function.
41782         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41783         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41784         Specify type.
41785         [ISO C standards]: Do not allow headers.
41786         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41787         is[abcdefghijklmnopqrstuvwxyz]*.
41788         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41789         to[abcdefghijklmnopqrstuvwxyz]*.
41790         [ISO C standards] (*_t): Do not allow.
41791         * conform/data/stdalign.h-data: New file.
41792         * conform/data/stdbool.h-data: Likewise.
41793         * conform/data/stdnoreturn.h-data: Likewise.
41795 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41797         [BZ #14815]
41798         * manual/filesys.texi (Directory Entries): Typo fix.
41799         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41801 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41803         * elf/elf.h (EM_AARCH64): New macro.
41804         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41805         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41806         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41807         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41808         (R_AARCH64_TLSDESC): Likewise.
41809         (NT_ARM_TLS): Likewise.
41810         (NT_ARM_HW_BREAK): Likewise.
41811         (NT_ARM_HW_WATCH): Likewise.
41813 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41815         [BZ #14811]
41816         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41817         (__ieee754_powl): Saturate nonzero exponents with absolute value
41818         below 0x1p-79 to +/- 0x1p-79.
41819         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41820         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41821         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41822         nonzero exponents with absolute value below 0x1p-32 to +/-
41823         0x1p-32.
41824         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41825         (__ieee754_powl): Saturate nonzero exponents with absolute value
41826         below 0x1p-79 to +/- 0x1p-79.
41827         * math/libm-test.inc (pow_test): Add more tests.
41829 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41831         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41832         _dl_s390_cap_flags with kernel. Increase string length.
41833         (_dl_s390_platforms): Add z196 and zEC12.
41835 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41837         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41838         Change XOPEN21K to XOPEN2K.
41840 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41842         * string/memmove.c: Use memcpy when possible.
41844 2012-11-06  Andreas Jaeger  <aj@suse.de>
41846         * po/eo.po: Update from translation team.
41848 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41850         [BZ #14793]
41851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41852         exponent and small x and y exponents, scale x or y up.  Increase
41853         by 2 the exponent used in scaling up.
41854         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41855         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41856         * math/libm-test.inc (fma_test): Add more tests.
41857         (fma_test_towardzero): Likewise.
41858         (fma_test_downward): Likewise.
41859         (fma_test_upward): Likewise.
41861 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41863         [BZ #14805]
41864         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41865         fenv_t *.
41867         [BZ #14801]
41868         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41869         namespace for names of struct fields.
41870         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41871         fenv_t fields.
41872         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41873         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41875 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41877         [BZ #3665]
41878         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41880 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41882         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41883         PTR_DEMANGLE.
41885         [BZ #5246]
41886         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41887         PTR_DEMANGLE.
41889 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41891         [BZ #14797]
41892         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41893         definitely overflow as x * y not x * y + z.
41894         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41895         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41896         * math/libm-test.inc (fma_test): Add more tests.
41897         (fma_test_towardzero): Likewise.
41898         (fma_test_downward): Likewise.
41899         (fma_test_upward): Likewise.
41901 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41903         [BZ #157]
41905         * include/stub-tag.h: Remove file.
41906         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41907         '#include' of it.
41908         * manual/maint.texi (Porting): Don't reference it.
41909         * Makerules ($(objpfx)stubs): Likewise.
41910         * dirent/closedir.c: Don't include <stub-tag.h>.
41911         * dirent/dirfd.c: Likewise.
41912         * dirent/fdopendir.c: Likewise.
41913         * dirent/getdents.c: Likewise.
41914         * dirent/getdents64.c: Likewise.
41915         * dirent/opendir.c: Likewise.
41916         * dirent/readdir.c: Likewise.
41917         * dirent/readdir64.c: Likewise.
41918         * dirent/readdir64_r.c: Likewise.
41919         * dirent/readdir_r.c: Likewise.
41920         * dirent/rewinddir.c: Likewise.
41921         * dirent/seekdir.c: Likewise.
41922         * dirent/telldir.c: Likewise.
41923         * gmon/profil.c: Likewise.
41924         * grp/setgroups.c: Likewise.
41925         * inet/if_index.c: Likewise.
41926         * io/access.c: Likewise.
41927         * io/chdir.c: Likewise.
41928         * io/chmod.c: Likewise.
41929         * io/chown.c: Likewise.
41930         * io/close.c: Likewise.
41931         * io/dup.c: Likewise.
41932         * io/dup2.c: Likewise.
41933         * io/dup3.c: Likewise.
41934         * io/euidaccess.c: Likewise.
41935         * io/faccessat.c: Likewise.
41936         * io/fchdir.c: Likewise.
41937         * io/fchmod.c: Likewise.
41938         * io/fchmodat.c: Likewise.
41939         * io/fchown.c: Likewise.
41940         * io/fchownat.c: Likewise.
41941         * io/fcntl.c: Likewise.
41942         * io/flock.c: Likewise.
41943         * io/fstatfs.c: Likewise.
41944         * io/fstatfs64.c: Likewise.
41945         * io/fstatvfs.c: Likewise.
41946         * io/fstatvfs64.c: Likewise.
41947         * io/futimens.c: Likewise.
41948         * io/fxstat.c: Likewise.
41949         * io/fxstat64.c: Likewise.
41950         * io/fxstatat.c: Likewise.
41951         * io/fxstatat64.c: Likewise.
41952         * io/getcwd.c: Likewise.
41953         * io/isatty.c: Likewise.
41954         * io/lchmod.c: Likewise.
41955         * io/lchown.c: Likewise.
41956         * io/link.c: Likewise.
41957         * io/linkat.c: Likewise.
41958         * io/lseek.c: Likewise.
41959         * io/lseek64.c: Likewise.
41960         * io/lxstat64.c: Likewise.
41961         * io/mkdir.c: Likewise.
41962         * io/mkdirat.c: Likewise.
41963         * io/mkfifo.c: Likewise.
41964         * io/mkfifoat.c: Likewise.
41965         * io/open.c: Likewise.
41966         * io/open64.c: Likewise.
41967         * io/openat.c: Likewise.
41968         * io/openat64.c: Likewise.
41969         * io/pipe.c: Likewise.
41970         * io/pipe2.c: Likewise.
41971         * io/poll.c: Likewise.
41972         * io/posix_fadvise.c: Likewise.
41973         * io/posix_fadvise64.c: Likewise.
41974         * io/posix_fallocate.c: Likewise.
41975         * io/posix_fallocate64.c: Likewise.
41976         * io/read.c: Likewise.
41977         * io/readlink.c: Likewise.
41978         * io/readlinkat.c: Likewise.
41979         * io/rmdir.c: Likewise.
41980         * io/sendfile.c: Likewise.
41981         * io/sendfile64.c: Likewise.
41982         * io/statfs.c: Likewise.
41983         * io/statfs64.c: Likewise.
41984         * io/statvfs.c: Likewise.
41985         * io/statvfs64.c: Likewise.
41986         * io/symlink.c: Likewise.
41987         * io/symlinkat.c: Likewise.
41988         * io/ttyname.c: Likewise.
41989         * io/ttyname_r.c: Likewise.
41990         * io/umask.c: Likewise.
41991         * io/unlink.c: Likewise.
41992         * io/unlinkat.c: Likewise.
41993         * io/utime.c: Likewise.
41994         * io/utimensat.c: Likewise.
41995         * io/write.c: Likewise.
41996         * io/xmknod.c: Likewise.
41997         * io/xmknodat.c: Likewise.
41998         * io/xstat.c: Likewise.
41999         * io/xstat64.c: Likewise.
42000         * login/getpt.c: Likewise.
42001         * login/grantpt.c: Likewise.
42002         * login/unlockpt.c: Likewise.
42003         * math/e_acoshl.c: Likewise.
42004         * math/e_acosl.c: Likewise.
42005         * math/e_asinl.c: Likewise.
42006         * math/e_atan2l.c: Likewise.
42007         * math/e_atanhl.c: Likewise.
42008         * math/e_coshl.c: Likewise.
42009         * math/e_expl.c: Likewise.
42010         * math/e_fmodl.c: Likewise.
42011         * math/e_gammal_r.c: Likewise.
42012         * math/e_hypotl.c: Likewise.
42013         * math/e_j0l.c: Likewise.
42014         * math/e_j1l.c: Likewise.
42015         * math/e_jnl.c: Likewise.
42016         * math/e_lgammal_r.c: Likewise.
42017         * math/e_log10l.c: Likewise.
42018         * math/e_log2l.c: Likewise.
42019         * math/e_logl.c: Likewise.
42020         * math/e_powl.c: Likewise.
42021         * math/e_rem_pio2l.c: Likewise.
42022         * math/e_sinhl.c: Likewise.
42023         * math/e_sqrtl.c: Likewise.
42024         * math/fclrexcpt.c: Likewise.
42025         * math/fedisblxcpt.c: Likewise.
42026         * math/feenablxcpt.c: Likewise.
42027         * math/fegetenv.c: Likewise.
42028         * math/fegetexcept.c: Likewise.
42029         * math/fegetround.c: Likewise.
42030         * math/feholdexcpt.c: Likewise.
42031         * math/fesetenv.c: Likewise.
42032         * math/fesetround.c: Likewise.
42033         * math/feupdateenv.c: Likewise.
42034         * math/fgetexcptflg.c: Likewise.
42035         * math/fraiseexcpt.c: Likewise.
42036         * math/fsetexcptflg.c: Likewise.
42037         * math/ftestexcept.c: Likewise.
42038         * math/k_cosl.c: Likewise.
42039         * math/k_rem_pio2l.c: Likewise.
42040         * math/k_sinl.c: Likewise.
42041         * math/k_tanl.c: Likewise.
42042         * math/s_asinhl.c: Likewise.
42043         * math/s_atanl.c: Likewise.
42044         * math/s_cbrtl.c: Likewise.
42045         * math/s_erfl.c: Likewise.
42046         * math/s_expm1l.c: Likewise.
42047         * math/s_log1pl.c: Likewise.
42048         * math/s_tanhl.c: Likewise.
42049         * misc/acct.c: Likewise.
42050         * misc/brk.c: Likewise.
42051         * misc/chflags.c: Likewise.
42052         * misc/chroot.c: Likewise.
42053         * misc/fchflags.c: Likewise.
42054         * misc/fgetxattr.c: Likewise.
42055         * misc/flistxattr.c: Likewise.
42056         * misc/fremovexattr.c: Likewise.
42057         * misc/fsetxattr.c: Likewise.
42058         * misc/fsync.c: Likewise.
42059         * misc/ftruncate.c: Likewise.
42060         * misc/futimes.c: Likewise.
42061         * misc/futimesat.c: Likewise.
42062         * misc/getdomain.c: Likewise.
42063         * misc/getdtsz.c: Likewise.
42064         * misc/gethostid.c: Likewise.
42065         * misc/gethostname.c: Likewise.
42066         * misc/getloadavg.c: Likewise.
42067         * misc/getpagesize.c: Likewise.
42068         * misc/getsysstats.c: Likewise.
42069         * misc/getxattr.c: Likewise.
42070         * misc/gtty.c: Likewise.
42071         * misc/ioctl.c: Likewise.
42072         * misc/lgetxattr.c: Likewise.
42073         * misc/listxattr.c: Likewise.
42074         * misc/llistxattr.c: Likewise.
42075         * misc/lremovexattr.c: Likewise.
42076         * misc/lsetxattr.c: Likewise.
42077         * misc/lutimes.c: Likewise.
42078         * misc/madvise.c: Likewise.
42079         * misc/mincore.c: Likewise.
42080         * misc/mlock.c: Likewise.
42081         * misc/mlockall.c: Likewise.
42082         * misc/mmap.c: Likewise.
42083         * misc/mprotect.c: Likewise.
42084         * misc/msync.c: Likewise.
42085         * misc/munlock.c: Likewise.
42086         * misc/munlockall.c: Likewise.
42087         * misc/munmap.c: Likewise.
42088         * misc/preadv.c: Likewise.
42089         * misc/preadv64.c: Likewise.
42090         * misc/ptrace.c: Likewise.
42091         * misc/pwritev.c: Likewise.
42092         * misc/pwritev64.c: Likewise.
42093         * misc/readv.c: Likewise.
42094         * misc/reboot.c: Likewise.
42095         * misc/remap_file_pages.c: Likewise.
42096         * misc/removexattr.c: Likewise.
42097         * misc/revoke.c: Likewise.
42098         * misc/select.c: Likewise.
42099         * misc/setdomain.c: Likewise.
42100         * misc/setegid.c: Likewise.
42101         * misc/seteuid.c: Likewise.
42102         * misc/sethostid.c: Likewise.
42103         * misc/sethostname.c: Likewise.
42104         * misc/setregid.c: Likewise.
42105         * misc/setreuid.c: Likewise.
42106         * misc/setxattr.c: Likewise.
42107         * misc/sstk.c: Likewise.
42108         * misc/stty.c: Likewise.
42109         * misc/swapoff.c: Likewise.
42110         * misc/swapon.c: Likewise.
42111         * misc/sync.c: Likewise.
42112         * misc/syncfs.c: Likewise.
42113         * misc/syscall.c: Likewise.
42114         * misc/truncate.c: Likewise.
42115         * misc/ualarm.c: Likewise.
42116         * misc/usleep.c: Likewise.
42117         * misc/ustat.c: Likewise.
42118         * misc/utimes.c: Likewise.
42119         * misc/vhangup.c: Likewise.
42120         * misc/writev.c: Likewise.
42121         * posix/_exit.c: Likewise.
42122         * posix/alarm.c: Likewise.
42123         * posix/execve.c: Likewise.
42124         * posix/fexecve.c: Likewise.
42125         * posix/fork.c: Likewise.
42126         * posix/fpathconf.c: Likewise.
42127         * posix/getaddrinfo.c: Likewise.
42128         * posix/getegid.c: Likewise.
42129         * posix/geteuid.c: Likewise.
42130         * posix/getgid.c: Likewise.
42131         * posix/getgroups.c: Likewise.
42132         * posix/getlogin.c: Likewise.
42133         * posix/getlogin_r.c: Likewise.
42134         * posix/getpgid.c: Likewise.
42135         * posix/getpid.c: Likewise.
42136         * posix/getppid.c: Likewise.
42137         * posix/getresgid.c: Likewise.
42138         * posix/getresuid.c: Likewise.
42139         * posix/getsid.c: Likewise.
42140         * posix/getuid.c: Likewise.
42141         * posix/glob64.c: Likewise.
42142         * posix/nanosleep.c: Likewise.
42143         * posix/pathconf.c: Likewise.
42144         * posix/pause.c: Likewise.
42145         * posix/posix_madvise.c: Likewise.
42146         * posix/pread.c: Likewise.
42147         * posix/pread64.c: Likewise.
42148         * posix/pwrite.c: Likewise.
42149         * posix/pwrite64.c: Likewise.
42150         * posix/sched_getaffinity.c: Likewise.
42151         * posix/sched_getp.c: Likewise.
42152         * posix/sched_gets.c: Likewise.
42153         * posix/sched_primax.c: Likewise.
42154         * posix/sched_primin.c: Likewise.
42155         * posix/sched_rr_gi.c: Likewise.
42156         * posix/sched_setaffinity.c: Likewise.
42157         * posix/sched_setp.c: Likewise.
42158         * posix/sched_sets.c: Likewise.
42159         * posix/sched_yield.c: Likewise.
42160         * posix/setgid.c: Likewise.
42161         * posix/setlogin.c: Likewise.
42162         * posix/setpgid.c: Likewise.
42163         * posix/setresgid.c: Likewise.
42164         * posix/setresuid.c: Likewise.
42165         * posix/setsid.c: Likewise.
42166         * posix/setuid.c: Likewise.
42167         * posix/sleep.c: Likewise.
42168         * posix/spawni.c: Likewise.
42169         * posix/sysconf.c: Likewise.
42170         * posix/times.c: Likewise.
42171         * posix/wait.c: Likewise.
42172         * posix/wait3.c: Likewise.
42173         * posix/wait4.c: Likewise.
42174         * posix/waitpid.c: Likewise.
42175         * resolv/gai_sigqueue.c: Likewise.
42176         * resource/getpriority.c: Likewise.
42177         * resource/getrlimit.c: Likewise.
42178         * resource/getrusage.c: Likewise.
42179         * resource/nice.c: Likewise.
42180         * resource/setpriority.c: Likewise.
42181         * resource/setrlimit.c: Likewise.
42182         * resource/ulimit.c: Likewise.
42183         * rt/aio_cancel.c: Likewise.
42184         * rt/aio_fsync.c: Likewise.
42185         * rt/aio_read.c: Likewise.
42186         * rt/aio_sigqueue.c: Likewise.
42187         * rt/aio_suspend.c: Likewise.
42188         * rt/aio_write.c: Likewise.
42189         * rt/clock_getres.c: Likewise.
42190         * rt/clock_gettime.c: Likewise.
42191         * rt/clock_nanosleep.c: Likewise.
42192         * rt/clock_settime.c: Likewise.
42193         * rt/lio_listio.c: Likewise.
42194         * rt/mq_close.c: Likewise.
42195         * rt/mq_getattr.c: Likewise.
42196         * rt/mq_notify.c: Likewise.
42197         * rt/mq_open.c: Likewise.
42198         * rt/mq_receive.c: Likewise.
42199         * rt/mq_send.c: Likewise.
42200         * rt/mq_setattr.c: Likewise.
42201         * rt/mq_timedreceive.c: Likewise.
42202         * rt/mq_timedsend.c: Likewise.
42203         * rt/mq_unlink.c: Likewise.
42204         * rt/shm_open.c: Likewise.
42205         * rt/shm_unlink.c: Likewise.
42206         * rt/timer_create.c: Likewise.
42207         * rt/timer_delete.c: Likewise.
42208         * rt/timer_getoverr.c: Likewise.
42209         * rt/timer_gettime.c: Likewise.
42210         * rt/timer_settime.c: Likewise.
42211         * setjmp/__longjmp.c: Likewise.
42212         * setjmp/setjmp.c: Likewise.
42213         * signal/kill.c: Likewise.
42214         * signal/killpg.c: Likewise.
42215         * signal/raise.c: Likewise.
42216         * signal/sigaction.c: Likewise.
42217         * signal/sigaltstack.c: Likewise.
42218         * signal/sigblock.c: Likewise.
42219         * signal/sigignore.c: Likewise.
42220         * signal/sigintr.c: Likewise.
42221         * signal/signal.c: Likewise.
42222         * signal/sigpause.c: Likewise.
42223         * signal/sigpending.c: Likewise.
42224         * signal/sigqueue.c: Likewise.
42225         * signal/sigreturn.c: Likewise.
42226         * signal/sigset.c: Likewise.
42227         * signal/sigsetmask.c: Likewise.
42228         * signal/sigstack.c: Likewise.
42229         * signal/sigsuspend.c: Likewise.
42230         * signal/sigtimedwait.c: Likewise.
42231         * signal/sigvec.c: Likewise.
42232         * signal/sigwait.c: Likewise.
42233         * signal/sigwaitinfo.c: Likewise.
42234         * signal/sysv_signal.c: Likewise.
42235         * socket/accept.c: Likewise.
42236         * socket/accept4.c: Likewise.
42237         * socket/bind.c: Likewise.
42238         * socket/connect.c: Likewise.
42239         * socket/getpeername.c: Likewise.
42240         * socket/getsockname.c: Likewise.
42241         * socket/getsockopt.c: Likewise.
42242         * socket/isfdtype.c: Likewise.
42243         * socket/listen.c: Likewise.
42244         * socket/recv.c: Likewise.
42245         * socket/recvfrom.c: Likewise.
42246         * socket/recvmsg.c: Likewise.
42247         * socket/send.c: Likewise.
42248         * socket/sendmsg.c: Likewise.
42249         * socket/sendto.c: Likewise.
42250         * socket/setsockopt.c: Likewise.
42251         * socket/shutdown.c: Likewise.
42252         * socket/sockatmark.c: Likewise.
42253         * socket/socket.c: Likewise.
42254         * socket/socketpair.c: Likewise.
42255         * stdio-common/ctermid.c: Likewise.
42256         * stdio-common/cuserid.c: Likewise.
42257         * stdio-common/remove.c: Likewise.
42258         * stdio-common/rename.c: Likewise.
42259         * stdio-common/renameat.c: Likewise.
42260         * stdio-common/tempname.c: Likewise.
42261         * stdlib/getcontext.c: Likewise.
42262         * stdlib/makecontext.c: Likewise.
42263         * stdlib/setcontext.c: Likewise.
42264         * stdlib/swapcontext.c: Likewise.
42265         * stdlib/system.c: Likewise.
42266         * streams/fattach.c: Likewise.
42267         * streams/fdetach.c: Likewise.
42268         * streams/getmsg.c: Likewise.
42269         * streams/getpmsg.c: Likewise.
42270         * streams/putmsg.c: Likewise.
42271         * streams/putpmsg.c: Likewise.
42272         * sysdeps/unix/bsd/getpt.c: Likewise.
42273         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42274         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42275         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42277         Likewise.
42278         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42279         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42280         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42281         * sysvipc/msgctl.c: Likewise.
42282         * sysvipc/msgget.c: Likewise.
42283         * sysvipc/msgrcv.c: Likewise.
42284         * sysvipc/msgsnd.c: Likewise.
42285         * sysvipc/semctl.c: Likewise.
42286         * sysvipc/semget.c: Likewise.
42287         * sysvipc/semop.c: Likewise.
42288         * sysvipc/semtimedop.c: Likewise.
42289         * sysvipc/shmat.c: Likewise.
42290         * sysvipc/shmctl.c: Likewise.
42291         * sysvipc/shmdt.c: Likewise.
42292         * sysvipc/shmget.c: Likewise.
42293         * termios/tcdrain.c: Likewise.
42294         * termios/tcflow.c: Likewise.
42295         * termios/tcflush.c: Likewise.
42296         * termios/tcgetattr.c: Likewise.
42297         * termios/tcgetpgrp.c: Likewise.
42298         * termios/tcsendbrk.c: Likewise.
42299         * termios/tcsetattr.c: Likewise.
42300         * termios/tcsetpgrp.c: Likewise.
42301         * time/adjtime.c: Likewise.
42302         * time/clock.c: Likewise.
42303         * time/getitimer.c: Likewise.
42304         * time/gettimeofday.c: Likewise.
42305         * time/setitimer.c: Likewise.
42306         * time/settimeofday.c: Likewise.
42307         * time/stime.c: Likewise.
42308         * time/time.c: Likewise.
42310 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42312         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42313         /usr/old/bin.
42315         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42316         instead of spaces.
42317         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42319 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42321         [BZ #14796]
42322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42323         FE_TONEAREST before applying Dekker multiplication and Knuth
42324         addition.  Clear inexact exceptions and check for exact zero
42325         results afterwards.
42326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42327         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42328         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42329         * math/libm-test.inc (fma_test): Add more tests.
42330         (fma_test_towardzero): Likewise.
42331         (fma_test_downward): Likewise.
42332         (fma_test_upward): Likewise.
42333         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42334         function.
42335         (libc_fesetround): New macro.
42336         (libc_fesetroundf): Likewise.
42337         (libc_fesetroundl): Likewise.
42338         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42339         function.
42340         (libc_fesetround_387): Likewise.
42341         (libc_fesetroundf): New macro.
42342         (libc_fesetround): Likewise.
42343         (libc_fesetroundl): Likewise.
42344         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42345         function.
42346         (libc_fesetroundf): New macro.
42347         (libc_fesetround): Likewise.
42348         (libc_fesetroundl): Likewise.
42349         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42350         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42351         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42352         libm_hidden_ver.
42353         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42354         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42355         libm_hidden_def.
42356         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42357         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42358         libm_hidden_ver.
42359         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42360         libm_hidden_def.
42362         [BZ #3439]
42363         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42364         integer constant usable in #if and use that to give value to enum
42365         constant.
42366         (FE_DIVBYZERO): Likewise.
42367         (FE_UNDERFLOW): Likewise.
42368         (FE_OVERFLOW): Likewise.
42369         (FE_INVALID): Likewise.
42370         (FE_INVALID_SNAN): Likewise.
42371         (FE_INVALID_ISI): Likewise.
42372         (FE_INVALID_IDI): Likewise.
42373         (FE_INVALID_ZDZ): Likewise.
42374         (FE_INVALID_IMZ): Likewise.
42375         (FE_INVALID_COMPARE): Likewise.
42376         (FE_INVALID_SOFTWARE): Likewise.
42377         (FE_INVALID_SQRT): Likewise.
42378         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42379         (FE_TONEAREST): Likewise.
42380         (FE_TOWARDZERO): Likewise.
42381         (FE_UPWARD): Likewise.
42382         (FE_DOWNWARD): Likewise.
42383         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42384         (FE_DIVBYZERO): Likewise.
42385         (FE_OVERFLOW): Likewise.
42386         (FE_UNDERFLOW): Likewise.
42387         (FE_INEXACT): Likewise.
42388         (FE_TONEAREST): Likewise.
42389         (FE_DOWNWARD): Likewise.
42390         (FE_UPWARD): Likewise.
42391         (FE_TOWARDZERO): Likewise.
42392         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42393         (FE_UNDERFLOW): Likewise.
42394         (FE_OVERFLOW): Likewise.
42395         (FE_DIVBYZERO): Likewise.
42396         (FE_INVALID): Likewise.
42397         (FE_TONEAREST): Likewise.
42398         (FE_TOWARDZERO): Likewise.
42399         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42400         (FE_OVERFLOW): Likewise.
42401         (FE_UNDERFLOW): Likewise.
42402         (FE_DIVBYZERO): Likewise.
42403         (FE_INEXACT): Likewise.
42404         (FE_TONEAREST): Likewise.
42405         (FE_TOWARDZERO): Likewise.
42406         (FE_UPWARD): Likewise.
42407         (FE_DOWNWARD): Likewise.
42408         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42409         (FE_DIVBYZERO): Likewise.
42410         (FE_OVERFLOW): Likewise.
42411         (FE_UNDERFLOW): Likewise.
42412         (FE_INEXACT): Likewise.
42413         (FE_TONEAREST): Likewise.
42414         (FE_DOWNWARD): Likewise.
42415         (FE_UPWARD): Likewise.
42416         (FE_TOWARDZERO): Likewise.
42418 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42420         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42422 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42424         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42425         commands.  Quote $PWD.
42426         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42427         -x" by "export".
42428         (remove_newlines): Remove.
42430 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42432         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42433         * stdlib/stdlib.h (atof): Moved to ...
42434         * include/bits/stdlib-float.h: Here.  New file.
42435         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42436         * stdlib/bits/stdlib-float.h: New file.
42437         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42438         -mno-sse -mno-mmx.
42439         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42440         <xmmintrin.h>.
42442 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42444         * conform/conformtest.pl (@headers): Add fenv.h.
42445         * conform/data/fenv.h-data: New file.
42446         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42447         include of <math/fenv.h>.
42449         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42450         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42451         && !UNIX98].  Enables tests for XOPEN2K8.
42452         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42453         POSIX2008]: Likewise.
42455         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42456         (struct rusage): Do not expect type or its members.
42458         [BZ #3439]
42459         * math/math.h (FP_NAN): Define macro to integer constant usable in
42460         #if and use that to give value to enum constant.
42461         (FP_INFINITE): Likewise.
42462         (FP_ZERO): Likewise.
42463         (FP_SUBNORMAL): Likewise.
42464         (FP_NORMAL): Likewise.
42466 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42468         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42469         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42470         arguments.
42472 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42474         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42475         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42476         autoconf-time if not.
42477         * configure.in: Remove AC_PREREQ.
42479 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42481         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42482         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42483         of the internal implementation.
42485 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42487         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42488         except include of <misc/sys/syslog.h>.
42490 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42493         function returns with a NULL context exit with zero.
42495 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42497         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42499 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42501         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42502         (run_program_cmd): This.
42503         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42504         (tst_langinfo): New variable.  Use it.
42506 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42508         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42509         floating point opcodes.
42511 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42513         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42514         variable.
42516         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42518         * sysdeps/mach/hurd/powerpc: Remove directory.
42519         * sysdeps/mach/powerpc: Likewise.
42521 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42523         * scripts/check-local-headers.sh: Ignore c++ headers.
42525 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42527         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42528         __libc_cleanup_region_start argument.
42530 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42532         [BZ #14784]
42533         [BZ #14785]
42534         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42535         x * y using scaling, not as x * y + z.
42536         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42537         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42538         * math/libm-test.inc (fma_test): Add more tests.
42539         (fma_test_towardzero): Likewise.
42540         (fma_test_downward): Likewise.
42541         (fma_test_upward): Likewise.
42543 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42545         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42547 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42549         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42550         New variable.
42552 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42554         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42556 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42559         Fix sort order.
42560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42561         Likewise.
42563 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42566         Fix the order of the list for glibc 2.17.
42567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42568         Likewise.
42570 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42574 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42576         [BZ #14610]
42577         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42578         for low part of x being zero before using __atanl (y).
42579         * math/libm-test.inc (atan2_test): Add another test.
42581         * manual/install.texi (Configuring and compiling): Document
42582         general use of test-wrapper and test-wrapper-env.
42583         * INSTALL: Regenerated.
42585         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42586         (__fma): Do not extract and scale down low bits on after-rounding
42587         systems when result rounded to normal precision would have normal
42588         exponent.
42589         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42590         (__fmal): Do not extract and scale down low bits on after-rounding
42591         systems when result rounded to normal precision would have normal
42592         exponent.
42593         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42594         (__fmal): Do not extract and scale down low bits on after-rounding
42595         systems when result rounded to normal precision would have normal
42596         exponent.
42597         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42598         macro.
42599         (fma_test): Add more tests.
42600         (fma_test_towardzero): Likewise.
42601         (fma_test_downward): Likewise.
42602         (fma_test_upward): Likewise.
42604 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42606         * sysdeps/i386/tininess.h: Renamed to ...
42607         * sysdeps/x86/tininess.h: This.
42608         * sysdeps/x86_64/tininess.h: Removed.
42610 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42612         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42613         input.  Use $(build-program-cmd).
42614         ($(objpfx)tst-array1-static.out): Likewise.
42615         ($(objpfx)tst-array2.out): Likewise.
42616         ($(objpfx)tst-array3.out): Likewise.
42617         ($(objpfx)tst-array4.out): Likewise.
42618         ($(objpfx)tst-array5.out): Likewise.
42619         ($(objpfx)tst-array5-static.out): Likewise.
42621 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42623         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42624         if defined.
42626         * nss/nsswitch.h (nss_interface_function): Provide new
42627         macro for use with NSS functions.
42628         * grp/initgroups.c: Use new macro.
42629         * nss/getXXbyYY.c: Likewise.
42630         * nss/getXXbyYY_r.c: Likewise.
42631         * nss/getXXent.c: Likewise.
42632         * nss/getXXent_r.c: Likewise.
42633         * sysdeps/posix/getaddrinfo.c: Likewise.
42635 2012-10-30  Andreas Jaeger  <aj@suse.de>
42637         * po/ru.po: Update Russion translation from translation project.
42639 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42641         [BZ #14152]
42642         [BZ #14783]
42643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42644         result and shift together with sticky bit instead of replicating
42645         round-to-nearest rounding.
42646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42647         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42648         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42649         missing underflow exceptions.
42650         (fma_test_towardzero): Add more tests.
42651         (fma_test_downward): Likewise.
42652         (fma_test_upward): Likewise.
42654         [BZ #14047]
42655         * sysdeps/generic/tininess.h: New file.
42656         * sysdeps/i386/tininess.h: Likewise.
42657         * sysdeps/sh/tininess.h: Likewise.
42658         * sysdeps/x86_64/tininess.h: Likewise.
42659         * stdlib/tst-strtod-underflow.c: Likewise.
42660         * stdlib/tst-tininess.c: Likewise.
42661         * stdlib/strtod_l.c: Include <tininess.h>.
42662         (round_and_return): Do not set errno for exact underflow cases.
42663         Force an underflow exception when setting errno for underflow.
42664         Determine underflow based on rounding to normal precision if
42665         TININESS_AFTER_ROUNDING.
42666         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42667         ERANGE for exact underflow cases.
42668         * stdlib/Makefile (tests): Add tst-tininess and
42669         tst-strtod-underflow.
42670         ($(objpfx)tst-tininess): Use $(link-libm).
42671         ($(objpfx)tst-strtod-underflow): Likewise.
42673 2012-10-30  Andreas Jaeger  <aj@suse.de>
42675         [BZ#14767]
42676         * elf/Makefile (tests): Remove conditional for have-initfini-array
42677         since this is now always required and the variable does not exist
42678         anymore.
42679         (tests-static): Likewise.
42680         (modules-names): Likewise.
42682         * po/eo.po: Add Esperanto translation from translation project.
42684         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42685         merged with constructor/destructor.
42686         (init_array): Likewise.
42687         * elf/tst-array2dep.c (fini_array): Likewise.
42688         (init_array): Likewise.
42690 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42692         * manual/message.texi: Delete @cartouche tags.
42694 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42696         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42697         EOPNOTSUPP.
42698         * sysdeps/mach/hurd/fsync.c: Likewise.
42700         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42701         [_POSIX_REALTIME_SIGNALS]: Change condition to
42702         [_POSIX_REALTIME_SIGNALS > 0].
42704 2012-10-27  Andreas Jaeger  <aj@suse.de>
42706         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42707         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42708         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42709         [__WORDSIZE != 64]: Likewise.
42711 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42713         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42714         *  iconvdata/tst-tables.sh: Likewise.
42716 2012-10-25  David S. Miller  <davem@davemloft.net>
42718         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42719         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42720         of strtoull.
42722         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42723         ifunc-impl-list.c
42724         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42725         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42726         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42727         file.
42729 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42731         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42732         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42733         __getdirentries.
42735 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42736             Jim Blandy  <jimb@codesourcery.com>
42738         * scripts/cross-test-ssh.sh: New file.
42739         * manual/install.texi (Configuring and compiling): Document use of
42740         cross-test-ssh.sh.
42741         * INSTALL: Regenerated.
42743 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42745         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42746         EOPNOTSUPP.
42748 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42750         * Makeconfig (run-program-prefix): Fix comment.
42752 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42753             Jim Blandy  <jimb@codesourcery.com>
42755         * Makeconfig (test-wrapper): New variable,
42756         (test-wrapper-env): Likewise.
42757         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42758         (run-built-tests): Define to yes.
42759         (run-program-prefix): Use $(test-wrapper).
42760         (built-program-cmd): Likewise.
42761         * Rules (make-test-out): Use $(test-wrapper-env) and
42762         $(host-built-program-cmd).
42763         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42764         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42765         tst-pathopt.sh.
42766         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42767         $(test-wrapper-env) to tst-rtld-load-self.sh.
42768         ($(objpfx)order2.out): Use $(test-wrapper).
42769         ($(objpfx)tst-initorder.out): Likewise.
42770         ($(objpfx)tst-initorder2.out): Likewise.
42771         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42772         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42773         (test_wrapper_env): New variable.  Use it to run ld.so.
42774         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42775         Use it to run ld.so.
42776         (test_wrapper_env): Likewise.
42777         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42778         $(test-wrapper) to run-iconv-test.sh.
42779         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42780         (ICONV): Use $test_wrapper.
42781         * posix/Makefile ($(objpfx)globtest.out): Pass
42782         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42783         globtest.sh, not $(run-program-prefix).
42784         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42785         (test_wrapper): Likewise.
42786         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42787         set together with run_via_rtld_prefix.
42788         (run_program_prefix): Define in terms of test_wrapper and
42789         run_via_rtld_prefix.
42791 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42793         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42794         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42795         Targets removed.
42797         [BZ #14743]
42798         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42799         Declare __clock_getres, __clock_gettime, __clock_settime,
42800         __clock_nanosleep, and __clock_getcpuclockid.
42801         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42802         Remove librt_hidden_def (clock_gettime).
42803         * sysdeps/unix/clock_gettime.c: Likewise.
42804         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42805         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42806         * rt/clock_getres.c: Define __clock_getres as an alias.
42807         * sysdeps/posix/clock_getres.c: Likewise.
42808         * rt/clock_settime.c: Define __clock_settime as an alias.
42809         * sysdeps/unix/clock_settime.c: Likewise.
42810         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42811         * sysdeps/unix/clock_nanosleep.c: Likewise.
42812         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42813         * rt/clock-compat.c: New file.
42814         * rt/Makefile (librt-routines): Add clock-compat and move
42815         $(clock-routines) to ...
42816         (routines): ... here, new variable.
42817         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42818         Don't add get_clockfreq here.
42819         * rt/Versions (libc: GLIBC_2.17): New version set.
42820         Add clock_* symbols here.
42821         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42822         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42823         (GLIBC_2.17): Add clock_* symbols.
42824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42826         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42828         Likewise.
42829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42830         Likewise.
42831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42835         * NEWS: Mention the move.
42837         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42838         Use __open, __read, __close rather than their public counterparts.
42839         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42840         (__get_clockfreq_via_cpuinfo): Likewise.
42841         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42842         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42844         * config.h.in (HAVE_IFUNC): New #undef.
42845         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42846         was successful.
42847         * configure: Regenerated.
42849 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42851         * configure.in: Move READELF check to start of file.
42852         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42853         libc_cv_asm_gnu_indirect_function in the process.
42854         * configure: Regenerated.
42856 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42858         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42859         send the output to /dev/null.
42860         (libc_cv_cc_with_libunwind): Likewise.
42861         (libc_cv_as_noexecstack): Likewise.
42862         * configure: Regenerate.
42864 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42866         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42868         * posix/globtest.sh (TMPDIR): Do not set.
42869         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42870         (testout): Likewise.
42872 2012-10-24  Andreas Jaeger  <aj@suse.de>
42874         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42875         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42876         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42877         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42878         posix_fadvise64, posix_fallocate64.
42880         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42881         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42882         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42883         Likewise.
42884         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42885         Likewise.
42886         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42888         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42889         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42890         <bits/fcntl-linux.h>.
42891         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42893         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42894         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42895         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42896         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42897         [__WORDSIZE != 64]: Likewise.
42899 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42901         * Makeconfig (run-built-tests): New variable.
42902         * Rules [$(cross-compiling) = yes]: Change condition to
42903         [$(run-built-tests) = no].
42904         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42905         to [$(run-built-tests) = yes].
42906         * elf/Makefile [$(cross-compiling) = no]: Likewise
42907         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42908         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42909         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42910         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42911         * io/Makefile [$(cross-compiling) = no]: Likewise.
42912         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42913         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42914         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42915         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42916         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42917         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42918         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42919         * string/Makefile [$(cross-compiling) = no]: Likewise.
42921         * posix/Makefile ($(objpfx)globtest.out): Pass
42922         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42923         $(rtld-installed-name).
42924         * posix/globtest.sh (elf_objpfx): Remove variable.
42925         (rtld_installed_name): Likewise.
42926         (library_path): Likewise.
42927         (run_program_prefix): New variable.  Use for running globtest
42928         binary.
42930 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42931             Joseph Myers  <joseph@codesourcery.com>
42933         * Makeconfig (host-built-program-cmd): New variable.
42934         * elf/Makefile (tst-stackguard1-ARGS): Use
42935         $(host-built-program-cmd).
42936         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42937         (tst-spawn-ARGS): Likewise.
42938         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42940 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42941             Jim Blandy  <jimb@codesourcery.com>
42943         * Makeconfig (run-via-rtld-prefix): New variable.
42944         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42945         (built-program-cmd): Likewise.
42947 2012-10-22  Andreas Jaeger  <aj@suse.de>
42949         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42950         __O_RSYNC if it exists, otherwise to O_SYNC.
42952 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42953             Joseph Myers  <joseph@codesourcery.com>
42955         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42956         /dev/null.
42957         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42958         from /dev/null
42959         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42960         /dev/null.
42962 2012-10-22  Andreas Jaeger  <aj@suse.de>
42964         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42965         Define always.
42966         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42969         bits/fcntl-linux.h.
42971         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42972         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42974         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42975         to __O_LARGEFILE.
42976         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42977         to __O_LARGEFILE.
42979 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42980             Joseph Myers  <joseph@codesourcery.com>
42982         * config.make.in (NM): New variable.
42984 2012-10-21  Andreas Jaeger  <aj@suse.de>
42986         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42987         definitions and declarations that are provided by
42988         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42990 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42992         [BZ #14683]
42993         * elf/Makefile (tests-static): Add tst-leaks1-static.
42994         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42995         ($(objpfx)tst-leaks1-static): New rule.
42996         ($(objpfx)tst-leaks1-static-mem): Likewise.
42997         (tst-leaks1-static-ENV): New macro.
42998         * elf/dl-open.c (dl_open_worker): Check the main application
42999         only if SHARED is defined.
43000         * elf/tst-leaks1-static.c: New file.
43002 2012-10-20  Andreas Jaeger  <aj@suse.de>
43004         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43005         generic values for Linux.
43006         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43007         and declarations that are provided by <bits/fcntl-linux.h> and
43008         include <bits/fcntl-linux.h>.
43009         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43010         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43012 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43014         * io/fcntl.h: Move include of <bits/types.h> to the top and
43015         include it unconditionally.
43017 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43019         * wcsmbs/Makefile (tests-ifunc): New variable.
43020         (tests): Add $(tests-ifunc).
43021         * wcsmbs/test-wcschr-ifunc.c: New file.
43022         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43023         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43024         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43025         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43026         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43028         * string/Makefile (tests-ifunc): New variable.
43029         (tests): Add $(tests-ifunc).
43030         * string/test-memccpy.c (TEST_NAME): New macro.
43031         * string/test-memchr.c (TEST_NAME): Likewise.
43032         * string/test-memcmp.c (TEST_NAME): Likewise.
43033         * string/test-memcpy.c (TEST_NAME): Likewise.
43034         * string/test-memmem.c (TEST_NAME): Likewise.
43035         * string/test-memmove.c (TEST_NAME): Likewise.
43036         * string/test-memset.c (TEST_NAME): Likewise.
43037         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43038         * string/test-stpcpy.c (TEST_NAME): Likewise.
43039         * string/test-stpncpy.c (TEST_NAME): Likewise.
43040         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43041         * string/test-strcasestr.c (TEST_NAME): Likewise.
43042         * string/test-strcat.c (TEST_NAME): Likewise.
43043         * string/test-strchr.c (TEST_NAME): Likewise.
43044         * string/test-strcmp.c(TEST_NAME): Likewise.
43045         * string/test-strcpy.c (TEST_NAME): Likewise.
43046         * string/test-strcspn.c (TEST_NAME): Likewise.
43047         * string/test-strlen.c (TEST_NAME): Likewise.
43048         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43049         * string/test-strncmp.c (TEST_NAME): Likewise.
43050         * string/test-strncpy.c (TEST_NAME): Likewise.
43051         * string/test-strnlen.c (TEST_NAME): Likewise.
43052         * string/test-strpbrk.c (TEST_NAME): Likewise.
43053         * string/test-strrchr.c (TEST_NAME): Likewise.
43054         * string/test-strspn.c (TEST_NAME): Likewise.
43055         * string/test-strstr.c (TEST_NAME): Likewise.
43056         * string/test-bcopy-ifunc.c: New file.
43057         * string/test-bzero-ifunc.c: Likewise.
43058         * string/test-memccpy-ifunc.c: Likewise.
43059         * string/test-memchr-ifunc.c: Likewise.
43060         * string/test-memcmp-ifunc.c: Likewise.
43061         * string/test-memcpy-ifunc.c: Likewise.
43062         * string/test-memmem-ifunc.c: Likewise.
43063         * string/test-memmove-ifunc.c: Likewise.
43064         * string/test-mempcpy-ifunc.c: Likewise.
43065         * string/test-memset-ifunc.c: Likewise.
43066         * string/test-rawmemchr-ifunc.c: Likewise.
43067         * string/test-stpcpy-ifunc.c: Likewise.
43068         * string/test-stpncpy-ifunc.c: Likewise.
43069         * string/test-strcasecmp-ifunc.c: Likewise.
43070         * string/test-strcasestr-ifunc.c: Likewise.
43071         * string/test-strcat-ifunc.c: Likewise.
43072         * string/test-strchr-ifunc.c: Likewise.
43073         * string/test-strchrnul-ifunc.c: Likewise.
43074         * string/test-strcmp-ifunc.c: Likewise.
43075         * string/test-strcpy-ifunc.c: Likewise.
43076         * string/test-strcspn-ifunc.c: Likewise.
43077         * string/test-strlen-ifunc.c: Likewise.
43078         * string/test-strncasecmp-ifunc.c: Likewise.
43079         * string/test-strncat-ifunc.c: Likewise.
43080         * string/test-strncmp-ifunc.c: Likewise.
43081         * string/test-strncpy-ifunc.c: Likewise.
43082         * string/test-strnlen-ifunc.c: Likewise.
43083         * string/test-strpbrk-ifunc.c: Likewise.
43084         * string/test-strrchr-ifunc.c: Likewise.
43085         * string/test-strspn-ifunc.c: Likewise.
43086         * string/test-strstr-ifunc.c: Likewise.
43088         * debug/Makefile (tests-ifunc): New variable.
43089         (tests): Add $(tests-ifunc).
43090         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43091         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43092         * debug/test-stpcpy_chk-ifunc.c: New file.
43093         * debug/test-strcpy_chk-ifunc.c: Likewise.
43095 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43097         [BZ #13601]
43098         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43099         header is not read in.
43101 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43103         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43104         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43105         directly.  Pass built executable to script as
43106         $(built-program-cmd).
43107         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43108         $testprogram without using LD_LIBRARY_PATH and $ldso.
43110         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43111         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43112         $(rtld-installed-name).
43113         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43114         (rtld_installed_name): Likewise.
43115         (library_path): Likewise.
43116         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43117         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43118         $(run-program-prefix) to tst-tables.sh.
43119         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43120         it to run tst-table-from and tst-table-to.
43121         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43122         Pass it to tst-table.sh.
43123         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43124         $(run-program-prefix) to tst-gettext.sh.
43125         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43126         tst-translit.sh.
43127         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43128         tst-gettext2.sh.
43129         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43130         to run tst-gettext.
43131         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43132         to run tst-gettext2.
43133         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43134         to run tst-translit.
43135         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43136         $(run-program-prefix) to tst-mtrace.sh.
43137         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43138         to run tst-mtrace.
43139         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43140         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43141         $(rtld-installed-name).
43142         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43143         (rtld_installed_name): Likewise.
43144         (run_program_prefix): New variable.  Use it to run wordexp-test.
43146         * Makeconfig (ARCH): Remove all definitions.
43147         (machine): Likewise.
43148         [ARCH]: Remove conditional code.
43149         [!objdir]: Give error.
43150         [!objdir] (objpfx): Remove.
43151         [!objdir] (common-objpfx): Likewise.
43152         [!objdir] (common-objdir): Likewise.
43153         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43154         AC_CONFIG_FILES call.
43155         * configure: Regenerated.
43157         [BZ #13888]
43158         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43159         or TMPDIR.
43160         (testout): Likewise.
43162         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43163         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43164         $(rtld-installed-name).
43165         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43166         (rtld_installed_name): Likwise.
43167         (runit): Remove function.
43168         (run_getconf): New variable,  Use it for running getconf binary.
43170 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43172         [BZ #14716]
43173         * string/test-memmem.c (check_result): New function.
43174         (do_one_test): Use it.
43175         (check1): New function.
43176         (test_main): Use it.
43178 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43180         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43182 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43184         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43185         (_G_LSEEK64): Likewise.
43186         (_G_MMAP64): Likewise.
43187         (_G_FSTAT64): Likewise.
43188         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43189         (_G_LSEEK64): Likewise.
43190         (_G_MMAP64): Likewise.
43191         (_G_FSTAT64): Likewise.
43192         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43193         unconditional.  Call __mmap64 directly.
43194         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43195         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43196         __lseek64 directly.
43197         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43198         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43199         __mmap64 directly.
43200         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43201         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43202         __lseek64 directly.
43203         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43204         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43205         __lseek64 directly.
43206         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43207         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43208         __lseek64 directly.
43209         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43210         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43211         __fxstat64 directly.
43212         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43213         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43214         unconditional.
43215         (freopen64) [!_G_OPEN64]: Remove conditional code.
43216         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43217         unconditional.
43218         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43219         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43220         unconditional.
43221         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43222         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43223         unconditional.
43224         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43225         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43226         unconditional.
43227         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43228         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43229         unconditional.
43230         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43231         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43232         unconditional.
43233         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43234         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43235         unconditional.
43236         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43238 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43240         [BZ #12140]
43241         * manual/memory.texi (Malloc Tunable Parameters): Add note
43242         about free list pointers overwriting some perturb bytes.
43243         Wording suggested by Roland McGrath.
43245 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43247         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43248         (lgamma_test): Likewise.
43249         (tgamma_test): Likewise.
43251 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43253         [BZ #14700]
43254         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43255         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43257 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43259         * NEWS: Mention BZ #14716.
43260         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43261         when removing AVAILABLE1_USES_J macro.
43263 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43265         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43266         (__bswap_64): __uint64_t for unsigned 64-bit int.
43268 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43270         * include/string.h (memmem): Declare libc hidden alias.
43271         * string/memmem.c (memmem): Define libc hidden alias.
43272         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43273         __read, __close instead of open, read, close.
43275 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43278         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43279         global and hidden.
43280         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43281         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43282         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43283         Likewise.
43284         (__rawmemchr_sse2): Likewise.
43285         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43286         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43287         (__strchr_sse2): Likewise.
43288         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43289         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43290         (__strcasecmp_sse2): Likewise.
43291         (__strncasecmp_sse2): Likewise.
43292         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43293         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43294         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43295         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43296         (__strrchr_sse2): Likewise.
43297         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43298         ifunc-impl-list.c.
43299         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43300         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43301         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43302         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43303         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43304         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43305         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43306         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43307         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43308         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43309         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43310         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43311         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43312         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43313         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43314         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43315         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43316         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43317         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43318         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43319         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43320         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43321         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43322         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43323         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43324         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43325         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43326         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43327         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43328         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43330         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43331         global and hidden.
43332         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43333         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43334         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43335         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43336         Likewise.
43337         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43338         Likewise.
43339         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43340         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43341         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43342         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43343         ifunc-impl-list.c.
43344         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43345         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43346         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43347         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43348         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43349         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43350         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43351         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43352         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43353         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43354         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43355         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43356         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43357         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43358         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43359         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43360         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43361         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43362         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43363         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43364         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43365         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43366         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43367         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43368         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43369         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43370         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43371         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43372         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43373         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43374         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43375         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43376         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43377         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43378         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43379         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43380         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43381         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43382         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43383         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43384         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43386         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43387         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43388         * include/ifunc-impl-list.h: New file.
43389         * misc/ifunc-impl-list.c: Likewise.
43390         * misc/Makefile (routines): Add ifunc-impl-list.
43391         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43392         * string/test-string.h: Include <ifunc-impl-list.h>.
43393         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43394         TEST_NAME]: New variables.
43395         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43396         are defined.
43397         (test_init): Call __libc_ifunc_impl_list to initialize
43398         func_list if TEST_IFUNC and TEST_NAME are defined.
43400         * string/Makefile (strop-tests): Add bcopy and bzero.
43401         * string/test-bcopy.c: New file.
43402         * string/test-bzero.c: Likewise.
43403         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43404         defined.
43405         * string/test-memset.c: Support bzero test if TEST_BZERO is
43406         defined.
43407         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43408         __libc_memmove.
43409         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43410         __libc_memset.
43411         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43412         of memset.
43414 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43416         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43417         * configure: Regenerated.
43419         * Makeconfig (+link-static-before-libc): Don't include
43420         $(link-static-libc).
43422         * libio/libio.h (_IO_pos_t): Remove.
43424 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43426         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43427         McGrath.
43429 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43431         * crypt/crypt-entry.c: Include fips-private.h.
43432         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43433         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43434         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43435         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43437 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43439         * crypt/crypt-private.h: Include stdbool.h.
43440         (_ufc_setup_salt_r): Return bool.
43441         * crypt/crypt-entry.c: Include errno.h.
43442         (__crypt_r): Return NULL with EINVAL for bad salt.
43443         * crypt/crypt_util.c (bad_for_salt): New.
43444         (_ufc_setup_salt_r): Check that salt is long enough and within
43445         the specified alphabet.
43446         * crypt/badsalttest.c: New file.
43447         * crypt/Makefile (tests): Add it.
43448         ($(objpfx)badsalttest): New.
43450 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43452         * NEWS: Add entry for BZ #14602.
43454 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43456         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43457         type-generic.
43458         * math/libm-test.inc: Update comment listing what functions and
43459         macros are tested.
43460         (isgreater_test): New function.
43461         (isgreaterequal_test): Likewise.
43462         (isless_test): Likewise.
43463         (islessequal_test): Likewise.
43464         (islessgreater_test): Likewise.
43465         (isunordered_test): Likewise.
43466         (main): Call the new functions.
43468 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43470         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43471         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43472         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43473         * sysdeps/i386/configure: Regenerated.
43474         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43475         * sysdeps/mach/configure: Regenerated.
43476         * sysdeps/mach/hurd/configure: Regenerated.
43477         * sysdeps/powerpc/configure: Regenerated.
43478         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43479         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43480         * sysdeps/s390/s390-32/configure: Regenerated.
43481         * sysdeps/s390/s390-64/configure: Regenerated.
43482         * sysdeps/sh/configure: Regenerated.
43483         * sysdeps/sparc/configure: Regenerated.
43484         * sysdeps/unix/sysv/linux/configure: Regenerated.
43485         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43486         * sysdeps/x86_64/configure: Regenerated.
43488         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43489         defined.  Don't check if MAP is NULL.
43491 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43493         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43494         (_G_stat64): Likewise.
43495         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43496         (_G_stat64): Likewise.
43497         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43498         instead of struct _G_stat64.
43499         * libio/fileops.c (mmap_remap_check): Likewise.
43500         (decide_maybe_mmap): Likewise.
43501         (_IO_new_file_seekoff): Likewise.
43502         (_IO_file_stat): Likewise.
43503         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43504         _G_off64_t.
43505         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43506         instead of struct _G_stat64.
43507         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43509 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43511         [BZ #14602]
43512         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43513         Replace with ...
43514         (CHECK_EOL): New macro.
43515         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43516         CHECK_EOL.
43517         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43518         Replace with CHECK_EOL.
43519         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43520         Replace with CHECK_EOL.
43522 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43524         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43525         type-generic.
43526         * math/libm-test.inc: Update comment listing what functions and
43527         macros are tested.
43528         (finite_test): New function.
43529         (isinf_test): Likewise.
43530         (isnan_test): Likewise.
43531         (fpclassify_test): Test subnormal input.
43532         (isfinite_test): Likewise.
43533         (isnormal_test): Likewise.
43534         (main): Call the new functions.
43536 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43538         [BZ #14660]
43539         * Makerules (%.dynsym): Force C locale when running
43540         $(OBJDUMP) --dynamic-syms.
43542 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43544         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43545         <stdint.h>.
43547 2012-10-06  David S. Miller  <davem@davemloft.net>
43549         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43550         upper 32-bits of the length value in %o2 since we use branch-on-register
43551         tests which consider the entire 64-bit register.
43553 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43555         * string/test-strstr.c (check2): Add a test for page boundary.
43557 2012-10-05  David S. Miller  <davem@davemloft.net>
43559         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43560         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43561         file.
43562         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43563         sysdep_routines.
43564         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43565         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43566         and bzero when HWCAP_SPARC_CRYPTO is present.
43568 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43570         [BZ #14602]
43571         * string/test-strstr.c (check2): New function.
43572         (test_main): Call check2.
43574         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43575         and bug-strchr1.
43576         * string/bug-strcasestr1.c (do_test): Moved to ...
43577         * string/test-strcasestr.c (check1): Here.  New function.
43578         (do_one_test): Break out result checking code into ...
43579         (check_result): This.  New function.
43580         (do_one_test): Call check_result.
43581         (test_main): Call check1.
43582         * string/bug-strchr1.c (do_test): Moved to ...
43583         * string/test-strchr.c (check1): Here.  New function.
43584         (do_one_test): Break out result checking code into ...
43585         (check_result): This.  New function.
43586         (do_one_test): Call check_result.
43587         (test_main): Call check1.
43588         * string/bug-strstr1.c (main): Moved to ...
43589         * string/test-strstr.c (check1): Here.  New function.
43590         (do_one_test): Break out result checking code into ...
43591         (check_result): This.  New function.
43592         (do_one_test): Call check_result.
43593         (test_main): Call check1.
43594         * string/bug-strcasestr1.c: Removed.
43595         * string/bug-strchr1.c: Likewise.
43596         * string/bug-strstr1.c: Likewise.
43598         * elf/Makefile (dl-routines): Add hwcaps.
43599         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43600         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43601         (_dl_important_hwcaps): Moved to ...
43602         * elf/dl-hwcaps.c: Here.  New file.
43603         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43605         [BZ #14557]
43606         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43607         if IS_IN_rtld isn't defined.
43609         * elf/dl-support.c (_dl_sysinfo_map): New.
43610         Include "get-dynamic-info.h" and "setup-vdso.h".
43611         (_dl_non_dynamic_init): Call setup_vdso.
43612         * elf/dynamic-link.h: Don't include <assert.h>.
43613         (elf_get_dynamic_info): Moved to ...
43614         * elf/get-dynamic-info.h: Here.  New file.
43615         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43616         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43617         * elf/setup-vdso.h: Here.  New file.
43618         * elf/rtld.c: Include "setup-vdso.h".
43619         (dl_main): Call setup_vdso.
43621 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43623         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43624         creal in comment listing functions tested.  List finite, isinf,
43625         isnan, isless, islessequal, isgreater, isgreaterequal,
43626         islessgreater, isunordered, lgamma_r and pow10 as functions and
43627         macros not tested.  Mention which functions not tested are aliases
43628         for other functions.  Fix typo.  Note that signs of NaNs are not
43629         tested.
43631         * scripts/config.guess: Update from config.git.
43632         * scripts/config.sub: Likewise.
43634 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43636         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43637         * misc/madvise.c (madvise): Renamed to __madvise.
43638         Make madvise a weak alias.
43639         * include/sys/mman.h: Declare __madvise.
43640         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43641         * sysdeps/unix/syscalls.list
43642         (madvise): Make __madvise the strong name, and madvise a weak alias.
43643         * sysdeps/unix/sysv/linux/syscalls.list
43644         (madvise, mmap): Remove redundant entries.
43645         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43646         * malloc/malloc.c (mtrim): Likewise.
43647         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43649 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43651         * sysdeps/mach/hurd/dl-cache.c: File removed.
43652         * config.h.in (USE_LDCONFIG): New #undef.
43653         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43654         * configure: Regenerated.
43655         * elf/Makefile (dl-routines): Add dl-cache only under
43656         [$(use-ldconfig) = yes].
43657         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43658         cache on [USE_LDCONFIG].
43659         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43660         [USE_LDCONFIG].
43661         * elf/rtld.c (dl_main): Likewise.
43663 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43665         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43666         _SC_LEVEL4_CACHE_LINESIZE.
43668 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43670         * sysdeps/unix/bsd/confstr.h: File removed.
43672 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43674         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43675         sys/sdt-config.h.
43677 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43679         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43680         Make 'mapoff' field ElfW(Off) rather than off_t.
43682 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43684         * nscd/Makefile: Remove nscd-cflags and all its users.
43685         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43686         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43688         [BZ #10631]
43689         * malloc.c (malloc_printerr): Clarify error message.
43691 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43693         [BZ #14648]
43694         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43695         Set bit_FMA_Usable if FMA is supported.
43696         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43697         macro.
43698         (bit_FMA4_Usable): Updated.
43699         (index_FMA_Usable): New macro.
43700         (CPUID_FMA): Likewise
43701         (HAS_FMA): Defined with bit_FMA_Usable.
43703 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43705         * bits/types.h (__swblk_t): Type removed.
43706         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43707         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43708         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43709         (__SWBLK_T_TYPE): Likewise.
43710         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43711         (__SWBLK_T_TYPE): Likewise.
43712         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43713         (__SWBLK_T_TYPE): Likewise.
43714         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43715         (__SWBLK_T_TYPE): Likewise.
43717 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43718             Honza Horak <hhorak@redhat.com>
43720         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43721         (xdr_mapname): Use YPMAXMAP as maxsize.
43722         (xdr_peername): Use YPMAXPEER as maxsize.
43723         (xdr_keydat): Use YPAXRECORD as maxsize.
43724         (xdr_valdat): Use YPMAXRECORD as maxsize.
43726 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43728         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43730         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43731         * csu/init-first.c: ... here.
43732         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43733         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43734         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43735         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43736         * sysdeps/i386/init-first.c: File removed.
43737         * sysdeps/sh/init-first.c: File removed.
43739 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43741         [BZ #14645]
43742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43743         if x * y might underflow to zero and z is zero.
43744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43745         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43746         * math/libm-test.inc (min_subnorm_value): New variable.
43747         (fma_test): Add more tests.
43748         (fma_test_towardzero): Likewise.
43749         (fma_test_downward): Likewise
43750         (fma_test_upward): Likewise.
43751         (initialize): Set min_subnorm_value.
43753 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43755         [BZ #14638]
43756         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43757         0 + 0.
43758         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43759         mode for addition resulting in exact zero.
43760         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43762         exact 0 + 0.
43763         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43764         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43765         * math/libm-test.inc (fma_test): Add more tests.
43766         (fma_test_towardzero): New function.
43767         (fma_test_downward): Likewise.
43768         (fma_test_upward): Likewise.
43769         (main): Call the new functions.
43771 2012-09-28  David S. Miller  <davem@davemloft.net>
43773         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43775 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43777         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43778         instead of SIGALRM.
43780         * sysdeps/gnu/_G_config.h: Moved to ...
43781         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43782         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43783         * sysdeps/generic/_G_config.h: ... here.
43785         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43787         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43789         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43790         Conditionalize target on [libnss_test1.so-version].
43792         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43794         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43795         (elfobjdir): Move out of conditionals.
43797         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43798         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43799         (__nss_lookup_function): Conditionalize label remove_from_tree on
43800         [!DO_STATIC_NSS || SHARED], matching its only use.
43802 2012-09-28  David S. Miller  <davem@davemloft.net>
43804         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43805         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43806         file.
43807         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43808         sysdep_routines.
43809         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43810         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43811         when HWCAP_SPARC_CRYPTO is present.
43813 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43815         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43817 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43819         [BZ #6530]
43820         * stdio-common/vfprintf.c (process_string_arg): Revert
43821         2000-07-22 change.
43823 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43825         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43826         for testcase.
43827         * stdio-common/tst-sprintf.c: Include <locale.h>
43828         (main): Test sprintf's handling of incomplete multibyte
43829         characters.
43831 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43833         * elf/dl-runtime.c (VERSYMIDX): Removed.
43834         * elf/dl-version.c (VERSYMIDX): Likewise.
43835         * elf/do-rel.h (VERSYMIDX): Likewise.
43836         (VALIDX): Likewise.
43837         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43838         * elf/rtld.c (VALIDX): Likewise.
43839         (ADDRIDX): Likewise.
43840         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43841         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43842         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43843         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43844         (VALIDX): Likewise.
43845         (ADDRIDX): Likewise.
43847 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43849         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43851 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43853         [BZ #11438]
43854         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43855         to global scope.
43856         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43857         addresses are in the same scope as 192.0.2/24.
43858         * posix/gai.conf: Document new scope table defaults.
43860 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43862         [BZ #5298]
43863         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43864         for ftell.  Compute offsets from write pointers instead.
43865         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43867 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43869         [BZ #14543]
43870         * libio/Makefile (tests): New test case tst-fseek.
43871         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43872         combination works in wide mode.
43873         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43874         state when the external buffer state changes.
43876 2012-09-27  David S. Miller  <davem@davemloft.net>
43878         [BZ #14376]
43879         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43880         pass reloc->r_addend in as the 'high' argument to
43881         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43885 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43887         * rt/tst-aio2.c: Include <pthread.h>.
43888         * rt/tst-aio3.c: Likewise.
43890 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43892         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43894 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43896         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43897         contents on [SHARED].
43899 2012-09-26  Marek Polacek  <polacek@redhat.com>
43901         [BZ #14530]
43902         [BZ #13741]
43903         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43904         for C++ and GCC <4.3 as well as for non GCC compilers.
43906 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43908         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43910 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43912         * Makefile.in (all, install): Declare with .PHONY.
43913         Reported by Michael Hope <michael.hope@linaro.org>.
43915 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43917         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43918         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43919         system header.
43920         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43921         Likewise.
43922         (sydep_routines): Add the new and the internal functions.
43923         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43924         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43926         (GLIBC_2.17): Add the new function.
43927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43928         (GLIBC_2.17): Likewise.
43929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43930         (GLIBC_2.17): Likewise.
43931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43932         (GLIBC_2.17): Likewise.
43933         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43935 2012-09-25  Alan Modra  <amodra@gmail.com>
43937         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43938         Add release barrier before setting once_control to say
43939         initialisation is done.  Add hints on lwarx.  Use macro in
43940         place of isync.
43941         (clear_once_control): Add release barrier.
43943 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43945         [BZ #13629]
43946         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43947         specially.
43948         * math/s_clog10.c (__clog10): Likewise.
43949         * math/s_clog10f.c (__clog10f): Likewise.
43950         * math/s_clog10l.c (__clog10l): Likewise.
43951         * math/s_clogf.c (__clogf): Likewise.
43952         * math/s_clogl.c (__clogl): Likewise.
43953         * math/Makefile (libm-calls): Add x2y2m1.
43954         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43955         (__x2y2m1): Likewise.
43956         (__x2y2m1l): Likewise.
43957         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43958         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43959         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43960         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43961         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43962         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43963         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43964         * sysdeps/i386/fpu/libm-test-ulps: Update.
43965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43967         [BZ #14621]
43968         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43969         int as type of variable DEPTH.
43970         (glob): Use size_t instead of int as type of variables NEWCOUNT
43971         and OLD_PATHC.
43973 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43975         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43976         Add s_sincosf-sse2.
43977         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43978         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43979         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43980         macros for using routine as __sincosf_ia32.
43981         Use macro for function declaration and weak_alias.
43982         * sysdeps/i386/fpu/libm-test-ulps: Update.
43984         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43985         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43987         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43988         subnormal argument.
43989         * math/s_cexpf.c (__cexpf): Likewise.
43990         * math/s_csinf.c (__csinf): Likewise.
43991         * math/s_csinhf.c (__csinhf): Likewise.
43992         * math/s_ctanf.c (__ctanf): Likewise.
43993         * math/s_ctanhf.c (__ctanhf): Likewise.
43994         * math/s_ccosh.c (__ccoshf): Likewise.
43995         * math/s_cexp.c (__cexpl): Likewise.
43996         * math/s_csin.c (__csin): Likewise.
43997         * math/s_csinh.c (__csinh): Likewise.
43998         * math/s_ctan.c (__ctan): Likewise.
43999         * math/s_ctanh.c (ctanh): Likewise.
44000         * math/s_ccoshl.c (__ccoshl): Likewise.
44001         * math/s_cexpl.c (__cexpl): Likewise.
44002         * math/s_csinl.c (__csinl): Likewise.
44003         * math/s_csinhl.c (__csinhl): Likewise.
44004         * math/s_ctanl.c (__ctanl): Likewise.
44005         * math/s_ctanhl.c (__ctanhl): Likewise.
44007 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44009         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44010         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44011         (_IO_off_t): Define to __off_t, not _G_off_t.
44012         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44013         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44014         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44015         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44016         type of __dummy and __dummy2 fields.
44017         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44018         (_G_ssize_t): Likewise.
44019         (_G_off_t): Likewise.
44020         (_G_pid_t): Likewise.
44021         (_G_uid_t): Likewise.
44022         (_G_wchar_t): Likewise.
44023         (_G_wint_t): Likewise.
44024         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44025         (_G_ssize_t): Likewise.
44026         (_G_off_t): Likewise.
44027         (_G_pid_t): Likewise.
44028         (_G_uid_t): Likewise.
44029         (_G_wchar_t): Likewise.
44030         (_G_wint_t): Likewise.
44031         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44032         (_G_ssize_t): Likewise.
44033         (_G_off_t): Likewise.
44034         (_G_pid_t): Likewise.
44035         (_G_uid_t): Likewise.
44036         (_G_wchar_t): Likewise.
44037         (_G_wint_t): Likewise.
44039 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44041         * malloc/arena.c: Include malloc-sysdep.h.
44042         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44043         is sufficient to shrink the heap or an unmap is needed.
44044         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44045         new function check_may_shrink_heap.
44046         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44047         new function check_may_shrink_heap.
44049 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44051         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44052         comments.
44054 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44056         * catgets/test-gencat.sh: Add "set -e".
44057         * elf/tst-pathopt.sh: Likewise.
44058         * grp/tst_fgetgrent.sh: Likewise.
44059         * iconvdata/run-iconv-test.sh: Likewise.
44060         * intl/tst-gettext.sh: Likewise.
44061         * intl/tst-gettext2.sh: Likewise.
44062         * intl/tst-gettext4.sh: Likewise.
44063         * intl/tst-gettext6.sh: Likewise.
44064         * intl/tst-translit.sh: Likewise.
44065         * io/ftwtest-sh: Likewise.
44066         * libio/test-freopen.sh: Likewise.
44067         * malloc/tst-mtrace.sh: Likewise.
44068         * posix/globtest.sh: Likewise.
44069         * posix/tst-getconf.sh: Likewise.
44070         * posix/wordexp-tst.sh: Likewise.
44071         * stdio-common/tst-printf.sh: Likewise.
44072         * stdio-common/tst-unbputc.sh: Likewise.
44073         * stdlib/tst-fmtmsg.sh: Likewise.
44074         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44075         * catgets/Makefile: Do not specify -e option when running
44076         testsuite shell scripts.
44077         * elf/Makefile: Likewise.
44078         * grp/Makefile: Likewise.
44079         * iconvdata/Makefile: Likewise.
44080         * intl/Makefile: Likewise.
44081         * io/Makefile: Likewise.
44082         * libio/Makefile: Likewise.
44083         * malloc/Makefile: Likewise.
44084         * posix/Makefile: Likewise.
44085         * stdio-common/Makefile: Likewise.
44086         * stdlib/Makefile: Likewise.
44087         * sysdeps/x86_64/Makefile: Likewise.
44089         * io/ftwtest-sh: Add copyright header.
44090         * posix/globtest.sh: Likewise.
44091         * posix/tst-getconf.sh: Likewise.
44092         * posix/wordexp-tst.sh: Likewise.
44093         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44095 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44097         [BZ #13679]
44098         * Makeconfig (+link): Defined as $(+link-static) if
44099         $(build-shared) isn't yes.
44100         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44101         isn't yes.
44102         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44104         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44106         [BZ #14562]
44107         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44108         new chunk size with MALLOC_ALIGN_MASK.
44110 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44112         [BZ #5044]
44113         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44114         <rounding-mode.h>.
44115         (__printf_fphex): Determine rounding using get_rounding_mode and
44116         round_away.
44117         * stdio-common/tst-printf-round.c (struct hex_test): New
44118         structure.
44119         (hex_tests): New variable.
44120         (test_hex_in_one_mode): New function.
44121         (do_test): Also run tests for hex float output.
44123 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44125         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44126         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44127         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44128         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44129         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44130         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44131         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44132         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44134 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44136         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44137         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44138         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44139         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44141 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44143         [BZ #14579]
44144         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44145         mode only.
44146         * elf/tst-rtld-load-self.sh: New test.
44147         * elf/Makefile: Run it.
44149 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44151         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44152         (tst-writev-ENV): Remove.
44153         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44155 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44157         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44159 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44161         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44162         unconditional.
44163         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44164         Likewise.
44165         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44166         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44167         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44168         Likewise.
44170 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44172         [BZ #14587]
44173         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44174         * config.make.in (have-cpp-asm-debuginfo): Removed.
44175         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44176         * configure: Regenerated.
44178 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44180         [BZ #5044]
44181         * stdio-common/printf_fp.c: Include <stdbool.h> and
44182         <rounding-mode.h>.
44183         (___printf_fp): Determine rounding using get_rounding_mode and
44184         round_away.
44185         * stdio-common/tst-printf-round.c: New file.
44186         * stdio-common/Makefile (tests): Add tst-printf-round.
44187         (link-libm): New variable.
44188         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44190 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44192         [BZ #14576]
44193         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44194         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44195         Likewise.
44196         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44197         Likewise.
44199 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44201         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44202         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44203         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44204         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44206 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44208         [BZ #14518]
44209         * include/rounding-mode.h: New file.
44210         * sysdeps/generic/get-rounding-mode.h: Likewise.
44211         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44212         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44213         (MAX_VALUE): New macro.
44214         (MIN_VALUE): Likewise.
44215         (overflow_value): New function.
44216         (underflow_value): Likewise.
44217         (round_and_return): Use overflow_value and underflow_value to
44218         determine return values in overflow and underflow cases.  Use
44219         round_away to determine rounding depending on rounding mode.
44220         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44221         determine return values in overflow and underflow cases.
44222         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44223         (struct test_results): New structure.
44224         (struct test): Use struct test_results to store expected results
44225         for all rounding modes.
44226         (TEST): Include expected results for all rounding modes.
44227         (test_in_one_mode): New function.
44228         (do_test): Use test_in_one_mode to compute and check results.
44229         Check results for all rounding modes.
44230         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44231         $(link-libm).
44233 2012-12-09  Allan McRae  <allan@archlinux.org>
44235         * sysdeps/i386/fpu/libm-test-ulps: Update
44237 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44239         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44240         (_G_int32_t): Likewise.
44241         (_G_uint16_t): Likewise.
44242         (_G_uint32_t): Likewise.
44243         (_G_HAVE_BOOL): Likewise.
44244         (_G_HAVE_ATEXIT): Likewise.
44245         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44246         (_G_HAVE_IO_FILE_OPEN): Likewise.
44247         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44248         (_G_int32_t): Likewise.
44249         (_G_uint16_t): Likewise.
44250         (_G_uint32_t): Likewise.
44251         (_G_HAVE_BOOL): Likewise.
44252         (_G_HAVE_ATEXIT): Likewise.
44253         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44254         (_G_HAVE_IO_FILE_OPEN): Likewise.
44255         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44256         (_G_int32_t): Likewise.
44257         (_G_uint16_t): Likewise.
44258         (_G_uint32_t): Likewise.
44259         (_G_HAVE_BOOL): Likewise.
44260         (_G_HAVE_ATEXIT): Likewise.
44261         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44262         (_G_HAVE_IO_FILE_OPEN): Likewise.
44264 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44266         * csu/libc-tls.c: Update copyright years.
44268 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44270         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44271         [!_G_USING_THUNKS]: Remove conditional code.
44272         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44273         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44275         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44276         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44277         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44278         (_G_VTABLE_LABEL_PREFIX): Likewise.
44279         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44280         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44281         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44282         (_G_VTABLE_LABEL_PREFIX): Likewise.
44283         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44284         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44285         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44286         (_G_VTABLE_LABEL_PREFIX): Likewise.
44287         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44289 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44291         * libio/Makefile: Include ../Makeconfig before tests.
44292         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44293         only if $(build-shared) is yes.
44295         * iconv/gconv_db.c: Update copyright years.
44297 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44299         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44300         unwind info if defined PIC. Fix special cases description.
44301         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44303         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44304         DP_HI_MASK entry.
44305         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44307 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44309         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44311         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44312         is NULL.
44314         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44315         (LDLIBS-tst-chk4): This.
44316         (LDFLAGS-tst-chk5): Renamed to ...
44317         (LDLIBS-tst-chk5): This.
44318         (LDFLAGS-tst-chk6): Renamed to ...
44319         (LDLIBS-tst-chk6): This.
44320         (LDFLAGS-tst-lfschk4): Renamed to ...
44321         (LDLIBS-tst-lfschk4): This.
44322         (LDFLAGS-tst-lfschk5): Renamed to ...
44323         (LDLIBS-tst-lfschk5): This.
44324         (LDFLAGS-tst-lfschk6): Renamed to ...
44325         (LDLIBS-tst-lfschk6): This.
44327         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44328         on $(common-objpfx)soversions.mk.
44330 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44332         [BZ #10014]
44333         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44334         example host name.
44336 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44338         * malloc/arena.c (arena_get_retry): New function that gets
44339         another arena for the caller to try its request on.
44340         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44341         current arena cannot fulfill the request.
44342         (__libc_memalign): Likewise.
44343         (__libc_memalign): Likewise.
44344         (__libc_pvalloc): Likewise.
44345         (__libc_calloc): Likewise.
44347 2012-09-05  John Tobey  <john.tobey@gmail.com>
44349         [BZ #13542]
44350         * manual/arith.texi (Operations on Complex): Fix description
44351         of carg branch cut.
44353 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44355         [BZ #10014]
44356         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44357         host name.
44359         [BZ #10038]
44360         * manual/memory.texi (Memory): Make order of menu items match
44361         order of sections.
44363 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44365         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44366         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44367         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44369 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44371         * csu/libc-tls.c (static_dtv): Renamed to ...
44372         (_dl_static_dtv): This.  Make it global.
44373         (_dl_initial_dtv): Removed.
44374         (__libc_setup_tls): Updated.
44375         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44376         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44377         DL_INITIAL_DTV.
44379 2012-09-06  Petr Machata  <pmachata@redhat.com>
44381         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44382         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44383         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44384         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44386 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44388         [BZ #14545]
44389         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44390         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44391         freeing dtv[-1].
44393 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44395         [BZ #14544]
44396         * Makeconfig (link-static-before-libc): Replace $(+prector)
44397         with $(+prectorT).
44398         (link-static-after-libc): Replace $(+postctor) with
44399         $(+postctorT).
44400         (link-bounded): Replace $(+prector)/$(+postctor) with
44401         $(+prectorT)/$(+postctorT).
44402         (+prectorT): New macro.
44403         (+postctorT): Likewise.
44405 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44407         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44408         (round_str): Handle values above the maximum for IBM long double
44409         as inexact.
44410         * stdlib/tst-strtod-round.c (tests): Regenerated.
44412 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44414         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44415         assembler flag.
44416         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44417         zarch_nohighgprs around the zarch optimized routines.
44418         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44419         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44420         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44421         for zarch.
44423 2012-09-05  David S. Miller  <davem@davemloft.net>
44425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44427         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44428         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44429         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44430         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44431         entries.
44433 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44435         * malloc/arena.c: Fold copyright years.
44436         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44438 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44440         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44442 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44444         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44446 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44448         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44449         change internal state upon failure.
44451 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44453         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44454         * malloc/memusage.c (mmap): Likewise.
44455         (mmap64, mremap): Likewise.  Adjust name in comment.
44457 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44459         * libio/fileops.c: Fix typos in comments.
44460         * libio/oldfileops.c: Likewise.
44461         * libio/wfileops.c: Likewise.
44463 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44465         [BZ #1349]
44466         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44467         (tst-malloc-usable-ENV): Set environment for test case.
44468         * malloc/hooks.c (malloc_check_get_size): New function to get
44469         requested size.
44470         * malloc/malloc.c (musable): Use malloc_check_get_size.
44471         * malloc/tst-malloc-usable.c: New test case.
44473 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44475         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44477 2012-09-05  Allan McRae  <allan@archlinux.org>
44479         [BZ #13966]
44480         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44481         determine header location.
44482         * configure: Regenerated.
44484 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44486         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44487         float format.
44488         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44489         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44490         format.
44491         (test): Regenerate.
44493 2012-09-04  David S. Miller  <davem@davemloft.net>
44495         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44496         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44497         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44499 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44501         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44502         failures.
44504         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44506 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44508         [BZ #9914]
44509         * libio/iogetdelim.c: Include <limits.h>.
44510         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44511         + len + 1 would overflow.
44513 2012-09-03  Andreas Jaeger  <aj@suse.de>
44515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44516         * sysdeps/i386/fpu/libm-test-ulps: Update.
44518 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44520         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44521         Add s_sinf-sse2, s_conf-sse2.
44523         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44524         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44525         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44526         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44528         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44529         for using routine as __sinf_ia32.
44530         Use macro for function declaration and weak_alias.
44531         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44532         for using routine as __cosf_ia32.
44533         Use macro for function declaration and weak_alias.
44535         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44536         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44538         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44539         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44542         * math/libm-test.inc (cos_test): Add more test cases.
44543         (sin_test): Likewise.
44544         (sincos_test): Likewise.
44546 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44548         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44549         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44550         hidden.
44551         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44553 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44555         [BZ #14538]
44556         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44557         first element of the GOT.
44558         (elf_machine_load_address): Return the difference between
44559         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44561 2012-09-01  Allan McRae  <allan@archlinux.org>
44563         [BZ #13412]
44564         * configure.in (AWK): Require gawk version 3.0 or later.
44565         * configure: Regenerated.
44567 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44569         * sysdeps/unix/sysv/linux/kernel-features.h
44570         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44571         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44572         [__NR_clock_getres]: Make code unconditional.
44573         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44574         (clock_getcpuclockid): Remove code left unreachable by removal of
44575         conditionals.
44576         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44577         code unconditional.
44578         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44579         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44580         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44581         Make code unconditional.
44582         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44583         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44584         * sysdeps/unix/sysv/linux/clock_settime.c
44585         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44586         conditional code.
44587         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44588         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44590 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44592         [BZ #14476]
44593         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44594         scripts/test-installation.pl.
44596         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44597         and $ld_so_version if it is set.
44599 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44601         [BZ #14516]
44602         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44603         failure if reading from procfs failed.
44604         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44606 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44608         * sysdeps/unix/sysv/linux/kernel-features.h
44609         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44610         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44611         Remove conditional code.
44612         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44613         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44614         Remove conditional code.
44615         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44616         * sysdeps/unix/sysv/linux/i386/fxstat.c
44617         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44618         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44619         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44620         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44621         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44622         * sysdeps/unix/sysv/linux/i386/lxstat.c
44623         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44624         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44625         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44626         Remove conditional code.
44627         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44628         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44629         Remove conditional code.
44630         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44631         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44632         <kernel-features.h>.
44633         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44634         Remove.
44635         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44636         Remove conditional code.
44637         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44638         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44639         Remove conditional.
44641 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44643         [BZ #5400]
44644         * NEWS: Add fixed bug number.
44646 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44648         [BZ #14519]
44649         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44650         underflowing exponent in case of negative sign.
44651         * stdlib/tst-strtod-round-data: Add more tests.
44652         * stdlib/tst-strtod-round.c (tests): Regenerated.
44654         [BZ #3479]
44655         * stdlib/strtod_l.c (NDIG): Remove.
44656         (HEXNDIG): Likewise.
44657         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44658         smallest representable value.
44659         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44660         lie within an exact representation of 1/2 ulp of the result.
44661         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44662         unconditionally.
44663         (TENS_P9_IDX): Define unconditionally.
44664         (TENS_P9_SIZE): Likewise.
44665         (TENS_P10_IDX): Likewise.
44666         (TENS_P10_SIZE): Likewise.
44667         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44668         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44669         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44670         entries for 10^2^13 and 10^2^14.
44671         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44672         (TENS_P13_IDX): Define.
44673         (TENS_P13_SIZE): Likewise.
44674         (TENS_P14_IDX): Likewise.
44675         (TENS_P14_SIZE): Likewise.
44676         (_fpioconst_pow10): Change array size to
44677         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44678         unconditional.
44679         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44680         1024]: Add entries for 10^2^13 and 10^2^14.
44681         [LAST_POW10 > _LAST_POW10]: Remove #error.
44682         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44683         (_fpioconst_pow10): Change array size to
44684         FPIOCONST_POW10_ARRAY_SIZE.
44685         * stdlib/gen-fpioconst.c: New file.
44686         * stdlib/gen-tst-strtod-round.c: Likewise.
44687         * stdlib/tst-strtod-round-data: Likewise.
44688         * stdlib/tst-strtod-round.c: Likewise.
44689         * stdlib/Makefile (tests): Add tst-strtod-round.
44691         [BZ #14459]
44692         * stdlib/strtod_l.c: Include <stdint.h>.
44693         (NDEBUG): Do not define.
44694         (round_and_return): Change EXPONENT parameter to type intmax_t.
44695         Rearrange calculations to avoid internal overflow possibilities.
44696         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44697         Rearrange calculations to avoid internal overflow possibilities.
44698         Assert that number fits inside MPNSIZE limbs.
44699         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44700         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44701         calculations and add assertions to avoid internal overflow
44702         possibilities.  Add casts to avoid signed/unsigned operations.
44703         * stdlib/tst-strtod-overflow.c: New file.
44704         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44706 2012-08-25  Marek Polacek  <polacek@redhat.com>
44708         * time/time.h: Fix some typos in comments.
44710 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44712         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44713         * posix/tst-rfc3484-2.c: Likewise.
44714         * posix/tst-rfc3484-3.c: Likewise.
44716 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44718         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44719         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44721 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44723         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44724         #include of fxstatat64.c.
44726 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44728         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44729         * shadow/getspent_r.c: Likewise.
44730         * shadow/getspnam.c: Likewise.
44731         * shadow/getspnam_r.c: Likewise.
44732         * gshadow/getsgent.c: Likewise.
44733         * gshadow/getsgent_r.c: Likewise.
44734         * gshadow/getsgnam.c: Likewise.
44735         * gshadow/getsgnam_r.c: Likewise.
44736         * inet/getnetbyad.c: Likewise.
44737         * inet/getnetbyad_r.c: Likewise.
44738         * inet/getnetbynm.c: Likewise.
44739         * inet/getnetbynm_r.c: Likewise.
44740         * inet/getnetent.c: Likewise.
44741         * inet/getnetent_r.c: Likewise.
44742         * inet/getproto.c: Likewise.
44743         * inet/getproto_r.c: Likewise.
44744         * inet/getprtent.c: Likewise.
44745         * inet/getprtent_r.c: Likewise.
44746         * inet/getprtname.c: Likewise.
44747         * inet/getprtname_r.c: Likewise.
44748         * inet/getrpcbyname.c: Likewise.
44749         * inet/getrpcbyname_r.c: Likewise.
44750         * inet/getrpcbynumber.c: Likewise.
44751         * inet/getrpcbynumber_r.c: Likewise.
44752         * inet/getrpcent.c: Likewise.
44753         * inet/getrpcent_r.c: Likewise.
44754         * inet/getaliasent.c: Likewise.
44755         * inet/getaliasent_r.c: Likewise.
44756         * inet/getaliasname.c: Likewise.
44757         * inet/getaliasname_r.c: Likewise.
44758         * nscd/getgrgid_r.c: Likewise.
44759         * nscd/getgrnam_r.c: Likewise.
44760         * nscd/gethstbyad_r.c: Likewise.
44761         * nscd/gethstbynm3_r.c: Likewise.
44762         * nscd/getpwnam_r.c: Likewise.
44763         * nscd/getpwuid_r.c: Likewise.
44764         * nscd/getsrvbynm_r.c: Likewise.
44765         * nscd/getsrvbypt_r.c: Likewise.
44766         * nscd/gai.c: Likewise.
44768         * configure.in (build_nscd): New substituted variable, set
44769         by --disable-build-nscd and defaults to $use_nscd.
44770         * configure: Regenerated.
44771         * config.make.in (build-nscd): New substituted variable.
44772         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44773         Change conditional to require [$(build-nscd) = yes] as well.
44774         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44776         [BZ# 13696]
44777         * configure.in (use_nscd): New substituted variable, set by
44778         --disable-nscd.  If enabled, define USE_NSCD.
44779         * configure: Regenerated.
44780         * config.h.in: Add USE_NSCD.
44781         * config.make.in (use-nscd): New substituted variable.
44782         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44783         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44784         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44785         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44786         (CFLAGS-getgrnam_r.c): Likewise.
44787         (CFLAGS-initgroups.c): Likewise.
44788         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44789         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44790         Variables removed.
44791         * inet/getnetgrent_r.c
44792         (nscd_setnetgrent): New function, broken out of ...
44793         (setnetgrent): ... here.  Call it.
44794         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44795         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44796         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44797         * nscd/Makefile (routines, aux): Move definitions after include of
44798         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44799         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44800         Conditionalize on [USE_NSCD].
44801         (is_nscd, nscd_init_cb): Likewise.
44802         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44803         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44804         * nss/nss_db/db-init.c: Likewise.
44805         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44806         [USE_NSCD].
44807         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44808         (make_request): Use it.
44809         (cache_valid_p): New function.
44810         (__check_pf): Use it.
44811         * NEWS: Add item for --disable-nscd.
44813 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44815         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44816         to support sed >= 4.2.1-20-ga9bf076.
44817         * configure: Regenerated.
44819 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44821         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44822         Conditionalize whole body on [IREL].
44824 2012-08-22  Jeff Law <law@redhat.com>
44826         [BZ #14505]
44827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44828         if the family is PF_UNSPEC.
44830 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44832         * Makerules (lib-version): Rename from V.
44833         (install-lib-nosubdir): Change V to lib-version.
44835 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44837         [BZ #14252]
44838         * powerpc32/power6/wcschr.c: New file.
44839         * powerpc32/power6/wcscpy.c: New file.
44840         * powerpc32/power6/wcsrchr.c: New file.
44841         * powerpc64/power6/wcschr.c: New file.
44842         * powerpc64/power6/wcscpy.c: New file.
44843         * powerpc64/power6/wcsrchr.c: New file.
44845 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44847         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44848         (two_way_short_needle): Use it.
44849         * string/strstr.c (AVAILABLE1_USES_J): Define.
44850         * string/strcasestr.c: Likewise.
44852         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44853         array references.
44854         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44856         [BZ #11607]
44857         * NEWS: Add an entry.
44858         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44859         define their defaults.
44860         (two_way_short_needle): Detect end-of-string on-the-fly.
44861         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44862         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44863         * string/bug-strcasestr1.c: New test.
44864         * string/Makefile: Run it.
44866 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44868         [BZ #11607]
44869         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44870         the first character.
44872 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44874         * csu/elf-init.c (__libc_csu_irel): Function removed.
44875         * csu/libc-start.c (apply_irel): New function.
44876         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44878 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44880         * sysdeps/unix/sysv/linux/kernel-features.h
44881         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44882         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44883         <kernel-features.h>.
44884         [__NR_fadvise64_64]: Make code unconditional.
44885         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44886         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44887         !__NR_fadvise64_64)]: Likewise.
44888         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44889         !__NR_fadvise64_64))]: Likewise.
44890         [__NR_fadvise64]: Make code unconditional.
44891         [!__NR_fadvise64]: Remove conditional code.
44892         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44893         <kernel-features.h>.
44894         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44895         unconditional.
44896         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44897         conditional code.
44898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44899         not include <kernel-features.h>.
44900         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44901         unconditional.
44902         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44903         conditional code.
44904         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44905         include <kernel-features.h>.
44906         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44907         unconditional.
44908         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44909         conditional code.
44911 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44913         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44914         slight instruction rearrangements per scrollpipe analysis.
44915         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44917 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44919         * manual/syslog.texi (syslog; vsyslog, closelog):
44920         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44921         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44923         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44924         DSOCAPS to match condition on defining it.
44926 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44928         * sysdeps/unix/sysv/linux/kernel-features.h
44929         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44931         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44932         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44934         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44935         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44937         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44938         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44940         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44941         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44943         * sysdeps/unix/sysv/linux/kernel-features.h
44944         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44945         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44946         unconditional.
44947         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44948         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44949         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44950         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44951         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44952         Make code unconditional.
44953         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44954         (__mmap64) [!__NR_mmap2]: Likewise.
44955         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44956         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44957         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44958         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44959         [__NR_mmap2]: Make code unconditional.
44960         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44961         (__mmap64) [!__NR_mmap2]: Likewise.
44963 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44965         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44967 2012-08-18  Andreas Jaeger  <aj@suse.de>
44969         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44971 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44973         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44974         * include/unistd.h (__have_sock_cloexec): Likewise.
44975         (__have_pipe2): Likewise.
44976         (__have_dup3): Likewise.
44978 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44980         [BZ #9685]
44981         * include/unistd.h (__have_pipe2): Change define into an extern int.
44982         (__have_dup3): Likewise.
44983         * socket/have_sock_cloexec.c: Include fcntl.h.
44984         (__have_pipe2): New variable.
44985         (__have_dup3): Likewise.
44987 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44989         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44991 2012-08-17  Marek Polacek  <polacek@redhat.com>
44993         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44994         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44996 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44998         * configure.in: Add AC_SUBST for sysheaders.
44999         * configure: Regenerated.
45000         * config.make.in (sysheaders): New substituted variable.
45002         * sysdeps/unix/mkfifo.c: Moved ...
45003         * sysdeps/posix/mkfifo.c: ... here.
45004         * sysdeps/unix/mkfifoat.c: Moved ...
45005         * sysdeps/posix/mkfifoat.c: ... here.
45007         * sysdeps/unix/utime.c: Moved ...
45008         * sysdeps/posix/utime.c: ... here.
45010         * sysdeps/unix/time.c: Moved ...
45011         * sysdeps/posix/time.c: ... here.
45012         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45013         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45015         * sysdeps/unix/nice.c: Moved ...
45016         * sysdeps/posix/nice.c: ... here.
45018         * sysdeps/unix/alarm.c: Moved ...
45019         * sysdeps/posix/alarm.c: ... here.
45021         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45023 2012-08-17  Jeff Law <law@redhat.com>
45025         * intl/Makefile (codeset_mo): New variable.
45026         ($(codeset_mo)): New target.
45027         (tst-codeset.out): Depend on that.  Remove explicit rule.
45028         (tst-gettext3.out, tst-gettext5.out): Likewise.
45029         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45030         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45031         * intl/tst-codeset.sh: Remove.
45032         * intl/tst-gettext3.sh: Likewise.
45033         * intl/tst-gettext5.sh: Likewise.
45035 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45037         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45038         * sysdeps/unix/syscalls.list: ... here.
45040         * sysdeps/posix/getaddrinfo.c
45041         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45042         (gaiconf_init, gaiconf_reload): Use them.
45043         [!_STATBUF_ST_NSEC]
45044         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45045         Define using time_t rather than struct timespec.
45047         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45048         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45049         Macros removed.
45050         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45051         [!NO_THREADS].
45052         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45053         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45054         Likewise.
45056         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45057         __libc_cleanup_push argument.
45059         * bits/param.h: New file.
45060         * misc/sys/param.h: New file.
45061         * include/sys/param.h: New file.
45062         * misc/Makefile (headers): Add bits/param.h.
45063         * sysdeps/generic/sys/param.h: File removed.
45064         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45065         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45066         * sysdeps/mach/hurd/bits/param.h: New file.
45067         * sysdeps/mach/hurd/sys/param.h: File removed.
45069         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45070         last change.
45072         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45073         [_IO_MTSAFE_IO].
45074         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45075         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45076         New macros.
45078         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45079         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45080         rather than -D_IO_MTSAFE_IO conditionally.
45081         * stdio-common/Makefile (CPPFLAGS): Likewise.
45082         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45083         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45084         Use $(libio-mtsafe).
45085         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45086         of -D_IO_MTSAFE_IO.
45087         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45088         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45089         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45090         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45091         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45092         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45093         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45094         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45095         (CFLAGS-fread_u_chk.c): Likewise.
45096         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45097         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45098         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45099         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45100         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45101         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45102         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45103         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45104         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45106         * libio/Makefile: Test [$(libc-reentrant) = yes]
45107         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45109         * Makeconfig
45110         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45111         * sysdeps/pthread/configure: File removed.
45112         * sysdeps/pthread/Makeconfig: New file.
45113         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45114         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45116 2012-08-16  Gary Benson  <gbenson@redhat.com>
45118         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45119         unmapping the first object in a namespace.
45121 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45123         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45124         (__internal_setnetgrent): ... this.  Add internal_function to
45125         definition.  Add libc_hidden_def.
45126         (setnetgrent): Update caller.
45127         (internal_endnetgrent): Renamed to ...
45128         (__internal_endnetgrent): ... this.  Add internal_function to
45129         definition.  Add libc_hidden_def.
45130         (endnetgrent): Update caller.
45131         (internal_getnetgrent_r): Renamed to ...
45132         (__internal_getnetgrent_r): ... this.  Add internal_function to
45133         definition.  Add libc_hidden_def.
45134         (__getnetgrent_r): Update caller.
45135         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45137 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45139         * stdlib/longlong.h: Update from GCC.
45141 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45143         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45144         on _QL, which is set by umul_ppmm but never used.
45145         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45146         variables, which are set by GMP macros but never used.
45147         * stdio-common/_itowa.c (_itowa): Likewise.
45148         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45149         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45151 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45153         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45154         struct La_sh_regs is not constant.
45155         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45156         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45157         and struct La_sparc64_regs are not constant.
45159 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45161         * sysdeps/unix/sysv/linux/kernel-features.h
45162         (__ASSUME_POSIX_TIMERS): Remove.
45163         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45164         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45165         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45166         Make code unconditional.
45167         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45168         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45169         Make code unconditional.
45170         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45171         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45172         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45173         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45174         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45175         Make code unconditional.
45176         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45177         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45178         (__libc_missing_posix_timers): Remove.
45180 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45182         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45183         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45185         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45187         * elf/dl-sym.c: Include <stdlib.h>.
45189         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45190         constants, which avoids warnings in 32-bit builds.
45192         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45193         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45195         * misc/lseek.c: File moved to ...
45196         * io/lseek.c: ... here.
45198         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45200         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45201         shifting LEN more than 31 bits at once.
45203 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45205         [BZ #14195]
45206         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45207         segmentation fault for a case of two empty input strings.
45208         * string/test-strncasecmp.c (check1): Renamed to...
45209         (bz12205): ...this.
45210         (bz14195): Add new testcase for two empty input strings and N > 0.
45211         (test_main): Call new testcase, adapt for renamed function.
45213 2012-08-15  Andreas Jaeger  <aj@suse.de>
45215         [BZ #14090]
45216         * crypt/md5test2.c: New test, based on test supplied by Serge
45217         Belyshev <belyshev@depni.sinp.msu.ru>.
45218         * crypt/Makefile (xtests): Add md5test-giant..
45219         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45221 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45223         [BZ #14090]
45224         * crypt/md5.c (md5_process_block): Don't assume the buffer
45225         length is less than 2**32.
45226         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45227         length is less than 2**64.
45229 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45231         * string/str-two-way.h: Include <sys/param.h>.
45232         (MAX): Macro removed.
45234         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45235         Move #define and #undef of memmove to just before and after
45236         including <string.h>.
45238         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45239         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45240         and after including <string.h>.  Move declarations of
45241         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45242         to before #include "string/memmove.c".
45244         * include/dirent.h: Declare __getdirentries.
45246         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45247         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45249 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45251         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45252         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45253         * sysdeps/i386/configure: Regenerated.
45254         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45255         STABS_CURRENT_FILE, and STABS_FUN.
45256         (END): Remove call to STABS_FUN_END.
45257         (STABS_CURRENT_FILE1): Delete.
45258         (STABS_CURRENT_FILE): Likewise.
45259         (STABS_FUN): Likewise.
45260         (STABS_FUN_END): Likewise.
45261         (STABS_FUN2): Likewise.
45262         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45263         * sysdeps/x86_64/configure: Regenerated.
45265 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45267         * elf/dl-open.c: Include <atomic.h>.
45268         * elf/dl-lookup.c: Likewise.
45270 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45272         * sysdeps/unix/sysv/linux/kernel-features.h
45273         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45274         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45275         unconditionally.
45276         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45277         unconditionally.
45278         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45279         condition on __ASSUME_CLONE_THREAD_FLAGS.
45281 2012-08-14  Andreas Jaeger  <aj@suse.de>
45283         * sysdeps/i386/fpu/libm-test-ulps: Update.
45285 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45287         * include/atomic.h (atomic_exchange_and_add): Split into ...
45288         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45289         New atomic macros.
45291 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45295 2012-08-13  Jeff Law <law@redhat.com>
45297         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45298         null byte in the output string.
45300 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45302         * sysdeps/unix/sysv/linux/kernel-features.h
45303         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45304         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45305         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45306         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45307         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45308         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45309         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45311 2012-08-09  Jeff Law <law@redhat.com>
45313         [BZ #13939]
45314         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45315         When avoid_arena is set, don't retry in the that arena.  Pick the
45316         next one, whatever it might be.
45317         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45318         (arena_lock): Pass in new parameter to arena_get2.
45319         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45320         arena_get2.
45321         (__libc_malloc): Unify retrying after main arena failure with
45322         __libc_memalign version.
45323         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45325 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45327         [BZ #14166]
45328         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45329         to __redirect_strstr.
45330         (__strstr_sse42): Use typeof __redirect_strstr.
45331         (__strstr_ia32): Likewise.
45332         (__libc_strstr): New prototype.
45333         (strstr): Renamed to ...
45334         (__libc_strstr): This.
45335         (strstr): New strong alias of __libc_strstr.
45336         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45337         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45338         __redirect_time.
45339         Include <time.h>.
45340         (__libc_time): New prototype.
45341         (time_ifunc): Replace time with __libc_time.
45342         (time): New strong alias and hidden definition of __libc_time.
45343         (__GI_time): Remove strong alias.
45344         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45345         Include <stddef.h>.
45346         (memmove): Redefined to __redirect_memmove.
45347         (__memmove_sse2): Use typeof __redirect_memmove.
45348         (__memmove_ssse3): Likewise.
45349         (__memmove_ssse3_back): Likewise.
45350         (__libc_memmove): New prototype.
45351         (memmove): Renamed to ...
45352         (__libc_memmove): This.
45353         (memmove): New strong alias of __libc_memmove.
45355 2012-08-08  Mark Salter  <msalter@redhat.com>
45357         * elf/elf.h
45358         (R_MN10300_TLS_GD): Define.
45359         (R_MN10300_TLS_LD): Likewise.
45360         (R_MN10300_TLS_LDO): Likewise.
45361         (R_MN10300_TLS_GOTIE): Likewise.
45362         (R_MN10300_TLS_IE): Likewise.
45363         (R_MN10300_TLS_LE): Likewise.
45364         (R_MN10300_TLS_DTPMOD): Likewise.
45365         (R_MN10300_TLS_DTPOFF): Likewise.
45366         (R_MN10300_TLS_TPOFF): Likewise.
45367         (R_MN10300_SYM_DIFF): Likewise.
45368         (R_MN10300_ALIGN): Likewise.
45369         (R_MN10300_NUM): Update.
45371 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45373         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45374         Remove.
45376 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45378         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45380         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45381         sysdeps/unix -> sysdeps/posix move.
45382         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45384 2012-08-07      Allan McRae     <allan@archlinux.org>
45386         [BZ #14303]
45387         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45388         (SUNOS_CPP): Likewise.
45389         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45390         not found.
45391         (open_input): Call CPP using execvp.
45393 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45395         * sysdeps/unix/sysv/linux/kernel-features.h
45396         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45397         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45398         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45399         (__ASSUME_WAITID_SYSCALL): Likewise.
45400         * sysdeps/unix/sysv/linux/dl-execstack.c
45401         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45402         code unconditional.
45403         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45404         conditional code.
45405         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45406         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45407         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45408         code.
45409         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45410         unconditional.
45411         [__ASSUME_WAITID_SYSCALL]: Likewise.
45412         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45414 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45416         * sysdeps/unix/closedir.c: Renamed to ...
45417         * sysdeps/posix/closedir.c: ... here.
45418         * sysdeps/unix/dirfd.c: Renamed to ...
45419         * sysdeps/posix/dirfd.c: ... here.
45420         * sysdeps/unix/dirstream.h: Renamed to ...
45421         * sysdeps/posix/dirstream.h: ... here.
45422         * sysdeps/unix/fdopendir.c: Renamed to ...
45423         * sysdeps/posix/fdopendir.c: ... here.
45424         * sysdeps/unix/opendir.c: Renamed to ...
45425         * sysdeps/posix/opendir.c: ... here.
45426         * sysdeps/unix/readdir.c: Renamed to ...
45427         * sysdeps/posix/readdir.c: ... here.
45428         * sysdeps/unix/readdir_r.c: Renamed to ...
45429         * sysdeps/posix/readdir_r.c: ... here.
45430         * sysdeps/unix/rewinddir.c: Renamed to ...
45431         * sysdeps/posix/rewinddir.c: ... here.
45432         * sysdeps/unix/seekdir.c: Renamed to ...
45433         * sysdeps/posix/seekdir.c: ... here.
45434         * sysdeps/unix/telldir.c: Renamed to ...
45435         * sysdeps/posix/telldir.c: ... here.
45436         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45437         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45438         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45439         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45441         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45442         * bits/fcntl.h: ... here.
45444         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45445         not 0.
45446         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45447         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45448         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45449         (struct flock): Move l_start, l_len to the beginning.
45450         Use __pid_t for l_pid.
45451         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45452         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45453         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45454         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45455         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45456         [__USE_LARGEFILE64] (struct flock64): New type.
45457         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45459         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45460         * bits/dirent.h: ... here.
45462         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45463         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45465 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45467         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45468         Change from 2.6.0 to 2.6.16.
45469         * sysdeps/unix/sysv/linux/configure: Regenerated.
45470         * sysdeps/unix/sysv/linux/kernel-features.h
45471         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45472         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45473         version.
45474         (__ASSUME_UTIMES): Likewise.
45475         (__ASSUME_CLONE_STOPPED): Remove.
45476         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45477         architectures, not kernel version.
45478         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45479         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45480         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45481         (__ASSUME_WAITID_SYSCALL): Likewise.
45482         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45483         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45484         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45485         refer to older versions.
45487 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45489         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45490         Define alphasort64 as an alias.
45491         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45492         Define versionsort64 as an alias.
45493         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45494         Define scandir64 as an alias.
45495         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45496         Define scandirat64 as an alias.
45497         * dirent/alphasort64.c (alphasort64):
45498         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45499         * dirent/versionsort64.c: Likewise.
45500         * dirent/scandir64.c: Likewise.
45501         * dirent/scandirat64.c: Likewise.
45502         * sysdeps/wordsize-64/alphasort.c: File removed.
45503         * sysdeps/wordsize-64/alphasort64.c: File removed.
45504         * sysdeps/wordsize-64/scandir.c: File removed.
45505         * sysdeps/wordsize-64/scandir64.c: File removed.
45506         * sysdeps/wordsize-64/scandirat.c: File removed.
45507         * sysdeps/wordsize-64/scandirat64.c: File removed.
45508         * sysdeps/wordsize-64/versionsort.c: File removed.
45509         * sysdeps/wordsize-64/versionsort64.c: File removed.
45510         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45511         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45512         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45513         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45514         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45515         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45516         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45517         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45519         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45520         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45521         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45522         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45523         [defined __arch64__ || defined __sparcv9]
45524         (__INO_T_MATCHES_INO64_T): New macro.
45525         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45526         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45527         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45528         * sysdeps/unix/sysv/linux/bits/dirent.h
45529         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45530         (_DIRENT_MATCHES_DIRENT64): New macro.
45532         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45533         Define lockf64 as an alias.
45534         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45535         Define fseeko64 as an alias.
45536         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45537         Define ftello64 as an alias.
45538         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45539         Define _IO_fgetpos64 and fgetpos64 as aliases.
45540         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45541         Define _IO_fsetpos64 and fsetpos64 as aliases.
45542         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45543         Conditionalize body on this.
45544         * libio/fseeko64.c: Likewise.
45545         * libio/ftello64.c: Likewise.
45546         * libio/iofgetpos64.c: Likewise.
45547         * libio/iofsetpos64.c: Likewise.
45548         * sysdeps/wordsize-64/lockf.c: File removed.
45549         * sysdeps/wordsize-64/lockf64.c: File removed.
45550         * sysdeps/wordsize-64/fseeko.c: File removed.
45551         * sysdeps/wordsize-64/fseeko64.c: File removed.
45552         * sysdeps/wordsize-64/ftello.c: File removed.
45553         * sysdeps/wordsize-64/ftello64.c: File removed.
45554         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45555         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45556         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45557         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45558         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45559         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45560         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45561         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45562         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45563         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45564         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45565         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45566         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45567         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45569         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45570         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45571         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45572         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45573         [defined __arch64__ || defined __sparcv9]
45574         (__OFF_T_MATCHES_OFF64_T): New macro.
45575         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45576         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45577         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45578         (__OFF_T_MATCHES_OFF64_T): New macro.
45580 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45582         * stdlib/secure-getenv.c (__secure_getenv): Replace
45583         GLIBC_2_16 with GLIBC_2_17.
45585 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45587         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45588         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45590 2012-08-03  David S. Miller  <davem@davemloft.net>
45592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45594 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45596         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45597         Remove.
45598         (__ASSUME_CORRECT_SI_PID): Likewise.
45599         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45600         (__ASSUME_TMPFS_NAME): Likewise.
45601         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45602         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45603         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45604         (HAVE_AUX_SECURE): Make definition unconditional.
45605         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45606         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45608 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45610         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45611         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45612         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45613         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45614         __eloop_threshold instead of SYMLOOP_MAX.
45616         * sysdeps/generic/eloop-threshold.h: New file.
45617         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45618         of MAXSYMLINKS.
45619         * elf/chroot_canon.c (chroot_canon): Likewise.
45621 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45623         [BZ #13717]
45624         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45625         Change to 2.6.0 everywhere.
45626         * sysdeps/unix/sysv/linux/configure: Regenerated.
45627         * sysdeps/unix/sysv/linux/kernel-features.h
45628         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45629         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45630         kernel versions.
45631         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45632         (__ASSUME_FUTEX_REQUEUE): Remove.
45633         (__ASSUME_STATFS64): Define unconditionally.
45634         (__ASSUME_AT_SECURE): Likewise.
45635         (__ASSUME_CORRECT_SI_PID): Likewise.
45636         (__ASSUME_TGKILL): Define without depending on kernel version for
45637         i386.
45638         (__ASSUME_UTIMES): Likewise.
45639         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45640         kernel version.
45641         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45642         (__ASSUME_TMPFS_NAME): Likewise.
45643         * README: Update reference to Linux kernel versions.
45645 2012-08-02  Marek Polacek  <polacek@redhat.com>
45647         [BZ# 14150]
45648         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45649         libc_cv_asm_type_prefix with %.
45650         * configure: Regenerated.
45651         * include/libc-symbols.h: Remove comment about
45652         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45653         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45654         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45655         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45656         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45657         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45658         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45659         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45660         * elf/tst-unique2mod1.c: Likewise.
45661         * elf/tst-unique1mod2.c: Likewise.
45662         * elf/tst-unique1mod1.c: Likewise.
45663         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45664         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45665         Replace ASM_TYPE_DIRECTIVE with .type.
45666         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45667         * sysdeps/i386/sysdep.h: Likewise.
45668         * sysdeps/x86_64/sysdep.h: Likewise.
45669         * sysdeps/sh/sysdep.h: Likewise.
45670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45671         Do not define ASM_TYPE_DIRECTIVE.
45672         * sysdeps/powerpc/sysdep.h: Likewise.
45673         * sysdeps/powerpc/powerpc32/sysdep.h:
45674         Replace ASM_TYPE_DIRECTIVE with .type.
45675         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45676         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45677         * sysdeps/i386/fpu/e_powf.S: Likewise.
45678         * sysdeps/i386/fpu/e_expl.S: Likewise.
45679         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45680         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45681         * sysdeps/i386/fpu/e_pow.S: Likewise.
45682         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45683         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45684         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45685         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45686         * sysdeps/i386/fpu/e_log2.S: Likewise.
45687         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45688         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45689         * sysdeps/i386/fpu/e_powl.S: Likewise.
45690         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45691         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45692         * sysdeps/i386/fpu/e_logl.S: Likewise.
45693         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45694         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45695         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45696         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45697         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45698         * sysdeps/i386/fpu/e_log.S: Likewise.
45699         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45700         * sysdeps/i386/fpu/e_logf.S: Likewise.
45701         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45702         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45703         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45704         * sysdeps/i386/fpu/e_log10.S: Likewise.
45705         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45706         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45707         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45708         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45709         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45710         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45711         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45712         * sysdeps/i386/i686/strtok.S: Likewise.
45713         * sysdeps/i386/i386-mcount.S: Likewise.
45714         * sysdeps/i386/strtok.S: Likewise.
45715         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45716         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45717         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45718         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45719         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45720         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45721         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45722         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45723         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45724         * sysdeps/x86_64/_mcount.S: Likewise.
45725         * sysdeps/x86_64/strtok.S: Likewise.
45726         * sysdeps/sh/_mcount.S: Likewise.
45728 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45730         * libio/iofopen.c: Include <fcntl.h>.
45731         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45732         (_IO_fopen64, fopen64): Define as aliases.
45733         * libio/iofopen64.c: Include <fcntl.h>.
45734         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45735         Conditionalize body on this.
45736         * sysdeps/wordsize-64/iofopen.c: File removed.
45737         * sysdeps/wordsize-64/iofopen64.c: File removed.
45739 2012-08-01  Marek Polacek  <polacek@redhat.com>
45741         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45742         Use dlfcn directly instead of a variable.
45743         (binfmt-subdir): Do not define.
45744         (dlfcn): Likewise.
45746 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45748         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45749         Remove all definitions.
45750         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45751         <kernel-features.h>.
45752         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45753         (miss_F_GETOWN_EX): Remove all definitions.
45754         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45755         macro definition.
45756         [!__ASSUME_FCNTL64]: Remove conditional code.
45757         [__ASSUME_FCNTL64]: Make code unconditional.
45758         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45759         <kernel-features.h>.
45760         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45761         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45762         (lockf64) [__NR_fcntl64]: Make code unconditional.
45763         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45765         * sysdeps/unix/sysv/linux/kernel-features.h
45766         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45767         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45768         Make code unconditional.
45769         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45770         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45772         [__NR_vfork]: Make code unconditional.
45773         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45774         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45776         [__NR_vfork]: Make code unconditional.
45777         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45778         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45780 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45782         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45783         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45785         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45786         Define mkstemp64 as an alias.
45787         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45788         Define mkstemps64 as an alias.
45789         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45790         Define mkostemp64 as an alias.
45791         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45792         Define mkostemps64 as an alias.
45793         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45794         Conditionalize body on this.
45795         * misc/mkostemp64.c: Likewise.
45796         * misc/mkostemps64.c: Likewise.
45797         * misc/mkstemps64.c: Likewise.
45798         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45799         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45800         * sysdeps/wordsize-64/mkostemp.c: File removed.
45801         * sysdeps/wordsize-64/mkstemp.c: File removed.
45802         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45803         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45804         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45805         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45807         [BZ #14138]
45808         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45809         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45810         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45811         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45813         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45814         compat_symbol macros from <shlib-compat.h> rather than the underlying
45815         default_symbol_version and symbol_version macros, so that DEFAULT
45816         lines in shlib-versions are respected.
45817         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45819 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45821         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45822         Declare with warn_unused_result.
45823         (setgid, setregid, setegid, setresgid): Likewise.
45824         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45825         Likewise.
45826         * WUR-REPORT: Remove set*id functions.
45828 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45830         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45832 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45834         [BZ #10191]
45835         * include/sys/socket.h (__libc_accept, __libc_accept4):
45836         Add attribute_hidden.
45837         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45839         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45840         use of PTR_MANGLE.
45841         * inet/getnetgrent_r.c (setup): Likewise.
45843         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45845 2012-07-31  David S. Miller  <davem@davemloft.net>
45847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45849 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45851         [BZ #13629]
45852         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45853         value between 1.0 and 2.0 and smaller part has absolute value less
45854         than 1.0.
45855         * math/s_clog10.c (__clog10): Likewise.
45856         * math/s_clog10f.c (__clog10f): Likewise.
45857         * math/s_clog10l.c (__clog10l): Likewise.
45858         * math/s_clogf.c (__clogf): Likewise.
45859         * math/s_clogl.c (__clogl): Likewise.
45860         * math/libm-test.inc (clog_test): Add more tests.
45861         (clog10_test): Likewise.
45862         * sysdeps/i386/fpu/libm-test-ulps: Update.
45863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45865 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45867         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45868         Exit with zero in case no suitable GID is found, and write a
45869         message to standard error.
45871 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45873         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45874         rather than to 1.
45875         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45876         (MAXPATHLEN): Removed.
45877         (NOGROUP, NODEV): New macros.
45878         (setbit, clrbit, isset, isclr): New macros.
45879         (howmany, roundup, powerof2): New macros.
45880         (DEV_BSIZE): New macro.
45882         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45883         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45885         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45886         definition on [!__NO_LONG_DOUBLE_MATH].
45888         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45889         PTR_MANGLE and PTR_DEMANGLE.
45891         * socket/accept4.c (accept4): Rename to __libc_accept4.
45892         Define accept4 as a weak alias.
45894         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45895         on [_DIRENT_HAVE_D_TYPE].
45896         * io/ftw.c (ftw_dir): Likewise.
45898         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45900         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45902         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45903         Use the BSD numbers rather than the arbitrary ones we had.
45904         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45905         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45906         (SIGXCPU, SIGXFSZ): New macros.
45907         (_NSIG): Now 32.
45909         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45910         initializer on [_LIBC_REENTRANT].
45912         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45913         definitions inside [_POSIX_MAPPED_FILES].
45915         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45917         * dirent/opendir.c: Include <fcntl.h>.
45919         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45920         (__libc_getspecific): Likewise.
45921         (__libc_key_create): Likewise.
45923         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45924         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45925         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45926         (tmpfile64): Define as alias.
45927         * sysdeps/wordsize-64/tmpfile.c: File removed.
45928         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45929         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45930         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45932         * stdio-common/vfscanf.c: Include <stdbool.h>.
45933         * nss/makedb.c: Likewise.
45934         * stdio-common/_i18n_number.h: Likewise.
45935         * argp/argp-help.c: Likewise.
45936         * posix/wordexp.c: Likewise.
45937         * sysdeps/posix/spawni.c: Likewise.
45938         * nss/nss_files/files-initgroups.c: Likewise.
45939         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45940         * nss/nss_files/files-initgroups.c: Likewise.
45941         * nss/nss_db/db-netgrp.c: Likewise.
45942         * nss/nss_db/db-initgroups.c: Likewise.
45943         * io/fchmodat.c: Include <sys/stat.h>.
45945         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45946         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45948         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45949         [HAVE_MMAP].
45951         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45952         Add multiple inclusion protection.
45954 2012-07-27  David S. Miller  <davem@davemloft.net>
45956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45958 2012-07-27  Gary Benson  <gbenson@redhat.com>
45960         [BZ #14298]
45961         * elf/rtld.c: Include <stap-probe.h>.
45962         (dl_main): Added static probes "init_start" and "init_complete".
45963         * elf/dl-load.c: Include <stap-probe.h>.
45964         (lose): Take new parameter "nsid".
45965         Added static probe "map_failed".
45966         (_dl_map_object_from_fd): Pass namespace id to lose.
45967         Added static probe "map_start".
45968         (open_verify): Pass namespace id to lose.
45969         * elf/dl-open.c: Include <stap-probe.h>.
45970         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45971         and "reloc_complete".
45972         * elf/dl-close.c: Include <stap-probe.h>.
45973         (_dl_close_worker): Added static probes "unmap_start" and
45974         "unmap_complete".
45975         * elf/rtld-debugger-interface.txt: New file documenting the above.
45977 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45979         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45980         rather than a string variable.
45981         * sunrpc/rpc_main.c (h_output): Likewise.
45982         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45984 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45986         * inet/check_native.c: New file.
45988 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45990         [BZ #13629]
45991         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45992         if larger part has absolute value 1.0.
45993         * math/s_clog10.c (__clog10): Likewise.
45994         * math/s_clog10f.c (__clog10f): Likewise.
45995         * math/s_clog10l.c (__clog10l): Likewise.
45996         * math/s_clogf.c (__clogf): Likewise.
45997         * math/s_clogl.c (__clogl): Likewise.
45998         * math/libm-test.inc (clog_test): Add more tests.
45999         (clog10_test): Likewise.
46000         * sysdeps/i386/fpu/libm-test-ulps: Update.
46001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46003         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46004         (pltexit): Likewise.
46005         (La_regs): Likewise.
46006         (La_retval): Likewise.
46007         (int_retval): Likewise.
46008         Update #error for removed macros to refer only to definitions in
46009         tst-audit.h.
46010         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46011         macro.
46012         (pltexit): Likewise.
46013         (La_regs): Likewise.
46014         (La_retval): Likewise.
46015         (int_retval): Likewise.
46016         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46017         macro.
46018         (pltexit): Likewise.
46019         (La_regs): Likewise.
46020         (La_retval): Likewise.
46021         (int_retval): Likewise.
46022         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46023         macro.
46024         (pltexit): Likewise.
46025         (La_regs): Likewise.
46026         (La_retval): Likewise.
46027         (int_retval): Likewise.
46028         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46029         macro.
46030         (pltexit): Likewise.
46031         (La_regs): Likewise.
46032         (La_retval): Likewise.
46033         (int_retval): Likewise.
46034         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46035         macro.
46036         (pltexit): Likewise.
46037         (La_regs): Likewise.
46038         (La_retval): Likewise.
46039         (int_retval): Likewise.
46040         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46041         macro.
46042         (pltexit): Likewise.
46043         (La_regs): Likewise.
46044         (La_retval): Likewise.
46045         (int_retval): Likewise.
46046         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46047         macro definitions in tst-audit.h.
46048         * sysdeps/i386/tst-audit.h: New file.
46049         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46050         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46051         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46052         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46053         * sysdeps/sh/tst-audit.h: Likewise.
46054         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46055         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46056         * sysdeps/x86_64/tst-audit.h: Likewise.
46058 2012-07-26  Andreas Jaeger  <aj@suse.de>
46060         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46061         ptrace.
46063         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46064         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46065         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46066         PTRACE_O_MASK.
46067         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46068         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46069         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46071         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46072         value.
46074         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46075         _sigsys.
46076         (si_call_addr, si_syscall, si_arch): Define new macro.
46077         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46078         _sigsys.
46079         (si_call_addr, si_syscall, si_arch): Define new marcro.
46080         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46081         _sigsys.
46082         (si_call_addr, si_syscall, si_arch): Define new macro.
46083         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46084         _sigsys.
46085         (si_call_addr, si_syscall, si_arch): Define new macro.
46087 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46089         [BZ #13717]
46090         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46091         Change to 2.4.21 where previously 2.4.1.
46092         * sysdeps/unix/sysv/linux/configure: Regenerated.
46093         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46094         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46095         Linux kernel version.
46096         (__ASSUME_STD_AUXV): Remove.
46097         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46098         kernel version.
46099         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46100         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46101         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46102         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46103         (__ASSUME_NETLINK_SUPPORT): Likewise.
46104         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46105         (__no_netlink_support): Remove conditional definition.
46106         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46107         Remove.
46108         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46109         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46110         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46111         (if_nameindex_ioctl): Remove.
46112         (if_nameindex_netlink): Do not handle __no_netlink_support.
46113         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46114         code.
46115         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46116         Remove conditional code.
46117         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46118         code.
46119         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46120         unconditional.
46121         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46122         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46123         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46124         Remove.
46125         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46126         [!__ASSUME_STD_AUXV]: Remove conditional code.
46127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46128         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46129         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46131         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46132         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46133         code.
46134         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46136         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46137         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46138         conditional code.
46139         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46141         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46142         code.
46143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46144         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46145         conditional code.
46146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46147         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46148         code unconditional.
46149         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46150         conditional code.
46151         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46152         unconditional.
46153         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46154         conditional code.
46155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46156         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46157         unconditional.
46158         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46159         conditional code.
46160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46161         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46162         code unconditional.
46163         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46164         conditional code.
46165         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46166         unconditional.
46167         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46168         conditional code.
46169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46170         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46171         code unconditional.
46172         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46173         conditional code.
46174         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46175         unconditional.
46176         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46177         conditional code.
46179 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46181         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46182         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46183         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46184         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46185         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46186         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46187         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46188         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46189         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46190         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46191         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46192         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46193         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46194         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46195         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46196         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46197         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46198         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46199         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46200         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46201         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46202         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46203         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46205 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46207         * Versions.def: Add GLIBC_2.17.
46208         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46209         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46210         Introduce __libc_secure_getenv.
46211         * stdlib/Versions (2.17): Add secure_getenv
46212         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46213         * stdlib/secure-getenv.c: Rename __secure_getenv to
46214         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46215         symbol __secure_getenv for GLIBC_2.0.
46216         * stdlib/tst-secure-getenv.c: New.
46217         * stdlib/Makefile (tests): Add testcase.
46218         * manual/startup.texi (Environment Access): Document
46219         secure_getenv.
46220         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46221         __libc_secure_getenv.
46222         * inet/ruserpass.c (ruserpass): Likewise.
46223         * malloc/mtrace.c (mtrace): Likewise.
46224         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46225         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46226         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46227         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46228         HAVE_SECURE_GETENV.
46229         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46230         __secure_getenv to __libc_secure_getenv.
46231         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46233         Likewise.
46234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46235         Likewise.
46236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46238         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46244 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46246         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46247         (struct La_i86_retval): Likewise.
46248         (struct La_x86_64_regs): Likewise.
46249         (struct La_x86_64_retval): Likewise.
46250         (struct La_x32_regs): Likewise.
46251         (struct La_x32_retval): Likewise.
46252         (struct La_ppc32_regs): Likewise.
46253         (struct La_ppc32_retval): Likewise.
46254         (struct La_ppc64_regs): Likewise.
46255         (struct La_ppc64_retval): Likewise.
46256         (struct La_sh_regs): Likewise.
46257         (struct La_sh_retval): Likewise.
46258         (struct La_s390_32_regs): Likewise.
46259         (struct La_s390_32_retval): Likewise.
46260         (struct La_s390_64_regs): Likewise.
46261         (struct La_s390_64_retval): Likewise.
46262         (struct La_sparc32_regs): Likewise.
46263         (struct La_sparc32_retval): Likewise.
46264         (struct La_sparc64_regs): Likewise.
46265         (struct La_sparc64_retval): Likewise.
46266         (struct audit_ifaces): Remove architecture-specific pltenter and
46267         pltexit members.
46268         * sysdeps/i386/ldsodefs.h: New file.
46269         * sysdeps/powerpc/ldsodefs.h: Likewise.
46270         * sysdeps/s390/ldsodefs.h: Likewise.
46271         * sysdeps/sh/ldsodefs.h: Likewise.
46272         * sysdeps/sparc/ldsodefs.h: Likewise.
46273         * sysdeps/x86_64/ldsodefs.h: Likewise.
46275 2012-07-25  Marek Polacek  <polacek@redhat.com>
46277         [BZ #6808]
46278         * math/libm-test.inc (yn_test): Add another test.
46279         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46280         to ERANGE when the result is +-Inf.
46281         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46282         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46283         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46284         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46286 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46288         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46289         equal to 0.
46290         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46291         clock_t.
46292         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46294 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46296         * configure.in <sysdeps resolving>: Correct printing
46297         Implies_before.
46298         * configure: Regenerate.
46300 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46302         * math/w_ilogb.c: Include <limits.h>.
46303         * math/w_ilogbl.c: Likewise.
46305 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46307         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46308         va_copy.  Document allowing for unavailable va_copy only as
46309         pre-C99 compatibility.
46310         * manual/string.texi (Copying and Concatenation): Use va_copy
46311         instead of __va_copy in concat example.
46313 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46315         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46316         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46317         it if not null.
46319         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46320         with O_NOLINK passed to __file_name_lookup.
46322         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46323         with O_NOLINK passed to __file_name_lookup.
46325         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46326         negative N or less than NGIDS.
46328         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46329         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46330         enough.  Use memcpy instead of strncpy.
46332 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46334         * elf/Makefile (check-data): Remove.
46335         (localplt.data): New vpath directive.
46336         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46337         instead of $(check-data).
46338         * scripts/data/localplt-generic.data: Move to ...
46339         * sysdeps/generic/localplt.data: ... here.
46340         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46341         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46342         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46344         ... here.
46345         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46347         ... here.
46348         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46350         ... here.
46351         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46353         ... here.
46354         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46356         ... here.
46357         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46359         ... here.
46361 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46363         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46364         PPC32 and PPC64 files.
46365         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46366         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46368 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46370         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46371         __makecontext_ret to ...
46372         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46373         ... here and call exit if uc_link is NULL.  New file.
46374         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46375         __makecontext_ret.S.
46376         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46377         __makecontext_ret to ...
46378         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46379         ... here and call exit if uc_link is NULL.  New file.
46380         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46381         __makecontext_ret.S.
46383 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46385         * elf/elf.h (R_390_IRELATIVE): New definition.
46386         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46387         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46388         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46389         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46390         (elf_machine_lazy_rel): Likewise.
46391         * sysdeps/s390/dl-irel.h: New file.
46392         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46393         * sysdeps/s390/s390-64/memset.S: New asm code.
46394         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46395         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46396         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46397         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46398         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46399         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46400         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46401         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46402         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46403         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46404         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46405         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46406         * sysdeps/s390/s390-32/memset.S: New asm code.
46407         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46409 2012-07-17  Marek Polacek  <polacek@redhat.com>
46411         [BZ #14349]
46412         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46413         * sysdeps/s390/s390-64/configure.in: Likewise.
46414         * sysdeps/sparc/configure.in: Likewise.
46415         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46416         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46417         * sysdeps/i386/configure.in: Likewise.
46418         * sysdeps/x86_64/configure.in: Likewise.
46419         * sysdeps/sh/configure.in: Likewise.
46420         * sysdeps/s390/s390-32/configure: Regenerated.
46421         * sysdeps/s390/s390-64/configure: Likewise.
46422         * sysdeps/x86_64/configure: Likewise.
46423         * sysdeps/sh/configure: Likewise.
46424         * sysdeps/powerpc/powerpc64/configure: Likewise.
46425         * sysdeps/powerpc/powerpc32/configure: Likewise.
46426         * sysdeps/sparc/configure: Likwise.
46427         * sysdeps/i386/configure: Likewise.
46429         * elf/dl-open.c: Comment fixes.
46431 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46433         * Makefile [CXX] (check-data): Remove.
46434         [CXX] (c++-types.data): New vpath directive.
46435         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46436         vpath.  Do not allow for C++ type data being missing.
46437         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46438         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46439         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46440         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46441         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46442         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46443         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46445         ... here.
46446         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46448         ... here.
46449         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46451         ... here.
46452         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46454         ... here.
46455         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46457         ... here.
46458         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46460         ... here.
46461         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46463         ... here.
46464         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46467         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46468         definitions to architecture-specific files.
46469         (TLS_IE): Likewise.
46470         (TLS_LD): Likewise.
46471         (TLS_GD): Likewise.
46472         * sysdeps/i386/tls-macros.h: New file.
46473         * sysdeps/powerpc/tls-macros.h: Likewise.
46474         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46475         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46476         * sysdeps/sh/tls-macros.h: Likewise.
46477         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46478         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46479         * sysdeps/x86_64/tls-macros.h: Likewise.
46481 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46483         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46484         zero value for regular exit case.
46486         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46487         (__start_context): Preserve zero value for regular exit case.
46489 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46490             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46492         * manual/setjmp.texi (setcontext): Clarify normal process
46493         termination when uc_link is the null pointer.
46494         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46495         exit call.
46497 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46499         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46500         preprocessor.  Test for each exception mask separately.
46502 2012-07-16  Andreas Jaeger  <aj@suse.de>
46504         * po/ru.po: Update from translation team.
46506 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46508         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46509         equal to 0.
46510         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46511         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46512         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46513         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46514         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46516 2012-07-13  Andreas Jaeger  <aj@suse.de>
46518         * po/fr.po: Update from translation team.
46520 2012-07-12  Marek Polacek  <polacek@redhat.com>
46522         [BZ #14173]
46523         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46524         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46525         loop condition.
46527 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46529         [BZ #13717]
46530         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46531         Change to 2.4.1 where previously 2.4.0.
46532         * sysdeps/unix/sysv/linux/configure: Regenerated.
46533         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46534         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46535         version.
46536         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46537         (__ASSUME_AT_CLKTCK): Remove.
46538         (__ASSUME_AT_PAGESIZE): Likewise.
46539         (__ASSUME_AT_XID): Likewise.
46540         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46541         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46542         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46543         unconditionally.
46544         (HAVE_AUX_PAGESIZE): Likewise.
46545         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46546         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46547         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46549 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46551         [BZ #14307]
46552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46553         the temporary buffer used to invoke __gethostbyname2_r,
46554         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46555         host_data / struct gaih_addrtuple.
46556         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46557         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46558         header file nss/nsswitch.h.
46559         * nss/nsswitch.h (global scope): Add definition of implementation
46560         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46561         resolv/nss_dns/dns-host.c).
46563 2012-07-11  Andreas Jaeger  <aj@suse.de>
46565         * po/fr.po: Update from translation team.
46567         * po/sv.po: Update from translation team
46568         * po/fr.po: Another update from translation team.
46570 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46572         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46573         for subnormals or multiply small sinh result by itself.
46574         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46577 2012-07-11  David S. Miller  <davem@davemloft.net>
46579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46581 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46583         [BZ #14347]
46584         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46585         (INTERNAL_MARK): Shift it here.
46587 2012-07-10  Marek Polacek  <polacek@redhat.com>
46589         [BZ #14151]
46590         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46591         libc_cv_asm_global_directive with .globl.
46592         * configure: Regenerated.
46593         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46594         with .globl.
46595         * sysdeps/i386/configure: Regenerated.
46596         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46597         with .globl.
46598         * sysdeps/x86_64/configure: Regenerated.
46599         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46600         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46601         * elf/tst-unique2mod2.c: Likewise.
46602         * elf/tst-unique2mod1.c: Likewise.
46603         * elf/tst-unique1mod2.c: Likewise.
46604         * elf/tst-unique1mod1.c: Likewise.
46605         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46606         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46607         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46608         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46609         * sysdeps/mach/sysdep.h: Likewise.
46610         * sysdeps/i386/sysdep.h: Likewise.
46611         * sysdeps/i386/i386-mcount.S: Likewise.
46612         * sysdeps/x86_64/_mcount.S: Likewise.
46613         * sysdeps/x86_64/sysdep.h: Likewise.
46614         * sysdeps/sh/_mcount.S: Likewise.
46615         * sysdeps/sh/sysdep.h: Likewise.
46616         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46617         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46618         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46619         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46620         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46621         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46622         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46623         * locale/localeinfo.h: Likewise.
46624         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46625         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46627 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46629         [BZ #14336]
46630         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46631         system".
46632         * manual/message.texi (The Uniforum approach): Likewise.
46633         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46634         (glibc iconv Implementation): Likewise.
46636 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46638         [BZ #14337]
46639         * math/s_clog.c (__clog): Avoid scaling a value down where that
46640         could result in underflow.
46641         * math/s_clog10.c (__clog10): Likewise.
46642         * math/s_clog10f.c (__clog10f): Likewise.
46643         * math/s_clog10l.c (__clog10l): Likewise.
46644         * math/s_clogf.c (__clogf): Likewise.
46645         * math/s_clogl.c (__clogl): Likewise.
46646         * math/libm-test.inc (clog_test): Add more tests.
46647         (clog10_test): Likewise.
46648         * sysdeps/i386/fpu/libm-test-ulps: Update.
46649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46651 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46653         [BZ #14283]
46654         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46655         by 7 not 8 to examine high bit of fractional part.
46657         [BZ #14042]
46658         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46659         for call to __mcount_internal.
46660         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46661         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46662         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46664 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46666         [BZ #14154]
46667         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46668         approximation for values within 0x1p-13f of an odd multiple of
46669         pi/4.
46670         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46671         exception.  Add more tests.
46672         * sysdeps/i386/fpu/libm-test-ulps: Update.
46674         [BZ #6778]
46675         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46676         inputs and return -1 for them.  Do not check for +Inf in case not
46677         reachable for +Inf.
46678         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46679         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46680         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46681         and return -1 for them.  Do not check for +Inf in case not
46682         reachable for +Inf.
46683         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46684         define.
46685         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46686         and return -1 for them.  Do not check for +Inf in case not
46687         reachable for +Inf.
46688         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46689         spurious underflow.
46690         * sysdeps/i386/fpu/libm-test-ulps: Update.
46691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46693 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46695         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46697 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46699         [BZ #14157]
46700         [BZ #14331]
46701         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46702         could result in spurious underflow.  Scale down values above
46703         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46704         * math/s_csqrtf.c (__csqrtf): Likewise.
46705         * math/s_csqrtl.c (__csqrtl): Likewise.
46706         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46707         spurious underflow.
46708         * sysdeps/i386/fpu/libm-test-ulps: Update.
46709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46711 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46713         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46714         xopen-msg.sed.
46715         * catgets/xopen-msg.awk: New file.
46716         * catgets/xopen-msg.sed: Removed.
46718         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46719         po2text.sed.
46720         * intl/po2test.awk: New file.
46721         * intl/po2test.sed: Removed.
46723 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46725         [BZ #14328]
46726         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46727         or multiply small sinh result by itself.
46728         * math/s_ctanf.c (__ctanf): Likewise.
46729         * math/s_ctanh.c (__ctanh): Likewise.
46730         * math/s_ctanhf.c (__ctanhf): Likewise.
46731         * math/s_ctanhl.c (__ctanhl): Likewise.
46732         * math/s_ctanl.c (__ctanl): Likewise.
46733         * math/libm-test.inc (ctan_test_tonearest): New function.
46734         (ctan_test_towardzero): Likewise.
46735         (ctan_test_downward): Likewise.
46736         (ctan_test_upward): Likewise.
46737         (ctanh_test_tonearest): Likewise.
46738         (ctanh_test_towardzero): Likewise.
46739         (ctanh_test_downward): Likewise.
46740         (ctanh_test_upward): Likewise.
46741         (main): Call these new functions.
46742         * sysdeps/i386/fpu/libm-test-ulps: Update.
46743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46745 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46747         * .gitignore: Delete /ports entry.
46749 2012-07-03  Andreas Jaeger  <aj@suse.de>
46751         * po/bg.po: Update from translation team.
46752         * po/cs.po: Likewise.
46753         * po/de.po: Likewise.
46754         * po/hr.po: Likewise.
46755         * po/nl.pl: Likewise.
46756         * po/pl.po: Likewise.
46757         * po/vi.po: Likewise.
46759 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46761         * Makeconfig [!+link] (+link-before-libc): New variable.
46762         [!+link] (+link-after-libc): Likewise.
46763         [!+link] (+link-tests): Likewise.
46764         [!+link] (+link): Define in terms of $(+link-before-libc) and
46765         $(+link-after-libc).
46766         [!+link-static] (+link-static-before-libc): New variable.
46767         [!+link-static] (+link-static-after-libc): Likewise.
46768         [!+link-static] (+link-static-tests): Likewise.
46769         [!+link-static] (+link-static): Define in terms of
46770         $(+link-static-before-libc) and $(+link-static-after-libc).
46771         [build-shared] (link-libc-before-gnulib): New variable.
46772         [build-shared] (link-libc-tests): Likewise.
46773         [build-shared] (link-libc): Define in terms of
46774         $(link-libc-before-gnulib).
46775         [!build-shared] (link-libc-tests): New variable.
46776         (link-libc-static-tests): New variable.
46777         [!gnulib] (gnulib-arch): New variable.
46778         [!gnulib] (gnulib-tests): Likewise.
46779         [!gnulib] (static-gnulib-arch): Likewise.
46780         [!gnulib] (static-gnulib-tests): Likewise.
46781         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46782         Define with "=" instead of ":=".
46783         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46784         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46785         * Rules (binaries-all-notests): New variable.
46786         (binaries-all-tests): Likewise.
46787         (binaries-static-notests): Likewise.
46788         (binaries-static-tests): Likewise.
46789         (binaries-all): Define using $(binaries-all-notests) and
46790         $(binaries-all-tests).
46791         (binaries-static): Define using $(binaries-static-notests) and
46792         $(binaries-static-tests).
46793         (binaries-shared-tests): New variable.
46794         (binaries-shared-notests): Likewise.
46795         (binaries-shared): Remove variable.
46796         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46797         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46798         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46799         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46800         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46801         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46802         * elf/Makefile (sln-modules): New variable.
46803         (extra-objs): Add $(sln-modules:=.o).
46804         (ldconfig-modules): Add static-stubs.
46805         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46806         * elf/static-stubs.c: New file.
46808         [BZ #14283]
46809         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46810         by 7 not 8 to examine high bit of fractional part.  Use volatile
46811         variables when splitting into final array of floats if
46812         __FLT_EVAL_METHOD__ != 0.
46813         * math/libm-test.inc (cos_test): Add another test.
46814         (sin_test): Likewise.
46815         * sysdeps/i386/fpu/libm-test-ulps: Update.
46817         [BZ #14273]
46818         * math/libm-test.inc (cosh_test): Add more tests.
46820         * version.h (RELEASE): Set to "development".
46821         (VERSION): Set to "2.16.90".
46823 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46825         * NEWS: Update copyright. Remove last-updated date.
46826         Mention math library bug fixes and timezone data changes.
46827         * README: Mention GNU/Hurd, x32, and HPPA support status.
46829 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46831         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46833 2012-06-27  Andreas Jaeger  <aj@suse.de>
46835         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46837 2012-06-25  Andreas Jaeger  <aj@suse.de>
46839         * sysdeps/s390/fpu/libm-test-ulps: Update.
46841 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46842             Thomas Schwinge  <thomas@codesourcery.com>
46844         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46845         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46846         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46847         fanotify_mark.
46849 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46851         * sysdeps/mach/start.c: Remove file.
46852         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46853         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46854         * sysdeps/sh/init-first.c: Likewise.
46856         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46857         registers for frame unwinding purposes, add CFI directives.
46858         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46859         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46860         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46861         Likewise.
46863         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46864         __fortify_fail returning.
46865         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46867         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46868         sysdeps/sh/____longjmp_chk.S.
46869         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46870         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46871         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46872         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46874         * sysdeps/sh/abort-instr.h: New file.
46875         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46876         process in case exit returns.
46878         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46879         initialize the GOT register before use.
46881         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46882         calculation of ARGC > 4.
46884         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46885         meaningful names to some local labels.
46887 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46888             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46890         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46891         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46892         (__arch_compare_and_exchange_val_16_acq): Likewise.
46893         (__arch_compare_and_exchange_val_32_acq): Likewise.
46894         (atomic_exchange_and_add): Fix gUSA sequence.
46895         (atomic_add): Likewise.
46896         (atomic_add_negative): Likewise.
46897         (atomic_add_zero): Likewise.
46898         (atomic_bit_test_set): Likewise.
46900 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46902         [BZ #13579]
46903         * include/link.h (struct link_map): Add l_free_initfini.
46904         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46905         l_initfini.
46906         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46907         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46908         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46909         set.
46911 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46913         * configure.in: Use AC_LANG_SOURCE.
46914         * configure: Regenerate.
46916 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46918         * configure.in (libc_cv_localstatedir): New substituted variable.
46919         * configure: Regenerated.
46920         * config.make.in (localstatedir): New variable, substituted from
46921         libc_cv_localstatedir.
46922         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46923         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46924         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46925         * sysdeps/gnu/configure: Regenerated.
46927 2012-06-21  Jeff Law  <law@redhat.com>
46929         [BZ #14277]
46930         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46931         free.  Simplify list management for _LIBC case.
46933 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46935         [BZ #14273]
46936         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46937         Clear sign bit of 64-bit integer value before comparing against
46938         overflow value.
46940         * sysdeps/mach/configure: Regenerated.
46942 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46944         [BZ #14278]
46945         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46947 2012-06-21  Jeff Law  <law@redhat.com>
46949         [BZ #13882]
46950         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46951         uint16_t for elements in the "seen" array to avoid char overflows.
46952         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46953         * elf/dl-open.c (dl_open_worker): Likewise.
46955 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46957         * scripts/list-sources.sh: Scan PORTS for translations.
46958         * po/libc.pot: Regenerated.
46960 2012-06-21  Andreas Jaeger  <aj@suse.de>
46962         [BZ #12194]
46963         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46964         warning.
46965         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46966         * bits/byteswap-16.h (__bswap_16): Likewise.
46967         * bits/byteswap.h (__bswap_constant_16): Likewise.
46969 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46971         [BZ #14117]
46972         * sysdeps/i386/fpu_control.h: Removed.
46973         * sysdeps/x86_64/fpu_control.h: Moved to ...
46974         * sysdeps/x86/fpu_control.h: Here.
46976         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46977         (_FPU_SETCW): Likewise.
46979 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46981         [BZ #14117]
46982         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46983         * sysdeps/x86/fpu/bits/mathinline.h: This.
46984         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46986         [BZ #14050]
46987         [BZ #14117]
46988         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46989         functions if __x86_64__ is defined.
46991 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46993         * string/endian.h: Add !__ASSEMBLER__ condition for including
46994         conversion interfaces.
46996 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46998         [BZ #14241]
46999         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47000         of ABS(x) in calculating zero to negative powers other than odd
47001         integers.
47002         * math/libm-test.inc (pow_test): Add more tests.
47004 2012-06-15  Andreas Jaeger  <aj@suse.de>
47006         * manual/contrib.texi (Contributors): Update entry of Liubov
47007         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47008         Machado Filho.
47010 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47012         * string/string.h: Add __wur to GNU version of strerror_r.
47014 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47016         [BZ #14229]
47017         * string/Makefile (tests): Add tst-strtok_r.
47018         * string/tst-strtok_r.c: New file.
47019         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47020         RAX_LP/RDX_LP on SAVE_PTR.
47022 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47024         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47026 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47028         * libm_test.inc (csqrt_test): Allow more spurious underflow
47029         exceptions.
47030         (j0_test): Likewise.
47031         (j1_test): Likewise.
47032         (y0_test): Likewise.
47033         (y1_test): Likewise.
47035 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47037         * po/Makefile (libc.pot): Use UTF-8 charset.
47039 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47041         [BZ #14210]
47042         Suppress sign-conversion warning from FD_SET.
47043         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47044         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47045         not unsigned long int.
47046         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47048 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47050         [BZ #14050]
47051         [BZ #14117]
47052         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47053         __extern_always_inline instead of __extern_inline.
47054         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47055         (__signbit): Likewise.
47056         (__signbitl): Support C++ namespace.
47057         (lrintf): New inline function.
47058         (lrint): Likewise.
47059         (llrintf): Likewise.
47060         (llrint): Likewise.
47061         (fmaxf): Likewise.
47062         (fmax): Likewise.
47063         (fminf): Likewise.
47064         (fmin): Likewise.
47065         (rint): Likewise.
47066         (rintf): Likewise.
47067         (ceil): Likewise.
47068         (ceilf): Likewise.
47069         (floor): Likewise.
47070         (floorf): Likewise.
47071         (nearbyint): Likewise.
47072         (nearbyintf): Likewise.
47074 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47076         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47077         non-default versions.
47079 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47081         [BZ #14218]
47082         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47084 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47086         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47087         (FE_UPWARD, FE_DOWNWARD): Don't define.
47088         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47089         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47091         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47092         reading it.
47093         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47094         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47096 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47098         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47099         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47100         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47101         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47103 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47105         [BZ #14117]
47106         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47107         * sysdeps/i386/fpu/Implies: New file.
47108         * sysdeps/x86_64/fpu/Implies: Likewise.
47109         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47110         * sysdeps/x86/fpu/bits/fenv.h: This.
47112         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47113         __SSE_MATH__.
47115 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47117         [BZ #14134]
47118         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47119         character 0xffff that matches the last element of the
47120         conversion table.
47122 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47124         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47125         fmodl commit.
47127 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47129         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47130         values higher than 25.6283.
47132 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47134         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47135         subnormal exponent extraction and add some __builtin_expect.
47136         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47137         Fix for subnormal mantissa calculation.
47139 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47141         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47142         cpu2 is -1 and errno is not ENOSYS.
47144 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47146         [BZ #14117]
47147         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47148         * sysdeps/x86/bits/string.h: This.
47149         * sysdeps/x86_64/bits/string.h: Removed.
47151         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47152         if not compiling for x86-64, but compiling for >= i486.
47154         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47155         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47157         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47158         New macro from Linux kernel 3.4.0.
47159         (FP_XSTATE_MAGIC2): Likewise.
47160         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47161         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47162         (struct _fpx_sw_bytes): New struct.
47163         (struct _xsave_hdr): Likewise.
47164         (struct _ymmh_state): Likewise.
47165         (struct _xstate): Likewise.
47167         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47168         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47169         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47170         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47171         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47172         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47174         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47175         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47176         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47177         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47178         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47179         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47181 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47183         [BZ #13743]
47184         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47185         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47186         (sysdep_headers): Include sys/platform/ppc.h.
47187         * sysdeps/powerpc/test-gettimebase.c: Test for
47188         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47189         * manual/Makefile (appendices): Include platform.texi.
47190         * manual/contrib.texi (Contributors): Update @node pointers.
47191         * manual/maint.texi (Maintenance): Likewise.
47192         (Platform): New node.
47193         * manual/platform.texi: New file.  Document the new features.
47195 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47196             Jakub Jelinek  <jakub@redhat.com>
47198         [BZ #14188]
47199         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47200         where __builtin_expect is unavailable.
47202 2012-06-03  David S. Miller  <davem@davemloft.net>
47204         * stdlib/longlong.h: Updated from GCC.
47206 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47208         [BZ #14042]
47209         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47210         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47211         __mcount_internal.
47212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47213         (GLIBC_2.16): Likewise.
47215 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47217         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47219 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47222         (default-abi): New variable.
47223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47224         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47225         variable.
47226         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47227         Likewise.
47228         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47229         Likewise.
47230         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47231         Likewise.
47233         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47234         definition.  Document in comment.
47236 2012-06-01  David S. Miller  <davem@davemloft.net>
47238         * stdlib/longlong.h: Updated from GCC.
47240 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47242         [BZ #14117]
47243         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47244         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47245         sys/debugreg.h sys/io.h here.
47246         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47247         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47248         sys/io.h.
47249         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47250         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47251         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47252         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47253         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47254         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47256         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47257         Define only if __x86_64__ is defined.
47259 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47261         [BZ #14048]
47262         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47263         Use int64_t for variable i.
47264         * math/libm-test.inc (fmod_test): Add more tests.
47266         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47267         z computation is not scheduled after fetestexcept.
47268         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47269         Use math_force_eval instead of asm to ensure calculation scheduled
47270         before exception test.
47271         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47272         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47274 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47277         computation is not scheduled after fetestexcept.
47279 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47281         [BZ #14117]
47282         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47283         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47285 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47287         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47288         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47290 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47292         [BZ #14117]
47293         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47294         <bits/wordsize.h>.
47295         (__WCHAR_MIN): Support __WORDSIZE == 64.
47296         (__WCHAR_MAX): Likewise.
47298         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47299         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47301         [BZ #14183]
47302         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47303         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47305         [BZ #14117]
47306         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47307         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47309         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47310         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47312         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47313         Defined to 1 if __x86_64__ isn't defined.
47314         (_STAT_VER_LINUX_OLD): New.
47315         (st_atime): Remove duplicate.
47316         (st_mtime): Likewise.
47317         (st_ctime): Likewise.
47319 2012-05-31  David S. Miller  <davem@davemloft.net>
47321         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47322         entries.
47324 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47326         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47327         gen-libm-test.pl.
47329         [BZ #14132]
47330         * elf/dl-reloc.c: Include <_itoa.h>.
47331         (_dl_reloc_bad_type): Remove use of INTUSE.
47332         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47333         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47334         * stdio-common/psiginfo.c (psiginfo): Likewise.
47335         * stdio-common/psignal.c (psignal): Likewise.
47336         * string/strsignal.c (strsignal): Likewise.
47337         * include/signal.h (_sys_siglist): Declare hidden proto.
47338         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47339         INTVARDEF with libc_hidden_data_def.
47340         * stdio-common/itoa-udigits.c: Likewise.
47341         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47342         (_itoa_lower_digits_internal): Remove declaration.
47343         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47344         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47345         (_sys_sigabbrev_internal): Remove aliases.
47346         (_sys_siglist): Define hidden alias.
47348 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47350         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47351         bits/sysctl.h.
47353 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47355         [BZ #14117]
47356         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47357         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47359         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47360         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47361         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47362         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47363         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47364         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47366         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47367         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47368         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47370         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47371         with __addr.
47372         (insw): Likewise.
47373         (insl): Likewise.
47374         (outsb): Likewise.
47375         (outsw): Likewise.
47376         (outsl): Likewise.
47378         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47379         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47380         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47382         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47383         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47384         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47385         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47386         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47387         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47389         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47390         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47392         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47393         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47395         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47396         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47397         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47399         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47400         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47401         to ...
47402         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47404         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47405         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47406         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47408         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47409         for x86-64.
47410         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47412 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47414         * math/math.h (M_El): Use two more decimal places.
47415         (M_LOG2El): Likewise.
47416         (M_LOG10El): Likewise.
47417         (M_LN2l): Likewise.
47418         (M_LN10l): Likewise.
47419         (M_PIl): Likewise.
47420         (M_PI_2l): Likewise.
47421         (M_PI_4l): Likewise.
47422         (M_1_PIl): Likewise.
47423         (M_2_PIl): Likewise.
47424         (M_2_SQRTPIl): Likewise.
47425         (M_SQRT2l): Likewise.
47426         (M_SQRT1_2l): Likewise.
47428 2012-05-31  David S. Miller  <davem@davemloft.net>
47430         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47431         values between float registers.
47432         * sysdeps/sparc/sparc64/memset.S: Likewise.
47433         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47435 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47437         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47438         -D_FORTIFY_SOURCE=1.
47439         (CPPFLAGS-tst-longjmp_chk.c): Define.
47440         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47441         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47442         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47443         CFLAGS-tst-wchar-h.c.
47445 2012-05-31  Marek Polacek  <polacek@redhat.com>
47447         [BZ #14132]
47448         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47449         __endmntent_internal): Remove declaration.
47450         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47451         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47452         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47454 2012-05-30  David S. Miller  <davem@davemloft.net>
47456         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47457         (___Q_simulate_exceptions): Use real FP ops rather than writing
47458         into the %fsr.
47459         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47460         Likewise.
47462 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47464         [BZ #14117]
47465         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47466         * sysdeps/x86/bits/xtitypes.h: This.
47468         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47469         * sysdeps/x86/bits/wordsize.h: This.
47471         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47472         * sysdeps/x86/bits/huge_vall.h: This.
47474         * sysdeps/i386/bits/select.h: Removed.
47475         * sysdeps/x86_64/bits/select.h: Renamed to ...
47476         * sysdeps/x86/bits/select.h: This.
47478         * sysdeps/i386/bits/setjmp.h: Removed.
47479         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47480         * sysdeps/x86/bits/setjmp.h: This.
47482         * sysdeps/i386/bits/mathdef.h: Removed.
47483         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47484         * sysdeps/x86/bits/mathdef.h: This.
47486 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47488         [BZ #14132]
47489         * include/sys/socket.h (__connect_internal)
47490         (__libc_sa_len_internal): Remove declaration.
47491         (__connect, __libc_sa_len): Declare hidden_proto.
47492         (SA_LEN): Remove use of INTUSE.
47493         * socket/connect.c: Add libc_hidden_def.
47494         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47495         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47496         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47497         alias.
47498         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47499         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47500         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47501         of adding _internal alias.
47503 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47505         [BZ #14117]
47506         * sysdeps/i386/bits/link.h: Removed.
47507         * sysdeps/i386/bits/linkmap.h: Likewise.
47508         * sysdeps/x86_64/bits/link.h: Renamed to ...
47509         * sysdeps/x86/bits/link.h: This.
47510         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47511         * sysdeps/x86/bits/linkmap.h: This.
47513         * sysdeps/i386/bits/endian.h: Removed.
47514         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47515         * sysdeps/x86/bits/endian.h: This.
47517         * sysdeps/i386/bits/byteswap.h: Removed.
47518         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47519         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47520         * sysdeps/x86/bits/byteswap.h: This.
47521         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47522         * sysdeps/x86/bits/byteswap-16.h: This.
47523         * sysdeps/i386/Implies: Add x86.
47524         * sysdeps/x86_64/Implies: Likewise.
47526 2012-05-30  David S. Miller  <davem@davemloft.net>
47528         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47529         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47530         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47531         (FP_TRAPPING_EXCEPTIONS): Define.
47532         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47533         (FP_TRAPPING_EXCEPTIONS): Define.
47534         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47535         subnormals only when inexact has been signalled or underflow
47536         exceptions are enabled.
47537         (_FP_PACK_CANONICAL): Likewise.
47539 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47541         [BZ #14183]
47542         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47543         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47545 2012-05-30  Richard Henderson  <rth@twiddle.net>
47547         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47548         with #ifndef NOT_IN_libc.
47550         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47551         marked to avoid plt entry.
47553 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47555         [BZ #14112]
47556         * Makeconfig (default-abi): New macro.
47557         (abi-includes): Likewise.
47558         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47559         $(abi-$(default-abi)-lib-soname) for soname if defined.
47560         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47561         abi-variants.
47562         * Makefile (installed-stubs): Likewise.
47563         * include/stubs-biarch.h: Removed.
47564         * scripts/lib-names.awk: Only handle one library at a time.
47565         * scripts/soversions.awk: Remove WORDSIZE support.
47566         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47567         entries.
47568         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47569         Removed.
47570         (syscall-list-default-condition): Likewise.
47571         (syscall-list-default-condition): Likewise.
47572         (syscall-list-includes): Likewise.
47573         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47574         syscall-list-* with abi-*.  Handle undefined abi-variants.
47575         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47576         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47577         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47578         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47579         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47580         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47581         Removed.
47582         (syscall-list-32-options): Likewise.
47583         (syscall-list-32-condition): Likewise.
47584         (syscall-list-64-options): Likewise.
47585         (syscall-list-64-condition): Likewise.
47586         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47587         macro.
47588         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47589         Renamed to ...
47590         (abi-*): This.
47591         (abi-64-ld-soname): New macro.
47592         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47593         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47594         Renamed to ...
47595         (abi-*): This.
47596         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47597         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47599 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47601         * sysdeps/unix/sysv/linux/kernel-features.h
47602         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47603         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47604         include <kernel-features.h>.
47605         [!__NR_ftruncate64]: Remove conditional code.
47606         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47607         [__NR_ftruncate64]: Make code unconditional.
47608         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47609         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47610         include <kernel-features.h>.
47611         [!__NR_ftruncate64]: Remove conditional code.
47612         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47613         [__NR_ftruncate64]: Make code unconditional.
47614         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47616         include <kernel-features.h>.
47617         [!__NR_ftruncate64]: Remove conditional code.
47618         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47619         [__NR_ftruncate64]: Make code unconditional.
47620         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47622         include <kernel-features.h>.
47623         [!__NR_ftruncate64]: Remove conditional code.
47624         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47625         [__NR_ftruncate64]: Make code unconditional.
47626         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47628         * configure.in (libc_cv_fpie): Weaken to a compile test using
47629         LIBC_TRY_CC_OPTION.
47630         * configure: Regenerated.
47632 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47638         Refreshed.
47639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47645         Refreshed.
47647 2012-05-27  David S. Miller  <davem@davemloft.net>
47649         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47650         (___Q_zero): New.
47651         (__Q_simulate_exceptions): Return void.  Change to simulate
47652         exceptions by writing into the %fsr.
47653         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47654         (__Qp_handle_exceptions): Likewise.
47655         (numbers): Delete.
47656         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47657         __Qp_handle_exceptions.
47658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47659         __Qp_handle_exceptions.
47660         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47661         as unused and give dummy FP_RND_NEAREST initializer.
47662         (FP_INHIBIT_RESULTS): Define.
47663         (___Q_simulate_exceptions): Update declaration.
47664         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47665         formatting.
47666         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47667         as unused and give dummy FP_RND_NEAREST initializer.
47668         (__Qp_handle_exceptions): Update declaration.
47669         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47670         formatting.
47672 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47674         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47675         the temporary FPU control word.
47676         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47677         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47678         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47679         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47680         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47681         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47682         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47683         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47684         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47685         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47686         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47688 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47690         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47691         fields.
47693 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47695         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47696         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47697         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47698         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47699         Likewise.
47700         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47701         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47702         Likewise.
47704 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47706         * po/h.po: Update from translation team.
47708 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47710         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47712         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47713         handling of denormals.
47714         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47715         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47716         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47717         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47718         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47719         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47721         Likewise.
47723 2012-05-26  Marek Polacek  <polacek@redhat.com>
47725         [BZ #14152]
47726         * math/libm-test.inc (fma_test): Don't always expect underflow
47727         exception.
47729 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47731         [BZ #12416]
47732         * elf/tst-execstack.c: Include stackinfo.h.
47733         (do_test): Adjust test case to ensure that pthread_getattr_np
47734         behaviour remains the same after marking stack executable.
47736 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47738         * sysdeps/unix/sysv/linux/kernel-features.h
47739         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47740         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47741         kernel-features.h.
47742         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47743         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47744         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47745         kernel-features.h.
47746         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47747         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47749 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47751         * configure.in: Define the default includes to being none.
47752         * configure: Regenerated.
47754 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47756         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47757         * sysdeps/x86_64/setjmp.S: Likewise.
47758         * sysdeps/i386/bsd-setjmp.S: Likewise.
47759         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47760         * sysdeps/i386/setjmp.S: Likewise.
47761         * sysdeps/i386/__longjmp.S: Likewise.
47762         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47763         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47765         * include/stap-probe.h: New file.
47766         * configure.in: Handle --enable-systemtap.
47767         * configure: Regenerated.
47768         * config.h.in (USE_STAP_PROBE): New #undef.
47769         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47770         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47771         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47773 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47775         [BZ #13717]
47776         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47777         to 2.4.0 where earlier.
47778         * sysdeps/unix/sysv/linux/configure: Regenerated.
47779         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47780         <kernel-features.h>.
47781         [__ASSUME_32BITUIDS]: Make code unconditional.
47782         [!__ASSUME_32BITUIDS]: Remove conditional code.
47783         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47784         <kernel-features.h>.
47785         [__ASSUME_32BITUIDS]: Make code unconditional.
47786         [!__ASSUME_32BITUIDS]: Remove conditional code.
47787         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47788         [__ASSUME_32BITUIDS]: Make code unconditional.
47789         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47790         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/i386/setegid.c: Do not include
47831         <kernel-features.h>.
47832         [__NR_setresgid] (__setresgid): Do not declare.
47833         [__ASSUME_32BITUIDS]: Make code unconditional.
47834         [!__ASSUME_32BITUIDS]: Remove conditional code.
47835         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47836         <kernel-features.h>.
47837         [__NR_setresuid] (__setresuid): Do not declare.
47838         [__ASSUME_32BITUIDS]: Make code unconditional.
47839         [!__ASSUME_32BITUIDS]: Remove conditional code.
47840         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47841         <kernel-features.h>.
47842         [__ASSUME_32BITUIDS]: Make code unconditional.
47843         [!__ASSUME_32BITUIDS]: Remove conditional code.
47844         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47845         <kernel-features.h>.
47846         [__ASSUME_32BITUIDS]: Make code unconditional.
47847         [!__ASSUME_32BITUIDS]: Remove conditional code.
47848         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47849         <kernel-features.h>.
47850         [__ASSUME_32BITUIDS]: Make code unconditional.
47851         [!__ASSUME_32BITUIDS]: Remove conditional code.
47852         * sysdeps/unix/sysv/linux/i386/setgroups.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/i386/setregid.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/i386/setresgid.c: Do not include
47861         <kernel-features.h>.
47862         [__ASSUME_32BITUIDS]: Make code unconditional.
47863         [!__ASSUME_32BITUIDS]: Remove conditional code.
47864         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47865         <kernel-features.h>.
47866         [__ASSUME_32BITUIDS]: Make code unconditional.
47867         [!__ASSUME_32BITUIDS]: Remove conditional code.
47868         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47869         <kernel-features.h>.
47870         [__ASSUME_32BITUIDS]: Make code unconditional.
47871         [!__ASSUME_32BITUIDS]: Remove conditional code.
47872         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47873         <kernel-features.h>.
47874         [__ASSUME_32BITUIDS]: Make code unconditional.
47875         [!__ASSUME_32BITUIDS]: Remove conditional code.
47876         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47877         <kernel-features.h>.
47878         [__ASSUME_32BITUIDS]: Make code unconditional.
47879         [!__ASSUME_32BITUIDS]: Remove conditional code.
47880         * sysdeps/unix/sysv/linux/kernel-features.h
47881         (__ASSUME_SETRESUID_SYSCALL): Remove.
47882         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47883         (__ASSUME_32BITUIDS): Likewise.
47884         (__ASSUME_LDT_WORKS): Likewise.
47885         (__ASSUME_O_DIRECTORY): Likewise.
47886         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47887         architecture but not kernel version.
47888         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47889         (__ASSUME_MMAP2_SYSCALL): Likewise.
47890         (__ASSUME_STAT64_SYSCALL): Likewise.
47891         (__ASSUME_IPC64): Likewise.
47892         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47893         <kernel-features.h>.
47894         [__ASSUME_32BITUIDS]: Make code unconditional.
47895         [!__ASSUME_32BITUIDS]: Remove conditional code.
47896         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47897         <kernel-features.h>.
47898         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47899         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47900         132096]: Remove conditional code.
47901         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47902         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47903         <kernel-features.h>.
47904         [__ASSUME_32BITUIDS]: Make code unconditional.
47905         [!__ASSUME_32BITUIDS]: Remove conditional code.
47906         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47907         <kernel-features.h>.
47908         [__ASSUME_32BITUIDS]: Make code unconditional.
47909         [!__ASSUME_32BITUIDS]: Remove conditional code.
47910         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47911         <kernel-features.h>.
47912         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47913         unconditional.
47914         (__setresgid): Do not declare.
47915         [__ASSUME_32BITUIDS]: Make code unconditional.
47916         [!__ASSUME_32BITUIDS]: Remove conditional code.
47917         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47918         <kernel-features.h>.
47919         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47920         unconditional.
47921         (__setresuid): Do not declare.
47922         [__ASSUME_32BITUIDS]: Make code unconditional.
47923         [!__ASSUME_32BITUIDS]: Remove conditional code.
47924         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47925         <kernel-features.h>.
47926         [__ASSUME_32BITUIDS]: Make code unconditional.
47927         [!__ASSUME_32BITUIDS]: Remove conditional code.
47928         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47929         <kernel-features.h>.
47930         [__ASSUME_32BITUIDS]: Make code unconditional.
47931         [!__ASSUME_32BITUIDS]: Remove conditional code.
47933 2012-05-25  Richard Henderson  <rth@twiddle.net>
47935         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47936         dl_hwcap to ifunc resolver.
47937         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47938         elf_ifunc_invoke.
47939         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47940         dl_hwcap to ifunc resolver.
47941         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47943 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47945         [BZ #14153]
47946         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47947         for |x| <= 2**-26, not 2**-57.
47948         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47949         exception.
47951 2012-05-24  Jeff Law  <law@redhat.com>
47953         * stdio-common/Makefile (tests): Add bug25.
47954         * stdio-common/bug25.c: New test.
47956 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47958         [BZ #13576]
47959         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47960         multiple of MALLOC_ALIGNMENT in size.
47961         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47963 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47965         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47966         Require >= 256.
47967         (FILENAME_MAX): Use macro-int-constant.
47968         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47969         (_IOFBF): Use macro-int-constant.
47970         (_IOLBF): Likewise.
47971         (_IONBF): Likewise.
47972         (SEEK_CUR): Likewise.
47973         (SEEK_END): Likewise.
47974         (SEEK_SET): Likewise.
47975         (TMP_MAX): Likewise.
47976         (EOF): Use macro-int-constant.  Require < 0.
47977         (NULL): Use macro-constant.  Require == 0.
47978         (stdin): Require type to be FILE *.
47979         (stdout): Likewise.
47980         (stderr): Likewise.
47981         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47982         macro-int-constant.
47983         (EXIT_SUCCESS): Likewise.
47984         (NULL): Use macro-constant.  Require == 0.
47985         (RAND_MAX): Use macro-int-constant.
47986         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47987         [C99-based standards] (strtof): Require function.
47988         [C99-based standards] (strtold): Likewise.
47989         [C99-based standards] (strtoll): Likewise.
47990         [C99-based standards] (strtoull): Likewise.
47991         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47992         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47993         [ISO || ISO99 || ISO11] (math.h): Likewise.
47994         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47995         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47996         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47998 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48000         [BZ #14132]
48001         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48002         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48003         * intl/dgettext.c (DCGETTEXT): Likewise.
48004         * intl/gettext.c (DCGETTEXT): Likewise.
48005         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48006         * posix/regex_internal.h (gettext): Likewise.
48007         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48008         Remove declaration.
48009         * include/argz.h (__argz_count_internal)
48010         (__argz_stringify_internal): Remove declaration.
48011         (__argz_count, __argz_stringify): Declare hidden proto.
48012         * intl/dcgettext.c: Remove use of INTDEF.
48013         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48014         * string/argz-stringify.c: Likewise.
48015         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48016         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48017         Declare hidden proto.
48018         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48019         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48020         Declare hidden proto.
48021         * include/stdio.h (__asprintf_internal): Don't declare.
48022         (__asprintf): Don't define as macro.  Declare hidden proto.
48023         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48024         (__fsetlocking): Declare hidden proto.
48025         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48026         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48027         hidden proto.
48028         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48029         (_IO_setlinebuf): Remove use of INTUSE.
48030         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48031         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48032         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48033         Remove declaration.
48034         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48035         (_IO_do_flush): Remove use of INTUSE.
48036         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48037         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48038         (_IO_adjust_column, _IO_least_wmarker)
48039         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48040         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48041         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48042         (_IO_default_doallocate, _IO_wdefault_doallocate)
48043         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48044         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48045         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48046         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48047         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48048         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48049         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48050         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48051         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48052         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48053         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48054         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48055         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48056         proto.
48057         (_IO_flush_all_internal, _IO_adjust_column_internal)
48058         (_IO_default_uflow_internal, _IO_default_finish_internal)
48059         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48060         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48061         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48062         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48063         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48064         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48065         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48066         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48067         (_IO_file_close_internal, _IO_file_close_it_internal)
48068         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48069         (_IO_file_init_internal, _IO_file_attach_internal)
48070         (_IO_file_fopen_internal, _IO_file_read_internal)
48071         (_IO_file_sync_internal, _IO_file_seek_internal)
48072         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48073         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48074         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48075         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48076         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48077         (_IO_list_all_internal, _IO_link_in_internal)
48078         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48079         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48080         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48081         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48082         (_IO_do_write_internal, _IO_padn_internal)
48083         (_IO_getline_info_internal, _IO_getline_internal)
48084         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48085         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48086         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48087         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48088         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48089         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48090         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48091         with libc_hidden_ver, remove use of INTUSE.
48092         * libio/genops.c: Likewise.
48093         * libio/freopen.c: Likewise.
48094         * libio/freopen64.c: Likewise.
48095         * libio/iofclose.c: Likewise.
48096         * libio/iofdopen.c: Likewise.
48097         * libio/iofflush.c: Likewise.
48098         * libio/iofflush_u.c: Likewise.
48099         * libio/iofgets.c: Likewise.
48100         * libio/iofgets_u.c: Likewise.
48101         * libio/iofopen.c: Likewise.
48102         * libio/iofopncook.c: Likewise.
48103         * libio/iofread.c: Likewise.
48104         * libio/iofread_u.c: Likewise.
48105         * libio/ioftell.c: Likewise.
48106         * libio/iofwrite.c: Likewise.
48107         * libio/iogetline.c: Likewise.
48108         * libio/iogets.c: Likewise.
48109         * libio/iogetwline.c: Likewise.
48110         * libio/iopadn.c: Likewise.
48111         * libio/iopopen.c: Likewise.
48112         * libio/ioseekoff.c: Likewise.
48113         * libio/ioseekpos.c: Likewise.
48114         * libio/iosetbuffer.c: Likewise.
48115         * libio/iosetvbuf.c: Likewise.
48116         * libio/ioungetc.c: Likewise.
48117         * libio/ioungetwc.c: Likewise.
48118         * libio/iovdprintf.c: Likewise.
48119         * libio/iovsprintf.c: Likewise.
48120         * libio/iovsscanf.c: Likewise.
48121         * libio/memstream.c: Likewise.
48122         * libio/obprintf.c: Likewise.
48123         * libio/oldfileops.c: Likewise.
48124         * libio/oldiofclose.c: Likewise.
48125         * libio/oldiofdopen.c: Likewise.
48126         * libio/oldiofopen.c: Likewise.
48127         * libio/oldiopopen.c: Likewise.
48128         * libio/oldstdfiles.c: Likewise.
48129         * libio/putc.c: Likewise.
48130         * libio/setbuf.c: Likewise.
48131         * libio/setlinebuf.c: Likewise.
48132         * libio/stdfiles.c: Likewise.
48133         * libio/strops.c: Likewise.
48134         * libio/vasprintf.c: Likewise.
48135         * libio/vscanf.c: Likewise.
48136         * libio/vsnprintf.c: Likewise.
48137         * libio/vswprintf.c: Likewise.
48138         * libio/wfiledoalloc.c: Likewise.
48139         * libio/wfileops.c: Likewise.
48140         * libio/wgenops.c: Likewise.
48141         * libio/wmemstream.c: Likewise.
48142         * libio/wstrops.c: Likewise.
48143         * libio/__fpurge.c: Likewise.
48144         * libio/__fsetlocking.c: Likewise.
48145         * assert/assert.c: Likewise.
48146         * debug/fgets_chk.c: Likewise.
48147         * debug/fgets_u_chk.c: Likewise.
48148         * debug/fread_chk.c: Likewise.
48149         * debug/fread_u_chk.c: Likewise.
48150         * debug/gets_chk.c: Likewise.
48151         * debug/obprintf_chk.c: Likewise.
48152         * debug/vasprintf_chk.c: Likewise.
48153         * debug/vdprintf_chk.c: Likewise.
48154         * debug/vsnprintf_chk.c: Likewise.
48155         * debug/vsprintf_chk.c: Likewise.
48156         * malloc/mtrace.c: Likewise.
48157         * misc/error.c: Likewise.
48158         * misc/syslog.c: Likewise.
48159         * stdio-common/asprintf.c: Likewise.
48160         * stdio-common/fxprintf.c: Likewise.
48161         * stdio-common/getw.c: Likewise.
48162         * stdio-common/isoc99_fscanf.c: Likewise.
48163         * stdio-common/isoc99_scanf.c: Likewise.
48164         * stdio-common/isoc99_vfscanf.c: Likewise.
48165         * stdio-common/isoc99_vscanf.c: Likewise.
48166         * stdio-common/isoc99_vsscanf.c: Likewise.
48167         * stdio-common/printf-prs.c: Likewise.
48168         * stdio-common/printf_fp.c: Likewise.
48169         * stdio-common/printf_fphex.c: Likewise.
48170         * stdio-common/printf_size.c: Likewise.
48171         * stdio-common/putw.c: Likewise.
48172         * stdio-common/scanf.c: Likewise.
48173         * stdio-common/sprintf.c: Likewise.
48174         * stdio-common/tmpfile.c: Likewise.
48175         * stdio-common/vfprintf.c: Likewise.
48176         * stdio-common/vfscanf.c: Likewise.
48177         * stdlib/strfmon_l.c: Likewise.
48178         * sunrpc/openchild.c: Likewise.
48179         * sunrpc/xdr_stdio.c: Likewise.
48180         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48181         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48183 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48185         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48187         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48188         in the third column, to generate for the shared library an IFUNC
48189         that uses _dl_vdso_vsym.
48190         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48191         * Makeconfig (object-suffixes-noshared): New variable.
48193         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48194         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48195         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48196         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48198         [BZ #14132]
48199         * include/sys/time.h (__gettimeofday): Remove macro.
48200         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48201         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48202         Remove INTDEF.
48203         (__gettimeofday): Add libc_hidden_def.
48204         (gettimeofday): Add libc_hidden_weak.
48205         * sysdeps/mach/gettimeofday.c: Likewise.
48206         * sysdeps/posix/gettimeofday.c: Likewise.
48207         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48208         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48209         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48210         (__gettimeofday_internal): Remove strong_alias.
48211         (__gettimeofday): Add libc_hidden_def.
48212         (gettimeofday): Add libc_hidden_weak.
48213         * sysdeps/unix/syscalls.list (gettimeofday):
48214         Remove __gettimeofday_internal alias.
48216 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48217             H.J. Lu  <hongjiu.lu@intel.com>
48219         [BZ #12495]
48220         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48221         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48222         (largebin_index_32_big): New.
48223         (largebin_index): Use it for 16-byte alignment.
48224         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48225         correction with front_misalign.
48227 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48231         Likewise.
48232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48233         Likewise.
48234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48235         Likewise.
48236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48237         Likewise.
48238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48239         Likewise.
48240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48241         Likewise.
48242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48243         Likewise.
48244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48245         Likewise.
48246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48247         Likewise.
48248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48249         Likewise.
48250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48251         Likewise.
48252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48253         Likewise.
48255         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48256         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48258 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48260         [BZ #10846]
48261         [BZ #14036]
48262         * math/libm-test.inc (exp_test): Add test from bug 14036.
48263         (pow_test): Add test from bug 10846.
48265         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48266         and other flags.
48267         (special_function): Do not include flags in test name.
48268         (parse_args): Likewise.
48269         * sysdeps/i386/fpu/libm-test-ulps: Update.
48270         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48271         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48272         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48275         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48276         exceptions.
48277         * math/libm-test.inc ("Philosophy"): Update comment about
48278         exception testing.
48279         (UNDERFLOW_EXCEPTION): New macro.
48280         (UNDERFLOW_EXCEPTION_OK): Likewise.
48281         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48282         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48283         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48284         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48285         (INVALID_EXCEPTION_OK): Update value.
48286         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48287         (OVERFLOW_EXCEPTION_OK): Likewise.
48288         (IGNORE_ZERO_INF_SIGN): Likewise.
48289         (test_exceptions): Handle underflow exceptions.
48290         (acos_test): Update for underflow exception expectations.
48291         (cexp_test): Likewise.
48292         (clog_test): Likewise.
48293         (clog10_test): Likewise.
48294         (csqrt_test): Likewise.
48295         (ctan_test): Likewise.
48296         (ctanh_test): Likewise.
48297         (exp_test): Likewise.
48298         (exp10_test): Likewise.
48299         (exp2_test): Likewise.
48300         (expm1_test): Likewise.
48301         (fma_test): Likewise.
48302         (j0_test): Likewise.
48303         (jn_test): Likewise.
48304         (nexttoward_test): Likewise.
48305         (pow_test): Likewise.
48306         (scalbn_test): Likewise.
48307         (scalbln_test): Likewise.
48308         (tan_test): Likewise.
48309         (y1_test): Likewise.
48310         * sysdeps/i386/fpu/libm-test-ulps: Update.
48311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48313 2012-05-23  David S. Miller  <davem@davemloft.net>
48315         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48316         (__libc_sigaction): Remove unused local variables.
48318 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48320         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48322 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48324         mktime: avoid signed integer overflow
48325         * time/mktime.c (__mktime_internal): Do not mishandle the case
48326         where diff == INT_MIN.
48328         mktime: simplify computation of average
48329         * time/mktime.c (ranged_convert): Use new time_t_avg function
48330         instead of rolling our own (probably-slower) code.
48332         mktime: do not assume signed right shift propagates sign bit
48333         * time/mktime.c (isdst_differ): New static function.
48334         (__mktime_internal): No need to normalize tm_isdst now.
48335         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48336         tm_isdst values.
48338         mktime: merge another wrapv change from gnulib
48339         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48340         from some compilers.
48342         mktime: remove incorrect attempt at unusual arithmetics
48343         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48344         The code didn't really work on such machines anyway.
48345         (TYPE_MINIMUM): Assume two's complement.
48346         (twos_complement_arithmetic): Verify that long_int and time_t
48347         are two's complement (or unsigned, in the latter case).
48349         mktime: check signed shifts on long_int and time_t, too
48350         * time/mktime.c (SHR): Check that shifts work as desired
48351         on the types long_int and time_t too, as SHR is used on
48352         such types.
48354         mktime: do not assume 'long' is wide enough
48355         * time/mktime.c (verify): Move decl up.
48356         (long_int): New type.
48357         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48358         to remove assumption in the code that 'long' is wide enough to
48359         store year values.  This assumption is not true on x32 and on
48360         some non-glibc platforms.
48362         mktime: merge wrapv change from gnulib
48363         * time/mktime.c (WRAPV): New macro.
48364         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48365         (guess_time_tm, __mktime_internal): Do not assume that signed
48366         integer overflow wraps around; modern compilers generate code
48367         where this assumption is no longer valid.
48369 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48371         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48372         Replace "jmp L(pseudo_end)" with "ret".
48373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48374         Likewise.
48376 2012-05-23  Andreas Jaeger  <aj@suse.de>
48378         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48379         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48381 2012-05-23  Andreas Jaeger  <aj@suse.de>
48382             Maximilian Attems  <max@stro.at>
48384         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48385         New macros.
48387 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48389         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48390         code so that pseudo_end is just ret and the stack pointer is
48391         correct also for static library in error case.
48393 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48395         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48396         move to syscalls.list.
48397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48402         * manual/install.texi (Running make install): Do not mention Linux
48403         kernel version for which pt_chown is not needed.
48404         (Linux): Do not mention problems with nscd with 2.0 kernels.
48405         * INSTALL: Regenerated.
48407 2012-05-23  Andreas Jaeger  <aj@suse.de>
48409         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48410         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48411         macro.
48412         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48413         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48414         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48415         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48416         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48417         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48418         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48419         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48420         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48421         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48422         * sysdeps/unix/sysv/linux/bits/in.h
48423         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48425 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48427         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48428         (PREPARE_VERSION): Just use assert instead, it will be elided
48429         under [NDEBUG] anyway.
48431 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48433         * sysdeps/unix/sysv/linux/Makefile: Include
48434         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48435         (sysdep_routines): Remove sysctl.
48436         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48437         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48438         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48439         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48440         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48442 2012-05-22  Andreas Jaeger  <aj@suse.de>
48444         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48445         that pseudo_end is just ret and the stack pointer is correct also
48446         for static library in error case.
48448 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48450         [BZ #14122]
48451         * nss/nsswitch.c (defconfig_entries): New variable.
48452         (__nss_database_lookup): Don't leak defconfig entries.
48453         (nss_parse_service_list): Don't leak on error paths.
48454         (free_database_entries): New function.
48455         (free_defconfig): New function.
48456         (free_mem): Move common code to free_database_entries.
48458 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48460         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48461         Add arch_prctl.
48462         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48464         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48465         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48466         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48467         New macro.
48468         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48469         (INTERNAL_SYSCALL_TYPES): Likewise.
48470         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48471         (LOAD_REGS_TYPES_[1-6]): Likewise.
48472         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48473         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48475 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48477         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48478         copysignl for GLIBC_2_0.
48479         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48480         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48481         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48482         logbl for GLIBC_2_0.
48483         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48484         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48486 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48488         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48489         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48491         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48492         Use "neg %eax".
48494         * time/mktime.c: Update copyright years.
48496 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48498         mktime: merge comment-quoting-style change from gnulib
48499         * time/mktime.c: Quote 'like this' in comments.
48500         The GNU coding standards suggest that we no longer quote `like this',
48501         as "`" and "'" are typically rendered asymmetrically nowadays.
48502         The typical gnulib style is to quote 'like this' when quoting
48503         code, and "like this" when quoting English.
48505         * time/mktime.c (compile-command): Add "-I.".
48507         mktime: merge mktime-internal.h change from gnulib
48508         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48510         mktime: merge time_r change from gnulib
48511         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48513         mktime: merge DEBUG change from gnulib
48514         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48515         case system <time.h> has a #define.
48517         mktime: merge <sys/types.h> change from gnulib
48518         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48519         since <time.t> is now guaranteed to define time_t.
48521         mktime: merge HAVE_CONFIG_H change from gnulib
48522         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48524 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48527         Use "neg %eax".
48529         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48530         __rlim_t cast.
48531         (struct rusage): Use anonymous union to pad each field to
48532         __syscall_slong_t.
48534 2012-05-21  David S. Miller  <davem@davemloft.net>
48536         * Makefules (o-iterator): Remove .s cases.
48537         (compile-command.s): Delete.
48538         (COMPILE.s): Delete.
48539         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48541 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48543         * configure.in (libc_cv_predef_stack_protector): Only consider
48544         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48545         * configure: Regenerated.
48547 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48550         New macro.  Use R*LP on int and pointer.
48551         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48552         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48553         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48554         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48556         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48557         [__WORDSIZE_TIME64_COMPAT32] instead of
48558         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48559         (struct utmp): Likewise.
48560         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48561         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48562         Renamed to ...
48563         (__WORDSIZE_TIME64_COMPAT32): This.
48564         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48565         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48566         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48567         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48568         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48569         (__WORDSIZE_TIME64_COMPAT32): New macro.
48571 2012-05-21  Andreas Jaeger  <aj@suse.de>
48573         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48574         only if [SHARED]. Add prototype for __wcschr_ia32.
48576 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48578         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48579         of %rbp unmolested in the jmp_buf while mangling the low bits.
48580         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48581         unmolested high bits of %rbp while demangling the low bits.
48582         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48584 2012-05-21  Andreas Jaeger  <aj@suse.de>
48586         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48587         * sunrpc/svc_simple.c: Use it for registerrpc.
48588         * sunrpc/xcrypt.c: Use it for passwd2des.
48590         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48592 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48594         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48595         Don't define if [__SYSCALL_WORDSIZE != 32].
48596         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48597         New macro.
48599 2012-05-21  Bruno Haible  <bruno@clisp.org>
48600             Andreas Jaeger  <aj@suse.de>
48602         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48603         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48604         inptr and inend for must_buffer_ch.
48605         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48606         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48607         * stdio-common/Makefile (tests): Remove bug15.
48608         (bug15-ENV): Remove macro.
48609         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48610         anymore.
48612 2012-05-19  Andreas Jaeger  <aj@suse.de>
48613             Roland McGrath  <roland@hack.frob.com>
48615         * manual/contrib.texi: Completely rewritten. It contains now an
48616         alphabetical list of contributors and their contributions.
48618 2012-05-21  Richard Henderson  <rth@twiddle.net>
48620         * misc/getauxval.c (__getauxval): Use unsigned long int.
48621         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48622         (getauxval): Use unsigned long int.
48624 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48626         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48628 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48630         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48631         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48632         __alignof__ (long double).
48634 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48638 2012-05-20  Richard Henderson  <rth@twiddle.net>
48640         * misc/getauxval.c: New file.
48641         * misc/sys/auxv.h: New file.
48642         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48643         (routines): Add getauxval.
48644         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48645         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48646         * elf/dl-sysdep.c (_dl_auxv): Remove.
48647         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48648         * elf/dl-support.c (_dl_auxv): New variable.
48649         (_dl_aux_init): Initialize it.
48650         * manual/startup.texi (Auxiliary Vector): New node.
48651         * sysdeps/generic/bits/hwcap.h: New file.
48652         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48653         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48654         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48655         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48656         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48657         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48659         Update.
48660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48663         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48669 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48673 2012-05-19  David S. Miller  <davem@davemloft.net>
48675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48677 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48679         [BZ #14123]
48680         * math/s_ccosh.c: Include <float.h>
48681         (__ccosh): Avoid internal overflow calculating sinh and cosh
48682         values before multiplying by sin and cos values.
48683         * math/s_ccoshf.c: Likewise.
48684         * math/s_ccoshl.c: Likewise.
48685         * math/s_csin.c: Likewise.
48686         * math/s_csinf.c: Likewise.
48687         * math/s_csinl.c: Likewise.
48688         * math/s_csinh.c: Likewise.
48689         * math/s_csinhf.c: Likewise.
48690         * math/s_csinhl.c: Likewise.
48691         * math/libm-test.inc (ccos_test): Add more tests.
48692         (ccosh_test): Likewise.
48693         (csin_test): Likewise.
48694         (csinh_test): Likewise.
48695         * sysdeps/i386/fpu/libm-test-ulps: Update.
48696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48698 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48700         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48701         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48703         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48705 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48707         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48708         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48709         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48710         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48711         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48712         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48713         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48714         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48715         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48716         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48717         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48718         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48719         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48720         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48721         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48722         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48723         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48724         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48725         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48726         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48727         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48728         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48729         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48730         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48731         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48732         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48733         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48734         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48735         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48736         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48737         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48739 2012-05-18  Andreas Jaeger  <aj@suse.de>
48741         * csu/.gitignore: Delete.
48743 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48745         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48746         (timex): Use __syscall_slong_t.
48748 2012-05-18  Andreas Jaeger  <aj@suse.de>
48749             Carlos O'Donell  <carlos_odonell@mentor.com>
48751         * manual/install.texi (Configuring and compiling): Update
48752         description about files modified in the source directory.
48753         * INSTALL: Regenerated.
48755 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48757         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48758         value.  Use "or" to set return value to -1.
48759         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48760         negate return value.
48762 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48764         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48765         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48766         failure if the compiler has Graphite support disabled.
48767         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48768         Likewise.
48769         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48770         (CFLAGS-memmove.c): Likewise.
48771         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48772         Likewise.
48774 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48776         * sysdeps/x86_64/x32/_itoa.h: New file.
48778         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48779         getdents system call only if kernel and user dirents have the
48780         same d_ino and d_off.
48782         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48783         LLONG_MAX != LONG_MAX.
48784         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48785         (_fitoa_word): Likewise.
48787         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48788         years.
48789         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48790         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48791         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48793         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48794         include <bits/wordsize.h>.  Check __x86_64__ instead of
48795         __WORDSIZE.
48796         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48797         if __x86_64__ is defined.  Use anonymous union on fpstate.
48799         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48800         anonymous union.
48802 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48804         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48805         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48806         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48807         Refer to _rtld_local_ro instead of _rtld_global_ro.
48808         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48809         Likewise.
48810         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48811         Likewise.
48812         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48813         Likewise.
48814         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48815         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48816         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48818         * sysdeps/powerpc/powerpc32/dl-machine.c
48819         (__elf_machine_runtime_setup) [PROF]: Don't reference
48820         _dl_prof_resolve.
48822 2012-05-18  Andreas Jaeger  <aj@suse.de>
48824         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48825         function only available for GCCs before 3.4 since GCC 3.4
48826         introduced a builtin.
48827         (lrint): Likewise.
48828         (llrintf): Likewise.
48829         (llrint): Likewise.
48830         (fmaxf): Likewise.
48831         (fmax): Likewise.
48832         (fminf): Likewise.
48833         (fmin): Likewise.
48834         (rint): Likewise.
48835         (rintf): Likewise.
48836         (nearbyint): Likewise.
48837         (nearbyintf): Likewise.
48838         (ceil): Likewise.
48839         (ceilf): Likewise.
48840         (floor): Likewise.
48841         (floorf): Likewise.
48843 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48845         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48846         on both fields and cast pointer to __syscall_ulong_t.
48848         * bits/types.h (__fsword_t): New type.
48849         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48850         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48851         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48852         (__FSWORD_T_TYPE): Likewise.
48853         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48854         (__FSWORD_T_TYPE): Likewise.
48855         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48856         (__FSWORD_T_TYPE): Likewise.
48857         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48858         (__FSWORD_T_TYPE): Likewise.
48859         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48860         __SWORD_TYPE with __fsword_t.
48861         (statfs64): Likewise.
48863 2012-05-17  David S. Miller  <davem@davemloft.net>
48865         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48867 2012-05-17  Andreas Jaeger  <aj@suse.de>
48869         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48870         warning.
48872 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48874         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48876 2012-05-17  Andreas Jaeger  <aj@suse.de>
48878         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48879         when it is used.
48881 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48883         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48885 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48887         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48888         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48890 2012-05-17  Andreas Jaeger  <aj@suse.de>
48891             Carlos O'Donell  <carlos_odonell@mentor.com>
48893         [BZ #14059]
48894         * sysdeps/x86_64/multiarch/init-arch.h
48895         (bit_YMM_Usable): Rename to...
48896         (bit_AVX_Usable): ... this.
48897         (bit_FMA4_Usable): New macro.
48898         (bit_XMM_state): New macro.
48899         (bit_YMM_state): New macro.
48900         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48901         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48902         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48903         (CPUID_OSXSAVE): New macro.
48904         (CPUID_AVX): New macro.
48905         (CPUID_FMA4): New macro.
48906         (index_YMM_Usable): Rename to...
48907         (index_AVX_Usable): ... this.
48908         (HAS_AVX): Use HAS_ARCH_FEATURE.
48909         (HAS_FMA4): Likewise.
48910         (HAS_YMM_USABLE): Remove.
48911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48912         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48913         are present.
48914         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48915         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48916         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48917         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48918         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48920 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48922         * math/libm-test.c: Support platforms without multiple rounding modes.
48923         * math/bug-nextafter.c: Support platforms without FP exceptions.
48924         * math/bug-nexttoward.c: Likewise.
48925         * math/test-fenv.c: Likewise.
48926         * math/test-misc.c: Likewise.
48927         * stdlib/bug-getcontext.c: Likewise.
48929 2012-05-17  Andreas Jaeger  <aj@suse.de>
48931         * manual/examples/search.c (critter_cmp): Change signature to
48932         avoid warnings.
48933         * manual/string.texi (Collation Functions): Likewise.
48935 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48937         * bits/types.h: Fold copyright years.
48938         * bits/typesizes.h: Likewise.
48939         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48940         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48941         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48942         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48943         * time/time.h: Likewise.
48945 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48947         [BZ #208]
48948         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48949         in instead of returning them.  Return void.
48950         (__libc_mallinfo): Accumulate over all arenas.
48951         (__malloc_stats): Adjust for change in int_mallinfo interface.
48953 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48955         [BZ #10375]
48956         * configure.in (NM): Add AC_CHECK_TOOL for it.
48957         (libc_extra_cflags): New substituted variable.
48958         Check for -fstack-protector being used implicitly.
48959         * configure: Regenerated.
48960         * config.make.in (config-extra-cflags): New variable,
48961         gets @libc_extra_cflags@.
48962         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48964         [BZ #10375]
48965         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48966         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48967         * configure: Regenerated.
48968         * config.make.in (CPPUNDEFS): New substituted variable.
48969         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48970         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48971         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48973 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48975         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48976         (mq_attr): Use __syscall_slong_t.
48978 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48980         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48981         Check __x86_64__ instead of __WORDSIZE.
48982         (_STAT_VER_LINUX): Likewise.
48983         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48984         __syscall_ulong_t and __syscall_slong_t.
48985         (stat64): Likewise.
48987 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48989         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48991 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48993         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48995 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48997         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48998         __syscall_ulong_t.
49000         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49001         include <bits/wordsize.h>.  Check __x86_64__ instead of
49002         __WORDSIZE.
49003         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49004         defined.
49005         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49007         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49008         include <bits/wordsize.h>.  Check __x86_64__ instead of
49009         __WORDSIZE.
49010         (user_regs_struct): Use "__extension__ unsigned long long"
49011         instead of "unsigned long" if __x86_64__ is defined.
49012         (user): Likewise.  Pad after pointer field if __ILP32__ is
49013         defined.
49015 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49017         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49018         versions 5 to 9.
49019         * configure: Regenerated.
49020         * manual/install.texi (texinfo): Increase version requirement to
49021         4.5 or later.
49022         * INSTALL: Regenerated.
49024         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49026 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49028         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49030         * sysdeps/x86_64/x32/ffs.c: New file.
49032         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49033         __syscall_ulong_t.
49034         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49035         defined.  Use __syscall_ulong_t.
49036         (shminfo): Use __syscall_ulong_t.
49037         (shm_info): Likewise.
49039         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49040         __syscall_ulong_t.
49042         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49043         <bits/wordsize.h>.
49044         (msgqnum_t): Use __syscall_ulong_t.
49045         (msglen_t): Likewise.
49046         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49047         __syscall_ulong_t.
49049         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49050         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49052         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49054         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49055         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49057         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49058         __syscall_slong_t.
49060         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49061         include <bits/wordsize.h>.  Check __x86_64__ instead of
49062         __WORDSIZE.
49064         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49065         "unsigned long long int" if __x86_64__ is defined.
49066         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49068         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49069         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49070         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49072         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49073         <stdint.h>.
49074         (GET_PC): Cast to uintptr_t first.
49075         (GET_FRAME): Likewise.
49076         (GET_STACK): Likewise.
49078         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49079         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49080         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49081         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49082         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49083         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49084         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49085         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49086         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49087         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49088         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49089         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49090         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49091         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49092         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49093         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49094         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49095         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49096         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49097         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49098         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49099         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49100         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49101         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49102         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49103         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49104         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49105         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49106         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49108 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49110         * Makerules (+depfiles): Also collect depfiles from .oS in
49111         $(extra-objs).
49112         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49113         .oS, $(libnldbl-routines)).
49115         * Makerules (native-compile-mkdep-flags): Define.
49116         * sunrpc/Makefile (extra-objs): Add $(addprefix
49117         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49118         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49119         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49120         calling $(make-target-directory).
49122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49124         * bits/types.h (__snseconds_t): Removed.
49125         * time/time.h (struct timespec): Replace __snseconds_t with
49126         __syscall_slong_t.
49127         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49128         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49129         Likewise.
49130         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49131         (__SNSECONDS_T_TYPE): Likewise.
49132         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49133         (__SNSECONDS_T_TYPE): Likewise.
49134         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49135         (__SNSECONDS_T_TYPE): Likewise.
49137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49139         * sysdeps/mach/hurd/bits/typesizes.h
49140         (__SYSCALL_SLONG_TYPE): New macro.
49141         (__SYSCALL_ULONG_TYPE): Likewise.
49143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49145         * bits/types.h (__syscall_slong_t): New type.
49146         (__syscall_ulong_t): Likewise.
49148         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49149         (__SYSCALL_ULONG_TYPE): Likewise.
49150         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49151         (__SYSCALL_SLONG_TYPE): Likewise.
49152         (__SYSCALL_ULONG_TYPE): Likewise.
49153         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49154         (__SYSCALL_SLONG_TYPE): Likewise.
49155         (__SYSCALL_ULONG_TYPE): Likewise.
49156         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49157         (__SYSCALL_SLONG_TYPE): Likewise.
49158         (__SYSCALL_ULONG_TYPE): Likewise.
49160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49162         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49163         Add sigaltstack-offsets.sym.
49164         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49165         <sigaltstack-offsets.h>.
49166         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49167         longjmp_msg pointer.
49168         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49169         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49170         signal stack.
49171         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49173 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49175         * elf/stackguard-macros.h: Remove file.
49176         * sysdeps/generic/stackguard-macros.h: New file.
49177         * sysdeps/i386/stackguard-macros.h: Likewise.
49178         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49179         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49180         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49181         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49182         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49183         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49184         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49185         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49186         <elf/stackguard-macros.h>.
49188         [BZ #14109]
49189         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49190         __aligned__ in attribute.
49191         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49192         (gregset_t): Likewise.
49194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49196         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49197         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49198         * sysdeps/x86_64/x32/Implies-after: New file.
49200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49202         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49203         and access return value for _dl_profile_fixup.  Use R10_LP to
49204         load frame size.
49206 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49208         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49212         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49213         * sysdeps/x86_64/x32/sysdep.h: New file.
49215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49217         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49218         * sysdeps/x86_64/setjmp.S: Likewise.
49220 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49222         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49223         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49224         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49225         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49226         remove unused global constant.
49228 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49230         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49231         include of <not-cancel.h>.
49233 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49235         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49237 2012-05-15  Jeff Law  <law@redhat.com>
49238             Andreas Jaeger  <aj@suse.de>
49240         [BZ #13594]
49241         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49242         out from...
49243         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49244         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49245         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49246         code changing __hst_map_handle.map.
49248 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49250         * configure.in (sysnames): Look for Implies-before and Implies-after
49251         files.
49252         * configure: Regenerated.
49254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49256         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49257         8-byte data alignment with LP_SIZE alignment.
49259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49261         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49262         into R10_LP.
49264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49266         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49270         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49271         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49272         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49273         Likewise.
49274         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49276 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49278         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49279         (stackinfo_sub_sp): Likewise.
49281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49283         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49284         RAX_LP.
49286 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49288         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49289         into R*_LP.
49291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49293         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49294         sizes into R*_LP.
49296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49298         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49302         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49303         into R11_LP and load __x86_64_shared_cache_size_half into
49304         R8_LP.
49306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49308         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49309         R8_LP.
49311 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49313         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49314         logb for POWER7.
49315         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49316         logbf for POWER7.
49317         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49318         logbl for POWER7.
49319         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49320         powerpc32/power7/fpu/s_logb.c via #include.
49321         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49322         powerpc32/power7/fpu/s_logbf.c via #include.
49323         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49324         powerpc32/power7/fpu/s_logbl.c via #include.
49326 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49328         * README.libm: Remove file.
49330 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49332         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49333         count for x32.  Use R*_LP and omit operand-size suffix.
49335 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49337         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49338         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49339         * sysdeps/x86_64/x32/shlib-versions: New file.
49341 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49343         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49344         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49345         Use _dl_fatal_printf instead.
49347 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49349         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49350         set if not set by the user.  Do not allow for being unset.
49351         * sysdeps/unix/sysv/linux/configure: Regenerated.
49353 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49355         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49356         the `q' suffix from lea and replace .quad with ASM_ADDR.
49358 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49360         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49361         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49362         instead of $17.
49363         (PTR_DEMANGLE): Likewise.
49365 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49367         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49368         (LP_OP): Likewise.
49369         (ASM_ADDR): Likewise.
49370         (RAX_LP): Likewise.
49371         (RBP_LP): Likewise.
49372         (RBX_LP): Likewise.
49373         (RCX_LP): Likewise.
49374         (RDI_LP): Likewise.
49375         (RSI_LP): Likewise.
49376         (RSP_LP): Likewise.
49377         (R8_LP): Likewise.
49378         (R9_LP): Likewise.
49379         (R10_LP): Likewise.
49380         (R10_LP): Likewise.
49381         (R11_LP): Likewise.
49382         (R12_LP): Likewise.
49383         (R13_LP): Likewise.
49384         (R14_LP): Likewise.
49385         (R15_LP): Likewise.
49387 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49389         * sysdeps/x86_64/x32/dl-machine.h: New file.
49391 2012-05-14  Andreas Jaeger  <aj@suse.de>
49393         * manual/Makefile (subdir): Remove export of subdir.
49394         (all): Remove target.
49395         (.PHONY): Remove all from list.
49396         (mkinstalldirs): Remove.
49397         (.PHONY): Remove installdirs from list.
49398         ($(inst_infodir)/libc.info): Use make-target-directory.
49399         (installdirs): Remove.
49400         (subdir_%): Remove.
49401         (glibc-targets): Remove.
49402         (lib): Remove.
49403         (stubs): Remove.
49404         ($(objpfx)stubs ../po/manual.pot): Remove.
49405         ($(objpfx)stamp%): Remove.
49406         (make-target-directory): Remove.
49407         (subdir_install): Remove.
49408         (routines): Remove.
49409         (aux): Remove.
49410         (sources): Remove.
49411         (objects): Remove.
49412         (headers): Remove.
49414         [BZ #13750]
49415         * manual/.gitignore: Remove, it's not needed anymore.
49416         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49417         all files in it.
49418         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49419         directory.
49420         (texis): Renamed to $(objpfx)texis.
49421         (texis-path): New, contains path to generated files.
49422         (chapters.%): Use texis-path for complete path, add extra argument
49423         libc-texinfo.sh.
49424         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49425         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49426         (summary,texi, stamp-summary): Use complete path of
49427         files. Generate files in build dir.
49428         (dir-add.texi): Build in build dir.
49429         (libm-err.texi,stamp-libm-err): Likewise.
49430         (version.texi, stamp-version): Likewise.
49431         (.%c.texi): Likewise.
49432         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49433         (mostlyclean): Remove target.
49434         (realclean): Remove target.
49435         (generated): Add new variable with contents from mostlyclean and
49436         realclean, remove entries duplicated in common-mostlyclean, add
49437         stamp-libm-err and stamp-version.
49438         (generated-dirs): Add libc directory.
49439         ($(inst_infodir)/libc.info): Install files from build dir.
49441         * manual/install.texi (Configuring and compiling): Adjust since
49442         the info files are not part of the tar ball anymore.
49444 2012-05-14  Andreas Jaeger  <aj@suse.de>
49446         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49447         variable.
49449 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49451         [BZ #13717]
49452         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49453         to 2.2.0 where earlier.
49454         * sysdeps/unix/sysv/linux/configure: Regenerated.
49455         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49456         Remove conditional code.
49457         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49458         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49459         Remove conditional code.
49460         [!__NR_lchown]: Likewise.
49461         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49462         [__NR_lchown]: Likewise.
49463         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49464         comment referencing __ASSUME_LCHOWN_SYSCALL.
49465         * sysdeps/unix/sysv/linux/i386/sigaction.c
49466         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49467         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49468         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49469         Remove conditional code.
49470         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49471         (__protocol_available): Remove #if 0 code.
49472         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49473         conditional code.
49474         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49475         * sysdeps/unix/sysv/linux/kernel-features.h
49476         (__ASSUME_GETCWD_SYSCALL): Don't define.
49477         (__ASSUME_REALTIME_SIGNALS): Likewise.
49478         (__ASSUME_PREAD_SYSCALL): Likewise.
49479         (__ASSUME_PWRITE_SYSCALL): Likewise.
49480         (__ASSUME_POLL_SYSCALL): Likewise.
49481         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49482         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49483         non-SPARC.
49484         (__ASSUME_SIOCGIFNAME): Don't define.
49485         (__ASSUME_MSG_NOSIGNAL): Likewise.
49486         (__ASSUME_SENDFILE): Define unconditionally.
49487         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49488         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49489         conditional code.
49490         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49491         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49492         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49493         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49494         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49495         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49496         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49498         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49499         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49501         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49502         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49504         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49505         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49507         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49508         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49510         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49511         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49513         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49514         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49516         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49517         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49519         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49520         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49521         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49522         Remove conditional code.
49523         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49524         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49525         Remove conditional code.
49526         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49527         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49528         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49529         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49530         Remove conditional code.
49531         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49532         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49533         Remove conditional code.
49534         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49535         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49536         Remove conditional code.
49537         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49538         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49539         Remove conditional code.
49540         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49541         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49542         Remove conditional code.
49543         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49544         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49545         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49546         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49547         * sysdeps/unix/sysv/linux/sigaction.c
49548         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49549         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49550         * sysdeps/unix/sysv/linux/sigpending.c
49551         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49552         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49553         * sysdeps/unix/sysv/linux/sigprocmask.c
49554         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49555         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49556         * sysdeps/unix/sysv/linux/sigsuspend.c
49557         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49558         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49559         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49560         (__libc_missing_rt_sigs): Remove.
49561         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49562         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49563         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49564         Remove conditional code.
49565         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49566         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49567         return 1.
49568         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49569         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49570         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49571         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49573 2012-05-14  Andreas Jaeger  <aj@suse.de>
49575         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49576         it's not used in glibc.
49577         (__coshm1): Likewise.
49578         (__acosh1p): Likewise.
49579         (__sgn): Likewise.
49581         * manual/string.texi (Copying and Concatenation): Add missing
49582         variable in concat example.
49583         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49585 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49587         [BZ #14103]
49588         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49589         __builtin_clzl with __builtin_clzll.
49591 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49593         [BZ #14104]
49594         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49595         libc_freeres_ptr.
49597 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49599         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49600         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49601         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49602         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49604 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49606         * NEWS: Update ia64 info.
49608 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49610         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49611         used as bcopy.
49613 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49615         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49616         * sysdeps/unix/syscalls.list (dup3): Likewise.
49617         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49618         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49620 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49622         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49623         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49625 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49627         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49628         thread pointer.
49629         (TLS_IE): Use mov/add instead of movq/addq to load thread
49630         pointer.
49631         (TLS_GD_PREFIX): New.
49632         (TLS_GD): Use it.
49634 2012-05-11  David S. Miller  <davem@davemloft.net>
49636         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49637         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49638         (_FPU_SETCW): Likewise.
49640 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49642         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49643         is 32-byte aligned.
49645 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49647         [BZ #11837]
49648         * iconvdata/gb18030.c: Update tables.
49649         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49650         characters specially.
49651         (BODY for TO_LOOP): Add encoding of missing ranges.
49653 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49655         [BZ #13673]
49656         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49657         * sysdeps/mach/hurd/dup3.c: Likewise.
49658         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49659         * sysdeps/powerpc/memmove.c:: Likewise.
49661 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49663         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49664         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49666 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49668         * elf/elf.h (R_X86_64_RELATIVE64): New.
49669         (R_X86_64_NUM): Updated.
49670         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49671         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49672         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49673         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49674         tst-quad1pie tst-quad2pie
49675         (modules-names): Add tst-quadmod1 tst-quadmod2.
49676         ($(objpfx)tst-quad1): New dependency.
49677         ($(objpfx)tst-quad2): Likewise.
49678         ($(objpfx)tst-quad1pie): Likewise.
49679         ($(objpfx)tst-quad2pie): Likewise.
49680         * sysdeps/x86_64/tst-quad1.c: New file.
49681         * sysdeps/x86_64/tst-quad1pie.c: New file.
49682         * sysdeps/x86_64/tst-quad2.c: Likewise.
49683         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49684         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49685         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49686         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49687         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49689 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49691         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49692         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49693         * streams/stropts.h (t_scalar_t): Define type.
49695         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49696         (_PATH_PRESERVE): Set to "/var/lib".
49697         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49699         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49700         instead of int.
49702         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49703         if __dir_mkfile succeeded.
49705         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49706         checking for _hurd_dtablesize.  Unlock it right after having
49707         finished _hurd_dtable allocation.
49709 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49711         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49712         * sysdeps/mach/hurd/configure: Regenerated.
49713         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49714         special-casing to...
49715         * sysdeps/gnu/configure.in: ... this new file.
49716         * sysdeps/unix/sysv/linux/configure: Regenerated.
49717         * sysdeps/gnu/configure: New generated file.
49719         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49720         for Linux: use nsec instead of usec, as well as:
49721         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49722         members of type struct timespec.
49723         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49724         New macros.
49725         (struct stat64): Likewise.
49726         (_STATBUF_ST_NSEC): New macro.
49727         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49729         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49730         __strtoul_internal rather than strtoul.
49732 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49734         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49735         and reject them.
49737 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49739         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49740         which preserves existing values.
49741         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49743 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49745         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49746         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49747         greater than FD_SETSIZE.
49749 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49751         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49752         allocated, call __vm_protect to finish enabling the existing space, and
49753         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49754         allocate the remainder.
49756 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49758         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49759         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49761 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49763         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49764         sysdeps/mach/hurd/readlink.c.
49766         * posix/tst-sysconf.c (posix_options): Only use
49767         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49768         _POSIX_SYNCHRONIZED_IO when they are defined
49769         * sysdeps/mach/hurd/bits/posix_opt.h:
49770         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49771         (_XOPEN_REALTIME): Undefine macro.
49772         (_XOPEN_REALTIME_THREADS): Undefine macro.
49773         (_XOPEN_SHM): Undefine macro.
49774         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49775         macro to -1.
49776         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49777         macro to -1.
49778         (_POSIX_ASYNC_IO): Undefine macro.
49779         (_POSIX_PRIORITIZED_IO): Undefine macro.
49780         (_POSIX_SPIN_LOCKS): Define macro to -1.
49782         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49783         SA_NODEFER, SA_RESETHAND.
49784         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49785         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49786         F_DUPFD_CLOEXEC.
49788 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49790         * elf/Makefile (pldd-modules): Define unconditionally.
49792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49794         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49796 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49798         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49799         Return ENOENT when name is empty.
49800         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49802 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49804         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49806         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49808 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49810         Fix mlock in all cases except non-readable pages.
49811         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49812         instead of VM_PROT_ALL as parameter to __vm_wire function.
49814         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49815         (__mkdir): When path is `/', just fail with EEXIST.
49816         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49818 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49820         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49821         <sys/uio.h> (for writev).
49822         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49823         and <sys/param.h> (for MIN).
49825 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49827         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49828         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49829         if interrupted.
49831 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49833         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49834         Depend on against $(link-rpcuserlibs).
49836 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49838         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49839         (__libc_stack_end): Do not use attribute_relro.
49840         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49841         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49842         to libthread-provided value.
49843         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49844         attribute_relro.
49846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49848         [BZ #3748]
49849         * bits/libc-lock.h (__libc_once_get): New macro.
49850         * sysdeps/mach/bits/libc-lock.h: Likewise.
49851         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49852         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49853         instead of using implementation details.
49855         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49856         * libio/freopen.c: Likewise.
49857         * libio/freopen64.c: Likewise.
49858         * misc/syslog.c: Likewise.
49859         * nscd/connections.c: Likewise.
49860         * nscd/netgroupcache.c: Likewise.
49861         * sysdeps/posix/getcwd.c: Likewise.
49863 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49865         * math/w_ilogbf.c: Add #include <limits.h>.
49867 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49869         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49870         path instead of returning without unlocking.
49872         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49873         immediate-write ioctls.
49874         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49876 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49878         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49879         __builtin_frame_address instead of making assumptions about the
49880         location of the return address relative to DATA.  Force early load of
49881         the return address.
49882         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49883         __builtin_frame_address.
49885         dup3 for GNU Hurd.
49886         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49887         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49888         implement dup3 and do some further code clean-ups.
49889         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49890         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49894         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49896         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49897         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49898         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49899         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49900         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49901         d->port.lock.
49903         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49904         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49905         when handler == SIG_ERR, not when handler != SIG_ERR.
49907 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49909         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49910         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49911         definitions.
49913         accept4 for GNU Hurd.
49914         * include/sys/socket.h (__libc_accept4): New prototype.
49915         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49916         to implement __libc_accept4.
49917         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49918         __libc_accept4.
49919         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49921         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49922         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49923         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49924         signal-defines.sym.
49926 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49928         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49930 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49932         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49933         assertion on O_CLOEXEC flag.
49934         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49935         * hurd/intern-fd.c: Likewise.
49936         * hurd/port2fd.c: Likewise.
49938 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49940         [BZ #3906]
49941         * bits/in.h (IPV6_PKTINFO): Define new macro.
49942         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49944 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49946         [BZ #13954]
49947         [BZ #13955]
49948         [BZ #13956]
49949         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49950         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49951         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49952         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49953         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49954         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49955         * math/libm-test.inc (logb_test) : Additional logb tests.
49957 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49958             Andreas Jaeger  <aj@suse.de>
49960         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49961         * configure: Regenerated.
49962         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49963         * config.make.in (link-obsolete-rpc): New substituted variable.
49964         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49965         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49966         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49967         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49968         so that libc.a contains the symbols.
49969         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49970         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49971         * sunrpc/auth_none.c: Likewise.
49972         * sunrpc/auth_unix.c: Likewise.
49973         * sunrpc/authdes_prot.c: Likewise.
49974         * sunrpc/authuxprot.c: Likewise.
49975         * sunrpc/clnt_gen.c: Likewise.
49976         * sunrpc/clnt_perr.c: Likewise.
49977         * sunrpc/clnt_raw.c: Likewise.
49978         * sunrpc/clnt_simp.c: Likewise.
49979         * sunrpc/clnt_tcp.c: Likewise.
49980         * sunrpc/clnt_udp.c: Likewise.
49981         * sunrpc/clnt_unix.c: Likewise.
49982         * sunrpc/des_crypt.c: Likewise.
49983         * sunrpc/des_soft.c: Likewise.
49984         * sunrpc/get_myaddr.c: Likewise.
49985         * sunrpc/key_call.c: Likewise.
49986         * sunrpc/key_prot.c: Likewise.
49987         * sunrpc/netname.c: Likewise.
49988         * sunrpc/pm_getmaps.c: Likewise.
49989         * sunrpc/pm_getport.c: Likewise.
49990         * sunrpc/pmap_clnt.c: Likewise.
49991         * sunrpc/pmap_prot.c: Likewise.
49992         * sunrpc/pmap_prot2.c: Likewise.
49993         * sunrpc/pmap_rmt.c: Likewise.
49994         * sunrpc/publickey.c: Likewise.
49995         * sunrpc/rpc_cmsg.c: Likewise.
49996         * sunrpc/rpc_common.c: Likewise.
49997         * sunrpc/rpc_dtable.c: Likewise.
49998         * sunrpc/rpc_prot.c: Likewise.
49999         * sunrpc/rpc_thread.c: Likewise.
50000         * sunrpc/rtime.c: Likewise.
50001         * sunrpc/svc.c: Likewise.
50002         * sunrpc/svc_auth.c: Likewise.
50003         * sunrpc/svc_raw.c: Likewise.
50004         * sunrpc/svc_run.c: Likewise.
50005         * sunrpc/svc_tcp.c: Likewise.
50006         * sunrpc/svc_udp.c: Likewise.
50007         * sunrpc/svc_unix.c: Likewise.
50008         * sunrpc/svcauth_des.c: Likewise.
50009         * sunrpc/xcrypt.c: Likewise.
50010         * sunrpc/xdr.c: Likewise.
50011         * sunrpc/xdr_array.c: Likewise.
50012         * sunrpc/xdr_float.c: Likewise.
50013         * sunrpc/xdr_intXX_t.c: Likewise.
50014         * sunrpc/xdr_mem.c: Likewise.
50015         * sunrpc/xdr_rec.c: Likewise.
50016         * sunrpc/xdr_ref.c: Likewise.
50017         * sunrpc/xdr_sizeof.c: Likewise.
50018         * sunrpc/xdr_stdio.c: Likewise.
50020 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50022         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50023         change.  Update copyright years.
50025 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50027         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50029 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50030             Joseph Myers  <joseph@codesourcery.com>
50031             Paul Pluzhnikov  <ppluzhnikov@google.com>
50033         [BZ #14012]
50034         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50035         requiring rpcgen.
50036         [cross-compiling] (extra-libs): Likewise.
50037         [cross-compiling] (extra-libs-others): Likewise.
50038         [cross-compiling] (librpcsvc-routines): Likewise.
50039         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50040         [cross-compiling] (omit-deps): Likewise.
50041         (sunrpc-CPPFLAGS): New variable.
50042         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50043         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50044         (cross-rpcgen-objs): New variable.
50045         (extra-objs): Append $(cross-rpcgen-objs).
50046         ($(cross-rpcgen-objs)): New rule.
50047         ($(objpfx)cross-rpcgen): Likewise.
50048         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50049         comment.
50050         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50051         ($(objpfx)x%.stmp): Likewise.
50052         * sunrpc/proto.h [IS_IN_build] (_): Define.
50053         [IS_IN_build] (_libc_intl_domainname): Likewise.
50055 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50057         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50058         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50059         and R_X86_64_TPOFF64.
50061 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50063         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50064         sysdeps/unix/sysv/syscalls.list.
50065         (stime): Likewise.
50066         (utime): Likewise.
50067         * sysdeps/unix/sysv/syscalls.list: Remove file.
50069 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50071         [BZ #3440]
50072         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50073         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50074         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50075         (__LC_IDENTIFICATION): Make these macros useful in #if
50076         expressions, as required by C99.
50078 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50080         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50081         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50082         after this.
50084 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50086         * stdlib/longlong.h: Updated from GCC.
50088 2012-05-09  Andreas Jaeger  <aj@suse.de>
50090         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50091         default is first entry.
50092         (run_mode): Set type.
50093         (main): Remove informal message about syslog.
50094         (options): Fix typo.
50096         [BZ #14053]
50097         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50098         to asm.
50099         (lrint): Likewise.
50100         (llrintf): Likewise.
50101         (llrint): Likewise.
50102         (rint): Likewise.
50103         (rintf): Likewise.
50104         (nearbyint): Likewise.
50105         (nearbyintf): Likewise.
50107 2012-05-09  Andreas Jaeger  <aj@suse.de>
50108             Pedro Alves  <palves@redhat.com>
50110         * nscd/nscd.c (run_mode): Use enum.
50111         (main): Cleanup coding style issue.
50113 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50114             Andreas Jaeger  <aj@suse.de>
50116         * nscd/nscd.c (go_background): Replaced with...
50117         (run_mode): ... this.
50118         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50119         (options): Add -F --foreground.
50120         (main): Implement it.
50121         (parse_opt): Parse it.
50123 2012-05-09  Andreas Jaeger  <aj@suse.de>
50125         [BZ #14083]
50126         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50127         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50128         -Wconversion warning.
50129         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50130         Likewise.
50132 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50134         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50135         == 0.
50136         (LC_ALL): Use macro-int-constant.
50137         (LC_COLLATE): Likewise.
50138         (LC_CTYPE): Likewise.
50139         (LC_MESSAGES): Likewise.
50140         (LC_MONETARY): Likewise.
50141         (LC_NUMERIC): Likewise.
50142         (LC_TIME): Likewise.
50143         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50144         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50145         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50146         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50147         Specify type.
50148         [C99-based standards] (float_t): Expect type.
50149         [C99-based standards] (double_t): Expect type.
50150         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50151         type.
50152         [C99-based standards] (HUGE_VALL): Likewise.
50153         [C99-based standards] (INFINITY): Likewise.
50154         [C99-based standards] (NAN): Likewise.
50155         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50156         [C99-based standards] (FP_NAN): Likewise.
50157         [C99-based standards] (FP_NORMAL): Likewise.
50158         [C99-based standards] (FP_SUBNORMAL): Likewise.
50159         [C99-based standards] (FP_ZERO): Likewise.
50160         [C99-based standards] (FP_FAST_FMA): Use
50161         optional-macro-int-constant.  Specify type.  Require == 1.
50162         [C99-based standards] (FP_FAST_FMAF): Likewise.
50163         [C99-based standards] (FP_FAST_FMAL): Likewise.
50164         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50165         [C99-based standards] (FP_ILOGBNAN): Likewise.
50166         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50167         Specify type.
50168         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50169         [C99-based standards] (math_errhandling): Specify type.
50170         [ISO99 || ISO11] (signgam): Do not allow.
50171         [non-C99-based standards] (copysignf): Do not allow.
50172         [non-C99-based standards] (exp2f): Likewise.
50173         [non-C99-based standards] (log2f): Likewise.
50174         [non-C99-based standards] (modff): Allow.
50175         [non-C99-based standards] (erff): Do not allow.
50176         [non-C99-based standards] (erfcf): Likewise.
50177         [non-C99-based standards] (gammaf): Likewise.
50178         [non-C99-based standards] (hypotf): Likewise.
50179         [non-C99-based standards] (j0f): Likewise.
50180         [non-C99-based standards] (j1f): Likewise.
50181         [non-C99-based standards] (jnf): Likewise.
50182         [non-C99-based standards] (lgammaf): Likewise.
50183         [non-C99-based standards] (tgammaf): Likewise.
50184         [non-C99-based standards] (y0f): Likewise.
50185         [non-C99-based standards] (y1f): Likewise.
50186         [non-C99-based standards] (ynf): Likewise.
50187         [non-C99-based standards] (isnanf): Likewise.
50188         [non-C99-based standards] (acoshf): Likewise.
50189         [non-C99-based standards] (asinhf): Likewise.
50190         [non-C99-based standards] (atanhf): Likewise.
50191         [non-C99-based standards] (cbrtf): Likewise.
50192         [non-C99-based standards] (expm1f): Likewise.
50193         [non-C99-based standards] (ilogbf): Likewise.
50194         [non-C99-based standards] (log1pf): Likewise.
50195         [non-C99-based standards] (logbf): Likewise.
50196         [non-C99-based standards] (nextafterf): Likewise.
50197         [non-C99-based standards] (remainderf): Likewise.
50198         [non-C99-based standards] (rintf): Likewise.
50199         [non-C99-based standards] (scalbf): Likewise.
50200         [non-C99-based standards] (copysignl): Likewise.
50201         [non-C99-based standards] (exp2l): Likewise.
50202         [non-C99-based standards] (log2l): Likewise.
50203         [non-C99-based standards] (modfl): Allow.
50204         [non-C99-based standards] (erfl): Do not allow.
50205         [non-C99-based standards] (erfcl): Likewise.
50206         [non-C99-based standards] (gammal): Likewise.
50207         [non-C99-based standards] (hypotl): Likewise.
50208         [non-C99-based standards] (j0l): Likewise.
50209         [non-C99-based standards] (j1l): Likewise.
50210         [non-C99-based standards] (jnl): Likewise.
50211         [non-C99-based standards] (lgammal): Likewise.
50212         [non-C99-based standards] (tgammal): Likewise.
50213         [non-C99-based standards] (y0l): Likewise.
50214         [non-C99-based standards] (y1l): Likewise.
50215         [non-C99-based standards] (ynl): Likewise.
50216         [non-C99-based standards] (isnanl): Likewise.
50217         [non-C99-based standards] (acoshl): Likewise.
50218         [non-C99-based standards] (asinhl): Likewise.
50219         [non-C99-based standards] (atanhl): Likewise.
50220         [non-C99-based standards] (cbrtl): Likewise.
50221         [non-C99-based standards] (expm1l): Likewise.
50222         [non-C99-based standards] (ilogbl): Likewise.
50223         [non-C99-based standards] (log1pl): Likewise.
50224         [non-C99-based standards] (logbl): Likewise.
50225         [non-C99-based standards] (nextafterl): Likewise.
50226         [non-C99-based standards] (remainderl): Likewise.
50227         [non-C99-based standards] (rintl): Likewise.
50228         [non-C99-based standards] (scalbl): Likewise.
50229         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50230         [non-C99-based standards] (FP_*): Do not allow.
50231         [C99-based standards] (FP_*): Change to
50232         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50233         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50234         allow.
50235         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50236         (SIG_ERR): Likewise.
50237         [X/Open-based standards] (SIG_HOLD): Likewise.
50238         (SIG_IGN): Likewise.
50239         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50240         positive value.
50241         (SIGFPE): Likewise.
50242         (SIGILL): Likewise.
50243         (SIGINT): Likewise.
50244         (SIGSEGV): Likewise.
50245         (SIGTER): Likewise.
50246         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50247         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50248         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50249         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50250         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50251         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50252         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50253         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50254         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50255         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50256         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50257         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50258         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50259         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50260         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50261         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50262         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50263         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50264         [X/Open-based standards] (SIGTRAP): Likewise.
50265         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50266         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50267         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50268         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50269         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50270         allow.
50272 2012-05-08  Ian Wienand  <ianw@vmware.com>
50274         [BZ #14080]
50275         * time/tzset.c (__tzset_parse_tz): Update default rules for
50276         daylight time changes in the Energy Policy Act of 2005.
50278 2012-05-09  Andreas Jaeger  <aj@suse.de>
50280         [BZ #13983]
50281         * elf/ldconfig.c (parse_conf): Change string to make clear that
50282         ldconfig only issued a warning if ld.so.conf does not exist.
50284 2012-05-08  David S. Miller  <davem@davemloft.net>
50286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50287         movxtod instead of popping the value on the stack.
50289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50291 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50293         * config.h.in: Add HAVE_ARM_PCS_VFP.
50295 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50297         [BZ #13979]
50298         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50299         checking but the checks are disabled for any reason.
50301 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50303         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50304         and ELF64_R_TYPE with ELFW(R_TYPE).
50306 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50308         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50309         (ulimit): Likewise.
50311         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50312         (settimeofday): Likewise.
50314 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50316         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50317         a struct th_u2 inside the union, and move tu_block/tu_code into
50318         a new th_u3 union of tu_block/tu_code inside of that.  Move
50319         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50320         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50321         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50322         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50323         (th_stuff): Change to th_u1.tu_stuff.
50324         (th_data): Define.
50325         (th_msg): Change to th_u1.th_u2.tu_data.
50327 2012-05-07  David S. Miller  <davem@davemloft.net>
50329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50331         [BZ #14074]
50332         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50333         (SETUP_PIC_REG): Use it.
50334         (SETUP_PIC_REG_LEAF): Use it.
50336 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50338         [BZ #13885]
50339         [BZ #13923]
50340         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50341         USE_AS_EXPM1L.
50342         (EXPL_FINITE): Likewise.
50343         (FLDLOG): Likewise.
50344         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50345         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50346         e_expl.S.
50347         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50348         USE_AS_EXPM1L.
50349         (EXPL_FINITE): Likewise.
50350         (FLDLOG): Likewise.
50351         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50352         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50353         e_expl.S.
50354         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50355         test of -max_value argument for long double.
50356         * sysdeps/i386/fpu/libm-test-ulps: Update.
50357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50359 2012-05-06  David S. Miller  <davem@davemloft.net>
50361         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50362         quad soft-float symbols whose references which are compiler
50363         generated.
50364         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50366 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50368         [BZ #13884]
50369         [BZ #13914]
50370         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50371         USE_AS_EXP10L.
50372         (EXPL_FINITE): Likewise.
50373         (FLDLOG): Likewise.
50374         (c0): Likewise.
50375         (c1): Likewise.
50376         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50377         Adjust comments for base varying.
50378         (__expl_finite): Change alias to EXPL_FINITE.
50379         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50380         e_expl.S.
50381         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50382         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50383         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50384         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50385         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50386         USE_AS_EXP10L.
50387         (EXPL_FINITE): Likewise.
50388         (FLDLOG): Likewise.
50389         (c0): Likewise.
50390         (c1): Likewise.
50391         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50392         Adjust comments for base varying.
50393         (__expl_finite): Change alias to EXPL_FINITE.
50394         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50395         tests for bugs.
50396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50398         [BZ #14064]
50399         * math/libm-test.inc (check_float_internal): Correct ulp
50400         calculation for subnormal expected results.
50402 2012-05-06  Andreas Jaeger  <aj@suse.de>
50404         * Makeconfig (+math-flags): New, set to -frounding-math.
50405         (+cflags): Add +math-flags so that all of glibc gets compiled with
50406         it.
50408         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50410 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50412         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50413         Disable one test.
50415         [BZ #13787]
50416         [BZ #13922]
50417         [BZ #14036]
50418         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50419         (__ieee754_expl): Allow for and saturate large arguments.
50420         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50421         (u_threshold): Likewise.
50422         (__exp): Call __ieee754_exp before checking for overflow and
50423         underflow.
50424         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50425         (u_threshold): Likewise.
50426         (__expf): Call __ieee754_expf before checking for overflow and
50427         underflow.
50428         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50429         (u_threshold): Likewise.
50430         (__expl): Call __ieee754_expl before checking for overflow and
50431         underflow.
50432         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50433         (__ieee754_expl): Allow for and saturate large arguments.
50434         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50435         missing overflow exception on overflow.
50436         (expm1_test): Do not allow missing overflow exception on overflow.
50438         * sysdeps/i386/fpu/e_expl.c: Move to ...
50439         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50440         rather than using inline asm.
50441         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50442         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50443         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50445         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50446         (nice): Likewise.
50447         (poll): Likewise.
50448         (signal): Likewise.
50449         (time): Likewise.
50450         (times): Likewise.
50452 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50454         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50455         sysdeps/unix/common/syscalls.list.
50456         (fchmod): Likewise.
50457         (fchown): Likewise.
50458         (ftruncate): Likewise.
50459         (getrusage): Likewise.
50460         (gettimeofday): Likewise.
50461         (setpgid): Likewise.
50462         (setregid): Likewise.
50463         (setreuid): Likewise.
50464         (sigaction): Likewise.
50465         (truncate): Likewise.
50466         (vhangup): Likewise.
50467         * sysdeps/unix/common/syscalls.list: Remove file.
50468         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50469         * sysdeps/unix/sysv/linux/Implies: Likewise.
50471 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50473         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50475         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50476         Moved to ...
50477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50478         Here.
50479         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50480         to ...
50481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50482         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50483         to ...
50484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50485         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50486         to ...
50487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50488         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50489         to ...
50490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50491         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50492         to ...
50493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50494         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50495         to ...
50496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50497         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50498         to ...
50499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50500         Here.
50501         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50502         to ...
50503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50504         Here.
50505         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50506         to ...
50507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50508         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50509         Moved to ...
50510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50511         Here.
50512         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50513         to ...
50514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50516 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50518         * sysdeps/unix/common/bits/dirent.h: Remove file.
50519         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50521         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50522         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50523         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50524         * sysdeps/unix/bsd/isatty.c: Likewise.
50525         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50526         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50527         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50529 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50531         [BZ #13563]
50532         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50533         long double comparison inaccuracies.
50534         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50537 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50539         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50540         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50542 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50544         [BZ #14049]
50545         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50546         nonzero digits before rounding a hex value.
50547         * stdlib/tst-strtod.c (tests): Add another test.
50549 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50551         * sysdeps/s390/fpu/libm-test-ulps: Update.
50553 2012-05-03  Andreas Jaeger  <aj@suse.de>
50555         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50556         does not get optimized out.
50557         (malloc_opt_barrier): New.
50559 2012-05-03  Andreas Jaeger  <aj@suse.de>
50560             Roland McGrath  <roland@hack.frob.com>
50562         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50563         intermediate file deletion.
50564         (generated): Add .symlist files.
50566 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50568         [BZ #13775]
50569         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50570         Redirect under this condition.
50571         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50572         [__USE_GNU] (__dprintf_chk): Not under this condition.
50573         [__USE_GNU] (__vdprintf_chk): Likewise.
50574         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50575         under this condition.
50576         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50577         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50578         [__USE_XOPEN2K8] (vdprintf): Likewise.
50579         [__USE_GNU] (__dprintf_chk): Not under this condition.
50580         [__USE_GNU] (__vdprintf_chk): Likewise.
50581         [__USE_GNU] (dprintf): Likewise.
50582         [__USE_GNU] (vdprintf): Likewise.
50584 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50586         * elf/Makefile (common-generated): Set this instead of generated for
50587         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50588         $(all-built-dso)-derived lists.
50590 2012-05-03  Andreas Jaeger  <aj@suse.de>
50592         * sysdeps/i386/fpu/libm-test-ulps: Update.
50594         * FAQ: Removed.
50595         * FAQ.in: Likewise.
50596         * scripts/gen-FAQ.pl: Likewise.
50597         * manual/install.texi (Installation): Point to online location of
50598         FAQ.
50599         * Makefile (files-for-dist): Remove FAQ.
50600         (FAQ): Remove.
50602 2012-05-02  Allan McRae  <allan@archlinux.org>
50604         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50605         (LDFLAGS-reldepmod5.so): Likewise.
50606         (LDFLAGS-reldep6mod1.so): Likewise.
50607         (LDFLAGS-reldep6mod4.so): Likewise.
50608         (LDFLAGS-reldep8mod3.so): Likewise.
50609         (LDFLAGS-unload4mod1.so): Likewise.
50610         (LDFLAGS-unload4mod2.so): Likewise.
50611         (LDFLAGS-tst-initorder): Likewise.
50612         (LDFLAGS-tst-initordera2.so): Likewise.
50613         (LDFLAGS-tst-initordera3.so): Likewise.
50614         (LDFLAGS-tst-initordera4.so): Likewise.
50615         (LDFLAGS-tst-initorderb2.so): Likewise.
50616         (LDFLAGS-noload): Likewise.
50617         (LDFLAGS-next): Likewise.
50618         (LDFLAGS-order2mod1.so): Likewise.
50619         (LDFLAGS-order2mod2.so): Likewise.
50620         (LDFLAGS-tst-initorder2): Likewise.
50621         (LDFLAGS-tst-initorder2a.so): Likewise.
50622         (LDFLAGS-tst-initorder2b.so): Likewise.
50623         (LDFLAGS-tst-initorder2c.so): Likewise.
50624         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50626 2012-05-02  David S. Miller  <davem@davemloft.net>
50628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50630 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50632         [BZ #14055]
50633         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50635 2012-05-02  Andreas Jaeger  <aj@suse.de>
50637         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50638         since we manipulate rounding mode.
50639         (CPPFLAGS-test-idouble.c): Likewise.
50640         (CPPFLAGS-test-ifloat.c): Likewise.
50641         (CFLAGS-test-ldouble.c): Likewise.
50642         (CFLAGS-test-double.c): Likewise.
50643         (CFLAGS-test-float.c): Likewise.
50644         (CFLAGS-test-misc.c): Likewise.
50645         (CFLAGS-test-test-fenv.c): Likewise.
50647 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50649         [BZ #2550]
50650         [BZ #2570]
50651         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50652         comparisons to determine direction to adjust input.
50654 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50656         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50657         output to the target.
50659         * scripts/localplt.awk: New file.
50660         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50661         (check-localplt-CFLAGS): Variable removed.
50662         ($(all-built-dso:=.jmprel)): New static pattern rule.
50663         (generated): Add those targets.
50664         (localplt-built-dso): New variable.
50665         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50667         * elf/check-localplt.c: File removed.
50669         * scripts/check-execstack.awk: New file.
50670         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50671         (check-execstack-CFLAGS): Variable removed.
50672         ($(objpfx)check-execstack.h): Target removed.
50673         ($(objpfx)execstack-default): New target.
50674         (generated): Add that instead of check-execstack.h.
50675         ($(all-built-dso:=.phdr)): New static pattern rule.
50676         (generated): Add those targets.
50677         * elf/check-execstack.c: File removed.
50679         * scripts/check-textrel.awk: New file.
50680         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50681         (check-textrel-CFLAGS): Variable removed.
50682         (all-built-dso): Use := to define.o
50683         ($(all-built-dso:=.dyn)): New static pattern rule.
50684         (generated): Add those targets.
50685         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50686         * config.make.in (READELF): New substituted variable.
50687         * elf/check-textrel.c: File removed.
50689 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50691         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50692         allow.
50693         * conform/data/ctype.h-data [C99-based standards] (isblank):
50694         Expect function.
50695         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50696         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50697         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50698         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50699         Specify type.  Require positive value.
50700         (EILSEQ): Likewise.
50701         (ERANGE): Likewise.
50702         [ISO || POSIX] (EILSEQ): Do not expect.
50703         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50704         Specify type.  Require positive value.
50705         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50706         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50707         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50708         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50709         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50710         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50711         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50712         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50713         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50714         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50715         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50716         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50717         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50718         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50719         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50720         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50721         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50722         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50723         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50724         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50725         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50726         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50727         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50728         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50729         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50730         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50731         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50732         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50733         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50734         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50735         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50736         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50737         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50738         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50739         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50740         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50741         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50742         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50743         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50744         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50745         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50746         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50747         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50748         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50749         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50750         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50751         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50752         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50753         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50754         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50755         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50756         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50757         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50758         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50759         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50760         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50761         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50762         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50763         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50764         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50765         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50766         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50767         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50768         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50769         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50770         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50771         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50772         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50773         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50774         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50775         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50776         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50777         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50778         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50779         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50780         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50781         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50782         Require >= 2.
50783         (FLT_ROUNDS): Expect as macro, not constant.
50784         (FLT_MANT_DIG): Use macro-int-constant.
50785         (DBL_MANT_DIG): Likewise.
50786         (LDBL_MANT_DIG): Likewise.
50787         (FLT_DIG): Likewise.
50788         (DBL_DIG): Likewise.
50789         (LDBL_DIG): Likewise.
50790         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50791         (DBL_MIN_EXP): Likewise.
50792         (LDBL_MIN_EXP): Likewise.
50793         (FLT_MAX_EXP): Use macro-int-constant.
50794         (DBL_MAX_EXP): Likewise.
50795         (LDBL_MAX_EXP): Likewise.
50796         (FLT_MAX_10_EXP): Likewise.
50797         (DBL_MAX_10_EXP): Likewise.
50798         (LDBL_MAX_10_EXP): Likewise.
50799         (FLT_MAX): Use macro-constant.
50800         (DBL_MAX): Likewise.
50801         (LDBL_MAX): Likewise.
50802         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50803         (DBL_EPSILON): Likewise.
50804         (LDBL_EPSILON): Likewise.
50805         (FLT_MIN): Likewise.
50806         (DBL_MIN): Likewise.
50807         (LDBL_MIN): Likewise.
50808         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50809         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50810         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50811         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50812         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50813         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50814         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50815         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50816         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50817         [ISO11] (FLT_TRUE_MIN): Likewise.
50818         [ISO11] (LDBL_TRUE_MIN): Likewise.
50819         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50820         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50821         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50822         (SCHAR_MAX): Likewise.
50823         (UCHAR_MAX): Likewise.
50824         (CHAR_MIN): Likewise.
50825         (CHAR_MAX): Likewise.
50826         (MB_LEN_MAX): Use macro-int-constant.
50827         (SHRT_MIN): Use macro-int-constant.  Specify type.
50828         (SHRT_MAX): Likewise.
50829         (USHRT_MAX): Likewise.
50830         (INT_MAX): Likewise.
50831         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50832         bound negative.
50833         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50834         bound with "U".
50835         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50836         bound with "L".
50837         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50838         bound negative.  Suffix upper bound with "L".
50839         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50840         bound with "UL".
50841         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50842         Specify type.
50843         [C99-based standards] (LLONG_MAX): Likewise.
50844         [C99-based standards] (ULLONG_MAX): Likewise.
50845         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50846         == 0.
50847         [ISO11] (max_align_t): Require type.
50848         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50850         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50851         from $CFLAGS, without defining away __attribute__ calls.
50852         (checknamespace): Use $CFLAGS_namespace.
50854         * conform/conformtest.pl (@keywords): Only include C99 keywords
50855         for standards based on C99 or C11.
50857         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50858         Disable tests.
50859         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50860         UNIX98]: Likewise.
50862         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50863         usability of symbols in #if.
50865         * conform/conformtest.pl: If macro or constant types start
50866         "promoted:", expect the symbol to be of the following type
50867         promoted by the integer promotions.
50869         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50870         in one place.  Also handle "macro-constant".
50872         * conform/conformtest.pl: Only accept expected macro values with
50873         "==".  Parse all "macro" lines in one place.
50874         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50876         * conform/conformtest.pl: Handle braced types on "constant" lines
50877         instead of handling "typed-constant".
50878         * conform/data/signal.h-data: Use "constant" instead of
50879         "typed-constant".
50881         * conform/conformtest.pl: Handle "optional-" at start of lines in
50882         one place rather than duplicating several cases.  Handle each
50883         format of "macro" line with initial "optional-".
50885         * conform/conformtest.pl: Only accept expected constant or
50886         optional-constant values with "==".  Parse all "constant" lines in
50887         one place.  Parse all "optional-constant" lines in one place.
50888         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50889         * conform/data/fmtmsg.h-data: Likewise.
50890         * conform/data/netinet/in.h-data: Likewise.
50891         * conform/data/tar.h-data: Likewise.
50892         * conform/data/limits.h-data: Use "==" form on "constant" and
50893         "optional-constant" lines.
50895         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50896         Use -std=c99 for XOPEN2K.
50897         (@knownproblems): Remove.
50898         (newtoken): Don't check %isknown.
50900         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50901         Do not expect macro.
50902         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50903         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50904         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50905         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50906         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50907         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50908         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50909         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50910         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50911         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50912         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50913         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50914         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50915         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50916         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50917         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50918         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50919         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50920         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50921         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50922         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50923         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50924         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50925         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50926         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50927         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50928         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50929         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50930         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50931         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50932         [XPG3] (acosh): Likewise.
50933         [XPG3] (asinh): Likewise.
50934         [XPG3] (atanh): Likewise.
50935         [XPG3] (cbrt): Likewise.
50936         [XPG3] (expm1): Likewise.
50937         [XPG3] (ilogb): Likewise.
50938         [XPG3] (log1p): Likewise.
50939         [XPG3] (logb): Likewise.
50940         [XPG3] (nextafter): Likewise.
50941         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50942         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50943         [XPG3] (remainder): Likewise.
50944         [XPG3] (rint): Likewise.
50945         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50946         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50947         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50948         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50949         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50950         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50951         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50952         [UNIX98 || XOPEN2K] (scalb): Expect.
50953         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50954         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50955         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50956         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50957         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50958         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50959         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50960         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50961         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50962         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50963         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50964         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50965         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50966         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50967         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50968         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50969         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50970         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50971         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50972         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50973         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50974         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50975         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50976         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50977         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50978         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50979         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50980         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50981         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50982         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50983         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50984         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50985         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50986         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50987         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50988         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50989         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50990         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50991         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50992         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50993         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50994         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50995         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50996         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50997         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50998         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50999         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51000         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51001         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51002         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51003         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51004         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51005         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51006         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51007         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51008         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51009         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51010         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51011         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51012         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51013         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51014         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51015         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51016         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51017         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51018         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51019         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51020         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51021         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51022         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51023         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51024         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51025         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51026         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51027         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51028         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51029         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51030         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51031         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51032         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51033         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51034         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51035         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51036         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51037         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51038         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51039         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51040         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51041         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51042         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51043         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51044         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51045         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51046         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51047         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51048         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51049         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51050         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51051         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51052         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51053         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51054         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51055         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51056         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51057         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51058         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51059         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51060         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51061         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51062         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51063         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51064         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51065         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51066         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51067         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51068         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51069         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51070         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51071         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51072         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51073         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51074         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51075         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51076         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51077         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51078         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51079         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51080         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51081         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51082         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51083         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51084         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51085         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51086         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51087         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51088         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51089         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51091         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51092         _XOPEN_SOURCE_EXTENDED for XPG4.
51094         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51096         * Makeconfig (localtime): Remove variable.
51097         (inst_localtime-file): Likewise.
51099 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51102         Update.
51103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51104         Update.
51105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51106         Update.
51107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51108         Update.
51109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51110         Update.
51111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51112         Update.
51113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51114         Update.
51115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51116         Update.
51117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51118         Update.
51120 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51122         [BZ #2550]
51123         [BZ #2570]
51124         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51125         comparisons to determine direction to adjust input.
51126         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51127         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51128         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51129         Likewise.
51130         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51131         Likewise.
51132         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51133         Likewise.
51134         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51135         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51136         Likewise.
51137         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51138         Likewise.
51139         * math/libm-test.inc (nexttoward_test): Add more tests.
51141 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51143         [BZ #14040]
51144         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51145         in version GLIBC_2.1, not GLIBC_2.0.
51146         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51147         Likewise.
51149 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51151         [BZ #13942]
51152         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51153         (1 - x) * (1 + x).
51154         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51155         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51156         * math/libm-test.inc (acos_test): Add more tests.
51157         (asin_test): Likewise.
51158         * sysdeps/i386/fpu/libm-test-ulps: Update.
51159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51161         [BZ #14034]
51162         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51163         of square root.
51164         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51165         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51166         * math/libm-test.inc (acos_test_tonearest): New function.
51167         (acos_test_towardzero): Likewise.
51168         (acos_test_downward): Likewise.
51169         (acos_test_upward): Likewise.
51170         (asin_test_tonearest): Likewise.
51171         (asin_test_towardzero): Likewise.
51172         (asin_test_downward): Likewise.
51173         (asin_test_upward): Likewise.
51174         (main): Call the new functions.
51175         * sysdeps/i386/fpu/libm-test-ulps: Update.
51176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51178         [BZ #13884]
51179         [BZ #13924]
51180         * math/e_exp10.c: Include <float.h>.
51181         (__ieee754_exp10): Handle underflow here rather than multiplying
51182         large negative argument by M_LN10.
51183         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51184         of __ieee754_expf.
51185         * math/e_exp10l.c: Include <float.h>.
51186         (__ieee754_exp10l): Handle underflow here rather than multiplying
51187         large negative argument by M_LN10l.
51188         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51189         spurious overflow exception on underflow.
51191 2012-04-29  Marek Polacek  <polacek@redhat.com>
51193         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51194         (__fortify_function): New macro.
51195         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51196         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51197         __extern_always_inline.
51198         * libio/bits/stdio2.h: Likewise.
51199         * libio/bits/stdio.h: Likewise.
51200         * string/string.h: Likewise.
51201         * string/bits/string3.h: Likewise.
51202         * include/stdio.h: Likewise.
51203         * stdlib/bits/stdlib.h: Likewise.
51204         * stdlib/stdlib.h: Likewise.
51205         * rt/bits/mqueue2.h: Likewise.
51206         * rt/mqueue.h: Likewise.
51207         * posix/bits/unistd.h: Likewise.
51208         * posix/unistd.h: Likewise.
51209         * io/bits/poll2.h: Likewise.
51210         * io/bits/fcntl2.h: Likewise.
51211         * io/fcntl.h: Likewise.
51212         * io/sys/poll.h: Likewise.
51213         * misc/bits/syslog.h: Likewise.
51214         * misc/bits/syslog-ldbl.h: Likewise.
51215         * misc/sys/syslog.h: Likewise.
51216         * socket/bits/socket2.h: Likewise.
51217         * socket/sys/socket.h: Likewise.
51218         * debug/tst-chk1.c: Likewise.
51219         * wcsmbs/bits/wchar2.h: Likewise.
51220         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51221         * wcsmbs/wchar.h: Likewise.
51223 2012-04-29  Andreas Jaeger  <aj@suse.de>
51225         * Makerules (tests): Remove enable-check-abi protection.
51226         (check-abi-warn): Remove.
51227         (check-abi-%): Remove check-abi-warn usage.
51229         * configure.in: Remove check-abi configure option.
51230         * configure: Regenerated.
51231         * config.make.in (enable-check-abi): Remove.
51233 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51235         [BZ #14033]
51236         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51237         double functions to double *_finite functions.
51239         [BZ #13941]
51240         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51241         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51242         LDBL_MIN_EXP.
51243         * stdio-common/Makefile (tests): Add tst-sprintf3.
51244         * stdio-common/tst-sprintf3.c: New file.
51246         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51247         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51249 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51251         * conform/conformtest.pl: Remove duplicate typed-constant
51252         handling.
51254 2012-04-28  David S. Miller  <davem@davemloft.net>
51256         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51257         (check-abi-%): Remove AWK script prerequisite and explicit
51258         abilist directory.
51259         (check-abi): Rewrite to just diff the symlist with the abilist.
51260         (config-tls, config-abi-config): Delete, no longer used.
51261         (update-abi-%): Remove AWK script and explicit abilist directory.
51262         (update-abi): Rewrite to simply compare and conditionally copy the
51263         symlist and the sysdep abilist file.  Remove update-abi-config
51264         checks.
51265         * abilist/ld.abilist: Remove.
51266         * abilist/libBrokenLocale.abilist: Remove.
51267         * abilist/libanl.abilist: Remove.
51268         * abilist/libcrypt.abilist: Remove.
51269         * abilist/libdl.abilist: Remove.
51270         * abilist/librt.abilist: Remove.
51271         * abilist/libthread_db.abilist: Remove.
51272         * abilist/libutil.abilist: Remove.
51273         * scripts/extract-abilist.awk: Remove.
51274         * scripts/merge-abilist.awk: Remove.
51275         * sysdeps/generic/libcidn.abilist: New file.
51276         * sysdeps/generic/libnss_compat.abilist: New file.
51277         * sysdeps/generic/libnss_db.abilist: New file.
51278         * sysdeps/generic/libnss_dns.abilist: New file.
51279         * sysdeps/generic/libnss_files.abilist: New file.
51280         * sysdeps/generic/libnss_hesiod.abilist: New file.
51281         * sysdeps/generic/libnss_nis.abilist: New file.
51282         * sysdeps/generic/libnss_nisplus.abilist: New file.
51283         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51284         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51285         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51286         file.
51287         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51288         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51289         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51290         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51291         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51292         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51293         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51294         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51295         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51296         file.
51297         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51298         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51299         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51300         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51301         file.
51302         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51303         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51304         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51305         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51306         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51307         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51308         file.
51309         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51310         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51311         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51312         file.
51313         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51314         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51315         New file.
51316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51317         New file.
51318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51319         New file.
51320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51321         New file.
51322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51323         New file.
51324         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51325         New file.
51326         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51327         New file.
51328         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51329         New file.
51330         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51331         New file.
51332         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51333         New file.
51334         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51335         New file.
51336         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51337         New file.
51338         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51339         New file.
51340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51341         file.
51342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51343         New file.
51344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51345         New file.
51346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51347         file.
51348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51349         New file.
51350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51351         New file.
51352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51353         file.
51354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51355         New file.
51356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51357         New file.
51358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51359         New file.
51360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51361         New file.
51362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51363         New file.
51364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51365         New file.
51366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51368         file.
51369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51370         New file.
51371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51372         file.
51373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51374         file.
51375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51376         file.
51377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51378         file.
51379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51380         file.
51381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51382         New file.
51383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51384         file.
51385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51386         file.
51387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51388         New file.
51389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51390         file.
51391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51393         file.
51394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51395         New file.
51396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51397         file.
51398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51399         file.
51400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51401         file.
51402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51403         file.
51404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51405         file.
51406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51407         New file.
51408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51409         file.
51410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51411         file.
51412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51413         New file.
51414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51415         file.
51416         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51417         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51418         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51419         file.
51420         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51421         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51422         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51423         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51424         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51425         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51426         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51427         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51428         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51429         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51432         file.
51433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51434         New file.
51435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51436         file.
51437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51438         file.
51439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51440         file.
51441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51442         file.
51443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51444         file.
51445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51446         New file.
51447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51448         New file.
51449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51450         file.
51451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51452         New file.
51453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51454         file.
51455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51457         file.
51458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51459         New file.
51460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51461         file.
51462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51463         file.
51464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51465         file.
51466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51467         file.
51468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51469         file.
51470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51471         New file.
51472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51473         New file.
51474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51475         file.
51476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51477         New file.
51478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51479         file.
51481 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51483         * conform/conformtest.pl: Fix typo in handling typed-constant from
51484         allow-header.
51486 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51488         * README: Cut down references to pre-2.6 Linux kernels and
51489         Linuxthreads.  Update lists of configurations in libc and ports
51490         and sort alphabetically.  Say "or newer" with Linux kernel version
51491         requirements.
51493         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51495 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51497         [BZ #887]
51498         * math/libm-test.inc (logb_test_downward): New test to expose
51499         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51500         rounding mode.
51502 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51504         [BZ #14027]
51505         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51506         to be done.
51507         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51508         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51510 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51512         * sysdeps/unix/i386/brk.S: Remove file.
51513         * sysdeps/unix/i386/dl-brk.S: Likewise.
51514         * sysdeps/unix/i386/pipe.S: Likewise.
51515         * sysdeps/unix/i386/sigreturn.S: Likewise.
51516         * sysdeps/unix/i386/syscall.S: Likewise.
51517         * sysdeps/unix/i386/vfork.S: Likewise.
51518         * sysdeps/unix/i386/wait.S: Likewise.
51520         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51521         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51523         * configure.in (arm*-none*): Do not allow without
51524         --enable-hacker-mode.
51525         (netbsd*): Remove case setting base_os.
51526         (386bsd*): Likewise.
51527         (freebsd*): Likewise.
51528         (bsdi*): Likewise.
51529         (osf*): Likewise.
51530         (sunos*): Likewise.
51531         (ultrix*): Likewise.
51532         (newsos*): Likewise.
51533         (dynix*): Likewise.
51534         (*bsd*): Likewise.
51535         (sysv*): Likewise.
51536         (isc*): Likewise.
51537         (esix*): Likewise.
51538         (sco*): Likewise.
51539         (minix*): Likewise.
51540         (irix4*): Likewise.
51541         (irix6*): Likewise.
51542         (solaris[2-9]*): Likewise.
51543         (none): Likewise.
51544         * configure: Regenerated.
51546 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51548         [BZ #11521]
51549         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51550         overflow or cancellation in calculating denominator.
51551         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51552         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51553         down expression to avoid unexpected rounding in newer GCCs.
51554         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51556 2012-04-26  David S. Miller  <davem@davemloft.net>
51558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51559         long-double compat symbols.
51560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51574 2012-04-25  David S. Miller  <davem@davemloft.net>
51576         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51577         HWCAP_* values only after the memory barriers have been defined.
51578         (atomic_full_barrier): Define.
51579         (atomic_read_barrier): Define.
51580         (atomic_write_barrier): Define.
51582 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51584         * shlib-versions: Add libgcc_s version information.
51585         * sysdeps/generic/libgcc_s.h: Remove.
51586         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51587         libgcc_s.h.
51588         * sysdeps/gnu/unwind-resume.c: Likewise.
51589         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51591 2012-04-25  David S. Miller  <davem@davemloft.net>
51593         * sysdeps/unix/sparc/brk.S: Delete.
51594         * sysdeps/unix/sparc/dl-brk.S: Delete.
51595         * sysdeps/unix/sparc/pipe.S: Delete.
51596         * sysdeps/unix/sparc/sysdep.S: Delete.
51597         * sysdeps/unix/sparc/sysdep.h: Delete.
51598         * sysdeps/unix/sparc/vfork.S: Delete.
51599         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51600         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51601         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51602         (ret_ERRVAL, r0, r1, MOVE): Define.
51603         (JUMPTARGET): Remove.
51604         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51605         sysdeps/unix/sparc/sysdep.h
51606         (ENTRY, END): Remove.
51607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51609 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51611         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51612         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51613         -DIS_IN_build.
51615         * timezone/README: Update upstream location and email address for
51616         tzcode and tzdata.
51617         * timezone/zdump.c: Update from tzcode 2012b.
51618         * timezone/zic.c: Likewise.
51620         * configure.in (libc_cv_as_needed): Remove test.
51621         * configure: Regenerated.
51622         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51623         conditional definition.
51624         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51625         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51626         * config.make.in (have-as-needed): Remove variable.
51628 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51629             Paul Pluzhnikov  <ppluzhnikov@google.com>
51631         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51632         strings correctly.
51634 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51636         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51637         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51638         * sysdeps/sh/strlen.S: Likewise.
51640 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51642         * sysdeps/unix/fork.S: Remove file.
51643         * sysdeps/unix/i386/fork.S: Likewise.
51644         * sysdeps/unix/sparc/fork.S: Likewise.
51646         * sysdeps/unix/system.c: Remove file.
51647         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51649         * sysdeps/unix/getegid.S: Remove file.
51650         * sysdeps/unix/geteuid.S: Likewise.
51652 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51654         * scripts/check-localplt.awk: New file.
51655         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51656         of diff.
51657         * scripts/data/localplt-generic.data: Add a comment.
51659         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51660         NODE when __dir_mkfile failed.
51661         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51662         Reported by Ludovic Courtès <ludo@gnu.org>.
51664 2012-04-24  Andreas Jaeger  <aj@suse.de>
51666         * Makerules (common-clean): Also remove gen-as-const-headers
51667         files.
51669 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51671         * Makerules (native-compile): Do not change working directory for
51672         build.  Use $(OUTPUT_OPTION) in command.
51673         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51675 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51677         [BZ #13886]
51678         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51679         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51680         * math/libm-test.inc (floor_test): Add more tests.
51681         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51683 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51685         * sysdeps/unix/getdents.c: Remove file.
51686         * sysdeps/unix/sysv/getdents.c: Likewise.
51687         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51689         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51690         sysdeps/unix/mman/syscalls.list.
51691         (mmap): Likewise.
51692         (mprotect): Likewise.
51693         (msync): Likewise.
51694         (munmap): Likewise.
51695         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51696         * sysdeps/unix/mman/syscalls.list: Remove.
51697         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51699         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51700         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51701         * configure: Regenerated.
51702         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51703         $(libgcc_s_suffix).
51704         * config.make.in (libgcc_s_suffix): Remove variable.
51706 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51708         * sysdeps/unix/sysv/gethostname.c: Move to ...
51709         * sysdeps/posix/gethostname.c: ... here.
51711         * sysdeps/unix/execve.S: Remove file.
51713         * sysdeps/unix/_exit.S: Remove file.
51715 2012-04-23  Andreas Jaeger  <aj@suse.de>
51717         [BZ #13739]
51718         * manual/Makefile: Remove make dist support, there's no
51719         need for a stand-alone documentation tar ball.
51720         (TEXI2DVI): Define always, it's not in Makeconfig.
51721         (dist): Removed.
51722         (tar-it): Removed.
51723         (edition): Removed.
51724         (glibc-doc-$(edition).tar): Removed
51725         (%.Z): Removed.
51726         (%.gz): Removed.
51727         (%.uu): Removed.
51728         (ETAGS): Remove, it's in Makeconfig.
51729         (move-if-change): Remove, it's in Makeconfig.
51731 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51733         [BZ #13970]
51734         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51735         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51736         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51737         (strtod_l, strtof_l, strtold_l): Remove __wur.
51738         It is not necessarily an error to ignore strtol's return value.
51739         One can reliably look at the stored endptr to decide whether
51740         the number had valid syntax.
51742 2012-04-21  Andreas Jaeger  <aj@suse.de>
51744         [BZ #13739]
51745         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51747 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51749         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51750         * sysdeps/unix/sysv/Versions: Remove file.
51752 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51754         [BZ #13927]
51755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51757 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51759         [BZ #7064]
51760         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51761         version from __vm86.
51763 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51765         * sysdeps/unix/common/lxstat.c: Remove file.
51766         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51768         * sysdeps/unix/sysv/Makefile: Remove file.
51770         * sysdeps/unix/sysv/direct.h: Remove file.
51772         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51773         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51774         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51775         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51776         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51777         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51778         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51780         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51782         * sysdeps/unix/xmknod.c: Remove file.
51783         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51785         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51787         * sysdeps/unix/sysv/i386/time.S: Remove file.
51789         * sysdeps/unix/fxstat.c: Remove file.
51790         * sysdeps/unix/xstat.c: Likewise.
51791         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51793         * sysdeps/unix/sysv/sigaction.c: Remove file.
51795         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51796         (sysdep_headers): Remove variable.
51797         [termio.h not in sysdep_headers] (generated): Likewise.
51798         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51799         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51800         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51801         * sysdeps/unix/sysv/tcflow.c: Likewise.
51802         * sysdeps/unix/sysv/tcflush.c: Likewise.
51803         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51804         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51805         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51806         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51807         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51809         * sysdeps/unix/siglist.c: Remove file.
51811         * sysdeps/unix/getppid.S: Remove file.
51813         * sysdeps/unix/mkdir.c: Remove file.
51814         * sysdeps/unix/rmdir.c: Likewise.
51816 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51818         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51819         ERR_MAX value.
51820         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51821         errlist-compat value.
51823 2012-04-18  David S. Miller  <davem@davemloft.net>
51825         * sysdeps/generic/memcopy.h (reg_char): Delete.
51826         * debug/strcat_chk.c: Use char, not reg_char.
51827         * debug/strcpy_chk.c: Likewise.
51828         * debug/strncat_chk.c: Likewise.
51829         * debug/strncpy_chk.c: Likewise.
51830         * string/memchr.c: Likewise.
51831         * string/memrchr.c: Likewise.
51832         * string/rawmemchr.c: Likewise.
51833         * string/strcat.c: Likewise.
51834         * string/strchr.c: Likewise.
51835         * string/strchrnul.c: Likewise.
51836         * string/strcmp.c: Likewise.
51837         * string/strcpy.c: Likewise.
51838         * string/strncat.c: Likewise.
51839         * string/strncmp.c: Likewise.
51840         * string/strncpy.c: Likewise.
51842 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51844         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51845         __builtin_memcopy is called when src and dest ranges are known to not
51846         overlap.
51848 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51850         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51851         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51852         fwd_align_merge macro call.
51853         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51854         bwd_align_merge macro call.
51855         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51857 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51859         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51860         bwd_align_merge macros.
51861         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51862         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51863         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51865 2012-04-18  David S. Miller  <davem@davemloft.net>
51867         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51869 2012-04-18  Andreas Jaeger  <aj@suse.de>
51871         [BZ# 6794]
51872         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51873         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51874         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51876         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51877         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51878         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51880         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51881         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51882         Adjust for changed ldbl-128 files.
51884         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51885         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51886         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51888 2012-04-17  David S. Miller  <davem@davemloft.net>
51890         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51892 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51894         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51895         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51896         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51897         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51898         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51899         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51901 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51903         [BZ #6794]
51904         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51905         * math/libm-test.inc: Add ilogb errno and exception tests.
51906         * math/w_ilogb.c: New file: ilogb wrapper.
51907         * math/w_ilogbf.c: New file: ilogbf wrapper.
51908         * math/w_ilogbl.c: New file: ilogbl wrapper.
51909         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51910         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51911         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51912         exception being thrown with 0.0 as argument.
51913         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51914         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51915         exception being thrown with 0.0 as argument.
51916         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51917         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51918         exception being thrown with 0.0 as argument.
51919         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51920         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51921         exception being thrown with 0.0 as argument.
51922         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51923         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51924         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51925         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51926         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51927         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51928         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51929         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51930         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51932 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51934         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51935         with altivec.
51937 2012-04-16  Marek Polacek  <polacek@redhat.com>
51939         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51941 2012-04-16  Marek Polacek  <polacek@redhat.com>
51943         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51944         operands of fdivp instruction.
51946 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51948         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51949         * elf/tst-auditmod3b.c: Likewise.
51950         * elf/tst-auditmod4b.c: Likewise.
51951         * elf/tst-auditmod5b.c: Likewise.
51952         * elf/tst-auditmod6b.c: Likewise.
51953         * elf/tst-auditmod6c.c: Likewise.
51954         * elf/tst-auditmod7b.c: Likewise.
51955         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51956         * sysdeps/x86_64/preconfigure.in: Likewise.
51957         * sysdeps/x86_64/preconfigure: Regenerated.
51959 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51961         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51962         __ILP32__.
51964 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51966         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51967         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51969 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51971         [BZ #13973]
51972         * locale/iso-639.def: Fix gl language name. Spotted by
51973         Yaron Shahrabani.
51975 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51977         [BZ #2074]
51978         * libio/libio.h (__io_write_fn): Update comment.
51980 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51982         [BZ #2074]
51983         * stdio.texi (Hook Functions): The user provided writer function
51984         is not allowed to return -1.
51986 2012-04-11  David S. Miller  <davem@davemloft.net>
51988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51990 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51992         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51993         Add a leading slash to rtkaio.
51995 2012-04-11  Jim Meyering  <meyering@redhat.com>
51997         [BZ #11959]
51998         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51999         It is not necessarily an error to ignore fwrite's return
52000         value.  One can reliably use ferror to test for errors after
52001         the fact.
52003 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52005         * bits/types.h (__snseconds_t): New type.
52006         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52008         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52009         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52010         (__SNSECONDS_T_TYPE): Likewise.
52011         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52012         (__SNSECONDS_T_TYPE): Likewise.
52013         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52014         (__SNSECONDS_T_TYPE): Likewise.
52016 2012-04-10  Andreas Jaeger  <aj@suse.de>
52018         [BZ #2636]
52019         * manual/time.texi (Processor Time): Return type of times is
52020         elapsed real time since an arbitrary point in the past.
52021         (CPU Time): Move CLK_TCK from here...
52022         (Processor Time): ...to here.  Correct description.
52023         * manual/conf.texi (Constants for Sysconf): Correct description of
52024         _SC_CLK_TCK.
52026 2012-04-10  David S. Miller  <davem@davemloft.net>
52028         [BZ #13967]
52029         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52030         where the is a gap between DT_REL(A) and DT_JMPREL.
52032 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52034         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52035         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52036         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52038 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52040         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52041         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52042         (dl_main): Handle --inhibit-cache.
52043         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52044         _dl_inhibit_cache.
52045         * elf/dl-load.c (_dl_map_object): Use it.
52046         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52048 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52050         [BZ #13872]
52051         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52052         (__ieee754_powl): Saturate large exponents rather than testing for
52053         overflow of y*log2(x).
52054         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52055         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52056         exceptions.
52058         [BZ #11521]
52059         * math/s_ctan.c: Include <float.h>.
52060         (__ctan): Avoid internal overflow or cancellation in calculating
52061         denominator.
52062         * math/s_ctanf.c: Likewise.
52063         * math/s_ctanl.c: Likewise.
52064         * math/s_ctanh.c: Likewise.
52065         * math/s_ctanhf.c: Likewise.
52066         * math/s_ctanhl.c: Likewise.
52067         * math/libm-test.inc (ctan_test): Add more tests.
52068         (ctanh_test): Likewise.
52069         * sysdeps/i386/fpu/libm-test-ulps: Update.
52070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52072 2012-04-09  Andreas Jaeger  <aj@suse.de>
52074         [BZ #6894]
52075         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52076         is an optional BSD extension.
52078         [BZ #10254]
52079         * manual/stdio.texi (Opening Streams): Document additional fopen
52080         parameters.
52082 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52084         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52085         %eax without telling the compiler.
52087 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52089         [BZ # 13963]
52090         * manual/install.texi: Use sourceware.org.
52092 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52094         [BZ #13873]
52095         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52096         (__ieee754_pow): Generate overflow and underflow using huge*huge
52097         and tiny*tiny rather than just returning constant infinity or zero
52098         for large exponents.
52099         * math/libm-test.inc (pow_test): Require overflow exceptions for
52100         applicable cases of large exponents.
52102         [BZ #706]
52103         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52104         (__ieee754_pow): Use iterative multiplication algorithm only for
52105         integer exponents with absolute value below 1024.  Check for odd
52106         integer exponents when using algorithm for real exponents.
52107         * math/libm-test.inc (pow_test): Add more tests.
52108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52110 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52112         [BZ #13705]
52113         * math/libm-test.inc (exp_test): Do not allow overflow exception
52114         on underflow test.
52116 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52118         [BZ #13705]
52119         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52120         instead of __kernel_standard_f.
52122 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52124         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52125         * sysdeps/x86_64/memset_chk.S: Likewise.
52127 2012-04-08  Andreas Jaeger  <aj@suse.de>
52129         [BZ #10153]
52130         * manual/startup.texi (Environment Access): Describe return value
52131         for putenv and setenv.
52133         [BZ #6895]
52134         * manual/filesys.texi (Directory Entries): Add description for
52135         DT_LNK.
52137         [BZ #6890]
52138         * manual/filesys.texi (Directory Entries): Clarify that it's file
52139         system not operating system in the description of DT_UNKNOWN.
52141         [BZ #6578]
52142         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52144 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52146         [BZ #6649]
52147         * manual/llio.texi (Opening and Closing Files): Add cross
52148         reference to explain mode argument.
52150 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52152         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52153         * sysdeps/x86_64/memset_chk.S: Likewise.
52155 2012-04-07  David S. Miller  <davem@davemloft.net>
52157         * elf/elf.h (R_SPARC_WDISP10): Define.
52158         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52159         R_SPARC_SIZE32.
52160         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52161         R_SPARC_SIZE64 and R_SPARC_H34.
52163 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52165         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52166         conditions and remove no longer applicable assertion.
52168 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52170         * bits/byteswap.h: Include <features.h>.
52171         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52172         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52174 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52176         * bits/byteswap.h (__bswap_16): Removed.
52177         Include <bits/byteswap-16.h> to get __bswap_16.
52178         * sysdeps/i386/bits/byteswap.h: Likewise.
52179         * sysdeps/s390/bits/byteswap.h: Likewise.
52180         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52181         * bits/byteswap-16.h: New file.
52182         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52183         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52184         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52185         * string/Makefile (headers): Add bits/byteswap-16.h.
52187 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52189         [BZ #13895]
52190         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52191         extra indirection.
52192         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52193         * nss/tst-nss-static.c: New.
52195 2012-04-06  Robert Millan  <rmh@gnu.org>
52197         [BZ #6486]
52198         * manual/llio.texi (File Position Primitive): lseek
52199         refers to WHENCE when it really means OFFSET.
52201 2012-04-06  Andreas Jaeger  <aj@suse.de>
52203         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52204         strncmp declarations.
52206         * abilist/libc.abilist: Add __poll and __ppoll.
52208 2012-04-05  David S. Miller  <davem@davemloft.net>
52210         * scripts/check-local-headers.sh: Accept a host triplet in the
52211         path matched by the exclude regexp.
52213         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52214         definition.
52215         * sysdeps/powerpc/powerpc32/dl-machine.h
52216         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52217         * sysdeps/s390/s390-32/dl-machine.h
52218         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52219         * sysdeps/sparc/sparc32/dl-machine.h
52220         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52221         * sysdeps/sparc/sparc64/dl-machine.h
52222         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52224         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52225         lazy binding.
52226         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52227         undefined symbol errors.
52229         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52230         DT_NEEDED entries.
52232 2012-04-05  Michael Matz  <matz@suse.de>
52234         [BZ #13592]
52235         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52237 2012-04-05  Andreas Jaeger  <aj@suse.de>
52239         [BZ #13908]
52240         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52241         comment.
52243 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52245         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52246         which ROUND is no valid rounding mode.
52248 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52250         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52251         read again.
52252         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52254 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52256         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52257         an exception using FPU order intentionally.
52259 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52261         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52262         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52263         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52264         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52266 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52268         [BZ #12340]
52269         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52270         EINVAL when BUFLEN is too smal.
52272 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52274         [BZ #13553]
52275         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52276         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52278 2012-04-03  Andreas Jaeger  <aj@suse.de>
52280         [BZ #13938]
52281         * manual/setjmp.texi (System V contexts): Fix sentence.
52283         [BZ #13926]
52284         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52285         New macro for this case.
52286         [!__GNUC__] (__bswap_64): New inline function for this case.
52287         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52288         * bits/byteswap.h: Likewise.
52289         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52290         ull, guard with __GLIBC_HAVE_LONG_LONG.
52292         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52293         __GLIBC_HAVE_LONG_LONG.
52295         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52296         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52298 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52300         [BZ #13691]
52301         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52302         inptr and inend, rather than using last_ch.
52304 2012-04-02  David S. Miller  <davem@davemloft.net>
52306         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52307         * stdio-common/printf-parse.h (read_int): Change return type to
52308         'int', return -1 on INT_MAX overflow.
52309         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52310         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52311         overflows INT_MAX.  Check for overflow of in-format-string precision
52312         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52313         SIZE_MAX not INT_MAX for integer overflow test.
52314         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52315         skip the construct in the format string but do not record anything.
52316         * stdio-common/bug22.c: Adjust to test both width/prevision
52317         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52318         explicitly for proper errno values.
52320 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52322         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52323         CHAR_MAX.
52324         * string/test-strcmp.c [! WIDE]: Likewise.
52325         * time/tst-mktime2.c: Likewise for INT_MAX.
52326         * string/test-string.h: #include <sys/param.h> for MIN.
52328         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52329         * sysdeps/i386/init-first.c (init): Likewise.
52330         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52331         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52332         * sysdeps/sh/init-first.c (init): Likewise.
52334 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52336         * po/ru.po: Update from translation team.
52337         * po/vi.po: Likewise.
52339 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52341         * resolv/nss_dns/dns-host.c: Merge copyright years.
52343 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52345         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52346         Optimize memcpy with prefetch if
52347         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52348         src, dst pointers have unequal 16 byte alignments.
52350 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52352         [BZ #13928]
52353         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52354         from a CNAME entry and return the minimum ttl for the query.
52355         (gaih_getanswer_slice): Likewise.
52357 2012-03-30  Jeff Law  <law@redhat.com>
52359         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52360         due to long keys.
52361         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52362         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52364         * resolv/nss_dns/dns-host.c: Update copyright year.
52366 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52368         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52369         requests to save a system call.  Fix check that all bytes are sent.
52371         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52372         comments for sendmmsg.
52374 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52376         [BZ #13691]
52377         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52378         with only 1 character between 0x0041 and 0x01b0.
52379         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52380         * wcsmbs/tst-mbsnrtowcs.c: New file.
52382 2012-03-29  David S. Miller  <davem@davemloft.net>
52384         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52385         small copies by hand.
52387 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52389         [BZ #13761]
52390         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52391         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52392         group memberships.
52394 2012-03-28  David S. Miller  <davem@davemloft.net>
52396         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52397         that branches into memcpy.
52398         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52399         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52400         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52401         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52402         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52403         bits.
52404         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52405         implementation too.
52406         * sysdeps/sparc/mempcpy.S: New file.
52408         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52409         the IFUNC routine in the libc case.
52410         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52412         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52413         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52414         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52415         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52416         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52417         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52418         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52419         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52421         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52422         loop to 256 bytes instead of 64 bytes and fix test signedness.
52424         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52425         * sysdeps/sparc/sparc32/Makefile: rather than here...
52426         * sysdeps/sparc/sparc64/Makefile: and here.
52428 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52430         * malloc/mallocbug.c: Avoid warnings about unused variables.
52432 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52434         [BZ #13760]
52435         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52436         in the right place. Discard and retry query if response is
52437         larger than input buffer size.
52439 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52441         [BZ #369]
52442         [BZ #2678]
52443         [BZ #3866]
52444         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52445         x for large integer exponent.
52446         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52447         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52448         sign of result as needed afterwards.
52449         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52450         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52451         result for underflowing pow the same as for overflow.
52452         (__kernel_standard_l): Handle powl overflow and underflow here
52453         rather than calling __kernel_standard.
52454         * math/libm-test.inc (pow_test): Add more tests.
52456         [BZ #3868]
52457         [BZ #13879]
52458         [BZ #13910]
52459         [BZ #13911]
52460         [BZ #13912]
52461         [BZ #13913]
52462         [BZ #13915]
52463         [BZ #13916]
52464         [BZ #13917]
52465         [BZ #13918]
52466         [BZ #13919]
52467         [BZ #13920]
52468         [BZ #13921]
52469         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52470         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52471         (__kernel_standard_l): New function.
52472         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52473         __kernel_standard.
52474         * math/w_acosl.c (__acosl): Likewise.
52475         * math/w_asinl.c (__asinl): Likewise.
52476         * math/w_atan2l.c (__atan2l): Likewise.
52477         * math/w_atanhl.c (__atanhl): Likewise.
52478         * math/w_coshl.c (__coshl): Likewise.
52479         * math/w_exp10l.c (__exp10l): Likewise.
52480         * math/w_exp2l.c (__exp2l): Likewise.
52481         * math/w_fmodl.c (__fmodl): Likewise.
52482         * math/w_hypotl.c (__hypotl): Likewise.
52483         * math/w_j0l.c (__j0l, __y0l): Likewise.
52484         * math/w_j1l.c (__j1l, __y1l): Likewise.
52485         * math/w_jnl.c (__jnl, __ynl): Likewise.
52486         * math/w_lgammal.c (__lgammal): Likewise.
52487         * math/w_log10l.c (__log10l): Likewise.
52488         * math/w_log2l.c (__log2l): Likewise.
52489         * math/w_logl.c (__logl): Likewise.
52490         * math/w_powl.c (__powl): Likewise.
52491         * math/w_remainderl.c (__remainderl): Likewise.
52492         * math/w_scalbl.c (sysv_scalbl): Likewise.
52493         * math/w_sinhl.c (__sinhl): Likewise.
52494         * math/w_sqrtl.c (__sqrtl): Likewise.
52495         * math/w_tgammal.c (__tgammal): Likewise.
52496         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52497         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52498         * math/libm-test.inc (acos_test): Add more tests.
52499         (acosh_test): Likewise.
52500         (asin_test): Likewise.
52501         (atanh_test): Likewise.
52502         (exp_test): Likewise.
52503         (exp10_test): Likewise.
52504         (exp2_test): Likewise.
52505         (expm1_test): Likewise.
52506         (lgamma_test): Likewise.
52507         (log_test): Likewise.
52508         (log10_test): Likewise.
52509         (log1p_test): Likewise.
52510         (log2_test): Likewise.
52511         (pow_test): Do not allow some spurious overflow exceptions.
52512         (sqrt_test): Add more tests.
52513         (tgamma_test): Likewise.
52514         (y0_test): Likewise.
52515         (y1_test): Likewise.
52516         (yn_test): Likewise.
52518 2012-03-27  Anton Blanchard  <anton@samba.org>
52520         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52521         MAP_HUGETLB.
52522         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52523         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52524         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52526 2012-03-27  David S. Miller  <davem@davemloft.net>
52528         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52530         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52531         have-as-vis3 check.
52533 2012-03-27  Andreas Jaeger  <aj@suse.de>
52535         * sysdeps/x86_64/elf/configure.in: Moved to ...
52536         * sysdeps/x86_64/configure.in: ... here.
52537         * sysdeps/x86_64/elf/start.S: Moved to ...
52538         * sysdeps/x86_64/start.S: ... here.
52539         * sysdeps/x86_64/elf/configure: Delete.
52541         * sysdeps/x86_64/configure.in: Merge contents from
52542         sysdeps/i386/configure.in (without i686 check).
52544         * sysdeps/i386/elf/Versions: Merge into ...
52545         * sysdeps/i386/Versions: ... this.
52546         * sysdeps/i386/elf/Versions: Delete file.
52547         * sysdeps/i386/elf/start.S: Moved to ...
52548         * sysdeps/i386/start.S: ...here.
52549         * sysdeps/i386/elf/configure.in: Merge into...
52550         * sysdeps/i386/configure.in: ...here.
52551         * sysdeps/i386/elf/configure.in: Delete file.
52552         * sysdeps/i386/elf/configure: Delete file.
52554         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52555         * debug/backtracesyms.c: ... here.
52556         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52557         * debug/backtracesymsfd.c: ... here.
52558         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52559         * sysdeps/generic/ifunc-sel.h: ... here.
52561         * sysdeps/unix/i386/start.c: Delete file.
52562         * sysdeps/unix/sparc/start.c: Delete file.
52563         * sysdeps/unix/start.c: Delete file.
52565         * sysdeps/sh/elf/configure.in: Moved to ...
52566         * sysdeps/sh/configure.in: ... here.
52567         * sysdeps/sh/elf/start.S: Moved to ...
52568         * sysdeps/sh/start.S: ... here.
52569         * sysdeps/sh/elf/configure: Delete file.
52571         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52572         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52573         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52574         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52575         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52576         * sysdeps/powerpc/powerpc64/start.S: here.
52577         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52578         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52579         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52580         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52581         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52583         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52584         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52585         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52586         * sysdeps/powerpc/powerpc32/start.S: ... here.
52587         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52588         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52589         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52591         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52592         * sysdeps/powerpc/ifunc-sel.h: ... here.
52593         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52594         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52596         * sysdeps/sparc/elf/configure.in: Moved to ...
52597         * sysdeps/sparc/configure.in: ... here.
52598         * sysdeps/sparc/elf/configure: Delete file.
52599         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52600         * sysdeps/sparc/sparc32/start.S: ... here.
52601         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52602         * sysdeps/sparc/sparc64/start.S: ... here.
52603         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52604         * sysdeps/sparc/sparc32/Makefile: ... this.
52605         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52606         * sysdeps/sparc/sparc64/Makefile: ... this.
52608         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52609         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52610         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52611         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52612         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52613         * sysdeps/s390/s390-32/setjmp.S: ... here.
52614         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52615         * sysdeps/s390/s390-32/configure.in: ... here.
52616         * sysdeps/s390/s390-32/elf/configure: Delete file.
52617         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52618         * sysdeps/s390/s390-32/start.S: ... here.
52620         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52621         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52622         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52623         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52624         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52625         * sysdeps/s390/s390-64/setjmp.S: ... here.
52626         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52627         * sysdeps/s390/s390-64/configure.in: ... here
52628         * sysdeps/s390/s390-64/elf/configure: Delete file.
52629         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52630         * sysdeps/s390/s390-64/start.S: ... here.
52631         * sysdeps/s390/s390-64/elf/configure: Delete.
52633         * configure.in: Remove support for elf directories in sysdeps.
52635         * configure: Regenerated.
52636         * sysdeps/i386/configure: Regenerated.
52637         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52638         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52639         * sysdeps/s390/s390-32/configure: Regenerated.
52640         * sysdeps/s390/s390-64/configure: Regenerated.
52641         * sysdeps/sh/configure: Regenerated.
52642         * sysdeps/sparc/configure: Regenerated.
52643         * sysdeps/x86_64/configure: Regenerated.
52645 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52649         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52650         denormal result into account.
52652 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52654         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52655         Reported by Allan McRae <allan@archlinux.org>.
52657 2012-03-23  Jeff Law  <law@redhat.com>
52659         * nss/getnssent.c (__nss_getent): Fix typo.
52661 2012-03-23  David S. Miller  <davem@davemloft.net>
52663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52665 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52667         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52668         to pad to uint64_t for each field.
52669         (dl_tls_index): Replace unsigned long with uint64_t.
52671 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52672         Paul Pluzhnikov  <ppluzhnikov@google.com>
52674         [BZ #6528]
52675         * grp/Makefile (otherlibs): Don't set it.
52676         * inet/Makefile (otherlibs): Likewise.
52677         * login/Makefile (otherlibs): Likewise.
52678         * nscd/Makefile (otherlibs): Likewise.
52679         * posix/Makefile (otherlibs): Likewise.
52680         * pwd/Makefile (otherlibs): Likewise.
52681         * rt/Makefile (otherlibs): Likewise.
52682         * sunrpc/Makefile (otherlibs): Likewise.
52683         * nss/Makefile (otherlibs): Likewise.
52684         Add libnss_files to routines and static-only-routines.
52685         ($(objpfx)getent): Remove rule.
52686         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52687         static-only-routines.
52689 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52691         [BZ #13892]
52692         * math/s_cexp.c: Include <float.h>.
52693         (__cexp): Handle exp result overflowing not necessarily
52694         overflowing both real and imaginary parts of result.
52695         * math/s_cexpf.c: Likewise.
52696         * math/s_cexpl.c: Likewise.
52697         * math/libm-test.inc (cexp_test): Add more tests.
52698         * sysdeps/i386/fpu/libm-test-ulps: Update.
52699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52701 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52703         * include/link.h (ELFW): New macro.
52704         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52705         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52707 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52709         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52710         with uint64_t.
52712 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52714         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52715         declaration.
52716         (struct La_x32_retval): Likewise.
52718 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52720         * sysdeps/x86_64/preconfigure.in: New file.
52721         * sysdeps/x86_64/preconfigure: New generated file.
52723 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52725         [BZ #13824]
52726         * math/e_exp2l.c: Include <float.h>.
52727         (__ieee754_exp2l): Handle overflow and underflow cases
52728         separately.  Only pass fractional part of argument to
52729         __ieee754_expl.
52730         * math/libm-test.inc (exp2_test): Add more tests.
52732         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52733         negating x to take absolute value.
52734         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52735         Likewise.
52736         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52737         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52738         Likewise.
52739         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52740         computing low part if x was negated.
52741         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52743 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52745         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52746         la_x32_gnu_pltexit.
52747         (pltexit): Cast int_retval to ptrdiff_t.
52748         * elf/tst-auditmod3b.c: Likewise.
52749         * elf/tst-auditmod4b.c: Likewise.
52750         * elf/tst-auditmod5b.c: Likewise.
52751         * elf/tst-auditmod6b.c: Likewise.
52752         * elf/tst-auditmod6c.c: Likewise.
52753         * elf/tst-auditmod7b.c: Likewise.
52755         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52756         and x32_gnu_pltexit.
52758         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52759         __ELF_NATIVE_CLASS.
52760         (La_x32_regs): New macro.
52761         (La_x32_retval): Likewise.
52762         (la_x32_gnu_pltenter): New function prototype.
52763         (la_x32_gnu_pltexit): Likewise.
52765 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52767         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52768         exponent.
52770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52772         * configure.in (libc_cv_cc_nofma): Check for option to disable
52773         generation of FMA instructions.
52774         * configure: Regenerate.
52775         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52776         * sysdeps/ieee754/dbl-64/Makefile: New file.
52777         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52778         Remove brandred-fma4.
52779         (CFLAGS-brandred-fma4.c): Remove.
52780         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52781         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52782         define.
52783         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52784         define.
52786 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52788         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52789         LLONG_MAX != LONG_MAX.
52790         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52791         (_fitoa_word): Likewise.
52792         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52793         LLONG_MAX != LONG_MAX.
52794         * stdio-common/_itowa.h: Include <_itoa.h>.
52795         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52796         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52797         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52798         only if not defined.
52799         (_ITOA_WORD_TYPE): Likewise.
52800         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52801         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52803 2012-03-21  David S. Miller  <davem@davemloft.net>
52805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52807 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52809         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52810         of x86_64 when setting libc_cv_slibdir, libdir and
52811         libc_cv_localedir.
52812         * sysdeps/unix/sysv/linux/configure: Regenerated.
52814 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52816         * manual/lang.texi (Old Varargs): Remove section.
52817         (How Variadic): Update menu.
52818         (va_start): Do not mention varargs.h.
52820 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52821             Joseph Myers  <joseph@codesourcery.com>
52823         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52824         link test.
52825         * configure: Regenerated.
52827 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52829         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52830         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52831         conformtest.pl
52833 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52835         * NOTES: Remove.
52836         * Makefile (files-for-dist): Remove NOTES.
52837         (NOTES): Remove rule.
52838         * README: Don't refer to NOTES.
52839         * manual/creature.texi: Don't include macros.texi.
52840         * manual/intro.texi (creature.texi): Remove comment referring to
52841         NOTES.
52843         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52844         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52845         * configure: Regenerated.
52846         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52847         LIBC_TRY_CC_OPTION.
52848         (libc_cv_as_i686): Likewise.
52849         (libc_cv_cc_avx): Likewise.
52850         (libc_cv_cc_sse2avx): Likewise.
52851         (libc_cv_cc_fma4): Likewise.
52852         (libc_cv_cc_novzeroupper): Likewise.
52853         * sysdeps/i386/configure: Regenerated.
52855         [BZ #13883]
52856         * sysdeps/i386/fpu/s_cexp.S: Remove.
52857         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52858         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52859         * math/libm-test.inc (cexp_test): Add more tests.
52860         * sysdeps/i386/fpu/libm-test-ulps: Update.
52861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52863 2012-03-21  Allan McRae  <allan@archlinux.org>
52865         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52867 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52869         [BZ #13871]
52870         * math/w_exp2.c: Do not include <float.h>.
52871         (o_threshold, u_threshold): Remove.
52872         (__exp2): Calculate result before checking finiteness and calling
52873         __kernel_standard.
52874         * math/w_exp2f.c: Likewise.
52875         * math/w_exp2l.c: Likewise.
52876         * math/libm-test.inc (exp2_test): Require overflow exception for
52877         1e6 input.
52879         [BZ #3866]
52880         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52881         range of signed 64-bit integers before using fistpll.  Remove
52882         checks for whether integers fit in mantissa bits.
52883         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52884         the range of signed 32-bit integers before using fistpl.  Remove
52885         checks for whether integers fit in mantissa bits.
52886         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52887         (__ieee754_powl): Test for y outside the range of signed 64-bit
52888         integers before using fistpll.  Reduce 64-bit values to 63-bit
52889         ones as needed.
52890         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52891         divide-by-zero is raised for zero to large negative powers.
52892         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52893         (__ieee754_powl): Test for y outside the range of signed 64-bit
52894         integers before using fistpll.  Reduce 64-bit values to 63-bit
52895         ones as needed.
52896         * math/libm-test.inc (pow_test): Add more tests.
52898 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52900         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52901         <stdio-common/_itoa.h>.
52902         * debug/segfault.c: Likewise.
52903         * elf/dl-cache.c: Likewise.
52904         * elf/dl-minimal.c: Likewise.
52905         * elf/dl-misc.c: Likewise.
52906         * elf/dl-sysdep.c: Likewise.
52907         * elf/dl-version.c: Likewise.
52908         * elf/rtld.c: Likewise.
52909         * hurd/hurdsock.c: Likewise.
52910         * hurd/lookup-retry.c: Likewise.
52911         * malloc/malloc.c: Likewise.
52912         * malloc/mtrace.c: Likewise.
52913         * nscd/nscd_getgr_r.c: Likewise.
52914         * nscd/nscd_getpw_r.c: Likewise.
52915         * nscd/nscd_getserv_r.c: Likewise.
52916         * posix/getopt_init.c: Likewise.
52917         * posix/wordexp.c: Likewise.
52918         * stdio-common/_itoa.c: Likewise.
52919         * stdio-common/printf_fphex.c: Likewise.
52920         * stdio-common/vfprintf.c: Likewise.
52921         * string/_strerror.c: Likewise.
52922         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52923         * sysdeps/i386/i686/hp-timing.h: Likewise.
52924         * sysdeps/mach/_strerror.c: Likewise.
52925         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52926         * sysdeps/mach/hurd/sethostid.c: Likewise.
52927         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52928         * sysdeps/mach/xpg-strerror.c: Likewise.
52929         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52930         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52931         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52932         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52933         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52934         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52935         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52936         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52937         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52938         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52939         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52940         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52941         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52942         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52943         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52944         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52945         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52946         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52947         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52948         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52949         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52951         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52953         * stdio-common/_itoa.h: Moved to ...
52954         * sysdeps/generic/_itoa.h: Here.
52956         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52958         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52959         instead of "_itoa.h" and "_itowa.h".
52960         * stdio-common/vfprintf.: Likewise.
52962 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52964         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52965         <bits/wordsize.h>.
52966         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52967         (__signbit): Likwise.
52968         (llrintf): Likwise.
52969         (llrint): Likwise.
52971 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52973         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52974         __WORDSIZE != 64.
52976 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52978         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52979         OVERFLOW_EXCEPTION_OK.
52980         * math/libm-test.inc ("Philosophy"): Update comment about
52981         exception testing.
52982         (OVERFLOW_EXCEPTION): Define.
52983         (OVERFLOW_EXCEPTION_OK): Likewise.
52984         (INVALID_EXCEPTION_OK): Renumber.
52985         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52986         (IGNORE_ZERO_INF_SIGN): Likewise.
52987         (test_exceptions): Handle FE_OVERFLOW.
52988         (exp10_test): Expect overflow exceptions.
52989         (exp2_test): Likewise.
52990         (expm1_test): Likewise.
52991         (nextafter_test): Likewise.
52992         (pow_test): Likewise.
52993         (scalbn_test): Likewise.
52994         (scalbln_test): Likewise.
52996 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52998         * sysdeps/x86_64/bits/atomic.h
52999         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53000         64bit integer.
53001         (atomic_exchange_acq): Likewise.
53002         (__arch_exchange_and_add_body): Likewise.
53003         (__arch_add_body): Likewise.
53004         (atomic_add_negative): Likewise.
53005         (atomic_add_zero): Likewise.
53007 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53009         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53010         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53012 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53014         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53015         Check __x86_64__ instead of __WORDSIZE.
53017 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53019         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53021 2012-03-19  David S. Miller  <davem@davemloft.net>
53023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53025         * sysdeps/sparc/fpu/fenv_private.h: New file.
53026         * sysdeps/sparc/fpu/math_private.h: Use it.
53027         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53028         Remove.
53029         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53030         (libc_feholdexcept_setroundl): Remove.
53031         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53032         Remove.
53033         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53034         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53036 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53038         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53039         int64_t instead of long int.
53040         (INSERT_WORDS64): Likwise.
53042 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53044         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53045         _Unwind_GetCFA return to _Unwind_Ptr first.
53047 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53049         [BZ #13629]
53050         * math/s_clog.c: Include <float.h>.
53051         (__clog): Scale large or subnormal inputs.
53052         * math/s_clogf.c: Likewise.
53053         * math/s_clogl.c: Likewise.
53054         * math/s_clog10.c: Include <float.h>.
53055         (M_LOG10_2): Define.
53056         (__clog10): Scale large or subnormal inputs.
53057         * math/s_clog10f.c: Likewise.
53058         * math/s_clog10l.c: Likewise.
53059         * math/libm-test.inc (clog_test): Add more tests.
53060         (clog10_test): Likewise.
53061         * sysdeps/i386/fpu/libm-test-ulps: Update.
53062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53064         [BZ #11451]
53065         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53066         x and y.
53067         * math/libm-test.inc (atan2_test): Add another test.
53069         * Makerules (common-objdir-compile): Remove.
53070         * sysdeps/unix/Makefile (config-generated): Do not add
53071         $(unix-generated) to variable.
53072         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53073         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53074         Remove rule.
53075         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53076         Likewise.
53077         [generic bits/local_lim.h] (before-compile): Do not append to
53078         variable.
53079         [generic bits/local_lim.h] (common-generated): Likewise.
53080         [generic sys/param.h] (before-compile): Do not append to variable.
53081         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53082         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53083         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53084         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53085         include.
53086         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53087         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53088         [generic sys/param.h] ($(addprefix
53089         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53090         [generic sys/param.h] (common-generated): Do not append to
53091         variable.
53092         [generic sys/param.h] (sysdep_headers): Likewise.
53093         [generic bits/errno.h] (before-compile): Do not append to
53094         variable.
53095         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53096         rule.
53097         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53098         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53099         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53100         [generic bits/errno.h] (common-generated): Do not append to
53101         variable.
53102         [generic bits/ioctls.h] (before-compile): Do not append to
53103         variable.
53104         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53105         rule.
53106         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53107         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53108         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53109         rule.
53110         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53111         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53112         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53113         [generic bits/ioctls.h] (common-generated): Do not append to
53114         variable.
53115         [generic sys/syscall.h] (syscall.h): Remove variable.
53116         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53117         rule.
53118         [generic sys/syscall.h] (before-compile): Do not append to
53119         variable.
53120         [generic sys/syscall.h] (common-generated): Likewise.
53121         * sysdeps/unix/errnos-tmpl.c: Remove file.
53122         * sysdeps/unix/errnos.awk: Likewise.
53123         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53124         * sysdeps/unix/ioctls.awk: Likewise.
53125         * sysdeps/unix/mk-local_lim.c: Likewise.
53126         * sysdeps/unix/snarf-ioctls: Likewise.
53128 2012-03-19  Richard Henderson  <rth@twiddle.net>
53130         * sysdeps/i386/fpu/fenv_private.h: New file.
53131         * sysdeps/i386/fpu/math_private.h: Use it.
53132         (math_opt_barrier, math_force_eval): Remove.
53133         (libc_feholdexcept_setround_53bit): Remove.
53134         (libc_feupdateenv_53bit): Remove.
53135         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53136         (math_opt_barrier, math_force_eval): Remove.
53137         (libc_feholdexcept): Remove.
53138         (libc_feholdexcept_setround): Remove.
53139         (libc_fetestexcept, libc_fesetenv): Remove.
53140         (libc_feupdateenv_test): Remove.
53141         (libc_feupdateenv, libc_feholdsetround): Remove.
53142         (libc_feresetround): Remove.
53144         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53145         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53147         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53148         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53149         (libc_feupdateenv_testl): New.
53150         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53151         (libc_feupdateenv_testf): New.
53152         (libc_feupdateenv): Use libc_feupdateenv_test.
53153         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53154         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53156         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53157         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53158         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53159         (libc_feresetround_noex): New.
53160         (libc_feresetround_noexf): New.
53161         (libc_feresetround_noexl): New.
53162         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53163         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53164         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53165         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53166         SET_RESTORE_ROUND.
53167         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53168         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53169         (__cos): Likewise.
53170         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53171         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53172         SET_RESTORE_ROUND_NOEX.
53173         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53174         SET_RESTORE_ROUND_NOEXF.
53175         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53176         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53177         (libc_feholdsetroundf): New.
53178         (libc_feresetround, libc_feresetroundf): New.
53180         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53181         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53182         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53184         * sysdeps/generic/math_private.h: Include <fenv.h>.
53185         (default_libc_feholdexcept): New.
53186         (default_libc_feholdexcept_setround): New.
53187         (default_libc_fesetenv, default_libc_feupdateenv): New.
53188         (libc_feholdexcept): Only define if undefined.
53189         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53190         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53191         (libc_feholdexcept_setroundl): Likewise.
53192         (libc_feholdexcept_setround_53bit): Likewise.
53193         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53194         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53195         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53196         (libc_feupdateenv_53bit): Likewise.
53197         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53198         (libc_feholdexcept): Convert from macro to inline function.
53199         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53200         (libc_fesetenv, libc_feupdateenv): Likewise.
53202         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53203         not previously defined.
53204         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53205         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53206         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53207         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53208         * sysdeps/ieee754/flt-32/math_private.h: New file.
53209         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53210         math_private.h below SET_FLOAT_WORD.
53211         (__isnan, __isinf_ns, __finite): Remove.
53212         (__isnanf, __isinf_nsf, __finitef): Remove.
53214 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53218 2012-03-17  David S. Miller  <davem@davemloft.net>
53220         [BZ #6471]
53221         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53222         for 2.16.
53224 2012-03-16  David S. Miller  <davem@davemloft.net>
53226         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53227         warnings.
53229         [BZ #6471]
53230         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53231         properly.
53232         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53233         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53234         sysdep_routines when subdir is sysvipc.
53235         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53236         __getshmlba helper.
53238         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53240 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53242         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53243         [__LP64__].
53245 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53247         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53248         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53249         (__lround): Renamed to ...
53250         (__llround): This.  Replace long int with long long int.
53251         Define lround functions as aliases of llround functions.
53252         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53254 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53256         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53257         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53258         adresses to uintptr_t.  Replace "long int" and "unsigned long
53259         int" with "greg_t" on va_arg.
53261 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53263         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53264         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53266         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53267         Move e_machine check before EI_CLASS check.  Handle x32
53268         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53269         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53270         SKIP_EM_IA_64 and include
53271         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53273         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53274         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53275         (add_system_dir): New macro.
53277         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53278         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53280 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53282         [BZ #2551]
53283         [BZ #2552]
53284         [BZ #2553]
53285         [BZ #2554]
53286         [BZ #2562]
53287         [BZ #2563]
53288         [BZ #2565]
53289         [BZ #2566]
53290         [BZ #2576]
53291         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53292         (y0): Likewise.
53293         * math/w_j0f.c (j0f): Likewise.
53294         (y0f): Likewise.
53295         * math/w_j0l.c (__j0l): Likewise.
53296         (__y0l): Likewise.
53297         * math/w_j1.c (j1): Likewise.
53298         (y1): Likewise.
53299         * math/w_j1f.c (j1f): Likewise.
53300         (y1f): Likewise.
53301         * math/w_j1l.c (__j1l): Likewise.
53302         (__y1l): Likewise.
53303         * math/w_jn.c (jn): Likewise.
53304         (yn): Likewise.
53305         * math/w_jnf.c (jnf): Likewise.
53306         (ynf): Likewise.
53307         * math/w_jnl.c (__jnl): Likewise.
53308         (__ynl): Likewise.
53309         * math/libm-test.inc (j0_test): Add more tests.
53310         (j1_test): Likewise.
53311         (jn_test): Likewise.  Add trailing semicolon to existing test.
53312         (y0_test): Likewise.
53313         (y1_test): Likewise.
53314         * sysdeps/i386/fpu/libm-test-ulps: Update.
53315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53317         [BZ #13851]
53318         [BZ #13854]
53319         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53320         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53321         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53322         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53323         (__tanl): Set errno for infinite argument.
53324         * sysdeps/i386/fpu/mptan.c: Remove.
53325         * sysdeps/i386/fpu/s_tan.S: Likewise.
53326         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53327         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53328         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53329         * math/libm-test.inc (tan_test): Add more tests and enable more
53330         tests for double and long double.
53331         * sysdeps/i386/fpu/libm-test-ulps: Update.
53332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53334 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53336         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53337         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53339 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53341         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53342         * configure.in: Use it for both main tree and add-ons.
53343         * configure: Regenerated.
53345 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53347         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53349 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53351         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53352         in comment.
53354         [BZ #13851]
53355         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53356         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53357         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53358         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53359         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53360         infinite argument.
53361         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53362         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53363         != 0 for prec == 2.
53364         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53365         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53366         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53367         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53368         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53369         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53370         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53371         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53372         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53373         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53374         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53375         * math/libm-test.inc (cos_test): Add more tests and enable more
53376         tests for long double.
53377         (sin_test): Likewise.
53378         (sincos_test): Likewise.
53379         * sysdeps/i386/fpu/libm-test-ulps: Update.
53380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53382 2012-03-16  David S. Miller  <davem@davemloft.net>
53384         * sysdeps/sparc/fpu/math_private.h: New file.
53386 2012-03-15  David S. Miller  <davem@davemloft.net>
53388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53389         file.
53390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53392         file.
53393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53398         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53399         sysdep routines.
53400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53402         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53403         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53405         * sysdeps/sparc/sparc-ifunc.h: New file.
53406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53407         sparc-ifunc.h
53408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53410         Likewise.
53411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53412         Likewise.
53413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53417         Likewise.
53418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53423         Likewise.
53424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53425         Likewise.
53426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53432         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53433         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53434         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53435         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53440         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53441         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53442         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53443         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53444         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53445         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53446         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53447         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53448         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53449         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53451 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53453         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53454         scaling.
53455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53457 2012-03-15  Andreas Jaeger  <aj@suse.de>
53459         [BZ #13852]
53460         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53461         ieee754/flt-32 implementation for sin, cos and sincos.
53462         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53463         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53464         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53465         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53466         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53467         ieee754/flt-32 implementation for tan.
53469         * math/libm-test.inc (cos_test): Enable some large input tests for
53470         float as well
53471         (sin_test): Likewise.
53472         (sincos_test): Likewise.
53473         (tan_test): Add tests for large input.
53475         * sysdeps/i386/fpu/libm-test-ulps: Update.
53477 2012-03-15  Andreas Jaeger  <aj@suse.de>
53479         [BZ #13658]
53480         * math/libm-test.inc (cos_test): Add more test cases.
53481         (sin_test): Likewise.
53482         (sincos_test): Likewise.
53484 2012-03-15  Andreas Jaeger  <aj@suse.de>
53486         [BZ #13837]
53487         * math/libm-test.inc (cos_test): Add a test case for large input
53488         value.
53489         (sin_test): Likewise.
53490         (sincos_test): Likewise.
53492 2012-03-15  Andreas Jaeger  <aj@suse.de>
53493             Joseph Myers  <joseph@codesourcery.com>
53495         [BZ #13658]
53496         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53497         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53498         * sysdeps/i386/fpu/branred.c: Likewise.
53499         * sysdeps/i386/fpu/dosincos.c: Likewise.
53500         * sysdeps/i386/fpu/mpa.c: Likewise.
53501         * sysdeps/i386/fpu/s_cos.S: Likewise.
53502         * sysdeps/i386/fpu/s_sin.S: Likewise.
53503         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53504         * sysdeps/i386/fpu/sincos32.c: Likewise.
53506         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53507         Define.
53508         (libc_feupdateenv_53bit): Define.
53509         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53510         Define.
53511         (libc_feupdateenv_53bit): Define.
53513         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53514         53 bit (without extend i386 double precision).
53516         * math/libm-test.inc (sincos_test): Add tests for large input.
53517         (sin): Likewise.
53518         (cos): Likewise.
53520         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53522 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53526 2012-03-15  David S. Miller  <davem@davemloft.net>
53528         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53529         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53530         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53531         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53539         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53541         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53544         file.
53545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53547         file.
53548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53550         file.
53551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53553         file.
53554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53555         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53556         fmin/fmax sysdep routines.
53557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53559 2012-03-14  David S. Miller  <davem@davemloft.net>
53561         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53562         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53563         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53564         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53565         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53566         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53567         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53568         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53569         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53570         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53572         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53573         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53574         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53575         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53576         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53580         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53581         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53582         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53583         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53584         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53585         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53586         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53587         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53588         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53589         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53590         routines.
53591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53592         file.
53593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53595         file.
53596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53598         file.
53599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53601         file.
53602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53604         file.
53605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53607         file.
53608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53609         file.
53610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53611         file.
53612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53613         file.
53614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53615         New file.
53616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53617         file.
53618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53619         file.
53620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53622         file.
53623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53625         file.
53626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53628         file.
53629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53631         VIS3 routines.
53633         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53634         New file.
53636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53638         * sysdeps/sparc/configure.in: New file.
53639         * sysdeps/sparc/configure: Generate.
53640         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53641         * configure: Regenerate.
53642         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53643         * config.make.in (have-as-vis3): New.
53644         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53645         available use -Av9d instead of -Av9a.
53646         * sysdeps/sparc/sparc64/Makefile: Likewise.
53647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53649         New file.
53650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53651         file.
53652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53653         New file.
53654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53655         file.
53656         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53657         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53658         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53659         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53660         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53662         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53663         fzeros/fnegs to load 0x80000000 into a float register instead of
53664         using the stack.
53665         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53667 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53669         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53670         bits/syscall.h.
53671         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53672         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53673         ($(inst_includedir)/bits/syscall.h): Remove rule.
53674         ($(objpfx)bits/syscall.d): Include instead of
53675         $(objpfx)syscall-list.d.
53676         (generated): Change syscall-list.h and syscall-list.d to
53677         bits/syscall.h and bits/syscall.d.
53679 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53681         [BZ #13846]
53682         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53684 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53686         [BZ #13841]
53687         * math/s_csqrt.c: Include <float.h>.
53688         (__csqrt): Scale large or subnormal inputs.
53689         * math/s_csqrtf.c: Likewise.
53690         * math/s_csqrtl.c: Likewise.
53691         * math/libm-test.inc (csqrt_test): Add more tests.
53692         * sysdeps/i386/fpu/libm-test-ulps: Update.
53693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53695         [BZ #13840]
53696         * math/libm-test.inc (hypot_test): Add more tests.
53698 2012-03-13  David S. Miller  <davem@davemloft.net>
53700         [BZ #13840]
53701         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53702         double-precision for the calculation instead of scaling.
53704 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53706         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53707         manipulate bits before adding and subtracting TWO52[sx].
53708         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53709         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53710         Likewise.
53711         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53713 2012-03-13  David S. Miller  <davem@davemloft.net>
53715         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53716         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53717         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53718         rtld-global-offsets.h
53719         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53721         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53722         large parameters.
53724         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53726         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53727         'err' in the ifdef scope in which it is actually used.
53729         * nss/nss_db/db-init.c: Include string.h
53731 2012-03-12  David S. Miller  <davem@davemloft.net>
53733         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53734         masking out of the most significant byte of random value used.
53735         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53736         Fix coding style in previous change.
53738         * sysdeps/unix/sysv/linux/kernel-features.h
53739         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53740         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53741         expression.
53742         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53743         later.
53745 2012-03-11  David S. Miller  <davem@davemloft.net>
53747         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53748         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53749         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53750         for 'resultvar' otherwise things get truncated on 64-bit.
53752         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53753         Fix masking out of the most significant byte of random value used.
53755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53757 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53761 2012-03-09  David S. Miller  <davem@davemloft.net>
53763         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53764         variables with appropriate CPP guards.
53765         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53766         from the frame pointer, not the stack pointer.  Correct layout
53767         comments.  Fix test on resulting framesize and the management of
53768         the outregs buffer for pltexit.  Preserve floating point return
53769         values across _dl_call_pltexit call.
53770         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53771         framesize and the management of the outregs buffer for pltexit.
53772         Preserve floating point return values across _dl_call_pltexit
53773         call.
53774         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53775         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53776         (la_sparc64_gnu_pltexit): New functions.
53777         (print_exit): Fix format string for return register value.
53779 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53781         * sunrpc/Makefile (others): Add rpcgen.
53782         ($(objpfx)rpcgen): Remove special build rule and dependency on
53783         libc.
53784         * sunrpc/rpcgen.c: New file.
53786 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53788         [BZ #13673]
53789         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53790         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53791         * sysdeps/i386/crti.S: Likewise.
53792         * sysdeps/i386/crtn.S: Likewise.
53793         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53794         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53795         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53796         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53797         * sysdeps/sh/crti.S: Likewise.
53798         * sysdeps/sh/crtn.S: Likewise.
53799         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53801         [BZ #13673]
53802         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53803         with URL.
53804         * locale/programs/locfile-kw.gperf: Likewise.
53805         * locale/programs/charmap-kw.h: Regenerated.
53806         * locale/programs/locfile-kw.h: Likewise.
53808         [BZ #13673]
53809         * intl/plural.y: Replace FSF snail mail address with URL.
53810         * intl/plural.c: Regenerated.
53812 2012-03-09  Richard Henderson  <rth@twiddle.net>
53814         * include/math_private.h: Remove file.
53815         * math/math_private.h: Move file ...
53816         * sysdeps/generic/math_private.h: ... here.
53818         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53819         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53820         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53822         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53823         and <math_private.h>.
53824         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53825         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53826         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53827         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53828         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53829         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53830         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53831         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53832         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53833         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53835         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53836         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53837         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53838         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53839         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53840         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53841         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53842         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53843         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53844         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53845         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53846         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53847         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53848         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53849         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53850         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53851         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53852         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53853         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53854         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53855         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53856         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53857         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53858         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53859         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53860         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53861         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53862         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53863         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53864         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53865         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53866         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53867         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53868         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53869         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53870         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53871         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53872         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53873         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53874         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53875         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53876         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53877         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53878         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53879         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53880         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53881         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53882         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53883         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53884         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53885         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53886         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53887         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53888         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53889         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53890         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53891         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53892         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53893         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53894         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53895         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53896         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53897         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53898         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53899         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53900         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53901         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53902         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53903         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53904         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53905         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53906         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53907         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53908         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53909         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53910         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53911         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53912         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53913         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53914         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53915         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53916         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53917         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53918         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53919         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53920         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53921         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53922         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53923         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53924         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53925         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53926         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53927         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53928         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53929         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53930         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53931         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53932         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53933         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53934         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53935         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53936         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53937         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53938         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53939         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53940         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53941         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53942         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53943         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53944         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53945         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53946         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53947         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53948         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53949         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53950         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53951         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53952         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53953         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53954         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53955         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53956         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53957         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53958         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53959         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53960         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53961         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53962         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53963         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53964         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53965         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53966         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53967         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53968         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53969         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53970         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53971         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53972         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53973         * sysdeps/ieee754/k_standard.c: Likewise.
53974         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53975         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53976         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53977         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53978         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53979         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53980         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53981         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53982         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53983         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53984         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53985         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53986         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53987         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53988         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53989         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53990         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53991         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53992         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53993         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53994         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53995         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53996         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53997         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53998         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53999         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54000         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54001         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54002         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54003         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54004         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54005         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54006         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54007         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54008         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54009         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54010         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54011         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54012         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54013         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54014         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54015         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54016         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54017         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54018         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54019         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54020         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54021         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54022         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54023         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54024         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54025         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54026         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54027         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54028         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54029         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54030         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54031         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54032         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54033         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54034         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54035         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54036         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54037         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54038         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54039         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54040         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54041         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54042         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54043         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54044         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54045         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54046         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54047         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54048         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54049         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54050         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54051         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54052         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54053         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54054         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54055         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54056         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54057         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54058         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54059         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54060         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54061         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54062         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54063         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54064         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54065         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54066         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54067         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54068         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54069         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54070         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54071         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54072         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54073         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54074         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54075         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54076         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54077         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54078         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54079         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54080         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54081         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54082         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54083         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54084         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54085         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54086         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54087         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54088         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54089         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54090         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54091         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54092         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54093         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54094         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54095         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54096         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54097         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54098         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54099         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54100         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54101         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54102         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54103         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54104         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54105         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54106         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54107         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54108         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54109         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54110         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54111         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54112         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54113         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54114         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54115         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54116         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54117         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54118         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54119         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54120         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54121         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54122         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54123         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54124         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54125         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54126         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54127         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54128         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54129         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54130         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54131         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54132         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54133         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54134         * sysdeps/ieee754/s_lib_version.c: Likewise.
54135         * sysdeps/ieee754/s_matherr.c: Likewise.
54136         * sysdeps/ieee754/s_signgam.c: Likewise.
54137         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54138         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54139         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54140         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54141         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54142         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54143         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54144         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54145         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54146         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54147         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54148         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54149         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54150         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54151         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54152         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54153         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54154         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54155         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54156         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54157         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54159 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54161         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54162         * sunrpc/rpc_main.c: Likewise.
54163         * sunrpc/rpc_svcout.c: Likewise.
54165 2012-03-09  David S. Miller  <davem@davemloft.net>
54167         * include/math_private.h: New file.
54169 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54171         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54172         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54173         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54174         from <bits/socket_type.h>.
54175         (enum __socket_type): Don't define here.
54176         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54177         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54178         bits/socket_type.h.
54180         [BZ #13566]
54181         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54182         checking __USE_GNU.
54184         * Makerules ($(inst_includedir)/%.h): New rule.
54185         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54186         (install-others): Remove variable setting.
54187         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54189 2012-03-08  Richard Henderson  <rth@twiddle.net>
54191         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54192         from macro to inline function; merge with the
54193         !__LIBC_INTERNAL_MATH_INLINES version.
54194         (__ieee754_sqrtf): Likewise.
54196         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54197         to inline function.
54198         (__rintf, __floor, __floorf): Likewise.
54200         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54201         macro to inline function.
54202         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54204         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54205         not <math/math_private.h>.
54207 2012-03-08  David S. Miller  <davem@davemloft.net>
54209         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54210         copyright year.
54211         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54213 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54215         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54216         normalization.
54217         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54218         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54220 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54222         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54223         be defined individually, they must be defined as a block.  Define
54224         S for printing a string instead of hidint the different by using a
54225         macro for adding the 'l'.
54226         * stdio-common/tst-fphex-wide.c: Adjust.
54228 2012-03-07  Marek Polacek  <polacek@redhat.com>
54230         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54232 2012-03-08  Marek Polacek  <polacek@redhat.com>
54234         [BZ #13806]
54235         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54236         * stdio-common/tst-fphex.c: Define a few macros to make the
54237         test reusable.  Use them.
54238         * stdio-common/tst-fphex-wide.c: New file.
54240 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54242         [BZ #6911]
54243         * manual/macros.texi (gnusystems): New macro.
54244         (nongnusystems): Likewise.
54245         (gnulinuxhurdsystems): Likewise.
54246         (gnuhurdsystems): Likewise..
54247         (gnulinuxsystems): Likewise.
54248         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54249         variants of the GNU system, not "GNU system".
54250         * manual/conf.texi: Likewise.
54251         * manual/errno.texi: Likewise.  Update example of errno macro
54252         expansion.
54253         * manual/filesys.texi: Likewise.
54254         (getumask): Document as specific to GNU/Hurd.
54255         * manual/install.texi: Likewise.  Reword some references to
54256         GNU/Linux.
54257         * manual/intro.texi: Likewise.
54258         * manual/io.texi: Likewise.
54259         (File Name Portability): Detail which constraints are inapplicable
54260         to all GNU systems and which are only inapplicable to GNU/Hurd.
54261         * manual/job.texi: Likewise.
54262         * manual/llio.texi: Likewise.
54263         (O_NOCTTY): Document as present on GNU/Linux.
54264         * manual/maint.texi: Likewise.
54265         * manual/memory.texi: Likewise.
54266         * manual/pattern.texi: Likewise.
54267         * manual/pipe.texi: Likewise.
54268         * manual/process.texi: Likewise.
54269         * manual/resource.texi: Likewise.
54270         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54271         child on GNU/Hurd.
54272         * manual/setjmp.texi: Likewise.
54273         * manual/signal.texi: Likewise.
54274         * manual/startup.texi: Likewise.
54275         * manual/stdio.texi: Likewise.
54276         * manual/terminal.texi: Likewise.
54277         (ONLCR): Document as POSIX.
54278         (OXTABS): Document availability on GNU/Linux as XTABS.
54279         (ONOEOT): Document availability separately from other bits.
54280         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54281         * manual/time.texi: Likewise.
54282         * manual/users.texi: Likewise.
54283         * INSTALL: Regenerated.
54284         * sysdeps/gnu/errlist.c: Regenerated.
54286         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54287         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54288         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54289         puts.
54290         * configure: Regenerated.
54292 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54294         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54295         default includes instead of AC_HEADER_CHECK.
54296         * sysdeps/i386/configure: Regenerated.
54298         [BZ #10716]
54299         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54300         * math/s_cacoshf.c (__cacoshf): Likewise.
54301         * math/s_cacoshl.c (__cacoshl): Likewise.
54302         * math/s_casinh.c (__casinh): Set signs of result from argument.
54303         * math/s_casinhf.c (__casinhf): Likewise.
54304         * math/s_casinhl.c (__casinhl): Likewise.
54305         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54306         (casinh_test): Add more tests.
54307         * sysdeps/i386/fpu/libm-test-ulps: Update.
54308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54310 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54312         * po/zh_TW.po: Update from translation team.
54314         * login/Makefile (distribute): Remove variable.
54315         * catgets/Makefile: Likewise.
54316         * mach/Makefile: Likewise.
54317         * malloc/Makefile: Likewise.
54318         * misc/Makefile: Likewise.
54319         * iconv/Makefile: Likewise.
54320         * nscd/Makefile: Likewise.
54321         * hurd/Makefile: Likewise.
54322         * manual/Makefile: Likewise.
54323         * locale/Makefile: Likewise.
54324         * intl/Makefile: Likewise.
54325         * conform/Makefile: Likewise.
54326         * nss/Makefile: Likewise.
54327         * time/Makefile: Likewise.
54328         * soft-fp/Makefile: Likewise.
54329         * dirent/Makefile: Likewise.
54330         * gmon/Makefile: Likewise.
54331         * po/Makefile: Likewise.
54332         * rt/Makefile: Likewise.
54333         * socket/Makefile: Likewise.
54334         * math/Makefile: Likewise.
54335         * signal/Makefile: Likewise.
54336         * debug/Makefile: Likewise.
54337         * elf/Makefile: Likewise.
54338         * timezone/Makefile: Likewise.
54339         * stdlib/Makefile: Likewise.
54340         * iconvdata/Makefile: Likewise.
54341         * sunrpc/Makefile: Likewise.
54342         * io/Makefile: Likewise.
54343         * argp/Makefile: Likewise.
54344         * inet/Makefile: Likewise.
54345         * hesiod/Makefile: Likewise.
54346         * grp/Makefile: Likewise.
54347         * csu/Makefile: Likewise.
54348         * wctype/Makefile: Likewise.
54349         * crypt/Makefile: Likewise.
54350         * libio/Makefile: Likewise.
54351         * string/Makefile: Likewise.
54352         * nis/Makefile: Likewise.
54353         * resolv/Makefile: Likewise.
54354         * stdio-common/Makefile: Likewise.
54355         * wcsmbs/Makefile: Likewise.
54356         * dlfcn/Makefile: Likewise.
54357         * posix/Makefile: Likewise.
54359         [BZ #6959]
54360         * timezone/Makefile: Don't install timezone files, just the programs
54361         and scripts.
54363 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54365         * nss/databases.def: Add missing gshadow entry.
54367         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54369 2012-03-06  Marek Polacek  <polacek@redhat.com>
54371         [BZ #13726]
54372         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54373         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54374         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54375         * stdio-common/tst-long-dbl-fphex.c: New file.
54377 2012-03-06  David S. Miller  <davem@davemloft.net>
54379         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54380         (set_obp_int): New function.
54381         (get_obp_int): New function.
54382         (__get_clockfreq_via_dev_openprom): Likewise.
54383         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54384         Avoid unused variable warnings on 'val' and use builtin_expect.
54385         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54386         __builtin_expect.
54387         (INLINE_CLONE_SYSCALL): Likewise.
54389 2012-03-05  David S. Miller  <davem@davemloft.net>
54391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54393 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54397         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54398         only for |x| >= 40.
54399         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54401 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54403         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54404         Replace gettimeofday with __vdso_gettimeofday.
54406         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54407         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54408         __vdso_clock_gettime and __vdso_getcpu.
54410         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54411         time with __vdso_time.
54413 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54415         * manual/lang.texi (size_t): Note types to which size_t may be
54416         equivalent with the GNU C Library, but do not describe when
54417         differences between them are significant.
54419 2012-03-05  Andreas Jaeger  <aj@suse.de>
54421         * sysdeps/i386/fpu/libm-test-ulps: Update.
54423 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54425         [BZ #3976]
54426         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54427         (__ieee754_pow): Save and restore rounding mode and use
54428         round-to-nearest for main computations.
54429         * math/libm-test.inc (pow_test_tonearest): New function.
54430         (pow_test_towardzero): Likewise.
54431         (pow_test_downward): Likewise.
54432         (pow_test_upward): Likewise.
54433         (main): Call the new functions.
54434         * sysdeps/i386/fpu/libm-test-ulps: Update.
54435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54437         [BZ #3976]
54438         * math/libm-test.inc (cosh_test_tonearest): New function.
54439         (cosh_test_towardzero): Likewise.
54440         (cosh_test_downward): Likewise.
54441         (cosh_test_upward): Likewise.
54442         (sinh_test_tonearest): Likewise.
54443         (sinh_test_towardzero): Likewise.
54444         (sinh_test_downward): Likewise.
54445         (sinh_test_upward): Likewise.
54446         (main): Call the new functions.
54447         * sysdeps/i386/fpu/libm-test-ulps: Update.
54448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54450 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54452         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54453         default stack guard is set in last bytes.
54454         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54456 2012-03-05  Kees Cook  <keescook@chromium.org>
54458         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54460         [BZ #13656]
54461         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54462         possibly allocate from heap instead of stack.
54463         * stdio-common/bug-vfprintf-nargs.c: New file.
54464         * stdio-common/Makefile (tests): Add nargs overflow test.
54466 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54470 2012-03-03  Marek Polacek  <polacek@redhat.com>
54472         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54473         * math/math_private.h: Likewise.
54474         * stdlib/tst-strtod.c: Likewise.
54475         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54476         * sysdeps/x86_64/bits/atomic.h: Likewise.
54478 2012-03-02  David S. Miller  <davem@davemloft.net>
54480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54484         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54485         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54486         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54487         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54489 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54491         [BZ #13792]
54492         * manual/examples/README: New file, says the example source files
54493         can be used under GPL>=2.
54494         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54495         line containing just "*/".
54496         * manual/examples/add.c: Add copyright header (GPL>=2).
54497         * manual/examples/argp-ex1.c: Likewise.
54498         * manual/examples/argp-ex2.c: Likewise.
54499         * manual/examples/argp-ex3.c: Likewise.
54500         * manual/examples/argp-ex4.c: Likewise.
54501         * manual/examples/atexit.c: Likewise.
54502         * manual/examples/db.c: Likewise.
54503         * manual/examples/dir.c: Likewise.
54504         * manual/examples/dir2.c: Likewise.
54505         * manual/examples/execinfo.c: Likewise.
54506         * manual/examples/filecli.c: Likewise.
54507         * manual/examples/filesrv.c: Likewise.
54508         * manual/examples/fmtmsgexpl.c: Likewise.
54509         * manual/examples/genpass.c: Likewise.
54510         * manual/examples/inetcli.c: Likewise.
54511         * manual/examples/inetsrv.c: Likewise.
54512         * manual/examples/isockad.c: Likewise.
54513         * manual/examples/longopt.c: Likewise.
54514         * manual/examples/memopen.c: Likewise.
54515         * manual/examples/memstrm.c: Likewise.
54516         * manual/examples/mkfsock.c: Likewise.
54517         * manual/examples/mkisock.c: Likewise.
54518         * manual/examples/mygetpass.c: Likewise.
54519         * manual/examples/pipe.c: Likewise.
54520         * manual/examples/popen.c: Likewise.
54521         * manual/examples/rprintf.c: Likewise.
54522         * manual/examples/search.c: Likewise.
54523         * manual/examples/select.c: Likewise.
54524         * manual/examples/setjmp.c: Likewise.
54525         * manual/examples/sigh1.c: Likewise.
54526         * manual/examples/sigusr.c: Likewise.
54527         * manual/examples/stpcpy.c: Likewise.
54528         * manual/examples/strdupa.c: Likewise.
54529         * manual/examples/strftim.c: Likewise.
54530         * manual/examples/strncat.c: Likewise.
54531         * manual/examples/subopt.c: Likewise.
54532         * manual/examples/swapcontext.c: Likewise.
54533         * manual/examples/termios.c: Likewise.
54534         * manual/examples/testopt.c: Likewise.
54535         * manual/examples/testpass.c: Likewise.
54536         * manual/examples/timeval_subtract.c: Likewise.
54538         [BZ #13792]
54539         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54540         function to ...
54541         * manual/timeval_subtract.c.texi: ... here, new file.
54543 2012-03-02  David S. Miller  <davem@davemloft.net>
54545         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54547 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54549         [BZ #3976]
54550         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54551         (__sin): Save and restore rounding mode and use round-to-nearest
54552         for all computations.
54553         (__cos): Save and restore rounding mode and use round-to-nearest
54554         for all computations.
54555         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54556         <fenv.h>.
54557         (tan): Save and restore rounding mode and use round-to-nearest for
54558         all computations.
54559         * math/libm-test.inc (cos_test_tonearest): New function.
54560         (cos_test_towardzero): Likewise.
54561         (cos_test_downward): Likewise.
54562         (cos_test_upward): Likewise.
54563         (sin_test_tonearest): Likewise.
54564         (sin_test_towardzero): Likewise.
54565         (sin_test_downward): Likewise.
54566         (sin_test_upward): Likewise.
54567         (tan_test_tonearest): Likewise.
54568         (tan_test_towardzero): Likewise.
54569         (tan_test_downward): Likewise.
54570         (tan_test_upward): Likewise.
54571         (main): Call the new functions.
54572         * sysdeps/i386/fpu/libm-test-ulps: Update.
54573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54575         [BZ #10135]
54576         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54577         small n, then large n, before computing and testing k+n.
54578         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54579         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54580         Likewise.
54581         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54582         Likewise.
54583         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54584         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54585         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54586         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54587         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54588         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54589         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54590         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54591         * math/libm-test.inc (scalbn_test): Add more tests.
54592         (scalbln_test): Likewise.
54594         * manual/filesys.texi (mode_t): Describe constraints on size and
54595         signedness, not exact equivalence to a particular type.
54596         (ino_t): Likewise.
54597         (ino64_t): Likewise.
54598         (dev_t): Likewise.
54599         (nlink_t): Likewise.
54600         (blkcnt_t): Likewise.
54601         (blkcnt64_t): Likewise.
54602         * manual/llio.texi (off_t): Likewise.
54604         [BZ #3976]
54605         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54606         (__ieee754_exp): Save and restore rounding mode and use
54607         round-to-nearest for all computations.
54608         * math/libm-test.inc (exp_test_tonearest): New function.
54609         (exp_test_towardzero): Likewise.
54610         (exp_test_downward): Likewise.
54611         (exp_test_upward): Likewise.
54612         (main): Call the new functions.
54613         * sysdeps/i386/fpu/libm-test-ulps: Update.
54614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54616 2012-03-01  Chris Demetriou  <cgd@google.com>
54618         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54619         have predictable order.
54621 2012-03-01  David S. Miller  <davem@davemloft.net>
54623         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54625         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54626         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54627         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54628         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54630         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54631         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54632         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54634         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54635         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54636         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54637         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54638         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54642         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54643         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54644         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54646         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54647         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54648         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54649         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54650         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54651         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54652         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54653         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54654         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54655         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54656         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54657         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54658         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54659         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54660         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54661         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54662         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54663         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54664         * sysdeps/sparc/elf/configure: Regenerated.
54666 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54668         * configure.in (AS, LD): Require binutils 2.20 or later.
54669         * configure: Regenerated.
54670         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54671         as required minimum version.
54672         * INSTALL: Regenerated.
54674         [BZ #2541]
54675         [BZ #4108]
54676         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54677         before squaring exponent.
54678         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54679         bottom long double and 27 bits of top long double before squaring
54680         exponent.
54681         * math/libm-test.inc (erfc_test): Add more tests.
54682         * sysdeps/i386/fpu/libm-test-ulps: Update.
54683         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54686 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54688         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54689         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54690         containing bit-fields.
54691         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54692         * soft-fp/single.h (_FP_UNION_S): Likewise.
54693         * soft-fp/double.h (_FP_UNION_D): Likewise.
54695 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54697         [BZ #13786]
54698         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54699         not include ../strcmp.S.
54700         [USE_AS_STRNCASECMP_L]: Likewise.
54701         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54702         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54703         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54704         (__strncasecmp_l_ia32): Define as alias to
54705         __strncasecmp_l_nonascii.
54707         [BZ #5794]
54708         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54709         * sysdeps/i386/fpu/libm-test-ulps: Update.
54710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54712         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54715 2012-02-29  Jeff Law  <law@redhat.com>
54717         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54718         out of bounds read.
54720 2012-02-29  Marek Polacek  <polacek@redhat.com>
54722         [BZ #13706]
54723         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54724         * elf/Makefile: Add rules to run tst-unused-dep.out.
54726 2012-02-28  David S. Miller  <davem@davemloft.net>
54728         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54729         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54730         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54731         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54732         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54733         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54735 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54737         * math/libm-test.inc (llround_test): Move one test from
54738         lround_test.  Use TEST_f_L in moved test.
54739         (lround_test): Move misplaced test to llround_test.  Add testcase
54740         from bug 2561.
54742 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54744         * sysdeps/x86_64/fpu/e_expf.S: New file.
54745         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54747 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54749         [BZ #13637]
54750         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54751         of remain_len that may cause incomplete multi-byte character and
54752         false match.
54753         * posix/bug-regex33.c: New file.
54754         * posix/Makefile (tests): Add bug-regex33.
54756 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54758         * manual/macros.texi: New file.
54759         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54760         * manual/libc.texinfo: Include macros.texi.
54761         * manual/creatute.texi: Likewise.
54762         * manual/install.texi: Likewise.
54763         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54764         @glibcadj{} in references to the GNU C Library.
54765         * manual/charset.texi: Likewise.
54766         * manual/conf.texi: Likewise.
54767         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54768         when not using those macros.
54769         * manual/creature.texi: Likewise.
54770         * manual/crypt.texi: Likewise.
54771         * manual/errno.texi: Likewise.
54772         * manual/filesys.texi: Likewise.
54773         * manual/header.texi: Likewise.
54774         * manual/install.texi: Likewise.
54775         * manual/intro.texi: Likewise.
54776         * manual/io.texi: Likewise.
54777         * manual/job.texi: Likewise.
54778         * manual/lang.texi: Likewise.
54779         * manual/libc.texiinfo: Likewise.
54780         * manual/llio.texi: Likewise.
54781         * manual/locale.texi: Likewise.
54782         * manual/maint.texi: Likewise.
54783         * manual/math.texi: Likewise.
54784         * manual/memory.texi: Likewise.
54785         * manual/message.texi: Likewise.
54786         * manual/nss.texi: Likewise.
54787         * manual/pattern.texi: Likewise.
54788         * manual/process.texi: Likewise.
54789         * manual/resource.texi: Likewise.
54790         * manual/search.texi: Likewise.
54791         * manual/setjmp.texi: Likewise.
54792         * manual/signal.texi: Likewise.
54793         * manual/socket.texi: Likewise.
54794         * manual/startup.texi: Likewise.
54795         * manual/stdio.texi: Likewise.
54796         * manual/string.texi: Likewise.
54797         * manual/sysinfo.texi: Likewise.
54798         * manual/syslog.texi: Likewise.
54799         * manual/terminal.texi: Likewise.
54800         * manual/time.texi: Likewise.
54801         * manual/users.texi: Likewise.
54802         * INSTALL: Regenerated.
54803         * NOTES: Regenerated.
54804         * sysdeps/gnu/errlist.c: Regenerated.
54806 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54808         * include/dirent.h: Include <dirstream.h> before
54809         <dirent/dirent.h>.
54811 2012-02-28  David S. Miller  <davem@davemloft.net>
54813         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54814         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54815         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54816         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54818 2012-02-27  David S. Miller  <davem@davemloft.net>
54820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54822         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54823         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54826         frame pointer instead of stack pointer relative arg slot.
54827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54828         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54829         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54831 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54833         [BZ #3992]
54834         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54836 2012-02-27  David S. Miller  <davem@davemloft.net>
54838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54842         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54843         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54844         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54845         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54847 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54849         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54850         later.  Allow versions 5-9.
54851         * configure: Regenerated.
54852         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54853         required minimum version and 4.6 as recommended version.  Do not
54854         mention bugs in GCC 2.7 and 2.8.
54855         * INSTALL: Regenerated.
54857 2012-02-27  David S. Miller  <davem@davemloft.net>
54859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54863         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54864         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54865         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54866         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54868         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54869         manipulate bits before adding and subtracting TWO112[sx].
54870         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54872 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54874         [BZ #13775]
54875         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54876         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54877         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54878         being in POSIX, because they are in 1003.1-2008.
54880         * rt/tst-aio.c: Include <fcntl.h>.
54881         * rt/tst-aio7.c: Likewise.
54882         * rt/tst-aio64.c: Likewise.
54884         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54886 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54888         * manual/install.texi (--with-headers): Describe headers as
54889         interface headers, not private headers.
54890         (Specific advice for GNU/Linux systems): Describe use of headers
54891         from "make headers_install", not private headers from older
54892         kernels.
54893         * INSTALL: Regenerated.
54894         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54895         Change to 2.6.19.
54896         * sysdeps/unix/sysv/linux/configure: Regenerated.
54898         * manual/llio.texi (fclean): Remove documentation.
54900         * manual/Makefile (libc-texi-generated): New variable.  Include
54901         version.texi.
54902         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54903         $(libc-texi-generated), not duplicated list of files.
54904         (version.texi, stamp-version): New rules.
54905         (realclean): Remove $(libc-texi-generated), not individual files
54906         from that list.  Do not remove dir-add.texinfo.
54907         * manual/libc.texinfo: Comment out uses of edition numbers and
54908         references to printed manual.  Remove last-updated dates.
54909         (EDITION): Comment out.
54910         (ISBN): Likewise.
54911         (VERSION, UPDATED): Remove.
54912         (version.texi): Include.
54914 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54916         * sysdeps/posix/spawni.c: Include <signal.h>.
54917         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54918         * sysdeps/pthread/aio_fsync.c: Likewise.
54920 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54922         * conform/Makefile (tests): Run only when not cross-compiling and
54923         when fast-check is not defined.
54925         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54926         * conform/data/limits.h-data: Fixes for POSIX2008.
54927         * conform/run-conformtest.sh: Run all tests.
54928         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54929         headers.
54930         * include/bits/dlfcn.h: Likewise.
54931         * include/langinfo.h: Likewise.
54932         * include/monetary.h: Likewise.
54933         * include/sys/poll.h: Likewise.
54935         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54936         for __USE_GNU.
54937         * posix/spawn.h: Define __need_sigset_t.
54938         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54939         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54940         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54941         to get sigevent_t only.
54942         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54943         only for __USE_GNU.
54944         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54945         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54946         process_vm_writev only for __USE_GNU.
54947         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54949         * conform/Makefile: For now ignore errors from run-conformtest.
54950         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54951         POSIX to avoid namespace pollution.  Don't prepend headers.
54952         * conform/data/aio.h-data: Fixes for POSIX testing.
54953         * conform/data/fcntl.h-data: Likewise.
54954         * conform/data/glob.h-data: Likewise.
54955         * conform/data/grp.h-data: Likewise.
54956         * conform/data/pthread.h-data: Likewise.
54957         * conform/data/pwd.h-data: Likewise.
54958         * conform/data/signal.h-data: Likewise.
54959         * conform/data/spawn.h-data: Likewise.
54960         * conform/data/stdio.h-data: Likewise.
54961         * conform/data/stdlib.h-data: Likewise.
54962         * conform/data/stropts.h-data: Likewise.
54963         * conform/data/sys/mman.h-data: Likewise.
54964         * conform/data/sys/stat.h-data: Likewise.
54965         * conform/data/sys/types.h-data: Likewise.
54966         * conform/data/sys/wait.h-data: Likewise.
54967         * conform/data/time.h-data: Likewise.
54968         * conform/data/unistd.h-data: Likewise.
54969         * conform/data/utime.h-data: Likewise.
54971         * io/sys/stat.h: fchmod was always in POSIX.
54972         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54973         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54974         * rt/aio.h: Define __need_timespec before including <time.h>.
54975         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54976         struct.  Add forward declaration of pthread_attr_t and use it in
54977         sigevent.
54978         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54979         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54980         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54981         always remove CLK_TCK definition.
54983 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54985         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54987 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54989         * conform/run-conformtest.sh: New file.
54990         * conform/Makefile: Run run-conformtest for tests.
54991         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54992         support.
54994         * conform/data/uchar.h-data: New file.
54995         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54996         * conform/data/arpa/inet.h-data: Likewise.
54997         * conform/data/assert.h-data: Likewise.
54998         * conform/data/complex.h-data: Likewise.
54999         * conform/data/cpio.h-data: Likewise.
55000         * conform/data/ctype.h-data: Likewise.
55001         * conform/data/dirent.h-data: Likewise.
55002         * conform/data/dlfcn.h-data: Likewise.
55003         * conform/data/errno.h-data: Likewise.
55004         * conform/data/fcntl.h-data: Likewise.
55005         * conform/data/float.h-data: Likewise.
55006         * conform/data/fmtmsg.h-data: Likewise.
55007         * conform/data/fnmatch.h-data: Likewise.
55008         * conform/data/ftw.h-data: Likewise.
55009         * conform/data/glob.h-data: Likewise.
55010         * conform/data/grp.h-data: Likewise.
55011         * conform/data/iconv.h-data: Likewise.
55012         * conform/data/inttypes.h-data: Likewise.
55013         * conform/data/langinfo.h-data: Likewise.
55014         * conform/data/libgen.h-data: Likewise.
55015         * conform/data/limits.h-data: Likewise.
55016         * conform/data/locale.h-data: Likewise.
55017         * conform/data/math.h-data: Likewise.
55018         * conform/data/monetary.h-data: Likewise.
55019         * conform/data/mqueue.h-data: Likewise.
55020         * conform/data/ndbm.h-data: Likewise.
55021         * conform/data/net/if.h-data: Likewise.
55022         * conform/data/netdb.h-data: Likewise.
55023         * conform/data/netinet/in.h-data: Likewise.
55024         * conform/data/nl_types.h-data: Likewise.
55025         * conform/data/poll.h-data: Likewise.
55026         * conform/data/pthread.h-data: Likewise.
55027         * conform/data/pwd.h-data: Likewise.
55028         * conform/data/regex.h-data: Likewise.
55029         * conform/data/sched.h-data: Likewise.
55030         * conform/data/search.h-data: Likewise.
55031         * conform/data/semaphore.h-data: Likewise.
55032         * conform/data/setjmp.h-data: Likewise.
55033         * conform/data/signal.h-data: Likewise.
55034         * conform/data/spawn.h-data: Likewise.
55035         * conform/data/stdarg.h-data: Likewise.
55036         * conform/data/stdio.h-data: Likewise.
55037         * conform/data/stdlib.h-data: Likewise.
55038         * conform/data/string.h-data: Likewise.
55039         * conform/data/strings.h-data: Likewise.
55040         * conform/data/stropts.h-data: Likewise.
55041         * conform/data/sys/ipc.h-data: Likewise.
55042         * conform/data/sys/mman.h-data: Likewise.
55043         * conform/data/sys/msg.h-data: Likewise.
55044         * conform/data/sys/resource.h-data: Likewise.
55045         * conform/data/sys/select.h-data: Likewise.
55046         * conform/data/sys/sem.h-data: Likewise.
55047         * conform/data/sys/shm.h-data: Likewise.
55048         * conform/data/sys/socket.h-data: Likewise.
55049         * conform/data/sys/stat.h-data: Likewise.
55050         * conform/data/sys/statvfs.h-data: Likewise.
55051         * conform/data/sys/time.h-data: Likewise.
55052         * conform/data/sys/timeb.h-data: Likewise.
55053         * conform/data/sys/times.h-data: Likewise.
55054         * conform/data/sys/types.h-data: Likewise.
55055         * conform/data/sys/uio.h-data: Likewise.
55056         * conform/data/sys/un.h-data: Likewise.
55057         * conform/data/sys/utsname.h-data: Likewise.
55058         * conform/data/sys/wait.h-data: Likewise.
55059         * conform/data/syslog.h-data: Likewise.
55060         * conform/data/tar.h-data: Likewise.
55061         * conform/data/termios.h-data: Likewise.
55062         * conform/data/utime.h-data: Likewise.
55063         * conform/data/utmpx.h-data: Likewise.
55064         * conform/data/varargs.h-data: Likewise.
55065         * conform/data/wchar.h-data: Likewise.
55066         * conform/data/wctype.h-data: Likewise.
55067         * conform/data/wordexp.h-data: Likewise.
55069         * include/stropts.h: New file.
55070         * include/uchar.h: New file.
55071         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55072         * include/assert.h: Likewise.
55073         * include/ctype.h: Likewise.
55074         * include/dirent.h: Likewise.
55075         * include/dlfcn.h: Likewise.
55076         * include/fcntl.h: Likewise.
55077         * include/fnmatch.h: Likewise.
55078         * include/glob.h: Likewise.
55079         * include/grp.h: Likewise.
55080         * include/libio.h: Likewise.
55081         * include/locale.h: Likewise.
55082         * include/math.h: Likewise.
55083         * include/net/if.h: Likewise.
55084         * include/netdb.h: Likewise.
55085         * include/netinet/in.h: Likewise.
55086         * include/pthread.h: Likewise.
55087         * include/pwd.h: Likewise.
55088         * include/regex.h: Likewise.
55089         * include/sched.h: Likewise.
55090         * include/search.h: Likewise.
55091         * include/setjmp.h: Likewise.
55092         * include/signal.h: Likewise.
55093         * include/stdio.h: Likewise.
55094         * include/stdlib.h: Likewise.
55095         * include/string.h: Likewise.
55096         * include/sys/cdefs.h: Likewise.
55097         * include/sys/mman.h: Likewise.
55098         * include/sys/msg.h: Likewise.
55099         * include/sys/resource.h: Likewise.
55100         * include/sys/select.h: Likewise.
55101         * include/sys/socket.h: Likewise.
55102         * include/sys/stat.h: Likewise.
55103         * include/sys/statvfs.h: Likewise.
55104         * include/sys/time.h: Likewise.
55105         * include/sys/times.h: Likewise.
55106         * include/sys/uio.h: Likewise.
55107         * include/sys/utsname.h: Likewise.
55108         * include/sys/wait.h: Likewise.
55109         * include/termios.h: Likewise.
55110         * include/time.h: Likewise.
55111         * include/ulimit.h: Likewise.
55112         * include/unistd.h: Likewise.
55113         * include/utime.h: Likewise.
55114         * include/wchar.h: Likewise.
55115         * include/wctype.h: Likewise.
55116         * include/wordexp.h: Likewise.
55118         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55120         * time/time.h: TIME_UTC must be a macro.
55121         Make timespec_get available for ISO C11 only as well.
55123 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55125         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55126         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55128 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55130         * configure.in: Use -o not -a in test for unsupported multi-arch.
55132 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55134         * manual/texinfo.tex: Update to version 2012-01-19.16.
55136 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55138         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55140 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55142         [BZ #13738]
55143         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55144         * manual/fdl-1.3.texi: New file.
55145         * manual/fdl-1.1.texi: File removed.
55147         [BZ #13738]
55148         * manual/libc.texinfo (FDL_VERSION): New @set.
55149         Use it for mention of FDL in cover text.
55150         (Documentation License): Use it in @include file name.
55152 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55153             Roland McGrath  <roland@hack.frob.com>
55155         [BZ #5461]
55156         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55157         (not LONG_LONG_MAX and LONG_LONG_MIN.
55158         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55159         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55160         name.
55161         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55163 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55165         [BZ #2547]
55166         [BZ #11365]
55167         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55168         manipulate bits before adding and subtracting TWO23[sx].
55169         * math/libm-test.inc (nearbyint_test): Add more tests.
55171 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55173         [BZ #2548]
55174         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55175         bits before adding and subtracting TWO23[sx].
55176         * math/libm-test.inc (rint_test): Add more tests.
55177         (rint_test_tonearest): Likewise.
55178         (rint_test_towardzero): Likewise.
55179         (rint_test_downward): Likewise.
55180         (rint_test_upward: Likewise.
55182 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55184         [BZ #10110]
55185         * include/stdc-predef.h: New file.  Extracted from features.h.
55186         * include/features.h: Include stdc-predef.h.
55187         * Makefile (headers): Add stdc-predef.h.
55188         * CONFORMANCE (Compiler limitations): Update.
55190 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55192         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55194 2012-02-21  David S. Miller  <davem@davemloft.net>
55196         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55197         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55199 2012-02-20  David S. Miller  <davem@davemloft.net>
55201         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55202         using a normal save/restore sequence, rather than allocating a
55203         dummy stack frame just to store a frame pointer and restore.
55204         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55206 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55208         * manual/install.texi: Fix stray word in line-wrapped comment.
55210 2012-02-20  David S. Miller  <davem@davemloft.net>
55212         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55213         both binutils and gcc support GOTDATA.
55215         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55216         "rd %pc" in the PIC register setup sequences.
55218         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55219         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55220         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55221         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55222         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55223         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55224         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55225         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55226         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55227         (SYSCALL_ERROR_HANDLER): Likewise.
55228         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55229         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55230         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55231         (SYSCALL_ERROR_HANDLER): Likewise.
55233         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55234         (HAVE_GCC_GOTDATA): New.
55235         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55236         relocation support in both binutils and gcc.
55237         * sysdeps/sparc/elf/configure: Regenerate.
55239         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55240         * sysdeps/sparc/sparc32/elf/configure: Delete.
55241         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55242         * sysdeps/sparc/sparc64/elf/configure: Delete.
55243         * sysdeps/sparc/elf/configure.in: New file.
55244         * sysdeps/sparc/elf/configure: Generate.
55246         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55247         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55248         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55249         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55250         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55252 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55254         * manual/install.texi: Do not mention specific glibc version
55255         numbers.
55256         * manual/libc.texinfo (VERSION, UPDATED): Update.
55257         (@copying): Use @copyright{} and range of years.
55259 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55261         [BZ #13695]
55262         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55263         [crti.S not in sysdirs] (generated): Do not append.
55264         [crti.S not in sysdirs] (omit-deps): Likewise.
55265         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55266         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55267         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55268         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55269         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55270         Likewise.
55271         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55272         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55273         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55274         * csu/defs.awk: Remove file.
55275         * sysdeps/generic/initfini.c: Likewise.
55276         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55277         variable.
55278         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55279         Likewise.
55281 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55283         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55284         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55285         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55286         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55287         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55288         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55289         <bits/epoll.h>.
55290         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55291         (__EPOLL_PACKED): Define to empty if not defined by
55292         <bits/epoll.h>.
55293         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55294         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55295         bits/epoll.h.
55297 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55299         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55300         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55301         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55302         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55303         <bits/timerfd.h>.
55304         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55306         bits/timerfd.h.
55308 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55310         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55311         in C locale.
55312         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55313         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55314         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55317 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55319         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55320         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55322 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55324         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55325         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55326         defined.
55327         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55328         Likewise.
55329         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55330         entry for 2.16.
55332 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55334         * math/w_acos.c: Use non-signaling floating-point comparisons.
55335         * math/w_acosf.c: Likewise.
55336         * math/w_acosh.c: Likewise.
55337         * math/w_acoshf.c: Likewise.
55338         * math/w_acoshl.c: Likewise.
55339         * math/w_acosl.c: Likewise.
55340         * math/w_asin.c: Likewise.
55341         * math/w_asinf.c: Likewise.
55342         * math/w_asinl.c: Likewise.
55343         * math/w_atanh.c: Likewise.
55344         * math/w_atanhf.c: Likewise.
55345         * math/w_atanhl.c: Likewise.
55346         * math/w_exp2.c: Likewise.
55347         * math/w_exp2f.c: Likewise.
55348         * math/w_exp2l.c: Likewise.
55349         * math/w_j0.c: Likewise.
55350         * math/w_j0f.c: Likewise.
55351         * math/w_j0l.c: Likewise.
55352         * math/w_j1.c: Likewise.
55353         * math/w_j1f.c: Likewise.
55354         * math/w_j1l.c: Likewise.
55355         * math/w_jn.c: Likewise.
55356         * math/w_jnf.c: Likewise.
55357         * math/w_log.c: Likewise.
55358         * math/w_log10.c: Likewise.
55359         * math/w_log10f.c: Likewise.
55360         * math/w_log10l.c: Likewise.
55361         * math/w_log2.c: Likewise.
55362         * math/w_log2f.c: Likewise.
55363         * math/w_log2l.c: Likewise.
55364         * math/w_logf.c: Likewise.
55365         * math/w_logl.c: Likewise.
55366         * math/w_sqrt.c: Likewise.
55367         * math/w_sqrtf.c: Likewise.
55368         * math/w_sqrtl.c: Likewise.
55369         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55370         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55371         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55372         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55373         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55375 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55377         [BZ #9739]
55378         * manual/string.texi (strnlen): Use correct parameter name in
55379         equivalent expression.
55381 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55383         [BZ #11174]
55384         * manual/users.texi (seteuid): Consistently use neweuid for
55385         argument name.
55387 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55389         [BZ #13704]
55390         * manual/nss.texi (Services in the NSS configuration): Correct
55391         list of services in example configuration file.
55393 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55395         [BZ #11322]
55396         * manual/arith.texi: Remove statements about negative zero
55397         behaving identically to zero.
55399 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55401         [BZ #5993]
55402         * manual/install.texi: Do not document upgrading from libc5.
55404 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55406         [BZ #4596]
55407         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55409 2012-02-18  David S. Miller  <davem@davemloft.net>
55411         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55412         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55413         %o7 across the call.
55414         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55415         instead.
55416         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55417         SETUP_PIC_REG_LEAF.
55418         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55419         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55420         * sysdeps/sparc/crtn.S: Likewise.
55422 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55424         * aout/Makefile: Remove.
55426 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55428         [BZ #13058]
55429         * manual/examples/argp-ex1.c (main): Format definition in GNU
55430         style.
55431         * manual/examples/argp-ex2.c (main): Likewise.
55432         * manual/examples/argp-ex3.c (main): Likewise.
55433         * manual/examples/argp-ex4.c (main): Likewise.
55434         * manual/examples/longopt.c (main): Use new-style prototype
55435         definition.
55436         * manual/examples/strncat.c (main): Specify return type and use
55437         (void) for arguments.
55438         * manual/examples/subopt.c (main): Use char **argv argument.
55440 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55442         [BZ #5077]
55443         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55444         rounding modes.
55446 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55448         [BZ #6907]
55449         * manual/string.texi (strchr): Change when strchrnul is
55450         recommended.
55452 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55454         [BZ #174]
55455         * manual/locale.texi (setlocale): Document LOCPATH.
55457 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55459         [BZ #10210]
55460         * manual/process.texi (execle): Move @dots{} before last argument.
55462 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55464         [BZ #12047]
55465         * manual/charset.texi (Generic Charset Conversion): Fix typo
55466         (LC_TYPE -> LC_CTYPE).
55468 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55470         [BZ #5805]
55471         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55472         (scalbnf): Likewise.
55473         (scalbnl): Likewise.
55474         (scalbln): Likewise.
55475         (scalblnf): Likewise.
55476         (scalblnl): Likewise.
55477         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55478         (vwarnx): Likewise.
55479         (verr): Likewise.
55480         (verrx): Likewise.
55481         * manual/filesys.texi (telldir): Use braces around return type.
55482         * manual/llio.texi (mmap): Add space after comma.
55483         (mmap64): Likewise.
55484         * manual/math.texi (jn): Use @var{} on parameter names.
55485         (jnf): Likewise.
55486         (jnl): Likewise.
55487         (yn): Likewise.
55488         (ynf): Likewise.
55489         (ynl): Likewise.
55490         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55491         line.
55492         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55493         "...".
55494         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55495         (sched_get_priority_max): Likewise.
55496         * manual/signal.texi (sigvec): Add space after comma.
55497         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55498         names.
55499         (if_indextoname): Likewise.
55500         (if_freenameindex): Likewise.
55501         (sendto): Use ',' instead of '.' in prototype.
55502         * manual/startup.texi (syscall): Use @dots{} instead of literal
55503         "...".
55504         * manual/stdio.texi (__fpending): Separate initial words of
55505         paragraph from @deftypefun line.
55506         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55507         "...".
55508         (vsyslog): Use @var{} on parameter names.
55509         * manual/terminal.texi (stty): Use @var{} on parameter names.
55510         * manual/users.texi (getutmp): Use @var{} on parameter names.
55511         (getutmpx): Likewise.
55513 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55515         [BZ #6884]
55516         * manual/stdio.texi (fopen): Fix typos in description of
55517         ",ccs=STRING".
55519 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55521         [BZ #4026]
55522         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55523         get clock_id definition.
55525 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55527         [BZ #4822]
55528         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55529         (madvise): Cast every argument to void on its own.
55531 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55533         [BZ #9902]
55534         * manual/startup.texi (Exit Status): Fix typo.
55536 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55538         [BZ #10140]
55539         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55540         * manual/examples/argp-ex2.c: Likewise.
55541         * manual/examples/argp-ex3.c: Likewise.
55543 2012-02-16  Richard Henderson  <rth@redhat.com>
55545         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55546         * sysdeps/s390/s390-32/initfini.c: Remove.
55547         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55548         * sysdeps/s390/s390-64/initfini.c: Remove.
55550 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55552         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55553         compiler output for sysdeps/generic/initfini.c.
55554         * sysdeps/sh/elf/initfini.c: Remove file.
55556 2012-02-16  David S. Miller  <davem@davemloft.net>
55558         [BZ #11494]
55559         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55561         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55562         * sysdeps/sparc/crti.S: New file.
55563         * sysdeps/sparc/crtn.S: New file.
55564         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55565         * sysdeps/sparc/sparc64/Makefile: Likewise.
55567 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55569         [BZ #3335]
55570         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55572 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55574         [BZ #4822]
55575         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55577         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55578         (write, read, close): Likewise.
55579         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55581 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55583         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55584         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55585         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55586         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55587         <bits/signalfd.h>.
55588         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55590         bits/signalfd.h.
55592 2012-02-14  Marek Polacek  <polacek@redhat.com>
55594         * sysdeps/x86_64/crti.S: New file.
55595         * sysdeps/x86_64/crtn.S: New file.
55596         * sysdeps/x86_64/elf/initfini.c: Remove file.
55598 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55600         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55601         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55602         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55603         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55604         <bits/inotify.h>.
55605         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55607         bits/inotify.h.
55609 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55611         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55612         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55613         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55614         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55615         <bits/eventfd.h>.
55616         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55618         bits/eventfd.h.
55620 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55622         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55623         __feraiseexcept instead of feraiseexcept.
55625         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55626         nanosleep invocations.
55627         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55628         strings, and add error checking for a nanosleep invocations.
55630 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55632         Replace FSF snail mail address with URLs, as per GNU coding standards.
55633         Most of the snail mail addresses were wrong anyway, and omitting
55634         them makes the source code easier to maintain.  Almost all of the
55635         changes are to license notices and to locale LC_IDENTIFICATION
55636         addresses, except for this one:
55637         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55638         not its snail mail address.
55640 2012-02-09  Richard Henderson  <rth@twiddle.net>
55642         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55643         of kernel-features.h.
55645         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55647 2012-02-08  Marek Polacek  <polacek@redhat.com>
55649         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55650         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55651         * sysdeps/gnu/_G_config.h: Likewise.
55652         * sysdeps/generic/_G_config.h: Likewise.
55654 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55656         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55657         tests.
55658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55660         * sysdeps/powerpc/powerpc32/crti.S: New file.
55661         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55662         * sysdeps/powerpc/powerpc64/crti.S: New file.
55663         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55665         * Makeconfig (have-initfini): Don't set.
55666         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55667         * configure.in (nopic_initfini): Don't substitute.
55668         * config.h.in (HAVE_INITFINI): Don't #undef.
55669         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55670         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55672 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55674         Support crti.S and crtn.S provided directly by architectures.
55675         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55676         [crti.S in sysdirs] (omit-deps): Likewise.
55677         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55678         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55679         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55680         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55681         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55682         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55683         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55684         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55685         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55686         compiler output for sysdeps/generic/initfini.c.
55687         * sysdeps/i386/elf/Makefile: Remove file.
55688         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55690 2012-02-07  Marek Polacek  <polacek@redhat.com>
55692         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55693         * sysdeps/gnu/_G_config.h: Likewise.
55694         * sysdeps/mach/hurd/_G_config.h: Likewise.
55696 2012-02-07  Marek Polacek  <polacek@redhat.com>
55698         * math/Makefile (tests): Add tst-CMPLX2.
55699         * math/tst-CMPLX2.c: New file.
55701 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55703         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55705         * math/libm-test.inc (jn_test): Add missing L suffix.
55707 2012-02-06  Marek Polacek  <polacek@redhat.com>
55709         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55710         * sysdeps/i386/fpu/e_powf.S: Likewise.
55711         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55712         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55713         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55714         * sysdeps/i386/fpu/e_pow.S: Likewise.
55715         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55716         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55717         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55718         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55719         * sysdeps/i386/fpu/e_log2.S: Likewise.
55720         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55721         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55722         * sysdeps/i386/fpu/e_powl.S: Likewise.
55723         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55724         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55725         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55726         * sysdeps/i386/fpu/e_logl.S: Likewise.
55727         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55728         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55729         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55730         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55731         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55732         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55733         * sysdeps/i386/fpu/e_log.S: Likewise.
55734         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55735         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55736         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55737         * sysdeps/i386/fpu/e_logf.S: Likewise.
55738         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55739         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55740         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55741         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55742         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55743         * sysdeps/i386/fpu/e_log10.S: Likewise.
55744         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55745         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55746         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55747         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55748         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55749         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55750         * sysdeps/i386/asm-syntax.h: Likewise.
55751         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55752         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55753         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55754         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55755         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55756         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55757         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55758         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55759         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55760         * sysdeps/powerpc/sysdep.h: Likewise.
55761         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55762         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55764 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55766         [BZ #411]
55767         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55769 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55771         * sysdeps/i386/sysdep.h: Include <features.h>.
55772         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55773         version.
55775 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55777         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55778         Define.
55779         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55780         LOAD_PIC_REG_STR.
55782 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55784         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55785         (SETUP_PIC_REG): Use GET_PC_THUNK.
55786         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55787         macro.
55789 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55791         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55792         for non-PIC compilation.
55793         (SETUP_PIC_REG): Add .p2align directive.
55794         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55795         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55796         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55797         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55798         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55799         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55800         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55801         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55802         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55803         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55804         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55805         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55806         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55807         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55808         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55809         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55810         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55811         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55812         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55813         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55814         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55815         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55816         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55817         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55818         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55819         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55820         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55821         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55822         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55823         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55824         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55825         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55826         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55827         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55828         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55829         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55830         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55831         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55832         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55833         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55834         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55836 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55838         * math/tst-CMPLX.c: Include <stdio.h>.
55840 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55842         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55843         float.
55844         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55845         * sysdeps/sparc/bits/mathdef.h: Likewise.
55847 2012-01-31  Marek Polacek  <polacek@redhat.com>
55849         * libio/libio.h: Don't define _PARAMS.
55850         * locale/programs/config.h: Don't define PARAMS.
55851         * stdlib/strtol_l.c: Likewise.
55852         (__strtol_l): Remove PARAMS from the prototype.
55854 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55856         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55857         names.  Just use the correct names.  Remove unnecessary wrapper
55858         functions.
55859         * malloc/arena.c: Likewise.
55860         * malloc/hooks.c: Likewise.
55862         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55863         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55864         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55866 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55868         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55869         into tail calls.
55870         (update_get_addr): New function.
55871         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55872         GET_ADDR_MODULE parameter.
55874 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55876         * crypt/cert.c: Remove __STDC__ conditionals.
55877         * crypt/crypt-entry.c: Likewise.
55878         * crypt/crypt_util.c: Likewise.
55879         * libio/filedoalloc.c: Likewise.
55880         * libio/fileops.c: Likewise.
55881         * libio/genops.c: Likewise.
55882         * libio/iofclose.c: Likewise.
55883         * libio/iofdopen.c: Likewise.
55884         * libio/iofopen.c: Likewise.
55885         * libio/iofopen64.c: Likewise.
55886         * libio/iogetdelim.c: Likewise.
55887         * libio/iopopen.c: Likewise.
55888         * libio/obprintf.c: Likewise.
55889         * libio/oldfileops.c: Likewise.
55890         * libio/oldiofclose.c: Likewise.
55891         * libio/oldiofdopen.c: Likewise.
55892         * libio/oldiofopen.c: Likewise.
55893         * libio/oldiopopen.c: Likewise.
55894         * libio/wfiledoalloc.c: Likewise.
55895         * libio/wgenops.c: Likewise.
55896         * locale/programs/xmalloc.c: Likewise.
55897         * misc/syslog.c: Likewise.
55898         * stdio-common/xbug.c: Likewise.
55899         * string/memchr.c: Likewise.
55900         * string/memcmp.c: Likewise.
55901         * string/memrchr.c: Likewise.
55902         * string/rawmemchr.c: Likewise.
55903         * sysdeps/posix/getcwd.c: Likewise.
55904         * time/strftime_l.c: Likewise.
55906 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55908         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55909         * config.make.in (config-cflags-sse2avx): Define.
55910         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55911         Fix typo.
55913 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55915         * scripts/config.guess: Update from upstream config git repository.
55916         * scripts/config.sub: Likewise.
55918 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55920         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55921         (EM_NUM): Update.
55922         (R_TILEPRO_*, R_TILEGX_*): New macros.
55924         * scripts/firstversions.awk: Fix bug in version range handling.
55926         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55928         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55930         * include/sys/epoll.h: New file.
55931         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55932         libc_hidden_def.
55934 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55936         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55937         Avoid unnecessary __WORDSIZE == 64 test.
55938         (fmaxf): Use VEX format if possible.
55939         (fmax): Likewise.
55940         (fminf): Likewise.
55941         (fmin): Likewise.
55943         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55944         * math/math_private.h: Remove libc_fegetround* and
55945         libc_fesetround*.
55946         * sysdeps/i386/configure.in: Check for -msse2avx.
55947         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55948         also if SSE2AVX is defined.
55949         Remove libc_fegetround* and libc_fesetround*.
55950         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55951         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55952         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55953         of HAS_YMM_USABLE.
55954         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55955         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55956         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55957         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55958         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55960         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55962 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55964         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55965         size is not set.
55966         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55968 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55970         [BZ #13618]
55971         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55972         relocation.
55973         * Makeconfig (libm): Define.
55974         * elf/Makefile: Add rules to build and run tst-relsort1.
55975         * elf/tst-relsort1.c: New file.
55976         * elf/tst-relsort1mod1.c: New file.
55977         * elf/tst-relsort1mod2.c: New file.
55979 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55981         * math/s_ldexp.c: Remove __STDC__ conditionals.
55982         * math/s_ldexpf.c: Likewise.
55983         * math/s_ldexpl.c: Likewise.
55984         * math/s_nextafter.c: Likewise.
55985         * math/s_nexttowardf.c: Likewise.
55986         * math/s_significand.c: Likewise.
55987         * math/s_significandf.c: Likewise.
55988         * math/s_significandl.c: Likewise.
55989         * math/w_jnl.c: Likewise.
55990         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55991         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55992         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55993         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55994         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55995         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55996         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55997         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55998         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55999         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56000         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56001         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56002         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56003         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56004         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56005         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56006         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56007         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56008         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56009         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56010         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56011         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56012         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56013         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56014         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56015         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56016         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56017         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56018         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56019         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56020         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56021         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56022         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56023         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56024         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56025         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56026         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56027         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56028         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56029         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56030         * sysdeps/ieee754/k_standard.c: Likewise.
56031         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56032         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56033         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56034         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56035         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56036         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56037         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56038         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56039         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56040         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56041         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56042         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56043         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56044         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56045         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56046         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56047         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56048         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56049         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56050         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56051         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56052         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56053         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56054         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56055         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56056         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56057         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56058         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56059         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56060         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56061         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56062         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56063         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56064         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56065         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56066         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56067         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56068         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56069         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56070         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56071         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56072         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56073         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56074         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56075         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56076         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56077         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56078         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56079         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56080         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56081         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56082         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56083         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56084         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56085         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56086         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56087         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56088         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56089         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56090         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56091         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56092         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56093         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56094         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56095         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56096         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56097         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56098         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56099         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56100         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56101         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56102         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56103         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56104         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56105         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56106         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56107         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56108         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56109         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56110         * sysdeps/ieee754/s_matherr.c: Likewise.
56111         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56112         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56113         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56114         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56116 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56118         * crypt/md5.h: Remove __STDC__ conditionals.
56119         * libio/libioP.h: Likewise.
56120         * locale/programs/config.h: Likewise.
56121         * sysdeps/generic/sysdep.h: Likewise.
56122         * sysdeps/i386/asm-syntax.h: Likewise.
56123         * sysdeps/s390/asm-syntax.h: Likewise.
56124         * sysdeps/unix/sysdep.h: Likewise.
56125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56128 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56130         * libio/libio.h: Remove __STDC__ conditionals.
56131         * malloc/obstack.h: Likewise.
56132         * math/complex.h: Likewise.
56133         * math/math.h: Likewise.
56134         * sysdeps/generic/_G_config.h: Likewise.
56135         * sysdeps/gnu/_G_config.h: Likewise.
56136         * sysdeps/mach/hurd/_G_config.h: Likewise.
56137         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56138         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56139         * sysdeps/sparc/bits/mathdef.h: Likewise.
56141 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56143         [BZ #13583]
56144         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56145         Clean up HAS_* macros.
56146         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56147         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56148         possible.
56149         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56150         HAS_AVX.
56151         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56152         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56153         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56154         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56155         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56157 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56159         * elf/tst-unique3.cc (gets): Remove declaration.
56160         * elf/tst-unique3lib.cc (gets): Likewise.
56161         * elf/tst-unique3lib2.cc (gets): Likewise.
56162         * elf/tst-unique4.cc (gets): Likewise.
56164 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56166         * include/stdio.h: Add C++ protection.  Add gets declarations and
56167         definitions.
56168         * debug/tst-chk1.c: Don't declare gets here.
56169         * stdio-common/tst-gets.c: Likewise.
56171 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56173         * posix/glob: Remove directory.
56175 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56177         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56179 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56181         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56182         of the non-standard EPFNOSUPPORT.
56184 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56186         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56187         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56188         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56190 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56192         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56194 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56196         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56197         transient errors.
56198         * nscd/grpcache.c (cache_addgr): Likewise.
56199         * nscd/hstcache.c (cache_addhst): Likewise.
56200         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56201         * nscd/pwdcache.c (cache_addpw): Likewise.
56202         * nscd/servicescache.c (cache_addserv): Likewise.
56204 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56206         * malloc/malloc.c: Various cleanups.
56207         * malloc/hooks.c: Likewise.
56209         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56210         * stdlib/bug-fmtmsg1.c: New file.
56212         * stdlib/fmtmsg.c (init): Add missing unlock.
56213         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56215 2012-01-12  Marek Polacek  <polacek@redhat.com>
56217         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56218         and _GNU_SOURCE.
56220 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56222         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56223         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56224         macro to ensure uniqueness of label name.
56225         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56226         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56228 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56230         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56232         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56233         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56234         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56235         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56237 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56239         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56241         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56242         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56243         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56245         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56247         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56248         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56249         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56250         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56252         * math/bits/math-finite.h: Add ldexp support.
56254 2012-01-10  Marek Polacek  <polacek@redhat.com>
56256         * locale/programs/localedef.h (show_archive_content): Add noreturn
56257         attribute.
56259 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56261         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56263 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56265         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56267         * io/Makefile (headers): Add bits/poll2.h.
56269 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56272         typo #include statement.
56274 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56276         * include/sys/cdefs.h: Define __attribute_alloc_size.
56277         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56278         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56279         * elf/pldd.c: Likewise.
56280         * iconv/iconv_charmap.c: Likewise.
56281         * iconv/iconvconfig.c: Likewise.
56282         * iconv/strtab.c: Likewise.
56283         * locale/programs/locale.c: Likewise.
56284         * locale/programs/localedef.h: Likewise.
56285         * locale/programs/simple-hash.c: Likewise.
56286         * nscd/nscd.h: Likewise.
56287         * nss/makedb.c: Likewise.
56288         * sysdeps/generic/ldconfig.h: Likewise.
56289         * locale/programs/localedef.c: Remove xmalloc prototype.
56290         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56292 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56294         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56295         appropriate.
56297 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56299         * math/Makefile (tests): Add tst-CMPLX.
56300         * math/tst-CMPLX.c: New file.
56302         * math/complex.h (CMPLXL): Fix typo.
56304         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56305         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56306         GLIBC_2.16.
56307         * debug/tst-chk1.c: Add poll and ppoll tests.
56308         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56309         * include/sys/poll.h: Add hidden proto for ppoll.
56310         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56311         * sysdeps/mach/hurd/ppoll.c: Likewise.
56312         * io/ppoll.c: Likewise.
56313         * debug/poll_chk.c: New file.
56314         * debug/ppoll_chk.c: New file.
56315         * include/bits/poll2.h: New file.
56316         * io/bits/poll2.h: New file.
56318         [BZ #1350]
56319         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56321         * configure.in: static is always set to yes.  Remove.
56322         * config.make.in: Don't set build-static.
56323         * Makeconfig: Remove use of build-static.
56324         * dlfcn/Makefile: Likewise.
56325         * elf/Makefile: Likewise.
56326         * math/Makefile: Likewise.
56327         * misc/Makefile: Likewise.
56328         * nptl/Makefile: Likewise.
56329         * sysdeps/mach/hurd/Makefile: Likewise.
56331         * configure.in: PWD_P is not used anymore.
56332         * config.make.in: Remove PWD_P entry.
56334         * configure.in: Remove last remnants of RANLIB.
56335         No need to check for signed size_t anymore.
56336         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56337         and IA-64.
56338         Remove __builtin_expect test because we require at least gcc 3.4.
56339         * aclocal.m4: Likewise.
56341         * wcsmbs/mbrtoc16.c: Implement using towc function.
56342         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56343         * wcsmbs/wcsmbsload.c: Likewise.
56344         * iconv/gconv_simple.c: Likewise.
56345         * iconv/gconv_int.h: Likewise.
56346         * iconv/gconv_builtin.h: Likewise.
56347         * iconv/iconv_prog.c: Remove CHAR16 handling.
56349         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56351         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56353         * configure.in: Remove --with-elf and --enable-bounded options.
56354         Dont set base_machine for ia64.  More non-ELF conditions removed.
56355         Remove testing and setting of leading underscore information.
56356         * config.make.in (build-bounded): Set to no.
56357         * config.h.in: Remove NO_UNDERSCORES entry.
56358         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56359         them.
56360         * csu/start.c: Remove !NO_UNDERSCORE code.
56361         * locale/localeinfo.h: Likewise.
56362         * sysdeps/generic/machine-gmon.h: Likewise.
56363         * sysdeps/generic/sysdep.h: Likewise.
56364         * sysdeps/i386/sysdep.h: Likewise.
56365         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56366         * sysdeps/mach/sysdep.h: Likewise.
56367         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56368         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56369         * sysdeps/sh/sysdep.h: Likewise.
56370         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56371         * sysdeps/unix/i386/sysdep.S: Likewise.
56372         * sysdeps/unix/sparc/start.c: Likewise.
56373         * sysdeps/unix/sparc/sysdep.S: Likewise.
56374         * sysdeps/unix/sparc/sysdep.h: Likewise.
56375         * sysdeps/unix/start.c: Likewise.
56376         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56377         * sysdeps/x86_64/sysdep.h: Likewise.
56379 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56381         [BZ #13553]
56382         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56383         for non-gcc.
56384         * argp/argp-fmtstream.h: Use const instead __const.
56385         * argp/argp.h: Likewise.
56386         * assert/assert.h: Likewise.
56387         * bits/fenv.h: Likewise.
56388         * bits/sched.h: Likewise.
56389         * bits/sigset.h: Likewise.
56390         * bits/sigthread.h: Likewise.
56391         * catgets/nl_types.h: Likewise.
56392         * conform/data/pthread.h-data: Likewise.
56393         * crypt/crypt-private.h: Likewise.
56394         * crypt/crypt.h: Likewise.
56395         * crypt/crypt_util.c: Likewise.
56396         * ctype/ctype.h: Likewise.
56397         * debug/execinfo.h: Likewise.
56398         * debug/mbsnrtowcs_chk.c: Likewise.
56399         * debug/mbsrtowcs_chk.c: Likewise.
56400         * debug/wcsnrtombs_chk.c: Likewise.
56401         * debug/wcsrtombs_chk.c: Likewise.
56402         * debug/wcstombs_chk.c: Likewise.
56403         * dirent/dirent.h: Likewise.
56404         * dlfcn/dlfcn.h: Likewise.
56405         * elf/neededtest4.c: Likewise.
56406         * grp/grp.h: Likewise.
56407         * gshadow/gshadow.h: Likewise.
56408         * iconv/gconv.h: Likewise.
56409         * iconv/gconv_int.h: Likewise.
56410         * iconv/gconv_simple.c: Likewise.
56411         * iconv/iconv.h: Likewise.
56412         * iconv/loop.c: Likewise.
56413         * iconv/skeleton.c: Likewise.
56414         * include/aio.h: Likewise.
56415         * include/aliases.h: Likewise.
56416         * include/argz.h: Likewise.
56417         * include/arpa/inet.h: Likewise.
56418         * include/assert.h: Likewise.
56419         * include/dirent.h: Likewise.
56420         * include/dlfcn.h: Likewise.
56421         * include/execinfo.h: Likewise.
56422         * include/fcntl.h: Likewise.
56423         * include/fenv.h: Likewise.
56424         * include/glob.h: Likewise.
56425         * include/grp.h: Likewise.
56426         * include/libintl.h: Likewise.
56427         * include/mntent.h: Likewise.
56428         * include/netdb.h: Likewise.
56429         * include/pwd.h: Likewise.
56430         * include/rpc/netdb.h: Likewise.
56431         * include/sched.h: Likewise.
56432         * include/search.h: Likewise.
56433         * include/shadow.h: Likewise.
56434         * include/signal.h: Likewise.
56435         * include/stdio.h: Likewise.
56436         * include/stdlib.h: Likewise.
56437         * include/string.h: Likewise.
56438         * include/sys/socket.h: Likewise.
56439         * include/sys/stat.h: Likewise.
56440         * include/sys/statfs.h: Likewise.
56441         * include/sys/statvfs.h: Likewise.
56442         * include/sys/syslog.h: Likewise.
56443         * include/sys/time.h: Likewise.
56444         * include/sys/uio.h: Likewise.
56445         * include/time.h: Likewise.
56446         * include/unistd.h: Likewise.
56447         * include/utmp.h: Likewise.
56448         * include/wchar.h: Likewise.
56449         * include/wctype.h: Likewise.
56450         * inet/aliases.h: Likewise.
56451         * inet/arpa/inet.h: Likewise.
56452         * inet/netinet/ether.h: Likewise.
56453         * inet/netinet/in.h: Likewise.
56454         * intl/libintl.h: Likewise.
56455         * io/bits/fcntl2.h: Likewise.
56456         * io/fcntl.h: Likewise.
56457         * io/ftw.h: Likewise.
56458         * io/sys/poll.h: Likewise.
56459         * io/sys/stat.h: Likewise.
56460         * io/sys/statfs.h: Likewise.
56461         * io/sys/statvfs.h: Likewise.
56462         * io/utime.h: Likewise.
56463         * libio/bits/stdio.h: Likewise.
56464         * libio/bits/stdio2.h: Likewise.
56465         * libio/libio.h: Likewise.
56466         * libio/libioP.h: Likewise.
56467         * libio/stdio.h: Likewise.
56468         * locale/lc-ctype.c: Likewise.
56469         * locale/locale.h: Likewise.
56470         * login/utmp.h: Likewise.
56471         * malloc/arena.c: Likewise.
56472         * malloc/malloc.c: Likewise.
56473         * malloc/malloc.h: Likewise.
56474         * malloc/mcheck.c: Likewise.
56475         * malloc/mtrace.c: Likewise.
56476         * math/bits/mathcalls.h: Likewise.
56477         * math/fenv.h: Likewise.
56478         * math/math_private.h: Likewise.
56479         * misc/bits/error.h: Likewise.
56480         * misc/bits/syslog.h: Likewise.
56481         * misc/err.h: Likewise.
56482         * misc/error.h: Likewise.
56483         * misc/fstab.h: Likewise.
56484         * misc/mntent.h: Likewise.
56485         * misc/regexp.h: Likewise.
56486         * misc/search.h: Likewise.
56487         * misc/sgtty.h: Likewise.
56488         * misc/sys/mman.h: Likewise.
56489         * misc/sys/syslog.h: Likewise.
56490         * misc/sys/uio.h: Likewise.
56491         * misc/sys/xattr.h: Likewise.
56492         * misc/ttyent.h: Likewise.
56493         * nis/rpcsvc/ypclnt.h: Likewise.
56494         * nss/nss.h: Likewise.
56495         * posix/bits/unistd.h: Likewise.
56496         * posix/fnmatch.h: Likewise.
56497         * posix/glob.h: Likewise.
56498         * posix/sched.h: Likewise.
56499         * posix/spawn.h: Likewise.
56500         * posix/sys/wait.h: Likewise.
56501         * posix/unistd.h: Likewise.
56502         * posix/wordexp.h: Likewise.
56503         * pwd/pwd.h: Likewise.
56504         * resolv/netdb.h: Likewise.
56505         * resource/sys/resource.h: Likewise.
56506         * rt/aio.h: Likewise.
56507         * rt/bits/mqueue2.h: Likewise.
56508         * rt/mqueue.h: Likewise.
56509         * shadow/shadow.h: Likewise.
56510         * signal/signal.h: Likewise.
56511         * socket/send.c: Likewise.
56512         * socket/sendto.c: Likewise.
56513         * socket/sys/socket.h: Likewise.
56514         * stdio-common/printf.h: Likewise.
56515         * stdlib/bits/stdlib.h: Likewise.
56516         * stdlib/fmtmsg.h: Likewise.
56517         * stdlib/monetary.h: Likewise.
56518         * stdlib/stdlib.h: Likewise.
56519         * stdlib/ucontext.h: Likewise.
56520         * streams/stropts.h: Likewise.
56521         * string/argz.h: Likewise.
56522         * string/bits/string2.h: Likewise.
56523         * string/string.h: Likewise.
56524         * string/strings.h: Likewise.
56525         * sunrpc/rpc/auth.h: Likewise.
56526         * sunrpc/rpc/auth_des.h: Likewise.
56527         * sunrpc/rpc/clnt.h: Likewise.
56528         * sunrpc/rpc/netdb.h: Likewise.
56529         * sunrpc/rpc/pmap_clnt.h: Likewise.
56530         * sunrpc/rpc/xdr.h: Likewise.
56531         * sysdeps/generic/inttypes.h: Likewise.
56532         * sysdeps/generic/net/if.h: Likewise.
56533         * sysdeps/generic/sys/swap.h: Likewise.
56534         * sysdeps/gnu/net/if.h: Likewise.
56535         * sysdeps/gnu/utmpx.h: Likewise.
56536         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56537         * sysdeps/i386/i486/bits/string.h: Likewise.
56538         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56539         * sysdeps/s390/bits/string.h: Likewise.
56540         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56541         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56542         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56543         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56544         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56545         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56546         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56547         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56548         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56549         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56550         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56551         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56552         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56553         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56554         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56555         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56556         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56557         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56558         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56559         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56560         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56561         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56562         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56563         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56564         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56565         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56566         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56567         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56568         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56569         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56570         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56571         * sysvipc/sys/ipc.h: Likewise.
56572         * sysvipc/sys/msg.h: Likewise.
56573         * sysvipc/sys/sem.h: Likewise.
56574         * sysvipc/sys/shm.h: Likewise.
56575         * termios/termios.h: Likewise.
56576         * time/sys/time.h: Likewise.
56577         * time/time.h: Likewise.
56578         * wcsmbs/bits/wchar2.h: Likewise.
56579         * wcsmbs/uchar.h: Likewise.
56580         * wcsmbs/wchar.h: Likewise.
56581         * wctype/wctype.h: Likewise.
56583         [BZ #13551]
56584         * Makeconfig: Remove all but ELF support including AIX support.
56585         * Makerules: Likewise.
56586         * config.h.in: Likewise.
56587         * config.make.in: Likewise.
56588         * configure: Likewise.
56589         * configure.in: Likewise.
56590         * csu/Makefile: Likewise.
56591         * csu/version.c: Likewise.
56592         * debug/Makefile: Likewise.
56593         * dlfcn/Makefile: Likewise.
56594         * elf/Makefile: Likewise.
56595         * extra-lib.mk: Likewise.
56596         * iconv/Makefile: Likewise.
56597         * include/libc-symbols.h: Likewise.
56598         * include/shlib-compat.h: Likewise.
56599         * resolv/Makefile: Likewise.
56600         * resolv/res_libc.c: Likewise.
56601         * rt/Makefile: Likewise.
56602         * sysdeps/i386/asm-syntax.h: Likewise.
56603         * sysdeps/i386/sysdep.h: Likewise.
56604         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56605         * sysdeps/mach/sysdep.h: Likewise.
56606         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56607         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56608         * sysdeps/s390/asm-syntax.h: Likewise.
56609         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56610         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56611         * sysdeps/sh/sysdep.h: Likewise.
56612         * sysdeps/unix/sparc/sysdep.h: Likewise.
56613         * sysdeps/wordsize-32/divdi3.c: Likewise.
56614         * sysdeps/x86_64/sysdep.h: Likewise.
56616         * argp/Versions: Remove _argp_unlock_xxx.
56618         [BZ #13559]
56619         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56620         * abilist/libBrokenLocale.abilist: Likewise.
56621         * abilist/libanl.abilist: Likewise.
56622         * abilist/libc.abilist: Likewise.
56623         * abilist/libcrypt.abilist: Likewise.
56624         * abilist/libdl.abilist: Likewise.
56625         * abilist/libm.abilist: Likewise.
56626         * abilist/libnsl.abilist: Likewise.
56627         * abilist/libpthread.abilist: Likewise.
56628         * abilist/libresolv.abilist: Likewise.
56629         * abilist/librt.abilist: Likewise.
56630         * abilist/libthread_db.abilist: Likewise.
56631         * abilist/libutil.abilist: Likewise.
56632         * abilist/libnss_db.abilist: New file.
56634         * scripts/abilist.awk: Add support for indirect functions.
56636         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56638         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56640         * shlib-versions: Remove entries for ports architectures.
56642         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56643         files in ports.
56644         * elf/stackguard-macros.h: Remove support for IA-64.
56645         * elf/tst-auditmod1.c: Likewise.
56646         * sysdeps/generic/ldsodefs.h: Likewise.
56648         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56649         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56650         configure files.
56652         [BZ #13552]
56653         * configure.in: Remove --enable-omitfp support.
56654         * FAQ.in: Adjust.
56655         * config.make.in: Likewise.
56656         * Makeconfig: Likewise.
56657         * manual/install.texi: Likewise.
56659         In case anyone cares, the IA-64 architecture could move to ports.
56660         * sysdeps/ia64/*: Removed.
56661         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56662         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56664         [BZ #13555]
56665         * configure.in: Remove entries for unsupported architectures.
56667         [BZ #13533]
56668         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56669         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56670         routines.
56671         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56672         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56673         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56674         fall back to using wcrtomb.
56675         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56676         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56677         renaming.
56678         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56679         * wcsmbs/tst-c16c32-1.c: New file.
56681         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56682         local variable.
56684         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56686         * elf/tst-unique3.cc: Add explicit declaration of gets.
56687         * elf/tst-unique3lib.cc: Likewise.
56688         * elf/tst-unique3lib2.cc: Likewise.
56689         * elf/tst-unique4.cc: Likewise.
56691         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56693 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56695         [BZ #13566]
56696         * assert/assert.h (static_assert): Don't define for C++.
56697         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56698         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56700 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56702         * iconv/loop.c (single loop): Fix assertion in storing of
56703         remaining bytes.
56705         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56707 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56709         * posix/getconf.c: Update copyright year.
56710         * nss/getent.c: Likewise.
56711         * nss/makedb.c: Likewise.
56712         * iconv/iconvconfig.c: Likewise.
56713         * iconv/iconv_prog.c: Likewise.
56714         * elf/ldconfig.c: Likewise.
56715         * elf/pldd.c: Likewise.
56716         * elf/sotruss.ksh: Likewise.
56717         * catgets/gencat.c: Likewise.
56718         * csu/version.c: Likewise.
56719         * elf/ldd.bash.in: Likewise.
56720         * elf/sprof.c (print_version): Likewise.
56721         * locale/programs/locale.c: Likewise.
56722         * locale/programs/localedef.c: Likewise.
56723         * login/programs/pt_chown.c: Likewise.
56724         * nscd/nscd.c (print_version): Likewise.
56725         * debug/xtrace.sh: Likewise.
56726         * malloc/memusage.sh: Likewise.
56727         * malloc/mtrace.pl: Likewise.
56728         * debug/catchsegv.sh: Likewise.
56730 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56732         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56733         pure attribute.
56735 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56737         [BZ #13533]
56738         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56739         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56740         transformations.
56741         * iconv/gconv_int.h: Likewise.
56742         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56743         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56744         from libc for GLIBC_2.16.
56745         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56746         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56747         * wcsmbs/uchar.h: Really define mbstate_t.
56748         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56749         * wcsmbs/c16rtomb.c: New file.
56750         * wcsmbs/mbrtoc16.c: New file.
56751         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56752         for C/POSIX locale.
56753         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56754         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56756         * wcsmbs/wchar.h: Add missing __restrict.
56758 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56760         [BZ #13532]
56761         * time/Makefile (routines): Add timespec_get.
56762         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56763         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56764         timespec for ISO C11.
56765         * time/timespec_get.c: New file.
56766         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56767         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56769         [BZ #13531]
56770         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56771         * stdlib/stdlib.h: Declare aligned_alloc.
56772         * Versions.def: Add GLIBC_2.16 for libc.
56773         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56775         [BZ 13527]
56776         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56777         ISO C11.
56779         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56780         code.
56782         [BZ #13528]
56783         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56785         [BZ #13529]
56786         * assert/assert.h (static_assert): Define.
56788         * version.h: Update for 2.16 development version.
56790         [BZ #13526]
56791         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56792         _ISOC11_SOURCE.
56794         * version.h (RELEASE): Bump for 2.15 release.
56795         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56797         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56798         Patch by Marek Polacek <mpolacek@redhat.com>.
56800         * bits/byteswap.h: Protect long long constants with __extension__.
56801         * sysdeps/i386/bits/byteswap.h: Likewise.
56802         * sysdeps/ia64/bits/byteswap.h: Likewise.
56803         * sysdeps/s390/bits/byteswap.h: Likewise.
56804         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56806 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56808         [BZ #13540]
56809         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56810         destination buffer.
56811         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56813 2011-12-23  Marek Polacek  <polacek@redhat.com>
56815         * elf/dl-addr.c (determine_info): Add inline keyword.
56816         * elf/tst-auditmod4b.c (check_avx): Likewise.
56817         * elf/tst-auditmod6b.c (check_avx): Likewise.
56818         * elf/tst-auditmod6c.c (check_avx): Likewise.
56819         * elf/tst-auditmod7b.c (check_avx): Likewise.
56821 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56823         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56824         !__SSE_MATH__.
56826 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56828         [BZ #13540]
56829         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56830         processing for last bytes.
56832 2011-08-06  Bruno Haible  <bruno@clisp.org>
56834         [BZ #13061]
56835         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56836         U+0385, not to U+1FEE.
56838         [BZ #13062]
56839         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56840         entry for U+00A5 U+0301.
56842 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56844         [BZ #13166]
56845         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56846         buffer for the output is too small.
56848         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56849         optimization.
56851         [BZ #13185]
56852         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56853         SSE flags if possible.
56855 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56857         [BZ #13540]
56858         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56859         processing for last bytes.
56861 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56863         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56864         (syscall-list-default-options, syscall-list-default-condition)
56865         (syscall-list-includes): Define.
56866         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56867         list of ABIs and options and #if conditions for each ABI.  Do not
56868         handle common syscalls between ABIs specially.
56869         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56870         Remove.
56871         (syscall-list-variants, syscall-list-32bit-options)
56872         (syscall-list-32bit-condition, syscall-list-64bit-options)
56873         (syscall-list-64bit-condition): Define.
56874         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56875         (syscall-list-variants, syscall-list-32bit-options)
56876         (syscall-list-32bit-condition, syscall-list-64bit-options)
56877         (syscall-list-64bit-condition): Define.
56878         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56879         Remove.
56880         (syscall-list-variants, syscall-list-32bit-options)
56881         (syscall-list-32bit-condition, syscall-list-64bit-options)
56882         (syscall-list-64bit-condition): Define.
56883         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56884         Remove.
56885         (syscall-list-variants, syscall-list-32bit-options)
56886         (syscall-list-32bit-condition, syscall-list-64bit-options)
56887         (syscall-list-64bit-condition): Define.
56889 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56891         * locale/iso-639.def: Add brx entry.
56893         [BZ #13328]
56894         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56895         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56897         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56898         __feraiseexcept_renamed.
56900 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56902         [BZ #13538]
56903         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56904         EPOLLET with unsigned values.
56905         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56906         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56908         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56909         to large cancellation.
56910         * math/s_cacoshf.c: Likewise.
56911         * math/s_cacoshl.c: Likewise.
56913 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56915         [BZ #13305]
56916         [BZ #12786]
56917         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56918         * math/s_cacoshf.c: Likewise.
56919         * math/s_cacoshl.c: Likewise.
56921 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56923         [BZ #13439]
56924         * iconv/gconv.h: Define __GCONV_SWAP.
56925         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56926         * iconvdata/utf-16.c: Likewise.
56927         * iconvdata/utf-32.c: Likewise.
56929 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56931         [BZ #13524]
56932         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56933         numerator after shifting it by one limb.
56935 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56937         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56938         under [__USE_EXTERN_INLINES].
56940 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56942         [BZ #13446]
56943         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56945 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56947         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56948         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56949         optimized code.
56950         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56951         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56952         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56953         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56954         for strncasecmp/strncasecmp_l compilation.
56955         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56956         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56958 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56960         [BZ #13484]
56961         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56962         of __asm__.
56964 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56966         [BZ #13506]
56967         * time/tzfile.c (__tzfile_read): Check values from file header.
56969 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56971         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56972         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56973         * powerpc/powerpc32/dl-start.S: Likewise.
56974         * powerpc/powerpc32/elf/start.S: Likewise.
56975         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56976         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56977         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56978         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56979         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56980         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56981         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56982         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56983         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56984         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56985         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56986         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56987         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56988         * powerpc/powerpc32/memset.S: Likewise.
56989         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56990         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56991         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56992         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56993         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56994         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56995         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56996         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56997         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56998         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56999         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57000         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57001         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57003 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57005         * math/libm-test.inc: Added more nearbyint tests.
57006         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57007         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57008         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57009         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57011 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57013         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57014         FD_CLOEXEC.
57016 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57018         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57019         Add wcscpy-ssse3 wcscpy-c.
57020         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57021         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57022         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57023         * sysdeps/x86_64/wcschr.S: New file.
57024         * sysdeps/x86_64/wcsrchr.S: New file.
57025         * string/test-strcmp.c: Remove checking of wcscmp function for
57026         wrong alignments.
57027         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57028         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57029         wcsrchr-sse2 wcsrchr-c.
57030         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57031         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57032         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57033         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57034         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57035         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57036         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57037         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57038         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57039         * wcsmbc/wcschr.c (WCSCHR): New macro.
57041 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57043         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57044         * wcsmbs/test-wcsrchr.c: New file.
57045         * string/test-strrchr.c: Add wcsrchr support.
57046         (WIDE): New macro.
57047         * wcsmbs/test-wcscpy.c: New file.
57048         * string/test-strcpy.c: Add wcscpy support.
57049         (WIDE): New macro.
57051 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57053         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57054         the inner loop.
57056 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57058         [BZ #13472]
57059         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57061 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57063         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57064         Minor optimizations.
57066         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57067         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57068         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57070 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57072         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57073         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57074         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57075         for gcc to avoid warnings.
57076         * inet/Makefile (tests): Add tst-checks.
57077         * inet/tst-checks.c: New file.
57079         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57080         warning.
57082         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57083         __wmemcmp_sse2.
57085         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57086         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57088         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57090 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57092         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57093         problem.
57095         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57097 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57099         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57100         conditional on GCC version.
57101         (__arch_compare_and_exchange_val_8_acq)
57102         (__arch_compare_and_exchange_val_16_acq)
57103         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57104         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57105         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57107 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57109         * sysdeps/sh/backtrace.c: New file.
57111 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57113         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57114         parenthesis.
57116 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57118         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57119         falling back to utime.
57121 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57123         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57124         expectations for float.
57126 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57128         * locale/weight.h (findidx): Add parameter len.
57129         * locale/weightwc.h (findidx): Likewise.
57130         * posix/fnmatch_loop.c (FCT): Adjust caller.
57131         * posix/regcomp.c (build_equiv_class): Likewise.
57132         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57133         * posix/regexec.c (check_node_accept_bytes): Likewise.
57134         * string/strcoll_l.c (STRCOLL): Likewise.
57135         * string/strxfrm_l.c (STRXFRM): Likewise.
57137 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57139         * Makefile.in: Remove CVSOPT handling.
57140         * configure.in: Remove use of AC_REVISION.
57141         * iconvdata/Makefile (distribute): No need to filter out CVS.
57142         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57143         handling.
57145 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57147         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57148         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57149         [USE_AS_STRNCASECMP_L]: Likewise.
57150         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57151         NO_TLS_DIRECT_SEG_REFS.
57152         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57153         Fix argument offsets for non-PIC.
57154         [USE_AS_STRNCASECMP_L]: Likewise.
57155         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57156         NO_TLS_DIRECT_SEG_REFS.
57158 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57160         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57161         O_CLOEXEC.
57162         * locale/loadlocale.c (_nl_load_locale): Likewise.
57164 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57166         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57167         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57168         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57169         (SYSCALL_GETTIME): Set errno on error.
57171         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57172         count references to noai6ai_cached.
57174 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57176         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57178         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57179         FD_CLOEXEC for /proc/self/maps.
57181         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57182         FD_CLOEXEC for /proc/meminfo.
57184         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57185         gai.conf.
57187         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57188         FD_CLOEXEC for given file.
57190         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57192         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57193         FD_CLOEXEC for /etc/hosts.
57194         (_gethtent): Likewise.
57196         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57198         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57199         cancellation and set FD_CLOEXEC for /etc/netgroup.
57201         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57202         reading /etc/publickey.
57204         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57205         allow cancellation when reading /etc/group.
57207         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57208         cancellation.
57209         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57211         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57212         when using data file.
57214         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57216         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57217         (write_nis_obj): Use "c" and "e" in fopen.
57219         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57221         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57223         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57225         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57227         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57228         locale.alias.
57230         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57232         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57234         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57236         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57237         file parsing and set FD_CLOEXEC.
57239 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57241         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57243 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57245         * malloc/arena.c (arena_get2): Don't call reused_arena when
57246         _int_new_arena failed.
57248 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57250         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57251         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57252         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57253         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57254         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57255         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57256         to compile strcasecmp and strncasecmp.
57257         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57258         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57260         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57262 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57264         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57265         locale-defines.sym to gen-as-const-headers.
57266         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57267         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57268         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57269         to compile strcasecmp and strncasecmp.
57270         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57271         strcasecmp_l and strncasecmp_l.
57272         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57273         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57274         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57275         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57276         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57277         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57278         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57279         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57280         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57281         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57282         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57284 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57286         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57287         result of SYSDEP_GETTIME_CPU to retval.
57288         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57289         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57291         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57292         variable.
57294         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57295         mantissa words.
57296         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57298         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57299         from unused variable.
57301         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57302         DWARF definitions.
57303         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57304         for assembling.
57306         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57307         over namespaces.
57309         * sunrpc/rpc_prot.c (rejected): Fix case value.
57311         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57312         unsigned long long int to avoid warnings in shift.
57314         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57315         of use of trans.
57316         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57317         variable tmp.
57319         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57320         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57321         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57323         * nis/nis_table.c (nis_list): Use variable of correct type for
57324         result of __follow_path call.
57326 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57328         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57329         of math functions ceil, trunc, floor, round, and sqrt, when
57330         avaliable on the platform.
57331         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57332         name clash.
57333         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57334         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57335         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57337 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57339         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57340         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57342 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57344         * include/unistd.h: Fix __readlink return type.
57345         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57347 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57349         * stdlib/ucontext.h: Undo last change for makecontext.
57351 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57353         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57355         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57356         * setjmp/setjmp.h: Mark functions as non-leaf.
57357         * setjmp/bits/setjmp2.h: Likewise.
57358         * stdlib/ucontext.h: Likewise.
57360 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57362         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57363         (reused_arena): Don't check arena limit.
57364         (arena_get2): Atomically check arena limit.
57366 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57368         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57369         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57371         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57372         instructions.
57374 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57376         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57377         handler when locking.
57379         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57380         Fix size of allocated buffer.
57382 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57384         [BZ #10103]
57385         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57386         declarations for long double functions.
57387         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57389         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57391 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57393         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57394         installed.
57396         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57397         is disabled.
57399 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57401         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57403 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57405         * include/alloca.h (stackinfo_alloca_round): Define.
57406         (extend_alloca): Use it.
57407         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57408         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57409         here.
57411         * scripts/check-local-headers.sh: Ignore libaudit.h.
57413         * nscd/Makefile (extra-objs): Make recursively expanded.
57415 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57417         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57418         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57420         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57421         * posix/tst-rfc3484-2.c: Likewise.
57422         * posix/tst-rfc3484-3.c: Likewise.
57424         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57425         process_vm_writev.
57426         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57427         process_vm_writev.
57428         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57429         process_vm_writev from libc using GLIBC_2.15 version.
57431         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57433 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57435         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57436         stack usage.
57438 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57440         [BZ #13367]
57441         * nss/getent.c (initgroups_keys): Show error message in case no group
57442         names are given.
57444         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57445         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57446         __bump_nl_timestamp.
57447         * nscd/connections (nscd_init): When host database is served open
57448         netlink socket and request notification about configuration changes.
57449         (main_loop_poll): Track netlink file descriptor and bump timestamp
57450         in case data becomes available.
57451         (main_loop_epoll): Likewise.
57452         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57453         (database_pers_head): Add extra_data fileds.
57454         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57455         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57456         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57457         Adjust caller.
57458         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57459         in6ai data, call __free_in6ai.
57460         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57461         Add -DHAVE_NETLINK.
57462         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57463         interface information.  Reuse previous data if netlink timestamp
57464         is not changed.
57465         (__bump_nl_timestamp): New function.
57466         (__free_in6ai): New function.
57468 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57470         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57471         close_not_cancel_no_status here.
57472         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57474 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57476         [BZ #13276]
57477         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57478         return value.
57480         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57481         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57482         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57484 2011-07-03  Andreas Jaeger  <aj@suse.de>
57486         [BZ #10709]
57487         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57488         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57489         * math/libm-test.inc (sin_test): Add test case.
57491 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57493         [BZ #13337]
57494         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57495         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57497         * elf/chroot_canon.c (chroot_canon): Cleanups.
57499         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57501         [BZ #13335]
57502         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57503         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57505         * string/test-strchr.c: Make usable for strchrnul testing.
57506         * string/test-strchrnul.c: New file.
57507         * string/Makefile (strop-tests): Add strchrnul.
57509         * po/it.po: Update from translation team.
57510         * po/es.po: Likewise.
57512 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57514         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57515         the three constants needed as parameters.  Drop the others.
57516         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57517         __m128i_strloadu_tolower.
57518         Create and initialize variable zero and use it in all the places
57519         where _mm_setzero_si128 was used.
57521         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57522         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57523         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57524         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57525         anymore.
57526         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57527         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57528         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57529         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57530         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57531         __mpranred, __mptan.
57532         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57533         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57534         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57535         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57536         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57537         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57538         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57539         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57540         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57542 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57544         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57545         redefine if SHARED.
57546         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57548         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57549         wide char related routines to wcsmbs subdir.
57551 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57553         [BZ #13344]
57554         * misc/sys/cdefs.h (__THROWNL): Define.
57555         * posix/unistd.h: Use __THREADNL instead of __THREAD
57556         for memory synchronization functions.
57558 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57560         [BZ #13349]
57561         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57562         doesn't exist.
57563         * manual/stdio.texi (Obstack Streams): Node removed.
57565 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57567         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57568         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57569         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57571         * math/math_private.h (math_force_eval): Allow non-addressable
57572         arguments.
57573         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57575 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57577         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57578         file is not needed.
57580         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57581         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57582         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57583         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57584         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57585         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57586         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57587         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57588         Add AVX variants.
57589         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57590         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57591         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57592         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57593         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57594         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57595         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57596         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57597         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57598         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57599         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57600         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57601         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57602         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57603         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57604         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57605         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57606         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57607         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57609         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57610         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57612         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57613         place.  Use VEX encoding when compiling for AVX.
57615 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57617         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57618         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57620         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57622 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57624         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57625         useless if() expression.
57626         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57627         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57628         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57629         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57630         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57631         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57632         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57633         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57634         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57635         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57636         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57637         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57638         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57639         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57640         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57641         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57642         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57643         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57644         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57646         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57648 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57650         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57651         condition.
57652         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57654 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57656         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57657         .text section.  Avoid duplicate constants.
57658         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57659         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57660         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57661         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57662         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57664         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57665         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57666         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57667         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57668         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57669         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57670         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57671         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57672         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57673         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57674         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57675         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57676         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57677         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57678         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57679         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57680         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57681         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57682         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57683         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57684         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57685         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57686         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57687         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57688         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57689         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57690         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57691         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57692         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57693         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57694         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57695         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57696         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57697         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57698         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57699         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57700         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57701         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57702         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57704 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57706         * sysdeps/x86_64/dla.h: Move to ...
57707         * sysdeps/x86_64/fpu/dla.h: ...here.
57708         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57709         situations.  Use __builtin_fma only for gcc 4.6 and up.
57711         * config.make.in: Add have-mfma4 entry.
57712         * configure.in: Substitute libc_cv_cc_fma4.
57713         * math/Makefile (dbl-only-routines): Add sincostab.
57714         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57715         Use __sincostab not sincos.
57716         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57717         name is a macro.
57718         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57719         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57720         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57721         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57722         using __copysign.
57723         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57724         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57725         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57726         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57727         and __inv.
57728         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57729         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57730         __copysign.
57731         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57732         define aliases when function name is a macro.
57733         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57734         sysdeps/ieee754/dbl-64/sincos.tbl.
57735         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57736         fma4-enabled routines.
57737         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57738         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57739         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57740         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57741         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57742         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57743         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57744         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57745         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57746         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57747         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57748         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57749         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57750         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57751         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57752         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57753         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57754         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57755         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57756         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57757         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57758         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57759         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57760         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57761         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57762         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57763         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57764         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57765         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57766         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57768         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57769         rename.
57770         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57771         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57772         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57773         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57774         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57775         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57776         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57779 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57781         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57783 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57785         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57787         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57788         prediction.
57789         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57791         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57792         Remove unused variable magic_bits.
57793         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57795         * string/strnlen.c: Define and use STRNLEN macro.
57796         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57797         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57798         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57799         * wcsmbs/wcslen.c: Define and use WCSLEN.
57800         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57801         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57802         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57803         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57804         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57805         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57806         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57808 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57811         strnlen-sse2-no-bsf.
57812         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57813         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57814         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57815         Add strnlen support.
57816         (USE_AS_STRNLEN): New macro.
57817         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57818         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57819         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57820         * sysdeps/x86_64/wcslen.S: New file.
57822 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57824         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57825         XMM-moves are used for copying on small sizes.
57827 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57829         * wcsmbs/Makefile (strop-tests): Add wcschr.
57830         * wcsmbs/test-wcschr.c: New file.
57831         * string/test-strchr.c: Update.
57832         Add wcschr support.
57833         (WIDE): New macro.
57835 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57837         * wcsmbs/Makefile (strop-tests): Add wcslen.
57838         * wcsmbs/test-wcslen.c: New file.
57839         * string/test-strlen.c: Update.
57840         Add wcslen support.
57841         (WIDE): New macro.
57843 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57845         * po/it.po: Update from translation team.
57847 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57849         * sysdeps/x86_64/wcscmp.S: Update.
57850         Fix wrong comparison semantics.
57851         wcscmp shall use signed comparison not unsigned.
57852         Don't use substraction to avoid overflow bug.
57853         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57854         * wcsmbc/wcscmp.c: Likewise.
57855         * string/test-strcmp.c: Likewise.
57856         Add new tests to check cases with negative values.
57858 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57860         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57861         * sysdeps/x86_64/dla.h: ...here.  New file.
57862         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57863         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57864         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57865         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57866         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57867         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57868         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57869         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57870         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57872 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57874         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57875         __ynl_finite aliases.
57877 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57881         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57882         define DLA_FMA.
57883         [DLA_FMA] (EMULV): Use DLA_FMA.
57884         [DLA_FMA] (MUL12): Use EMULV.
57885         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57886         that are not needed.
57887         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57888         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57889         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57890         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57891         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57892         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57893         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57895 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57897         * math/s_nan.c: Undef __nan.
57898         * math/s_nanf.c: Undef __nanf.
57899         * math/s_nanl.c: Undef __nanl.
57900         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57901         "math_private.h".
57903 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57905         * math/s_catan.c: Add branch predictions.
57906         * math/s_catanf.c: Likewise.
57907         * math/s_catanh.c: Likewise.
57908         * math/s_catanhf.c: Likewise.
57909         * math/s_catanhl.c: Likewise.
57910         * math/s_catanl.c: Likewise.
57911         * math/s_cexp.c: Likewise.
57912         * math/s_cexpf.c: Likewise.
57913         * math/s_cexpl.c: Likewise.
57914         * math/s_clog.c: Likewise.
57915         * math/s_clog10.c: Likewise.
57916         * math/s_clog10f.c: Likewise.
57917         * math/s_clog10l.c: Likewise.
57918         * math/s_clogf.c: Likewise.
57919         * math/s_clogl.c: Likewise.
57920         * math/s_csqrt.c: Likewise.
57921         * math/s_csqrtf.c: Likewise.
57922         * math/s_csqrtl.c: Likewise.
57923         * math/s_ctanf.c: Likewise.
57924         * math/s_ctanh.c: Likewise.
57925         * math/s_ctanhf.c: Likewise.
57926         * math/s_ctanhl.c: Likewise.
57927         * math/s_ctanl.c: Likewise.
57929         * math/math_private.h: Define __nan, __nanf, __nanl.
57930         * math/s_cacosh.c: Include <math_private.h>.
57931         * math/s_cacoshl.c: Likewise.
57932         * math/s_casinh.c: Likewise.
57933         * math/s_casinhf.c: Likewise.
57934         * math/s_casinhl.c: Likewise.
57935         * math/s_ccos.c: Rely entire on ccosh.
57936         * math/s_ccosf.c: Rely entire on ccoshf.
57937         * math/s_ccosl.c: Rely entirely on ccoshl.
57938         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57939         Remove tests for FE_INVALID.
57940         * math/s_ccoshf.c: Likewise.
57941         * math/s_ccoshl.c: Likewise.
57942         * math/s_csin.c: Likewise.
57943         * math/s_csinf.c: Likewise.
57944         * math/s_csinh.c Likewise.
57945         * math/s_csinhf.c: Likewise.
57946         * math/s_csinhl.c: Likewise.
57947         * math/s_csinl.c: Likewise.
57948         * math/s_ctan.c: Likewise.
57949         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57950         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57951         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57953 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57956         compilation problems.
57958         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57959         __builtin_expect.
57961 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57963         * sysdeps/i386/configure.in: Test for -mfma4 option.
57964         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57965         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57966         COMMON_CPUID_INDEX_80000001.
57967         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57968         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57969         use it if FMA3 is not supported.
57970         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57972         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57973         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57975 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57977         [BZ #12892]
57978         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57979         it would create a cycle with a link time dependency.
57981 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57983         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57984         instruction.
57985         * string/Makefile (strop-tests): Add rawmemchr.
57986         * string/test-rawmemchr.c: New file.
57988         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57989         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57990         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57991         when compiling str{,n}casecmp and when AVX is available.  Hook up
57992         new optimized code in initializers.
57994 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57996         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57997         __feraiseexcept instead of feraiseexcept.
57999 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58001         * math/math_private.h: Define defaults for libc_fetestexcept and
58002         libc_feupdateenv.
58003         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58004         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58005         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58006         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58007         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58008         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58009         libc_fetestexcept and libc_feupdateenv.
58011         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58012         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58013         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58014         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58015         libc_feholdexcept_setround.
58017         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58018         Add s_nearbyint-c and s_nearbyintf-c.
58019         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58020         nearbyintf inlines.
58021         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58022         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58023         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58024         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58026         * math/math_private.h: Define defaults for libc_fegetround,
58027         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58028         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58029         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58030         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58031         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58032         standard functions.
58033         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58034         Remove comments and hacks for old compiler versions.
58035         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58036         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58037         libc_feholdexceptl.
58039 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58041         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58042         (__feraiseexcept_renamed): Add __NTH.
58043         (feraiseexcept): Add __NTH.  Rename local variables to fix
58044         namespace violations.
58046 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58048         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58050         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58052         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58053         recently added interfaces.
58054         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58056         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58057         about macro parameter expansion.
58059         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58060         __NO_MATH_INLINES is defined.  Cleanups.
58062         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58063         and __floorf is target has SSE4.1.
58064         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58065         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58066         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58067         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58069         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58070         name.
58071         (floorf): Likewise.
58073         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58075 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58077         * misc/sys/cdefs.h: Fix last change.
58079         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58080         database lookup.
58082 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58084         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58086         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58087         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58088         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58089         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58090         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58091         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58092         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58093         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58094         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58095         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58096         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58097         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58098         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58099         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58100         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58101         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58102         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58103         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58104         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58105         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58106         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58107         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58109         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58110         ceil, ceilf, floor, floorf.
58112         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58113         Perform IRELATIVE relocations last.
58115         * elf/do-rel.h: Add another parameter nrelative, replacing the
58116         local variable with the same name.  Change name of the function
58117         to end in Rel or Rela (uppercase).
58118         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58119         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58120         elf_dynamic_do_##reloc function.
58122 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58124         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58125         is sufficient, at least on modern CPUs.
58127         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58129         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58130         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58132         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58133         __expl_finite.
58134         * math/bits/math-finite.h: Add entries for exp.
58135         * math/e_expl.c: Add __*_finite alias.
58136         * sysdeps/i386/fpu/e_exp.S: Likewise.
58137         * sysdeps/i386/fpu/e_expf.S: Likewise.
58138         * sysdeps/i386/fpu/e_expl.c: Likewise.
58139         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58140         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58141         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58142         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58143         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58144         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58145         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58147         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58148         is sufficient, at least on modern CPUs.
58150         * ctype/ctype-info.c (__ctype_init): Define.
58151         * include/ctype.h (__ctype_init): Declare.
58152         (__ctype_b_loc): The variable is always initialized.
58153         (__ctype_toupper_loc): Likewise.
58154         (__ctype_tolower_loc): Likewise.
58155         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58156         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58158 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58160         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58162         * configure.in: Also look in $cxxmachine/include for C++ system
58163         headers.
58165 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58167         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58168         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58169         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58170         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58171         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58172         (USE_AS_WMEMCMP): New macro.
58173         Fixing indents.
58174         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58175         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58176         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58177         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58178         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58179         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58180         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58181         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58182         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58183         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58184         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58185         (USE_AS_WMEMCMP): New macro.
58186         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58187         * sysdeps/string/test-memcmp.c: Update.
58188         Fix simple_wmemcmp.
58189         Add new tests.
58190         * wcsmbs/wmemcmp.c: Update.
58191         (WMEMCMP): New macro.
58192         Fix overflow bug.
58194 2011-10-12  Andreas Jaeger  <aj@suse.de>
58196         [BZ #13268]
58197         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58199 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58201         * libio/iofwide.c (do_length): Avoid warning.
58203         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58205 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58207         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58209         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58210         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58211         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58212         * sysdeps/i386/i686/fpu/e_log.S: New file.
58213         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58214         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58216         * ctype/ctype.h: Add support for inlined isXXX functions when
58217         compiling C++ code.
58219 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58221         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58223         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58225 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58227         [BZ #13291]
58228         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58230 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58232         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58233         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58234         feraiseexcept.
58236         * sysdeps/x86_64/memrchr.S: Check for zero size.
58238         * string/stratcliff.c: Add memrchr tests.
58240 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58242         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58243         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58244         rawmemchr-sse2 rawmemchr-sse2-bsf.
58245         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58246         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58247         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58248         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58249         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58250         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58251         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58252         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58253         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58254         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58255         * string/memrchr.c (MEMRCHR): New macro.
58257 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58259         Add integration with gcc's -ffinite-math-only and optimize wrapper
58260         functions in libm.
58261         * Versions.def: Define GLIBC_2.15 version for libm.
58262         * math/Makefile (headers): Add bits/math-finite.h.
58263         * math/bits/math-finite.h: New file.
58264         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58265         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58266         * math/e_acoshl.c: Add __*_finite alias.
58267         * math/e_acosl.c: Likewise.
58268         * math/e_asinl.c: Likewise.
58269         * math/e_atan2l.c: Likewise.
58270         * math/e_atanhl.c: Likewise.
58271         * math/e_coshl.c: Likewise.
58272         * math/e_exp10.c: Likewise.
58273         * math/e_exp10f.c: Likewise.
58274         * math/e_exp10l.c: Likewise.
58275         * math/e_exp2l.c: Likewise.
58276         * math/e_fmodl.c: Likewise.
58277         * math/e_gammal_r.c: Likewise.
58278         * math/e_hypotl.c: Likewise.
58279         * math/e_j0l.c: Likewise.
58280         * math/e_j1l.c: Likewise.
58281         * math/e_jnl.c: Likewise.
58282         * math/e_lgammal_r.c: Likewise.
58283         * math/e_log10l.c: Likewise.
58284         * math/e_log2l.c: Likewise.
58285         * math/e_logl.c: Likewise.
58286         * math/e_powl.c: Likewise.
58287         * math/e_sinhl.c: Likewise.
58288         * math/e_sqrtl.c: Likewise.
58289         * math/e_scalb.c: Completely rewritten and optimized.
58290         * math/e_scalbf.c: Likewise.
58291         * math/e_scalbl.c: Likewise.
58292         * math/w_acos.c: Likewise.
58293         * math/w_acosf.c: Likewise.
58294         * math/w_acosl.c: Likewise.
58295         * math/w_acosh.c: Likewise.
58296         * math/w_acoshf.c: Likewise.
58297         * math/w_acoshl.c: Likewise.
58298         * math/w_asin.c: Likewise.
58299         * math/w_asinf.c: Likewise.
58300         * math/w_asinl.c: Likewise.
58301         * math/w_atan2.c: Likewise.
58302         * math/w_atan2f.c: Likewise.
58303         * math/w_atan2l.c: Likewise.
58304         * math/w_atanh.c: Likewise.
58305         * math/w_atanhf.c: Likewise.
58306         * math/w_atanhl.c: Likewise.
58307         * math/w_exp10.c: Likewise.
58308         * math/w_exp10f.c: Likewise.
58309         * math/w_exp10l.c: Likewise.
58310         * math/w_fmod.c: Likewise.
58311         * math/w_fmodf.c: Likewise.
58312         * math/w_fmodl.c: Likewise.
58313         * math/w_j0.c: Likewise.
58314         * math/w_j0f.c: Likewise.
58315         * math/w_j0l.c: Likewise.
58316         * math/w_j1.c: Likewise.
58317         * math/w_j1f.c: Likewise.
58318         * math/w_j1l.c: Likewise.
58319         * math/w_jn.c: Likewise.
58320         * math/w_jnf.c: Likewise.
58321         * math/w_log.c: Likewise.
58322         * math/w_logf.c: Likewise.
58323         * math/w_logl.c: Likewise.
58324         * math/w_log10.c: Likewise.
58325         * math/w_log10f.c: Likewise.
58326         * math/w_log10l.c: Likewise.
58327         * math/w_log2.c: Likewise.
58328         * math/w_log2f.c: Likewise.
58329         * math/w_log2l.c: Likewise.
58330         * math/w_pow.c: Likewise.
58331         * math/w_powf.c: Likewise.
58332         * math/w_powl.c: Likewise.
58333         * math/w_remainder.c: Likewise.
58334         * math/w_remainderf.c: Likewise.
58335         * math/w_remainderl.c: Likewise.
58336         * math/w_scalb.c: Likewise.
58337         * math/w_scalbf.c: Likewise.
58338         * math/w_scalbl.c: Likewise.
58339         * math/w_sqrt.c: Likewise.
58340         * math/w_sqrtf.c: Likewise.
58341         * math/w_sqrtl.c: Likewise.
58342         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58343         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58344         used.
58345         * math/math_private.h: Declare __kernel_standard_f.
58346         * math/w_cosh.c: Remove cruft and optimize a bit.
58347         * math/w_coshf.c: Likewise.
58348         * math/w_coshl.c: Likewise.
58349         * math/w_exp2.c: Likewise.
58350         * math/w_exp2f.c: Likewise.
58351         * math/w_exp2l.c: Likewise.
58352         * math/w_hypot.c: Likewise.
58353         * math/w_hypotf.c: Likewise.
58354         * math/w_hypotl.c: Likewise.
58355         * math/w_lgamma.c: Likewise.
58356         * math/w_lgamma_r.c: Likewise.
58357         * math/w_lgammaf.c: Likewise.
58358         * math/w_lgammaf_r.c: Likewise.
58359         * math/w_lgammal.c: Likewise.
58360         * math/w_lgammal_r.c: Likewise.
58361         * math/w_sinh.c: Likewise.
58362         * math/w_sinhf.c: Likewise.
58363         * math/w_sinhl.c: Likewise.
58364         * math/w_tgamma.c: Likewise.
58365         * math/w_tgammaf.c: Likewise.
58366         * math/w_tgammal.c: Likewise.
58367         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58368         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58369         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58370         Minor optimizations.  Pretty printing.  Remove cruft.
58371         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58372         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58373         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58374         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58375         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58376         * sysdeps/i386/fpu/e_asin.S: Likewise.
58377         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58378         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58379         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58380         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58381         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58382         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58383         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58384         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58385         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58386         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58387         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58388         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58389         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58390         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58391         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58392         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58393         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58394         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58395         * sysdeps/i386/fpu/e_log.S: Likewise.
58396         * sysdeps/i386/fpu/e_log10.S: Likewise.
58397         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58398         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58399         * sysdeps/i386/fpu/e_log2.S: Likewise.
58400         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58401         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58402         * sysdeps/i386/fpu/e_logf.S: Likewise.
58403         * sysdeps/i386/fpu/e_logl.S: Likewise.
58404         * sysdeps/i386/fpu/e_pow.S: Likewise.
58405         * sysdeps/i386/fpu/e_powf.S: Likewise.
58406         * sysdeps/i386/fpu/e_powl.S: Likewise.
58407         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58408         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58409         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58410         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58411         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58412         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58413         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58414         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58415         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58416         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58417         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58418         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58419         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58420         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58421         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58422         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58423         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58424         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58425         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58426         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58427         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58428         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58429         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58430         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58431         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58432         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58433         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58434         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58435         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58436         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58437         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58438         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58439         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58440         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58441         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58442         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58443         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58444         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58445         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58446         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58447         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58448         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58449         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58450         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58451         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58452         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58453         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58454         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58455         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58456         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58457         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58458         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58459         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58460         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58461         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58462         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58463         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58464         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58465         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58466         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58467         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58468         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58469         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58470         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58471         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58472         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58473         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58474         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58475         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58476         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58477         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58478         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58479         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58480         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58481         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58482         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58483         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58484         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58485         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58486         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58487         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58488         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58489         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58490         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58491         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58492         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58493         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58494         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58495         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58496         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58497         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58498         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58499         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58500         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58501         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58502         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58503         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58504         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58505         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58506         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58507         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58508         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58509         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58510         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58511         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58512         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58513         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58514         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58515         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58516         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58517         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58518         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58519         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58520         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58521         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58522         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58523         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58524         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58525         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58526         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58527         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58528         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58529         (__isnanf): Likewise.
58530         (__isinf_ns): Likewise.
58531         (__isinf_nsf): Likewise.
58532         (__finite): Likewise.
58533         (__finitef): Likewise.
58534         (__ieee754_sqrt): Define as macro.
58535         (__ieee754_sqrtf): Define as macro.
58536         (__ieee754_sqrtl): Define as macro.
58537         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58538         inlined copy.
58539         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58540         __FINITE_MATH_ONLY__ consistent.
58541         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58543 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58545         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58546         of rawmemchr.
58548         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58550 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58552         * po/ja.po: Update from translation team.
58554 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58556         * locale/programs/locarchive.c (prepare_address_space): New function.
58557         (create_archive, enlarge_archive, open_archive): Use it.
58559         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58560         inside [SHARED], where it is used.
58562         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58564         * nss/getent.c (netgroup_keys): Remove unused variable.
58565         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58567 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58569         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58570         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58571         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58572         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58573         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58574         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58575         * math/Makefile (libm-calls): Add s_isinf_ns.
58576         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58577         * math/multc3.c: Likewise.
58578         * math/s_casin.c: Likewise.
58579         * math/s_casinf.c: Likewise.
58580         * math/s_casinl.c: Likewise.
58581         * math/s_ccos.c: Likewise.
58582         * math/s_ccosf.c: Likewise.
58583         * math/s_ccosl.c: Likewise.
58584         * math/s_ctan.c: Likewise.
58585         * math/s_ctanf.c: Likewise.
58586         * math/s_ctanh.c: Likewise.
58587         * math/s_ctanhf.c: Likewise.
58588         * math/s_ctanhl.c: Likewise.
58589         * math/s_ctanl.c: Likewise.
58590         * math/w_fmod.c: Likewise.
58591         * math/w_fmodf.c: Likewise.
58592         * math/w_fmodl.c: Likewise.
58593         * math/w_remainder.c: Likewise.
58594         * math/w_remainderf.c: Likewise.
58595         * math/w_remainderl.c: Likewise.
58596         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58597         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58598         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58599         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58600         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58601         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58602         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58603         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58605         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58606         of the number.
58607         * stdio-common/printf_fphex.c: Likewise.
58608         * stdio-common/printf_size.c: Likewise.
58610         * math/e_exp10.c: Include math_private.h using <...> not "...".
58611         * math/e_exp10f.c: Likewise.
58612         * math/e_exp10l.c: Likewise.
58613         * math/e_exp2l.c: Likewise.
58614         * math/e_j0l.c: Likewise.
58615         * math/e_j1l.c: Likewise.
58616         * math/e_jnl.c: Likewise.
58617         * math/e_lgammal_r.c: Likewise.
58618         * math/e_rem_pio2l.c: Likewise.
58619         * math/e_scalb.c: Likewise.
58620         * math/e_scalbf.c: Likewise.
58621         * math/e_scalbl.c: Likewise.
58622         * math/k_cosl.c: Likewise.
58623         * math/k_sinl.c: Likewise.
58624         * math/k_tanl.c: Likewise.
58625         * math/s_cacoshf.c: Likewise.
58626         * math/s_catan.c: Likewise.
58627         * math/s_catanf.c: Likewise.
58628         * math/s_catanh.c: Likewise.
58629         * math/s_catanhf.c: Likewise.
58630         * math/s_catanhl.c: Likewise.
58631         * math/s_catanl.c: Likewise.
58632         * math/s_ccosh.c: Likewise.
58633         * math/s_ccoshf.c: Likewise.
58634         * math/s_ccoshl.c: Likewise.
58635         * math/s_cexp.c: Likewise.
58636         * math/s_cexpf.c: Likewise.
58637         * math/s_cexpl.c: Likewise.
58638         * math/s_clog.c: Likewise.
58639         * math/s_clog10.c: Likewise.
58640         * math/s_clog10f.c: Likewise.
58641         * math/s_clog10l.c: Likewise.
58642         * math/s_clogf.c: Likewise.
58643         * math/s_clogl.c: Likewise.
58644         * math/s_csin.c: Likewise.
58645         * math/s_csinf.c: Likewise.
58646         * math/s_csinh.c: Likewise.
58647         * math/s_csinhf.c: Likewise.
58648         * math/s_csinhl.c: Likewise.
58649         * math/s_csinl.c: Likewise.
58650         * math/s_csqrt.c: Likewise.
58651         * math/s_csqrtf.c: Likewise.
58652         * math/s_csqrtl.c: Likewise.
58653         * math/s_ctan.c: Likewise.
58654         * math/s_ctanf.c: Likewise.
58655         * math/s_ctanh.c: Likewise.
58656         * math/s_ctanhf.c: Likewise.
58657         * math/s_ctanhl.c: Likewise.
58658         * math/s_ctanl.c: Likewise.
58659         * math/s_ldexp.c: Likewise.
58660         * math/s_ldexpf.c: Likewise.
58661         * math/s_ldexpl.c: Likewise.
58662         * math/s_significand.c: Likewise.
58663         * math/s_significandf.c: Likewise.
58664         * math/s_significandl.c: Likewise.
58665         * math/w_acos.c: Likewise.
58666         * math/w_acosf.c: Likewise.
58667         * math/w_acosh.c: Likewise.
58668         * math/w_acoshf.c: Likewise.
58669         * math/w_acoshl.c: Likewise.
58670         * math/w_acosl.c: Likewise.
58671         * math/w_asin.c: Likewise.
58672         * math/w_asinf.c: Likewise.
58673         * math/w_asinl.c: Likewise.
58674         * math/w_atan2.c: Likewise.
58675         * math/w_atan2f.c: Likewise.
58676         * math/w_atan2l.c: Likewise.
58677         * math/w_atanh.c: Likewise.
58678         * math/w_atanhf.c: Likewise.
58679         * math/w_atanhl.c: Likewise.
58680         * math/w_cosh.c: Likewise.
58681         * math/w_coshf.c: Likewise.
58682         * math/w_coshl.c: Likewise.
58683         * math/w_dremf.c: Likewise.
58684         * math/w_exp10.c: Likewise.
58685         * math/w_exp10f.c: Likewise.
58686         * math/w_exp10l.c: Likewise.
58687         * math/w_exp2.c: Likewise.
58688         * math/w_exp2f.c: Likewise.
58689         * math/w_fmod.c: Likewise.
58690         * math/w_fmodf.c: Likewise.
58691         * math/w_fmodl.c: Likewise.
58692         * math/w_hypot.c: Likewise.
58693         * math/w_hypotf.c: Likewise.
58694         * math/w_hypotl.c: Likewise.
58695         * math/w_j0.c: Likewise.
58696         * math/w_j0f.c: Likewise.
58697         * math/w_j0l.c: Likewise.
58698         * math/w_j1.c: Likewise.
58699         * math/w_j1f.c: Likewise.
58700         * math/w_j1l.c: Likewise.
58701         * math/w_jn.c: Likewise.
58702         * math/w_jnf.c: Likewise.
58703         * math/w_jnl.c: Likewise.
58704         * math/w_lgamma.c: Likewise.
58705         * math/w_lgamma_r.c: Likewise.
58706         * math/w_lgammaf.c: Likewise.
58707         * math/w_lgammaf_r.c: Likewise.
58708         * math/w_lgammal.c: Likewise.
58709         * math/w_lgammal_r.c: Likewise.
58710         * math/w_log.c: Likewise.
58711         * math/w_log10.c: Likewise.
58712         * math/w_log10f.c: Likewise.
58713         * math/w_log10l.c: Likewise.
58714         * math/w_log2.c: Likewise.
58715         * math/w_log2f.c: Likewise.
58716         * math/w_log2l.c: Likewise.
58717         * math/w_logf.c: Likewise.
58718         * math/w_logl.c: Likewise.
58719         * math/w_pow.c: Likewise.
58720         * math/w_powf.c: Likewise.
58721         * math/w_powl.c: Likewise.
58722         * math/w_remainder.c: Likewise.
58723         * math/w_remainderf.c: Likewise.
58724         * math/w_remainderl.c: Likewise.
58725         * math/w_scalb.c: Likewise.
58726         * math/w_scalbf.c: Likewise.
58727         * math/w_scalbl.c: Likewise.
58728         * math/w_sinh.c: Likewise.
58729         * math/w_sinhf.c: Likewise.
58730         * math/w_sinhl.c: Likewise.
58731         * math/w_sqrt.c: Likewise.
58732         * math/w_sqrtf.c: Likewise.
58733         * math/w_sqrtl.c: Likewise.
58734         * math/w_tgamma.c: Likewise.
58735         * math/w_tgammaf.c: Likewise.
58736         * math/w_tgammal.c: Likewise.
58738         * po/ja.po: Update from translation team.
58740 2011-09-29  Andreas Jaeger  <aj@suse.de>
58742         [BZ #13179]
58743         * sunrpc/netname.c (netname2host): Fix logic.
58745         [BZ #6779]
58746         [BZ #6783]
58747         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58748         correctly.
58749         * math/w_remainder.c (__remainder): Likewise.
58750         * math/w_remainderf.c (__remainderf): Likewise.
58751         * math/libm-test.inc (remainder_test): Add test cases.
58753 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58755         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58756         sdiv_qrnnd.
58758 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58760         * string/test-memcmp.c: Avoid unncessary #defines.
58761         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58763 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58765         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58766         Use new sse2 version for core i3 - i7 as it's faster
58767         than sse42 version.
58768         (bit_Prefer_PMINUB_for_stringop): New.
58769         * sysdeps/x86_64/rawmemchr.S: Update.
58770         Replace with faster SSE2 version.
58771         * sysdeps/x86_64/memrchr.S: New file.
58772         * sysdeps/x86_64/memchr.S: Update.
58773         Replace with faster SSE2 version.
58775 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58777         * elf/dl-load.c (lose): Add cast to avoid warning.
58779 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58781         * po/ca.po: Update from translation team.
58783         * inet/getnetgrent_r.c: Hook up nscd.
58784         * nscd/Makefile (routines): Add nscd_netgroup.
58785         (nscd-modules): Add netgroupcache.
58786         (CFLAGS-netgroupcache.c): Define.
58787         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58788         (cache_search): Add const to second parameter.
58789         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58790         INNETGR.
58791         (dbs): Add netgrdb entry.
58792         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58793         (verify_persistent_db): Handle netgrdb.
58794         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58795         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58796         GETFDNETGR.
58797         (netgroup_response_header): Define.
58798         (innetgroup_response_header): Define.
58799         (datahead): Add netgroup_response_header and innetgroup_response_header
58800         elements.
58801         * nscd/nscd.conf: Add entries for netgroup cache.
58802         * nscd/nscd.h (dbtype): Add netgrdb.
58803         (_PATH_NSCD_NETGROUP_DB): Define.
58804         (netgroup_iov_disabled): Declare.
58805         (xmalloc, xcalloc, xrealloc): Move declarations here.
58806         (cache_search): Adjust prototype.
58807         Add netgroup-related prototypes.
58808         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58809         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58810         (__nscd_innetgr): Declare.
58811         * nscd/selinux.c (perms): Use access_vector_t as element type and
58812         add netgroup-related initializers.
58813         * nscd/netgroupcache.c: New file.
58814         * nscd/nscd_netgroup.c: New file.
58815         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58816         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58817         For four parameters use innetgr.
58818         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58819         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58820         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58821         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58823         * nscd/connections.c (register_traced_file): Don't register file
58824         for disabled databases.
58826 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58828         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58830         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58831         from tree and freeing node.
58833 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58835         * nss/nsswitch.c (__nss_database_lookup): Handle
58836         nss_parse_service_list out of memory case.
58838 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58840         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58841         out of memory case.
58843 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58845         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58846         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58847         pass it down.
58848         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58849         elf_machine_rela, elf_machine_lazy_rel.
58850         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58851         (ELF_DYNAMIC_DO_REL): Likewise.
58852         (ELF_DYNAMIC_DO_RELA): Likewise.
58853         (ELF_DYNAMIC_RELOCATE): Likewise.
58854         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58855         to ELF_DYNAMIC_DO_REL.
58856         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58857         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58858         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58859         elf_machine_rela.
58860         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58861         skip_ifunc, don't call ifunc function if non-zero.
58862         (elf_machine_rela): Likewise.
58863         (elf_machine_lazy_rel): Likewise.
58864         (elf_machine_lazy_rela): Likewise.
58865         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58866         (elf_machine_lazy_rel): Likewise.
58867         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58868         Likewise.
58869         (elf_machine_lazy_rel): Likewise.
58870         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58871         Likewise.
58872         (elf_machine_lazy_rel): Likewise.
58873         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58874         (elf_machine_lazy_rel): Likewise.
58875         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58876         (elf_machine_lazy_rel): Likewise.
58877         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58878         (elf_machine_lazy_rel): Likewise.
58879         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58880         (elf_machine_lazy_rel): Likewise.
58881         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58882         (elf_machine_lazy_rel): Likewise.
58883         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58884         (elf_machine_lazy_rel): Likewise.
58886 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58888         * nss/nss_files/files-init.c (_nss_files_init): Use static
58889         initialization for all the *_traced_file variables.
58891 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58893         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58895 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58897         [BZ #13226]
58898         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58900 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58902         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58903         Reread the line before reparsing it.
58905 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58907         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58909 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58910             Maxim Kuvyrkov  <maxim@codesourcery.com>
58911             Joseph Myers  <joseph@codesourcery.com>
58913         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58914         if needed for __stack_chk_guard.
58916 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58918         * sysdeps/posix/spawni.c (script_execute): Always define it.
58919         It will be optimized away if unused.
58920         (maybe_script_execute): New function.
58921         (__spawni): Call it.
58923         * Makerules: Don't include tls.make.
58924         (config-tls): Always set to thread.
58925         * tls.make.c: File removed.
58927 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58929         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58930         * config.make.in (CPPFLAGS-config): New substituted variable.
58932 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58934         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58936         [BZ #13192]
58937         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58938         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58940 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58942         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58943         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58944         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58945         (CALL_FAIL): Likewise.
58946         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58947         (CALL_FAIL): Macro removed.
58948         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58950 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58952         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58953         for __FINITE_MATH_ONLY__ == 1.
58955 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58957         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58958         __ieee754_sqrt instead of sqrt.
58959         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58960         __ieee754_sqrtf instead of sqrtf.
58961         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58962         __floorf instead of floorf.
58963         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58964         __floorf, __truncf instead of floorf, truncf.
58966 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58968         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58970         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58971         __extern_always_inline.
58972         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58973         32-bit.
58975 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58977         * elf/rtld.c (dl_main): Also relocate in dependency order when
58978         doing symbol dependency testing.
58980 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58982         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58983         Always define `refsym'.
58985 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58987         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58988         (__FD_ELT): Renamed from __FDELT.
58989         * misc/bits/select2.h (__FD_ELT): Likewise.
58990         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58991         __FD_MASK instead of __FDELT, __FDMASK.
58992         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58993         Likewise.
58994         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58995         Likewise.
58997         * elf/Makefile (gen-ldd): Fix pattern.
58999         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59000         (init_tls): Likewise.
59002 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59004         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59006 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59008         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59009         `struct cmsghdr *' instead of `void *'.
59010         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59011         Likewise.
59013 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59015         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59016         if non-absolute.
59017         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59018         ldd_rewrite_script.
59020 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59022         * configure.in: Remove --with-tls option.
59023         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59024         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59025         out in case it is missing.
59026         * sysdeps/ia64/elf/configure.in: Likewise.
59027         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59028         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59029         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59030         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59031         * sysdeps/sh/elf/configure.in: Likewise.
59032         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59033         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59034         * sysdeps/x86_64/elf/configure.in: Likewise.
59035         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59036         * sysdeps/mach/hurd/tls.h: Likewise.
59038         [BZ #13067]
59039         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59041         [BZ #13090]
59042         * configure.in: Fix use of AC_INIT.
59044         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59046 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59048         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59049         __set_errno.
59050         * malloc/hooks.c: Likewise.
59052         [BZ #11929]
59053         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59054         variables statically.
59055         (narenas): Initialize.
59056         (list_lock): Initialize.
59057         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59058         initializtion of main_arena and list_lock.  Small cleanups.
59059         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59060         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59061         Add initializers to main_arena and mp_.
59062         (malloc_state): Remove pagesize member.  Change all users to use
59063         GLRO(dl_pagesize).
59065         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59066         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59067         is always initialized.
59069         * malloc/malloc.c: Removed unused configurations and dead code.
59070         * malloc/arena.c: Likewise.
59071         * malloc/hooks.c: Likewise.
59072         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59074         * include/tls.h: Removed.  USE___THREAD must always be defined.
59075         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59076         * elf/dl-libc.c: Likewise.
59077         * elf/dl-tsd.c: Likewise.
59078         * include/errno.h: Likewise.
59079         * include/netdb.h: Likewise.
59080         * include/resolv.h: Likewise.
59081         * inet/herrno-loc.c: Likewise.
59082         * inet/herrno.c: Likewise.
59083         * malloc/arena.c: Likewise.
59084         * malloc/hooks.c: Likewise.
59085         * malloc/malloc.c: Likewise.
59086         * resolv/res-state.c: Likewise.
59087         * resolv/res_libc.c: Likewise.
59088         * sysdeps/i386/dl-machine.h: Likewise.
59089         * sysdeps/ia64/dl-machine.h: Likewise.
59090         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59091         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59092         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59093         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59094         * sysdeps/sh/dl-machine.h: Likewise.
59095         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59096         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59097         * sysdeps/unix/i386/sysdep.S: Likewise.
59098         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59099         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59100         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59101         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59102         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59103         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59104         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59105         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59106         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59107         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59108         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59109         * sysdeps/x86_64/dl-machine.h: Likewise.
59110         * tls.make.c: Likewise.
59112         * configure.in: Remove --with-__thread option.  Make tests for
59113         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59114         tls_model attribute fail if no support is available.  Remove
59115         USE_IN_LIBIO.
59116         * Makeconfig: Adjust for dropped configure option.  All features are
59117         now mandatory.
59118         * Makerules: Likewise.
59119         * Versions.def: Likewise.
59120         * argp/argp-fmtstream.c: Likewise.
59121         * argp/argp-fmtstream.h: Likewise.
59122         * argp/argp-help.c: Likewise.
59123         * assert/assert.c: Likewise.
59124         * config.h.in: Likewise.
59125         * config.make.in: Likewise.
59126         * configure: Likewise.
59127         * configure.in: Likewise.
59128         * csu/Versions: Likewise.
59129         * csu/init.c: Likewise.
59130         * elf/tst-audit2.c: Likewise.
59131         * elf/tst-tls10.c: Likewise.
59132         * elf/tst-tls10.h: Likewise.
59133         * elf/tst-tls11.c: Likewise.
59134         * elf/tst-tls12.c: Likewise.
59135         * elf/tst-tls14.c: Likewise.
59136         * elf/tst-tlsmod11.c: Likewise.
59137         * elf/tst-tlsmod12.c: Likewise.
59138         * elf/tst-tlsmod13.c: Likewise.
59139         * elf/tst-tlsmod13a.c: Likewise.
59140         * elf/tst-tlsmod14a.c: Likewise.
59141         * elf/tst-tlsmod15b.c: Likewise.
59142         * elf/tst-tlsmod16a.c: Likewise.
59143         * elf/tst-tlsmod16b.c: Likewise.
59144         * elf/tst-tlsmod7.c: Likewise.
59145         * elf/tst-tlsmod8.c: Likewise.
59146         * elf/tst-tlsmod9.c: Likewise.
59147         * gmon/gmon.c: Likewise.
59148         * grp/fgetgrent_r.c: Likewise.
59149         * grp/putgrent.c: Likewise.
59150         * hurd/fopenport.c: Likewise.
59151         * include/libc-symbols.h: Likewise.
59152         * include/tls.h: Likewise.
59153         * intl/gettextP.h: Likewise.
59154         * intl/loadinfo.h: Likewise.
59155         * locale/global-locale.c: Likewise.
59156         * locale/localeinfo.h: Likewise.
59157         * mach/devstream.c: Likewise.
59158         * malloc/arena.c: Likewise.
59159         * malloc/set-freeres.c: Likewise.
59160         * misc/err.c: Likewise.
59161         * misc/getttyent.c: Likewise.
59162         * misc/mntent_r.c: Likewise.
59163         * posix/getopt.c: Likewise.
59164         * posix/wordexp.c: Likewise.
59165         * pwd/fgetpwent_r.c: Likewise.
59166         * resolv/Versions: Likewise.
59167         * resolv/res_hconf.c: Likewise.
59168         * shadow/fgetspent_r.c: Likewise.
59169         * shadow/putspent.c: Likewise.
59170         * stdio-common/printf_fphex.c: Likewise.
59171         * stdio-common/tmpfile.c: Likewise.
59172         * stdlib/abort.c: Likewise.
59173         * stdlib/fmtmsg.c: Likewise.
59174         * sunrpc/auth_unix.c: Likewise.
59175         * sunrpc/clnt_perr.c: Likewise.
59176         * sunrpc/clnt_tcp.c: Likewise.
59177         * sunrpc/clnt_udp.c: Likewise.
59178         * sunrpc/clnt_unix.c: Likewise.
59179         * sunrpc/openchild.c: Likewise.
59180         * sunrpc/svc_simple.c: Likewise.
59181         * sunrpc/svc_tcp.c: Likewise.
59182         * sunrpc/svc_udp.c: Likewise.
59183         * sunrpc/svc_unix.c: Likewise.
59184         * sunrpc/xdr.c: Likewise.
59185         * sunrpc/xdr_array.c: Likewise.
59186         * sunrpc/xdr_rec.c: Likewise.
59187         * sunrpc/xdr_ref.c: Likewise.
59188         * sunrpc/xdr_stdio.c: Likewise.
59190 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59192         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59194 2011-07-03  Andreas Jaeger  <aj@suse.de>
59196         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59197         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59198         regenerate with gen-libm-tests.pl.
59200 2010-05-12  Petr Baudis  <pasky@suse.cz>
59202         [BZ #11589]
59203         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59204         around j0() zero points by switching to j1().
59205         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59206         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59207         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59208         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59210 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59212         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59213         instead of 0.
59214         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59215         instead of 0.
59216         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59217         Patch in part by Pavel Roskin <proski@gnu.org>.
59219         [BZ #13138]
59220         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59221         realloc.
59222         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59223         Free memory block if necessary.
59225         [BZ #12847]
59226         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59227         be NULL.  Don't lock in this case.
59229 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59231         * elf/elf.h (ELFOSABI_GNU): New macro.
59232         (ELFOSABI_LINUX): Define to that.
59234 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59236         * string/strncat.c (strncat): Undef the symbol in case it has been
59237         defined in bits/string.h.
59239 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59241         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59243         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59244         link map.
59246 2011-08-17  Andreas Jaeger  <aj@suse.de>
59248         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59250 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59251             Ian Lance Taylor  <iant@google.com>
59253         * math/libm-test.inc (lround_test): New testcase.
59254         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59256 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59258         * Makefile: Remove support for automatic cvs check-ins.
59259         * Makerules: Likewise.
59260         * config.make.in: Likewise.
59261         * configure.in: Likewise.
59262         * intl/Makefile: Likewise.
59263         * locale/Makefile: Likewise.
59264         * po/Makefile: Likewise.
59265         * posix/Makefile: Likewise.
59266         * sysdeps/gnu/Makefile: Likewise.
59267         * sysdeps/mach/hurd/Makefile: Likewise.
59268         * sysdeps/sparc/sparc32/Makefile: Likewise.
59270         [BZ #13118]
59271         * posix/Makefile (bug-regex32-ENV): Define.
59272         Patch by John Stanley <jpsinthemix@verizon.net>.
59274         * misc/Makefile (headers): Add bits/select2.h.
59275         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59276         * misc/bits/select2.h: New file.
59277         * include/bits/select2.h: New file.
59278         * debug/Makefile (routines): Add fdelt_chk.
59279         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59280         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59281         FD_ISSET.
59282         * debug/fdelt_chk.c: New file.
59284         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59285         * wcsmbs/test-wmemcmp.c: Likewise.
59286         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59287         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59289 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59291         * string/Makefile (strop-tests): Add memcmp.
59292         * string/test-wmemcmp.c: New file.
59293         * string/test-memcmp.c: Add wmemcmp support.
59295 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59297         [BZ #13153]
59298         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59299         2011-07-19 change.
59301         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59302         garbage value in a __mach_port_mod_refs call in the cases of the
59303         task-self and thread-self ports.
59305 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59307         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59309 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59311         * elf/dl-load.c (lose): Check for non-null L.
59313 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59315         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59317         * elf/dl-libc.c (dlerror_run): Pass back error code from
59318         dl_catch_error.
59320         [BZ #13123]
59321         * elf/dl-load.c (lose): Free l_origin if it is valid.
59323         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59324         names.
59325         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59326         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59327         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59328         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59329         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59330         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59332 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59334         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59335         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59336         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59337         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59338         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59339         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59340         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59341         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59342         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59343         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59345 2011-08-15  Alan Modra  <amodra@gmail.com>
59347         [BZ #13092]
59348         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59349         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59350         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59351         ppc_mcount to static-only-routines.
59352         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59353         __mcount_internal.
59354         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59355         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59357 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59359         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59360         for finite and infinity parameters.
59362 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59364         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59365         and add nop instructions for throughput optimization.
59366         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59368 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59370         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59371         aligned copy for power7 with vector-scalar instructions.
59372         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59374 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59376         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59377         AVX check.
59379 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59381         [BZ #13144]
59382         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59383         last change.
59385 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59387         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59388         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59389         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59390         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59391         clock_gettime.
59393 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59395         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59396         Forgot to demangle the pointer.
59398         * sysdeps/i386/sysdep.h: Define atom_text_section.
59399         * sysdeps/x86_64/sysdep.h: Likewise.
59400         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59401         section with atom_text_section.
59402         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59403         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59404         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59405         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59406         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59408         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59409         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59410         already be defined.  Change to take two parameters and don't assign
59411         result to variable.  Adjust all users.
59412         Define INTERNAL_GETTIME if not already defined.
59413         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59414         call.
59415         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59416         HAVE_CLOCK_GETTIME_VSYSCALL.
59417         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59419         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59420         gettimeofday vsyscall, just use time.
59422 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59424         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59425         <errno.h>.
59427 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59429         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59430         syscall on x86-64.
59431         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59432         syscall.
59433         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59434         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59435         syscall if possible.
59437 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59439         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59440         e_ident.  Don't pass to find_mapsXX.
59441         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59443 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59446         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59447         * sysdeps/x86_64/multiarch/strchr.S: Update.
59448         Check bit_slow_BSF bit.
59449         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59450         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59451         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59453 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59455         [BZ #13134]
59456         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59457         before glibc 2.15.
59458         (tryshell): Define.
59459         (__spawni): Change last parameter to be flag.  Test
59460         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59461         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59462         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59463         * posix/spawni.c: Likewise.
59464         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59465         * posix/spawnp.c: Likewise.  Change normal version to use
59466         SPAWN_XFLAGS_USE_PATH.
59467         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59468         SPAWN_XFLAGS_TRY_SHELL.
59470         [BZ #13150]
59471         * posix/glob.h: Remove gcc 1.x support.
59473         [BZ #13068]
59474         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59476 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59478         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59479         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59480         strrchr-sse2-bsf
59481         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59482         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59483         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59484         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59485         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59486         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59488 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59490         * sysdeps/x86_64/wcscmp.S: New file.
59492         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59493         wcscmp-c wcscmp-sse2
59494         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59495         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59496         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59497         * wcsmbs/wcscmp.c: Allow renaming.
59499 2011-09-05  David S. Miller  <davem@davemloft.net>
59501         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59502         stack slot, rather than the struct return pointer slot.
59503         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59504         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59506         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59508 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59510         * po/ja.po: Update from translation team.
59512         [BZ #13144]
59513         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59514         kernel in 64-bit binaries.
59516 2011-09-01  David S. Miller  <davem@davemloft.net>
59518         * elf/elf.h (HWCAP_SPARC_*): Move to..
59519         * sysdeps/sparc/sysdep.h: this new file and add new values.
59520         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59521         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59522         _DL_HWCAP_COUNT to 24.
59523         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59524         entries.
59525         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59526         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59527         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59528         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59529         instead of magic constants.
59530         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59532 2011-08-31  David S. Miller  <davem@davemloft.net>
59534         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59535         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59536         Reimplement to do errno handling inline.
59537         (SYSCALL_ERROR_HANDLER): New macro.
59538         (__SYSCALL_STRING): Do not do errno handling in asm.
59539         (__CLONE_SYSCALL_STRING): Delete.
59540         (__INTERNAL_SYSCALL_STRING): Delete.
59541         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59542         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59543         (PSEUDO): Reimplement to do errno handling inline.
59544         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59545         (SYSCALL_ERROR_HANDLER): New macro.
59546         (__SYSCALL_STRING): Do not do errno handling in asm.
59547         (__CLONE_SYSCALL_STRING): Delete.
59548         (__INTERNAL_SYSCALL_STRING): Delete.
59549         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59550         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59551         i386.
59552         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59553         (inline_syscall*): Add 'err' argument.
59554         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59555         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59556         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59557         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59559         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59560         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59562 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59564         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59566 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59568         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59569         directive.
59571 2011-08-24  David S. Miller  <davem@davemloft.net>
59573         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59575 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59577         * elf/Makefile: Add rules to build and run unload8 test.
59578         * elf/unload8.c: New file.
59579         * elf/unload8mod1.c: New file.
59580         * elf/unload8mod1x.c: New file.
59581         * elf/unload8mod2.c: New file.
59582         * elf/unload8mod3.c: New file.
59584         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59585         it wasn't used.
59587 2011-08-23  David S. Miller  <davem@davemloft.net>
59589         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59590         subtract stack bias.
59591         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59592         %sp not %fp in calculations.
59593         (_JMPBUF_UNWINDS_ADJ): Likewise.
59595         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59596         (aio_suspend): Call it to force an exception region around the
59597         AIO_MISC_WAIT() invocation.
59599 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59601         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59602         backslash.
59604 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59606         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59607         protection macro.
59608         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59609         and <dl-machine.h>.
59610         (Elf64_FuncDesc): Remove.
59612 2011-08-22  David S. Miller  <davem@davemloft.net>
59614         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59615         sigaltstack check, add missing cfi directives.
59616         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59617         missing cfi directives, and sigaltstack handling.
59619 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59621         [BZ #11724]
59622         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59623         object is seen twice.
59624         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59626         * elf/Makefile (distribute): Add tst-initorder2.c.
59627         (tests): Add tst-initorder2.
59628         (modules-names): Add tst-initorder2a tst-initorder2b
59629         tst-initorder2c tst-initorder2d.  Add rules to build them.
59630         ($(objpfx)tst-initorder2.out): New rule.
59631         * elf/tst-initorder2.c: New file.
59632         * elf/tst-initorder2.exp: New file.
59634 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59636         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59638         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59639         dependencies back to end of function.
59641         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59642         $(elfobjdir)/ld.so.
59644 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59646         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59647         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59648         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59649         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59650         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59651         of __vdso_gettimeofday.
59652         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59653         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59654         attribute_hidden.
59655         (_libc_vdso_platform_setup): Remove initialization of
59656         __vdso_gettimeofday and __vdso_time.
59658 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59660         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59661         and fgetc_unlocked.
59662         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59663         getc_unlocked.
59665         * elf/dl-open.c (add_to_global): Report additions to the global scope
59666         for LD_DEBUG=scopes.
59667         (dl_open_worker): Also print scope of newly loaded dependencies.
59668         (_dl_show_scope): Indicate if there is no scope.
59670         [BZ #13114]
59671         * stdio-common/Makefile (tests): Add bug24.
59672         * stdio-common/bug24.c: New file.
59674 2011-08-19  Andreas Jaeger  <aj@suse.de>
59676         [BZ #13114]
59677         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59678         non-existant file when using close-on-exec mode.
59680 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59682         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59683         the very first instruction.
59685         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59686         the CFI state in the end.
59687         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59688         inclusion of dl-trampoline.h.
59689         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59691 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59693         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59694         expectations for long double.
59696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59697         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59699 2011-08-14  David S. Miller  <davem@davemloft.net>
59701         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59702         artificual limit depends upon the system page size.
59704 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59706         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59707         * resolv/Makefile: Define CFLAGS-libresolv.
59709 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59711         * nss/makedb.c (compute_tables): Make variables used in nested
59712         function static.
59714 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59716         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59717         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59718         if buffer was too small.
59720         * elf/pldd.c (main): Attach to all threads in the process.
59721         Rewrite /proc handling to use *at functions.
59723 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59725         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59726         specifies first scope to show.
59727         (dl_open_worker): Update callers.  Move printing scope of new
59728         object to before the relocation.
59729         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59730         * sysdeps/generic/ldsodefs.h: Update declaration.
59732         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59733         string for the scope number.
59735 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59737         * nscd/servicescache.c (cache_addserv): Make sure written is always
59738         initialized.
59740 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59742         * sysdeps/i386/i486/bits/atomic.h
59743         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59744         statement expression, so as to suppress "set but not used" warning.
59745         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59747         * string/strncat.c (STRNCAT): Use prototype definition.
59749         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59750         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59751         -Iprograms here.
59752         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59753         (localedef-modules): Add localedef.
59754         (locale-modules): Add locale.
59756         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59757         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59758         to avoid a warning.
59760 2011-08-14  David S. Miller  <davem@davemloft.net>
59762         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59763         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59765 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59767         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59768         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59769         * elf/rtld.c (dl_main): Set l_name of vDSO.
59770         Call _dl_show_scope when DL_DEBUG_SCOPES.
59771         (process_dl_debug): Recognize scopes flag and also set it for all.
59772         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59773         Declare _dl_show_scope.
59775         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59776         (do_dlopen): Pass caller_dlopen to dl_open.
59777         (__libc_dlopen_mode): Initialize caller_dlopen.
59779         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59780         of libc.  Make tolower call locale-independent.  Optimize a bit by
59781         using isdigit instead of isalnum.
59782         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59784 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59786         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59787         was a dependency or dynamically loaded.
59789 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59791         * intl/l10nflist.c: Allow architecture-specific pop function.
59792         * sysdeps/x86_64/l10nflist.c: New file.
59794         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59795         classification.
59797 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59799         * include/dirent.h: Add libc_hidden_proto for scandirat and
59800         scandirat64.  Don't declare __scandirat64.
59801         * dirent/scandirat.c: Add libc_hidden_def.
59802         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59803         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59805 2011-08-10  David S. Miller  <davem@davemloft.net>
59807         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59808         enum.
59809         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59810         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59811         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59813 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59815         * Versions.def [libc]: Add GLIBC_2.15.
59816         * dirent/Makefile (routines): Add scandirat and scandirat64.
59817         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59818         GLIBC_2.15.
59819         * dirent/dirent.h: Declare scandirat and scandirat64.
59820         * dirent/scandirat.c: New file.
59821         * dirent/scandirat64.c: New file.
59822         * sysdeps/wordsize-64/scandirat.c: New file.
59823         * sysdeps/wordsize-64/scandirat64.c: New file.
59824         * dirent/opendir.c: Define opendirat.
59825         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59826         using scandirat.
59827         * dirent/scandir64.c: Adjust for scandir.c change.
59828         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59829         __scandirat64, and __scandir_cancel_handler.
59830         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59831         additional parameter and use openat instead of open (outside of ld.so).
59832         Add new __opendir as wrapper around __opendirat.
59833         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59834         here without requiring old scandirat implementation.
59836 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59838         * dirent/scandir.c (cancel_handler): Renamed to
59839         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59840         defined.  Adjust users.
59841         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59842         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59844 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59846         * string/test-string.h (IMPL): Use __STRING to expand name and then
59847         stringify it.
59849         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59850         of cleanups.
59852 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59854         * string/Makefile: Update.
59855         (strop-tests): Append strncat.
59856         * string/test-wcscmp.c: New file.
59857         New comprehensive test for wcscmp.
59858         * string/test-strcmp.c: Update.
59859         (WIDE): New define.
59861 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59863         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59864         line.
59866 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59869         encoding to ACE if AI_IDN.
59871 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59873         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59874         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59876 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59878         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59879         Fix overflow bug in strncat.
59880         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59882         * string/test-strncat.c: Update.
59883         Add new tests for checking overflow bugs.
59885 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59887         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59888         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59889         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59890         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59891         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59892         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59893         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59894         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59895         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59897         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59898         (USE_AS_STRCAT): Define.
59899         Add strcat and strncat support.
59900         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59902 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59904         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59905         __n bigger than INT_MAX+1.
59906         (__strncmp_g): Likewise.
59908 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59910         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59911         * libio/stido.h: Likewise.
59913         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59914         (AF_NFC): Define.
59915         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59916         (AF_NFC): Define.
59918         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59919         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59920         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59921         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59922         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59924         [BZ #13021]
59925         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59926         installed.
59928         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59929         typo.
59930         (_dl_x86_64_save_sse): Likewise.
59932 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59934         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59935         OSXSAVE.
59936         (_dl_x86_64_save_sse): Likewise.
59938         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59940         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59942 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59944         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59945         change.
59946         (_dl_x86_64_save_sse): Use correct AVX check.
59948 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59950         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59951         bug in strncpy/strncat.
59952         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59954 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59956         * string/tester.c (test_strcat): Add tests for different alignments
59957         of source and destination.
59958         (test_strncat): Likewise.
59960 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59962         [BZ #12852]
59963         * posix/glob.c (glob): Check passed in values before using them in
59964         expressions to avoid some overflows.
59965         (glob_in_dir): Likewise.
59967         [BZ #13007]
59968         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59969         check for AVX enablement so that we don't crash with old kernels and
59970         new hardware.
59971         * elf/tst-audit4.c: Add same checks here.
59972         * elf/tst-audit6.c: Likewise.
59974         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59976 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59978         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59980 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59982         * po/cs.po: Update from translation team.
59983         * po/bg.po: Likewise.
59985 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59987         * misc/sys/cdefs.h: Add support for const attribute.
59988         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59989         to gnu_dev_{major,minor,makedev} functions.
59991 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59993         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59995 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59997         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59998         strlen results.
60000 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60002         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60003         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60004         register in order to avoid conflicts with the soft frame pointer
60005         being held in r11 when necessary.
60006         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60007         (INTERNAL_VSYSCALL_NCS): Likewise.
60009 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60011         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60012         * elf/dl-fini.c (_dl_fini): Adjust caller.
60013         * elf/dl-close.c (_dl_close_worker): Likewise.
60014         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60016 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60018         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60019         "aux_cache->nlibs < 0".
60021         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60022         in the reload-count case.
60024 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60026         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60027         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60028         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60029         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60030         * sysdeps/x86_64/multiarch/strcat.S: New file.
60031         * sysdeps/x86_64/multiarch/strncat.S: New file.
60032         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60033         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60034         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60035         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60036         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60037         (USE_AS_STRCAT): Define.
60038         Add strcat and strncat support.
60039         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60040         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60041         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60042         * string/strncat.c: Update.
60043         (USE_AS_STRNCAT): Define.
60044         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60045         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60046         and i7.
60047         * sysdeps/x86_64/multiarch/init-arch.h
60048         (bit_Prefer_PMINUB_for_stringop): New.
60049         (index_Prefer_PMINUB_for_stringop): Likewise.
60050         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60051         bit_Prefer_PMINUB_for_stringop.
60053 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60055         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60056         buffer64.
60057         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60058         of casting of buffer.
60059         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60060         buffer32 and buffer64.
60061         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60062         writes instead of casting of buffer.
60063         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60064         buffer32.
60065         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60066         casting of buffer.
60068 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60070         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60072 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60074         * nscd/nscd.c (termination_handler): Don't do anything for a database
60075         if it has not yet been initialized.
60077 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60079         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60081 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60083         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60085 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60087         * po/nl.po: Update from translation team.
60088         * po/sv.po: Likewise.
60090 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60092         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60093         now disallowed by GCC.
60095         * configure.in (use-default-link): Default to yes if a test -shared
60096         link meets our qualifications.
60097         * configure: Regenerated.
60099         * config.make.in (output-format): New variable.
60100         * configure.in: Check for ld --print-output-format support.
60101         * configure: Regenerated.
60102         * Makerules ($(common-objpfx)format.lds)
60103         [$(output-format) != unknown]: Just use $(output-format),
60104         instead of the linker-script munging.
60106 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60108         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60109         of $(common-objpfx)shlib.lds.
60110         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60112         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60113         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60115         * configure.in (-z relro check): Adjust test code to add a large
60116         writable data section after it.
60117         * configure: Regenerated.
60119 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60121         * configure.in (-z relro check): Fix test code to make the variable
60122         truly const.
60123         * configure: Regenerated.
60125 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60127         * nscd/nscd.h (struct traced_file): Define.
60128         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60129         elements.  Add traced_files.
60130         (inotify_fd): Declare.
60131         (register_traced_file): Declare.
60132         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60133         (inotify_fd): Export.
60134         (resolv_conf_descr): Remove.
60135         (nscd_init): Move inotify descriptor creation to main.
60136         Don't register files for notification here.
60137         (register_traced_file): New function.
60138         (invalidate_cache): Don't use reset_res to determine whether to call
60139         res_init, go through the list of registered files.
60140         (main_loop_poll): The inotify descriptors are now stored in the
60141         structures for the traced files.
60142         (main_loop_epoll): Likewise
60143         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60144         to __nss_disable_nscd.
60145         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60146         for a database anymore.  Check the records for all the registered
60147         files instead.
60148         * nss/Makefile (libnss_files-routines): Add files-init.
60149         (libnss_db-routines): Add db-init.
60150         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60151         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60152         * nss/nss_db/db-init.c: New file.
60153         * nss/nss_files/files-init.c: New file.
60154         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60155         __nss_lookup_function.
60156         (__nss_lookup_function): Call nss_load_library.
60157         (nss_load_all_libraries): New function.
60158         (__nss_disable_nscd): Take parameter with callback function for files
60159         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60160         used for the cached services.
60161         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60162         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60163         options for features to all the files in nscd.
60165         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60167 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60169         * csu/elf-init.c (__libc_csu_init): Comment typo.
60171 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60173         * po/pl.po: Update from translation team.
60174         * po/ja.po: Likewise.
60175         * po/ru.po: Likewise.
60176         * po/ko.po: Likewise.
60177         * po/fr.po: Likewise.
60179 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60181         * configure.in (.ctors/.dtors header and trailer check):
60182         Use an empirical test on a built program.
60183         * configure: Regenerated.
60185         * configure.in (-z relro check): Use an empirical test on a built DSO.
60186         Detect, but do not require, on ia64.
60187         * configure: Regenerated.
60189         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60190         Update tests that use readelf to use $READELF instead.
60191         * configure: Regenerated.
60193 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60195         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60196         if the result is not used.
60198 2011-07-05  Andreas Jaeger  <aj@suse.de>
60200         [BZ#9696]
60201         * stdlib/tst-strtod.c: Add testcase.
60203 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60205         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60206         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60207         The latter has a higher limit.  Take additional parameter to pass to
60208         the new function.
60209         (__pathconf): Pass file to __statfs_link_max.
60210         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60211         __statfs_link_max.
60212         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60213         __statfs_link_max.
60215         [BZ #12868]
60216         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60217         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60218         Handle Lustre.
60219         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60220         (__statfs_filesize_max): Likewise.
60221         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60223 2011-07-05  Andreas Jaeger  <aj@suse.de>
60225         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60227 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60229         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60230         `status' variable.
60231         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60232         Likewise.
60234 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60236         * Makefile (strop-tests): Add strncat.
60237         * string/test-strncat.c: New file.
60239 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60241         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60243 2011-06-21  Andreas Jaeger  <aj@suse.de>
60245         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60246         Copy rule from iconvdata/Makefile.
60248 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60250         [BZ #12922]
60251         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60252         but no long options are defined, just return 'W'.
60254 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60256         [BZ #9696]
60257         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60259 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60261         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60262         netgroups to read.
60263         (innetgr): Likewise.
60265 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60267         * config.make.in (install_root): Default to $(DESTDIR).
60269 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60271         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60273 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60275         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60277         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60278         containing directory rather than embedding absolute directory names.
60280         * scripts/check-local-headers.sh: Rewritten using awk.
60281         Match by word, not by line.  Print error messages for matches.
60282         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60284         * Makerules [shlib-lds-flags empty]:
60285         ($(common-objpfx)libc_pic.opts): New target.
60286         ($(common-objpfx)libc_pic.os.clean): New target.
60287         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60289         * config.make.in (OBJCOPY): New variable.
60290         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60291         * configure: Regenerated.
60293         * config.make.in (use-default-link): New variable.
60294         * configure.in (use_default_link): Grok --with-default-link to set it.
60295         * configure: Regenerated.
60296         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60297         (shlib-lds, shlib-lds-flags): Define to empty.
60299         * Makerules (shlib-lds): New variable.
60300         (shlib-lds-flags): New variable.
60301         (build-shlib, build-moduile, build-module-asneeded): Use it.
60302         ($(common-objpfx)libc.so): Use $(shlib-lds).
60303         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60304         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60306         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60307         DT_FLAGS/DT_FLAGS_1 with zero flags.
60309         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60310         linker script munging.
60312 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60314         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60315         as 128-bit value.
60316         * crypt/sha512.c (sha512_process_block): Perform total addition using
60317         128-bit if possible.
60318         (__sha512_finish_ctx): Likewise.
60319         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60320         as 64-bit value.
60321         * crypt/sha256.c (SWAP64): Define.
60322         (sha256_process_block): Perform total addition using 64-bit if
60323         possible.
60324         (__sha256_finish_ctx): Likewise.
60326 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60328         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60329         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60330         * nscd/hstcache.c (cache_addhst): Likewise.
60331         * nscd/grpcache.c (cache_addgr): Likewise.
60332         * nscd/aicache.c (addhstaiX): Likewise
60333         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60335 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60337         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60338         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60339         * nscd/hstcache.c (cache_addhst): Likewise.
60340         * nscd/grpcache.c (cache_addgr): Likewise.
60341         * nscd/aicache.c (addhstaiX): Likewise
60343 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60345         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60346         domain only when needed.
60348 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60351         is always restored.
60353 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60355         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60356         are re-adding the entry.
60357         * nscd/servicescache.c (cache_addserv): Likewise.
60359 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60361         * sysdeps/generic/dl-irel.h: fix protection against multiple
60362         inclusions.
60363         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60365 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60367         [BZ #12935]
60368         * malloc/memusage.sh: Fix quoting in message.
60369         * debug/xtrace.sh: Likewise.
60371         * configure.in: Remove support for --experimental-malloc option, make
60372         it the default.
60373         * config.make.in: Likewise.
60374         * malloc/Makefile: Likewise.
60376 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60378         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60379         two-byte characters.
60381 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60383         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60384         AC_CACHE_CHECK invocation.
60385         * configure: Regenerated.
60387         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60389 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60391         [BZ #12350]
60392         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60393         bit from old_res_options.
60395         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60397         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60398         value type for setfct.
60400 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60402         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60403         __gettimeofday instead of gettimeofday.
60405 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60407         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60409 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60411         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60413         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60414         info.
60416 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60418         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60419         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60420         strcpy-sse2-unaligned strncpy-sse2-unaligned
60421         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60422         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60423         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60424         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60425         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60426         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60427         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60428         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60429         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60430         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60431         (STRCPY): Support SSE2 and SSSE3 versions.
60433 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60435         [BZ #12874]
60436         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60437         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60438         kernels which artificially limit size of requests.
60440 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60443         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60444         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60445         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60446         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60447         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60448         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60449         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60450         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60451         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60452         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60453         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60454         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60455         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60456         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60458         Enable unaligned load optimization for Intel Core i3, i5 and i7
60459         processors.
60460         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60461         Define.
60462         (index_Fast_Unaligned_Load): Define.
60463         (HAS_FAST_UNALIGNED_LOAD): Define.
60465 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60467         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60469 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60471         [BZ #12907]
60472         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60473         until it is clear that the information is realy needed.
60474         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60476 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60480 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60482         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60483         /sys/devices/system/cpu/online if it is usable.
60485         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60486         reading the information from the /proc filesystem to once a second.
60488 2011-06-21  Andreas Jaeger  <aj@suse.de>
60490         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60491         NULL after inclusion of kernel headers.
60493 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60495         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60496         calls to internal_setent.
60498         [BZ #12885]
60499         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60500         addresses using gethostbyname4_r ignore IPv4 addresses.
60502         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60503         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60505         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60507 2011-06-20  David S. Miller  <davem@davemloft.net>
60509         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60510         inclusions.
60511         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60513         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60514         (elf_irel): Use it.
60515         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60516         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60517         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60518         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60519         * sysdeps/x86_64/dl-irel.h: Likewise.
60521         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60522         * elf/dl-sym.c: Likewise.
60524 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60526         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60527         need to dereference resplen2.
60529 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60531         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60533 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60535         * Makeconfig: Define vardbdir and inst_vardbdir.
60536         * nss/Makefile: Add rules to install db-Makefile.
60538         * nss/nss_db/db-XXX.c: Cleanup.
60540         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60541         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60542         GLIBC_PRIVATE.
60543         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60544         * nss/makedb.c: Implement -g option to specify that value strings
60545         are generated and should not be added to table iterated over for
60546         get*ent calls.
60547         * nss/nss_db/db-initgroups.c: New file.
60549         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60550         interface.
60552         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60553         (internal_getgrouplist): Adjust to name change.
60554         Update use_initgroups_entry if this is not the first call.
60555         * nss/databases.def: Add initgroups entry.
60557         * nss/makedb.c (compute_tables): Check result of multiple hash table
60558         sizes to minimize maximum chain length.
60560 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60562         * Versions.def: Add entry for libnss_db.
60563         * shlib-versions: Likewise.
60564         * nss/Makefile: Add rules to build libnss_db.
60565         * nss/Versions: Add libnss_db information.  Organize libnss_files
60566         entries better.
60567         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60568         makedb progra.  Some minor improvements to generate smaller files.
60569         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60570         here from...
60571         * nss/makedb.c: ...here.
60572         Improve database format to be smaller and require less memory at
60573         runtime.
60574         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60575         db anymore.
60576         * nss/nss_db/db-netgrp.c: Likewise.
60577         * nss/nss_db/db-open.c: Likewise.
60578         * nss/nss_files/flies-XXX.x: Adjust comments.
60579         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60580         * nss/nss_files/files-grp.c: Likewise.
60581         * nss/nss_files/files-hosts.c: Likewise.
60582         * nss/nss_files/files-network.c: Likewise.
60583         * nss/nss_files/files-proto.c: Likewise.
60584         * nss/nss_files/files-pwd.c: Likewise.
60585         * nss/nss_files/files-rpc.c: Likewise.
60586         * nss/nss_files/files-service.c: Likewise.
60587         * nss/nss_files/files-sgrp.c: Likewise.
60588         * nss/nss_files/files-spwd.c: Likewise.
60589         * nss/nss_db/db-alias.c: Removed.
60590         * nss/nss_db/dummy-db.h: Removed.
60592 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60594         * nss/makedb.c: Rewritten to not use database library.
60595         * nss/Makefile: Update to build new makedb program.
60597 2011-06-14  Andreas Jaeger  <aj@suse.de>
60599         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60600         memset declaration.
60602 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60605         tmpbuf.
60607 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60609         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60610         * elf/Makefile ($(objpfx)ld.so): Likewise.
60612         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60613         Don't list ld.so twice in dependencies.
60615         * posix/bug-regex31.c: Include <stdlib.h>.
60617         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60619         * nis/nss_compat/compat-spwd.c
60620         (getspent_next_nss_netgr): Remove unused variable.
60621         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60623         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60624         nonmembers" output to use the right array.
60626         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60628         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60630         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60631         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60632         * catgets/gencat.c (read_input_file): Likewise.
60633         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60635         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60636         variable definition inside #if's controlling its use.
60638         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60640         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60642         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60644         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60645         unreachable code.
60647         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60649         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60650         * configure: Regenerated.
60652         * Makerules: Revert last change.
60653         * elf/Makefile: Likewise.
60655 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60657         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60658         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60659         (reloc-link): Likewise.
60661 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60663         * elf/Makefile: Add rules to build pldd.
60664         * elf/pldd.c: New file.
60665         * elf/pldd-xx.c: New file.
60667 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60669         * version.h: Update for 2.15 development version.
60671 2011-06-07  David S. Miller  <davem@davemloft.net>
60673         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60674         ifuncs.
60675         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60676         elf_machine_lazy_rel): Likewise.
60677         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60678         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60679         elf_machine_lazy_rel): Likewise.
60680         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60681         dl_hwcap via passed in argument.
60682         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60683         Likewise.
60685 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60687         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60689 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60691         [BZ #12849]
60692         * manual/fdl-1.1.texi: New file, verbatim from:
60693         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60694         * manual/lgpl-2.1.texi: New file, verbatim from:
60695         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60696         * manual/Makefile (licenses): New variable, list those new file names.
60697         (texis): Use it.
60698         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60700         * manual/fdl.texi: File removed.
60701         * manual/lesser.texi: File removed.
60702         * manual/libc.texinfo (Copying, Documentation License):
60703         Use new @include file names, put @appendix directive before @include.
60705 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60707         [BZ #12841]
60708         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60709         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60710         (mq_open): Add __NTH.
60712 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60715         Assume Intel Core i3/i5/i7 processor if AVX is available.
60717 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60719         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60720         typo.
60722 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60724         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60725         memory.  Use alloca_account.  Fix memory leak when retrying.
60727 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60729         * version.h (RELEASE): Bump for 2.14 release.
60730         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60732         * config.make.in (RANLIB): Remove entry.
60734 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60736         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60737         (libc.pot): Work around missing support for .ksh extension in xgettext.
60739         [BZ #12684]
60740         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60741         if both request failed.
60742         (send_dg): In case of server errors clear resplen or *resplen2.
60744         [BZ #12454]
60745         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60746         when there are multiple maps.
60747         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60748         (_dl_fini): Remove test here.
60750         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60752 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60754         [BZ #12350]
60755         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60756         bit from old_res_options.
60757         (gaih_inet): Likewise.
60759         [BZ #11099]
60760         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60761         as signed.
60763         * resolv/res_init.c (res_setoptions): Make the code more compact.
60765         [BZ #11558]
60766         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60767         set RES_USEVC.
60769         [BZ #11634]
60770         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60772         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60774         [BZ #11781]
60775         * malloc/malloc.h: Declare malloc hook variables as volatile.
60777         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60778         in last patch.
60780         [BZ #11799]
60781         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60782         raise in the comment.
60783         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60784         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60785         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60787 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60789         [BZ #12811]
60790         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60791         grow the buffers more if it already has to be sufficient.
60792         (build_wcs_upper_buffer): Likewise.
60793         * posix/regexec.c (check_matching): Likewise.
60794         (clean_state_log_if_needed): Likewise.
60795         (extend_buffers): Don't enlarge buffers beyond size of the input
60796         buffer.
60797         Patches mostly by Emil Wojak <emil@wojak.eu>.
60798         * posix/bug-regex32.c: New file.
60799         * posix/Makefile (tests): Add bug-regex32.
60801         * locale/findlocale.c (_nl_find_locale): Return right away if
60802         _nl_explode_name failed.
60803         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60805         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60807         * debug/xtrace.sh: Unify messages.
60808         * malloc/memusage.sh: Likewise.
60810         [BZ #12813]
60811         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60812         time symbol from vDSO.  Substitute with vsyscall if not available.
60813         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60814         __vdso_time.
60816         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60817         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60818         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60819         Add sendmmsg and internal_sendmmsg.
60820         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60821         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60822         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60824         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60825         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60826         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60828 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60830         [BZ #12813]
60831         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60832         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60833         available.
60834         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60835         __vdso_getcpu.
60837         [BZ #12814]
60838         * iconvdata/Makefile (tests): Add bug-iconv9.
60839         * iconvdata/bug-iconv9.c: New file.
60841 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60843         [BZ #12814]
60844         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60846 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60848         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60849         (struct user_regs_struct): Change intcs field back to cs.
60851 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60853         * po/ja.po: Update from translation team.
60855 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60857         [BZ #12795]
60858         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60859         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60861 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60863         * stdlib/longlong.h: Update from GCC.
60865 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60867         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60868         parameter name.
60869         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60870         Add parameter name.
60871         (__sysconf): Pass it down.
60873 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60875         [BZ #12671]
60876         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60877         some situations.
60878         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60879         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60880         add in in __libc_use_alloca calls.  Adjust callers.
60881         (glob): Use malloc in some situations.
60883         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60884         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60885         pltexit.
60887 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60889         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60890         and CLOCK_BOOTTIME_ALARM.
60892         [BZ #12782]
60893         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60894         is returned.
60896         * string/_strerror.c (__strerror_r): Print negative errors as signed
60897         numbers.
60899         [BZ #12777]
60900         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60901         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60902         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60904         * configure.in: Fix typo in redirection and correct removal of test
60905         files in two cases.
60907         [BZ #12788]
60908         * locale/setlocale.c (new_composite_name): Fix test to check for
60909         identical name of all categories.
60911         [BZ #12792]
60912         * libio/filedoalloc.c (local_isatty): New function.
60913         (_IO_file_doallocate): Use local_isatty.
60914         * stdio-common/perror.c (perror): In case a new stream is used
60915         forward the stream error.
60916         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60917         error flag.
60919 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60921         [BZ #11869]
60922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60923         alloca.
60924         * include/alloca.h (extend_alloca_account): Define.
60926         [BZ #11857]
60927         * posix/regex.h: Fix comments with documentation of user-accessible
60928         fields after compilation and describe correct free'ing of pattern
60929         after re_compile_pattern.
60930         Patch by Reuben Thomas <rrt@sc3d.org>.
60932 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60934         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60935         and -mno-altivec to prevent the compiler from using Altivec and/or
60936         VSX instructions when the corresponding registers are not available.
60938 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60940         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60942 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60944         * libio/freopen.c (freopen): Use __dup2, not dup2.
60945         * libio/freopen64.c (freopen64): Likewise.
60947 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60949         [BZ #12775]
60950         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60951         * math/Makefile (tests): Add test-powl.
60952         (CFLAGS-test-powl.c): Define.
60953         * math/test-powl.c: New file.
60955 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60957         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60959 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60961         [BZ #11837]
60962         * iconvdata/gb18030.c: Update to GB18020-2005.
60964 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60966         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60967         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60968         Patch by Aharon Robbins <arnold@skeeve.com>.
60970         [BZ #11892]
60971         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60972         on the stack.
60974         [BZ #11895]
60975         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60976         through underflows.
60978         [BZ #12766]
60979         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60980         point to strings before performing equality test for error_one_per_line
60981         mode.
60983         [BZ #11697]
60984         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60986         [BZ #11820]
60987         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60988         (struct user_fpregs_struct): Avoid __uint*_t types.
60990         [BZ #6420]
60991         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60992         symbol info.  Use it instead of calling _dl_addr locally.
60993         (lock_and_info): New function.
60994         (tr_freehook): Call lock_and_info and pass symbol info as additional
60995         parameter to tr_where.
60996         (tr_mallochook): Likewise.
60997         (tr_reallochook): Likewise.
60998         (tr_memalignhook): Likewise.
61000         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61001         used and couldn't be at all thread-safe.
61003 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61005         * libio/freopen.c (freopen): Don't close old file descriptor
61006         before the new one is opened.  Instead dup the new file descriptor
61007         to the old one after the new stream is created.
61008         * libio/freopen64.c (freopen64): Likewise.
61009         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61010         * libio/fileops.c (_IO_new_file_close_it): Handle new
61011         _IO_FLAGS2_NOCLOSE flag.
61012         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61013         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61014         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61015         _IO_FLAGS2_NOCLOSE flag.
61016         * include/unistd.h: Add hidden_proto for dup3.
61017         Define __have_dup3.
61018         * io/dup3.c: Define hidden symbol.
61019         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61021         [BZ #7101]
61022         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61023         when an incomplete long option is used.
61024         * posix/tst-getopt_long1.c: New file.
61025         * posix/Makefile (tests): Add tst-getopt_long1.
61027         [BZ #10138]
61028         * scripts/config.guess: Update from autoconf-2.68.
61029         * scripts/config.sub: Likewise.
61031         [BZ #10157]
61032         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61033         tests into ...
61034         (has_cpuclock): ...this.  New function.
61035         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61036         macro here based on has_cpuclock code.
61038         [BZ #10149]
61039         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61040         First byte (not low byte) is now always NUL.
61041         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61043         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61044         Use non-cancelable interfaces.
61046         [BZ #9809]
61047         * locale/iso-639.def: Add entry for Sorani.
61049         [BZ #11901]
61050         * include/stdlib.h: Move include protection to the right place.
61051         Define abort_msg_s.  Declare __abort_msg with it.
61052         * stdlib/abort.c (__abort_msg): Adjust type.
61053         * assert/assert.c (__assert_fail_base): New function.  Majority
61054         of code from __assert_fail.  Allocate memory for __abort_msg with
61055         mmap.
61056         (__assert_fail): Now call __assert_fail_base.
61057         * assert/assert-perr.c: Remove bulk of implementation.  Use
61058         __assert_fail_base.
61059         * include/assert.hL Declare __assert_fail_base.
61060         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61061         mmap.
61062         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61064 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61066         [BZ #11952]
61067         [BZ #12453]
61068         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61069         until all modules are registered in the DTV.
61070         * elf/Makefile: Add rules to build and run tst-tls19.
61071         * elf/tst-tls19.c: New file.
61072         * elf/tst-tls19mod1.c: New file.
61073         * elf/tst-tls19mod2.c: New file.
61074         * elf/tst-tls19mod3.c: New file.
61075         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61077         [BZ #12083]
61078         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61079         correctly.
61081         [BZ #12601]
61082         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61083         two-byte sequence errors.
61084         * iconvdata/Makefile (tests): Add bug-iconv8.
61085         * iconvdata/bug-iconv8.c: New file.
61087         [BZ #12626]
61088         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61089         buf2 definition.
61091         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61093         [BZ #12432]
61094         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61095         (dummy_getcfa): New function.
61096         (init): Get _Unwind_GetCFA address, use dummy if not found.
61097         (backtrace_helper): In recursion check, also check whether CFA changes.
61098         (__backtrace): Completely initialize arg.
61100         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61101         storing incomplete byte sequence in state object.  Avoid testing for
61102         guaranteed too small input if we know there is enough data available.
61104 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61106         * Makeconfig (+link-pie): Indent.
61107         * Rules (binaries-pie): Define if $(have-fpie) and
61108         $(build-shared).
61109         (binaries-shared): Also filter out $(binaries-pie).
61110         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61111         * nscd/Makefile (others-pie): Add nscd.
61112         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61113         ($(objpfx)nscd): Remove command override.
61114         * login/Makefile (others-pie): Add pt_chown.
61115         ($(objpfx)pt_chown): Remove command override.
61116         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61117         remove command overrides.
61119 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61121         * libio/tst_putwc.c: Fix error messages.
61123         [BZ #12724]
61124         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61125         currently writing and seek to current position when not.
61126         * libio/Makefile (tests): Add bug-fclose1.
61127         * libio/bug-fclose1.c: New file.
61129 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61131         [BZ #12511]
61132         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61133         don't set DF_1_NODELETE here.
61134         (do_lookup_x): When entering new entry test for copy relocation
61135         and if necessary set DF_1_NODELETE flag.
61136         * elf/tst-unique4.cc: New file.
61137         * elf/tst-unique4.h: New file.
61138         * elf/tst-unique4lib.cc: New file.
61139         * elf/Makefile: Add rules to build and run tst-unique4.
61140         Patch by Piotr Bury <pbury@goahead.com>.
61142 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61144         [BZ #12052]
61145         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61147         [BZ #12625]
61148         * misc/mntent_r.c (addmntent): Flush the stream after the output
61150         [BZ #12393]
61151         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61152         (is_trusted_path_normalize): Skip initial colon.  Append slash
61153         to empty buffer.  Duplicate is_trusted_path code but allow
61154         constructed patch to be prefix.
61155         (is_dst): Allow $ORIGIN followed by /.
61156         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61157         Correct testing of result of is_trusted_path_normalize
61158         (decompose_rpath): Fix warning.
61160 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61162         [BZ #11257]
61163         * grp/initgroups.c (internal_getgrouplist): When we found the service
61164         list through the initgroups entry in nsswitch.conf do not always
61165         continue on a successful lookup.  Don't always use the
61166         __nss_group_database value if it is set.
61167         * nss/nsswitch.conf (initgroups): Change action for successful db
61168         lookup to continue for compatibility.
61170 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61172         [BZ #11532]
61173         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61174         and CP774 modules.
61175         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61176         and CP774 modules.
61177         * iconvdata/tst-tables.sh: Likewise.
61178         * iconvdata/cp770.c: New file.
61179         * iconvdata/cp771.c: New file.
61180         * iconvdata/cp772.c: New file.
61181         * iconvdata/cp773.c: New file.
61182         * iconvdata/cp774.c: New file.
61183         * iconvdata/testdata/CP770: New file.
61184         * iconvdata/testdata/CP770..UTF8: New file.
61185         * iconvdata/testdata/CP771: New file.
61186         * iconvdata/testdata/CP771..UTF8: New file.
61187         * iconvdata/testdata/CP772: New file.
61188         * iconvdata/testdata/CP772..UTF8: New file.
61189         * iconvdata/testdata/CP773: New file.
61190         * iconvdata/testdata/CP773..UTF8: New file.
61191         * iconvdata/testdata/CP774: New file.
61192         * iconvdata/testdata/CP774..UTF8: New file.
61194         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61195         END CHARMAP line.
61196         * iconvdata/gen-8bit-gap.sh: Likewise.
61197         * iconvdata/gen-8bit.sh: Likewise.
61199         * locale/iso-639.def: Add ary entry.
61201         [BZ #11258]
61202         * locale/C-translit.h.in: Add U20A1 transliteration.
61204         [BZ #12178]
61205         * locale/iso-639.def: Add wae entry.
61206         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61208         [BZ #12545]
61209         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61210         for n.
61212         [BZ #12711]
61213         * locale/C-translit.h.in: Add entry for U20B9.
61214         Patch by pravin.d.s@gmail.com.
61216 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61218         [BZ #12713]
61219         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61220         ENAMETOOLONG use generic getcwd.
61221         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61222         in rtld.  Use *stat64.
61223         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61224         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61225         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61226         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61227         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61228         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61229         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61230         __fstatat64 macros.
61231         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61232         * dirent/rewinddir.c: Add libc_hidden_def.
61233         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61234         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61236         * include/dirent.h (__alloc_dir): Add flags parameter.
61237         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61238         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61239         __alloc_dir.
61240         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61241         from fdopendir if O_CLOEXEC is already set.
61243 2011-03-15  Alan Modra  <amodra@gmail.com>
61245         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61246         l_tls_firstbyte_offset non-zero.  Save padding offset in
61247         l_tls_firstbyte_offset for later use.
61248         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61249         freeing static tls block.
61251 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61253         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61254         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61255         being defined by the kernel headers.
61257 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61259         [BZ #12734]
61260         * resolv/resolv.h: Define RES_NOTLDQUERY.
61261         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61262         no-tld-query and set RES_NOTLDQUERY.
61263         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61264         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61265         modern BIND to search name as TLD unless forbidden.
61267 2011-05-07  Petr Baudis  <pasky@suse.cz>
61268             Ulrich Drepper  <drepper@gmail.com>
61270         [BZ #12393]
61271         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61272         (is_trusted_path): ...to here.
61273         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61274         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61275         using is_trusted_path_normalize() in setuid scripts.
61277 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61279         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61280         __BEGIN/__END_DECLS.
61282 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61284         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61285         NSS_STATUS_NOTFOUND if no record was found.
61287 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61289         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61290         (headers-not-in-tirpc): Remove rpc/netdb.h
61291         * resolv/netdb.h: Revert last change.
61293 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61295         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61296         circular dependency between libgcc.a and libc.a.
61298 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61300         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61301         * nis/Makefile: Don't install rpcsvc/*.
61302         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61303         instead of <rpc/types.h>.
61304         (MAXHOSTNAMELEN): Define.
61306 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61308         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61310 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61312         [BZ #12714]
61313         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61314         gethostbyname4_r when IPv6 results are possible.
61316 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61318         [BZ #12723]
61319         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61320         _PC_PIPE_BUF handling.
61322 2011-04-30  Bruno Haible  <bruno@clisp.org>
61324         [BZ #12717]
61325         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61326         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61327         to 'int'.
61328         * inet/getnameinfo.c (getnameinfo): Likewise.
61330 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61332         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61333         to groups setting in database lookup.
61334         * nss/nsswitch.conf: Add initgroups entry.
61336 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61338         [BZ #12685]
61339         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61340         mode string.
61341         Patch by Eric Blake <eblake@redhat.com>.
61343 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61345         * sunrpc/Makefile (need-export-routines): Add svc_run.
61346         (routines): Remove svc_run.
61347         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61348         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61349         * sunrpc/svc_run.c (svc_run): Likewise.
61350         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61352 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61354         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61355         problem in reallocation in last patch.
61357 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61359         * sunrpc/Makefile: Move inclusion of Rules.
61361 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61363         * nss/nss_files/files-initgroups.c: New file.
61364         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61365         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61366         _nss_files_initgroups_dyn.
61368 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61370         * elf/elf.h (R_ARM_IRELATIVE): Define.
61372 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61374         * po/ru.po: Update from translation team.
61376 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61378         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61379         dependencies.
61381 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61383         [BZ #12653]
61384         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61385         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61386         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61387         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61388         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61390 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61392         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61393         differing bytes.
61394         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61395         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61396         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61398 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61400         [BZ #12420]
61401         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61402         storing it.
61403         * stdlib/bug-getcontext.c: New file.
61404         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61406 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61408         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61409         instructions into .machine "z9-109".
61410         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61411         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61413 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61415         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61416         between environment variables and auxiliary vector.
61418 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61420         * Makefile: Add rules to build linkobj/libc.so.
61421         * include/libc-symbols.h: Define libc_hidden_nolink.
61422         * include/rpc/auth.h: Mark functions which are to be hidden.
61423         * include/rpc/auth_des.h: Likewise.
61424         * include/rpc/auth_unix.h: Likewise.
61425         * include/rpc/clnt.h: Likewise.
61426         * include/rpc/des_crypt.h: Likewise.
61427         * include/rpc/key_prot.h: Likewise.
61428         * include/rpc/pmap_clnt.h: Likewise.
61429         * include/rpc/pmap_prot.h: Likewise.
61430         * include/rpc/pmap_rmt.h: Likewise.
61431         * include/rpc/rpc_msg.h: Likewise.
61432         * include/rpc/svc.h: Likewise.
61433         * include/rpc/svc_auth.h: Likewise.
61434         * include/rpc/xdr.h: Likewise.
61435         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61436         * nss/Makefile: Likewise.
61437         * sunrpc/Makefile: Don't install headers.  Build library with normal
61438         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61439         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61440         for the compat linking library.  Remove use of INTDEF/INTUSE.
61441         * sunrpc/auth_none.c: Likewise.
61442         * sunrpc/auth_unix.c: Likewise.
61443         * sunrpc/authdes_prot.c: Likewise.
61444         * sunrpc/authuxprot.c: Likewise.
61445         * sunrpc/clnt_gen.c: Likewise.
61446         * sunrpc/clnt_perr.c: Likewise.
61447         * sunrpc/clnt_raw.c: Likewise.
61448         * sunrpc/clnt_simp.c: Likewise.
61449         * sunrpc/clnt_tcp.c: Likewise.
61450         * sunrpc/clnt_udp.c: Likewise.
61451         * sunrpc/clnt_unix.c: Likewise.
61452         * sunrpc/des_crypt.c: Likewise.
61453         * sunrpc/des_soft.c: Likewise.
61454         * sunrpc/get_myaddr.c: Likewise.
61455         * sunrpc/key_call.c: Likewise.
61456         * sunrpc/key_prot.c: Likewise.
61457         * sunrpc/netname.c: Likewise.
61458         * sunrpc/pm_getmaps.c: Likewise.
61459         * sunrpc/pm_getport.c: Likewise.
61460         * sunrpc/pmap_clnt.c: Likewise.
61461         * sunrpc/pmap_prot.c: Likewise.
61462         * sunrpc/pmap_prot2.c: Likewise.
61463         * sunrpc/pmap_rmt.c: Likewise.
61464         * sunrpc/publickey.c: Likewise.
61465         * sunrpc/rpc_cmsg.c: Likewise.
61466         * sunrpc/rpc_common.c: Likewise.
61467         * sunrpc/rpc_dtable.c: Likewise.
61468         * sunrpc/rpc_prot.c: Likewise.
61469         * sunrpc/rpc_thread.c: Likewise.
61470         * sunrpc/rtime.c: Likewise.
61471         * sunrpc/svc.c: Likewise.
61472         * sunrpc/svc_auth.c: Likewise.
61473         * sunrpc/svc_authux.c: Likewise.
61474         * sunrpc/svc_raw.c: Likewise.
61475         * sunrpc/svc_run.c: Likewise.
61476         * sunrpc/svc_simple.c: Likewise.
61477         * sunrpc/svc_tcp.c: Likewise.
61478         * sunrpc/svc_udp.c: Likewise.
61479         * sunrpc/svc_unix.c: Likewise.
61480         * sunrpc/svcauth_des.c: Likewise.
61481         * sunrpc/xcrypt.c: Likewise.
61482         * sunrpc/xdr.c: Likewise.
61483         * sunrpc/xdr_array.c: Likewise.
61484         * sunrpc/xdr_float.c: Likewise.
61485         * sunrpc/xdr_intXX_t.c: Likewise.
61486         * sunrpc/xdr_mem.c: Likewise.
61487         * sunrpc/xdr_rec.c: Likewise.
61488         * sunrpc/xdr_ref.c: Likewise.
61489         * sunrpc/xdr_sizeof.c: Likewise.
61490         * sunrpc/xdr_stdio.c: Likewise.
61492 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61494         [BZ #12650]
61495         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61496         * sysdeps/ia64/dl-tls.h: Likewise.
61497         * sysdeps/powerpc/dl-tls.h: Likewise.
61498         * sysdeps/s390/dl-tls.h: Likewise.
61499         * sysdeps/sh/dl-tls.h: Likewise.
61500         * sysdeps/sparc/dl-tls.h: Likewise.
61501         * sysdeps/x86_64/dl-tls.h: Likewise.
61502         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61504 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61506         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61507         rpath element also skip the following colon.
61508         (expand_dynamic_string_token): Add is_path parameter and pass
61509         down to DL_DST_REQUIRED and _dl_dst_substitute.
61510         (decompose_rpath): Call expand_dynamic_string_token with
61511         non-zero is_path.  Ignore empty rpaths.
61512         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61513         with zero is_path.
61515 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61518         Make cancelable.
61520 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61522         [BZ #12655]
61523         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61524         Patch by Filipe David Manana <fdmanana@apache.org>.
61526 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61528         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61529         Maintain aligned stack.
61530         (CHECK_RSP): Remove unused macro.
61532 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61534         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61535         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61537 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61539         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61541         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61543 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61545         [BZ #12518]
61546         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61547         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61548         * sysdeps/x86_64/memmove.c: New file.
61549         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61550         (memcpy): Renamed to ...
61551         (__new_memcpy): This.
61552         (memcpy): Provide GLIBC_2_14 memcpy.
61553         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61554         (memcpy): Provide GLIBC_2_2_5 memcpy.
61556 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61558         [BZ #12631]
61559         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61561 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61563         * misc/syncfs.c: New file.
61564         * misc/Makefile (routines): Add syncfs.
61565         * posix/unistd.h: Declare syncfs.
61566         * sysdeps/unix/syscalls.list: Add syncfs.
61568 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61570         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61571         open_by_handle_at.
61572         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61573         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61574         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61575         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61576         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61577         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61578         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61580 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61582         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61583         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61584         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61585         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61586         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61587         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61588         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61590         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61591         sync_file_range.c with -fexceptions.
61592         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61593         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61594         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61595         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61596         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61597         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61598         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61599         sync_file_range as cancellation point
61600         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61601         now a wrapper around __call_sync_file_range with cancellation handling.
61602         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61603         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61604         function name to __call_sync_file_range.
61605         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61606         Add call_sync_file_range.
61608 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61610         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61611         bits/timex.h.
61613 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61615         * iconv/iconv.h: Fix typo in comment.
61616         * io/fcntl.h: Likewise.
61617         * libio/stdio.h: Likewise.
61618         * posix/spawn.h: Likewise.
61619         * posix/unistd.h: Likewise.
61620         * stdlib/stdlib.h: Likewise.
61621         * time/time.h: Likewise.
61622         * wcsmbs/wchar.h: Likewise.
61624         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61625         open_by_handle): Add.
61626         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61627         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61628         Augment a few comments.
61629         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61630         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61631         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61632         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61633         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61634         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61635         open_by_handle.
61637         * io/fcntl.h (AT_EMPTY_PATH): Define.
61639 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61641         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61642         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61643         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61644         to...
61645         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61646         * Versions.def: Add GLIBC_2.14.
61647         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61648         Export.
61650 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61652         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61653         round counter.
61654         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61656 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61658         [BZ #12597]
61659         * string/test-strncmp.c (do_page_test): New function.
61660         (check2): Likewise.
61661         (test_main): Call check2.
61662         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61664 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61666         [BZ #12587]
61667         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61668         Handle cache information in CPU leaf 4.
61669         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61671 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61673         [BZ #12583]
61674         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61675         character representation.
61676         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61678 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61680         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61681         END(__isnan) to END(__isnanf) to match function entry point/label
61682         EALIGN(__isnanf,...).
61684 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61686         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61688 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61690         [BZ #12510]
61691         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61692         copy from the symbol referenced in the relocation to initialize the
61693         used variable.
61694         Patch by Piotr Bury <pbury@goahead.com>.
61695         * elf/Makefile: Add rules to build and tst-unique3.
61696         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61697         * elf/tst-unique3.cc: New file.
61698         * elf/tst-unique3.h: New file.
61699         * elf/tst-unique3lib.cc: New file.
61700         * elf/tst-unique3lib2.cc: New file.
61702         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61704 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61706         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61707         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61708         to _start.
61710 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61712         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61713         to-be-loaded object along a path to loader is ld.so.
61715 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61716             Ulrich Drepper  <drepper@gmail.com>
61718         * sysdeps/x86_64/memset.S: After aligning destination, code
61719         branches to different locations depending on the value of
61720         misalignment, when multiarch is enabled. Fix this.
61722 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61724         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61725         Set _x86_64_preferred_memory_instruction for AMD processsors.
61726         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61727         Set bit_Prefer_SSE_for_memop for AMD processors.
61729 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61731         * libio/fmemopen.c (fmemopen): Optimize a bit.
61733 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61735         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61737 2011-03-03  Roland McGrath  <roland@redhat.com>
61739         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61741 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61743         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61744         __bzero_ultra1 instead of __memset_ultra1.
61746 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61747             Ulrich Drepper  <drepper@gmail.com>
61749         [BZ #12509]
61750         * include/link.h (struct link_map): Add l_orig_initfini.
61751         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61752         returning unsuccessfully.
61753         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61754         close of a file loaded at startup, restore the original l_initfini
61755         list.
61756         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61757         list, store the pointer.
61758         * elf/Makefile ($(objpfx)noload-mem): New rule.
61759         (noload-ENV): Define.
61760         (tests): Add $(objpfx)noload-mem.
61761         * elf/noload.c: Include <memcheck.h>.
61762         (main): Call mtrace.  Close all opened handles.
61764 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61766         [BZ #12454]
61767         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61768         dependencies are missing.
61770 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61772         Fix __if_freereq crash: Unlike the generic version which uses free,
61773         Hurd needs munmap.
61774         * sysdeps/mach/hurd/ifreq.h: New file.
61776 2011-01-27  Petr Baudis  <pasky@suse.cz>
61777             Ulrich Drepper  <drepper@gmail.com>
61779         [BZ 12445]#
61780         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61781         to extend_alloca().
61782         * stdio-common/bug23.c: New file.
61783         * stdio-common/Makefile (tests): Add bug23.
61785 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61786             Ulrich Drepper  <drepper@gmail.com>
61788         [BZ #12489]
61789         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61790         before performing relro protection.  At old place add assertion
61791         to make sure nothing changed.
61793 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61794             Glauber de Oliveira Costa  <glommer@gmail.com>
61796         * elf/elf.h: Add new ARM TLS relocs.
61798 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61801         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61802         cast from r3.
61803         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61804         'tests' variable.
61805         * sysdeps/wordsize-64/tst-writev.c: New file.
61807 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61809         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61810         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61811         insns in _dl_start to prevent a TOC reference before relocs are
61812         resolved.
61814 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61816         [BZ #12469]
61817         * Makeconfig: Remove RANLIB definition.
61818         * Makerules: Don't use RANLIB.
61819         * aclocal.m4: Remove ranlib test.
61820         * configure.in: No need to check for ranlib.
61821         * elf/rtld-Rules: Don't use RANLIB.
61823 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61825         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61826         protection macro.
61827         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61828         inclusion protection macro.
61830         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61831         SIGRTMIN and SIGRTMAX and print information in that case only when
61832         SIGRTMIN is defined.
61834 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61836         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61837         arginfo fn returning -1.
61839         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61840         and thousands string is zero terminated.
61842 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61844         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61845         sysdeps/unix/sysv/linux/bits/socket.h.
61847 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61849         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61850         (__CPU_COUNT): Remove old macros.
61851         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61852         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61853         (__CPU_ALLOC, __CPU_FREE): Add macros.
61854         (__sched_cpualloc, __sched_cpufree): Add declarations.
61856 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61858         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61859         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61860         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61861         (readdhstai): Return value of addhstaiX call.
61862         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61863         (addgrbyX): Return value returned by cache_addgr.
61864         (readdgrbyname): Return value returned by addgrbyX.
61865         (readdgrbygid): Likewise.
61866         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61867         (addpwbyX): Return value returned by cache_addpw.
61868         (readdpwbyname): Return value returned by addhstbyX.
61869         (readdpwbyuid): Likewise.
61870         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61871         (addservbyX): Return value returned by cache_addserv.
61872         (readdservbyname): Return value returned by addservbyX:
61873         (readdservbyport): Likewise.
61874         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61875         (addhstbyX): Return value returned by cache_addhst.
61876         (readdhstbyname): Return value returned by addhstbyX.
61877         (readdhstbyaddr): Likewise.
61878         (readdhstbynamev6): Likewise.
61879         (readdhstbyaddrv6): Likewise.
61880         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61881         (readdinitgroups): Return value returned by addinitgroupsX.
61882         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61883         (prune_cache): Keep track of timeout value of re-added entries.
61884         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61885         * nscd/nscd.h: Adjust prototypes of readd* functions.
61887 2011-02-04  Roland McGrath  <roland@redhat.com>
61889         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61890         (nis_stats): Likewise.
61891         * nis/nis_modify.c (nis_modify): Likewise.
61892         * nis/nis_remove.c (nis_remove): Likewise.
61893         * nis/nis_add.c (nis_add): Likewise.
61895         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61897         * posix/fnmatch_loop.c: Add some consts.
61899         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61901 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61903         [BZ #12460]
61904         * config.make.in (config-cflags-novzeroupper): Define.
61905         * configure.in: Substitute libc_cv_cc_novzeroupper.
61906         * elf/Makefile (AVX-CFLAGS): Define.
61907         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61908         (CFLAGS-tst-auditmod4a.c): Likewise.
61909         (CFLAGS-tst-auditmod4b.c): Likewise.
61910         (CFLAGS-tst-auditmod6b.c): Likewise.
61911         (CFLAGS-tst-auditmod6c.c): Likewise.
61912         (CFLAGS-tst-auditmod7b.c): Likewise.
61913         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61915 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61917         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61918         function to the callback.
61919         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61921 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61923         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61924         of errno.
61926 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61928         [BZ #11724]
61929         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61930         of constructors.
61931         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61932         of destructors.
61933         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61935         [BZ #11724]
61936         * elf/Makefile: Add rules to build and run new test.
61937         * elf/tst-initorder.c: New file.
61938         * elf/tst-initorder.exp: New file.
61939         * elf/tst-initordera1.c: New file.
61940         * elf/tst-initordera2.c: New file.
61941         * elf/tst-initordera3.c: New file.
61942         * elf/tst-initordera4.c: New file.
61943         * elf/tst-initorderb1.c: New file.
61944         * elf/tst-initorderb2.c: New file.
61945         * elf/tst-order-a1.c: New file.
61946         * elf/tst-order-a2.c: New file.
61947         * elf/tst-order-a3.c: New file.
61948         * elf/tst-order-a4.c: New file.
61949         * elf/tst-order-b1.c: New file.
61950         * elf/tst-order-b2.c: New file.
61951         * elf/tst-order-main.c: New file.
61952         New test case by George Gensure <werkt0@gmail.com>.
61954 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61956         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61957         decoding ACE if AI_CANONIDN.
61959 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61961         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61963 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61965         * version.h (RELEASE): Bump for 2.13 release.
61966         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61968         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61970         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61971         MADV_NOHUGEPAGE.
61972         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61973         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61974         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61975         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61976         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61977         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61979         * posix/getconf.c: Update copyright year.
61980         * catgets/gencat.c: Likewise.
61981         * csu/version.c: Likewise.
61982         * debug/catchsegv.sh: Likewise.
61983         * debug/xtrace.sh: Likewise.
61984         * elf/ldconfig.c: Likewise.
61985         * elf/ldd.bash.in: Likewise.
61986         * elf/sprof.c (print_version): Likewise.
61987         * iconv/iconv_prog.c: Likewise.
61988         * iconv/iconvconfig.c: Likewise.
61989         * locale/programs/locale.c: Likewise.
61990         * locale/programs/localedef.c: Likewise.
61991         * malloc/memusage.sh: Likewise.
61992         * malloc/mtrace.pl: Likewise.
61993         * nscd/nscd.c (print_version): Likewise.
61994         * nss/getent.c: Likewise.
61996         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61997         PF_CAIF, and PF_ALG.
61998         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62000 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62002         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62003         (modules-names): Use them.
62004         (ifunc-test-modules, ifunc-pie-tests): Define.
62005         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62006         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62007         (test-extras): Likewise.
62008         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62009         $(compile-command.c).
62010         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62011         (all-built-dso): Define.
62012         (check-textrel.out, check-execstack.out): Depend on it.
62014         * configure.in: Don't override --enable-multi-arch.
62016 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62018         [BZ #6812]
62019         * nscd/hstcache.c (tryagain): Define.
62020         (cache_addhst): Return tryagain not notfound for temporary errors.
62021         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62022         failed.
62024 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62026         [BZ #10563]
62027         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62028         to make the syscall.
62029         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62031         [BZ #12378]
62032         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62033         and fall back to matching as normal character if the string ends before
62034         the matching ']' is found.  This is what POSIX requires.
62035         * posix/testfnm.c: Adjust test result.
62036         * posix/globtest.sh: Adjust test result.  Add new test.
62037         * posix/tst-fnmatch.input: Likewise.
62038         * posix/tst-fnmatch2.c: Add new test.
62040 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62042         * elf/Makefile (check-execstack): Revert last change.  Depend on
62043         check-execstack.h.
62044         (check-execstack.h): New target.
62045         (generated): Add check-execstack.h.
62046         * elf/check-execstack.c: Include "check-execstack.h".
62047         (main): Revert last change.
62048         (handle_file): Return zero if GNU_STACK is absent and
62049         DEFAULT_STACK_PERMS doesn't include PF_X.
62051 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62053         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62054         in child fails because the descriptor is already closed.
62055         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62056         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62057         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62059         [BZ #12397]
62060         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62061         syscall.
62063         [BZ #10484]
62064         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62065         temporary buffer used to handle multi lookups locally.
62066         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62068 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62070         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62071         loader is ld.so.
62073 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62075         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62076         alignment for SSE2.
62078 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62080         [BZ #12394]
62081         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62082         characters.  When rounding increased number of integer digits recompute
62083         number of groups.
62084         * stdio-common/tst-grouping.c: New file.
62085         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62087 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62089         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62090         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62092         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62093         void.
62094         * bits/select.h: Likewise.
62096 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62098         * po/ja.po: Update from translation team.
62100 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62102         [BZ #11155]
62103         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62104         implementation just like for lxstat, fxstatat, et al.
62106 2010-12-27  Jim Meyering  <meyering@redhat.com>
62108         [BZ #12348]
62109         * posix/regexec.c (build_trtable): Return failure indication upon
62110         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62112 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62114         [BZ #12201]
62115         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62116         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62117         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62118         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62120         [BZ #12207]
62121         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62123         [BZ #12204]
62124         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62125         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62127 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62129         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62130         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62131         script has SORT_BY_INIT_PRIORITY.
62132         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62133         NO_CTORS_DTORS_SECTIONS is defined.
62134         * elf/soinit.c: Likewise.
62135         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62136         NO_CTORS_DTORS_SECTIONS is defined.
62137         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62138         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62139         * sysdeps/sh/init-first.c: Likewise.
62140         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62142 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62144         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62145         always use the slow path.
62147 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62149         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62150         similar rule which adds the sysdep directories to the header search in
62151         order to pick up the correct platform stackinfo.h.
62152         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62153         perform test if it is, otherwise return successfully without testing.
62154         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62155         DEFAULT_STACK_PERMS define in stackinfo.h.
62156         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62157         defined in stackinfo.h.
62158         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62159         DEFAULT_STACK_PERMS defined in stackinfo.h.
62160         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62161         * sysdeps/ia64/stackinfo.h: Likewise.
62162         * sysdeps/s390/stackinfo.h: Likewise.
62163         * sysdeps/sh/stackinfo.h: Likewise.
62164         * sysdeps/sparc/stackinfo.h: Likewise.
62165         * sysdeps/x86_64/stackinfo.h: Likewise.
62166         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62167         PF_X for powerpc64.  Retain PF_X for powerpc32.
62169 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62171         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62172         accurately.
62173         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62174         GETDENTS_64BIT_ALIGNED.
62176 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62178         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62180 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62182         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62183         _GNU_SOURCE.
62185         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62186         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62187         Remove __restrict.
62188         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62189         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62191 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62193         [BZ #11655]
62194         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62195         are initialized.
62197 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62199         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62201 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62203         * po/it.po: Update from translation team.
62205 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62207         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62208         unused codes.
62210 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62212         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62214 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62216         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62217         specially.
62218         (gaih_getanswer_slice): Likewise.
62220 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62222         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62224 2010-05-31  Petr Baudis  <pasky@suse.cz>
62226         [BZ #11149]
62227         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62228         silently even in the chroot mode.
62230 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62232         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62233         last patch a bit.  Pretty printing
62235 2010-05-31  Petr Baudis <pasky@suse.cz>
62237         [BZ #10085]
62238         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62239         initialization of skip_initgroups_dyn.
62241 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62243         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62244         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62246 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62248         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62250 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62252         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62253         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62254         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62255         ($(objpfx)tst-fnmatch-mem): New rule.
62256         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62257         * posix/tst-fnmatch.c (main): Call mtrace.
62259 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62262         Support Intel processor model 6 and model 0x2c.
62264 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62266         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62267           signed comparison.
62269 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62271         [BZ #12205]
62272         * string/test-strncasecmp.c (check_result): New function.
62273         (do_one_test): Use it.
62274         (check1): New function.
62275         (test_main): Use it.
62276         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62277         Support strcasecmp and strncasecmp.
62279 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62281         [BZ #12194]
62282         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62283         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62285 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62287         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62288         IFUNC support.
62289         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62290         memset-x86-64.
62291         * sysdeps/x86_64/multiarch/bzero.S: New file.
62292         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62293         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62294         * sysdeps/x86_64/multiarch/memset.S: New file.
62295         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62297         Set bit_Prefer_SSE_for_memop for Intel processors.
62298         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62299         Define.
62300         (index_Prefer_SSE_for_memop): Define.
62301         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62303 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62305         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62306         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62308 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62310         [BZ #12191]
62311         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62312         (__x86_64_raw_data_cache_size_half): Likewise.
62313         (__x86_64_raw_shared_cache_size): Likewise.
62314         (__x86_64_raw_shared_cache_size_half): Likewise.
62316         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62317         (__x86_64_raw_data_cache_size_half): Likewise.
62318         (__x86_64_raw_shared_cache_size): Likewise.
62319         (__x86_64_raw_shared_cache_size_half): Likewise.
62320         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62321         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62322         and __x86_64_raw_shared_cache_size_half.  Round
62323         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62324         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62325         to multiple of 256 bytes.
62327 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62329         [BZ #12167]
62330         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62331         of inacessible symlinks.  Verify result of symlink before returning it.
62332         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62333         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62335 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62337         * math/math.h (isinf): Fix typo in comment.
62339 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62341         * po/da.po: Update from translation team.
62343 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62345         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62346         is added to the list.
62348 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62349             Ulrich Drepper  <drepper@gmail.com>
62351         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62352         the global list here.  Move code to...
62353         (_dl_add_to_namespace_list): ...here.  New function.
62354         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62355         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62356         * elf/dl-load.c (lose): Don't remove the element from the list.
62357         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62358         (_dl_map_object): Likewise.
62360 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62362         [BZ #12159]
62363         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62364         into all bytes of SSE register.
62365         Patch by Richard Li <richardpku@gmail.com>.
62367 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62369         [BZ #12140]
62370         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62371         perturbing.
62373 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62375         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62376         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62377         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62378         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62380         submachine.
62381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62383 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62385         * include/dlfcn.h (__RTLD_SECURE): Define.
62386         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62387         mode & __RTLD_SECURE instead.
62388         (open_path): Rename preloaded parameter to secure.
62389         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62390         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62391         * elf/dl-deps.c (openaux): Likewise.
62392         * elf/rtld.c (struct map_args): Remove is_preloaded.
62393         (map_doit): Don't use it.
62394         (dl_main): Likewise.
62395         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62396         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62398 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62400         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62401         (sysd-rules-targets): Remove duplicates.
62402         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62403         rtld-%.$o dependency.
62405 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62407         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62408         _dl_map_object do it.
62410 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62412         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62413         fast fma builtins, define the macros in the C99 standard.
62414         (FP_FAST_FMAF): Likewise.
62415         (FP_FAST_FMAL): Likewise.
62416         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62418         * bits/mathdef.h: Update copyright year.
62419         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62421 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62423         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62424         builtins, define the macros in the C99 standard.
62425         (FP_FAST_FMAF): Likewise.
62426         (FP_FAST_FMAL): Likewise.
62427         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62428         multiply/add.
62429         (FP_FAST_FMAF): Likewise.
62431 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62433         [BZ #3268]
62434         * math/libm-test.inc (fma_test): Some new testcases.
62435         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62436         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62437         y and infinite z.  Do multiplication by C already in long double.
62438         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62440         y and infinite z.  Do bitwise or of inexact bit into u.d.
62441         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62442         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62443         * sysdeps/i386/fpu/s_fma.S: Removed.
62444         * sysdeps/i386/fpu/s_fmal.S: Removed.
62446 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62448         [BZ #3268]
62449         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62450         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62451         computation is not scheduled after fetestexcept.  Fix value
62452         of minimum denormal long double.
62454 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62456         [BZ #3268]
62457         * math/libm-test.inc (fma_test): Add some more tests.
62458         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62459         correctly.
62461 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62463         * scripts/data/localplt-s390-linux-gnu.data: New file.
62464         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62466 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62468         [BZ #3268]
62469         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62470         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62471         instead of dbl-64.
62472         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62473         inlines.
62474         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62476         if one of x and y is very large and the other is subnormal.
62477         * sysdeps/s390/fpu/s_fmaf.c: New file.
62478         * sysdeps/s390/fpu/s_fma.c: New file.
62479         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62480         * sysdeps/powerpc/fpu/s_fma.S: New file.
62481         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62482         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62483         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62485 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62487         [BZ #3268]
62488         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62489         fma tests.
62490         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62491         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62492         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62493         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62494         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62495         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62496         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62498 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62500         [BZ #12078]
62501         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62502         * posix/bug-regex31.input: Add test case.
62504 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62506         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62507         * posix/bug-regex31.input: New file.
62509         [BZ #12078]
62510         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62511         (parse_sub_exp): Fix last change, use postorder.
62513         * posix/bug-regex31.c: New file.
62514         * posix/Makefile: Add rules to build and run bug-regex31.
62516         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62518         [BZ #12078]
62519         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62521         [BZ #12108]
62522         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62523         to have entries in sys_siglist.
62525         [BZ #12093]
62526         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62527         be NULL.
62529 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62531         [BZ #3268]
62532         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62533         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62534         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62535         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62536         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62537         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62538         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62539         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62540         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62541         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62542         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62543         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62544         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62545         * math/ftestexcept.c (fetestexcept): Likewise.
62546         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62547         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62548         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62549         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62550         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62551         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62552         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62554 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62556         [BZ #12107]
62557         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62558         newline.
62560 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62562         * string/bug-strstr1.c: New file.
62563         * string/Makefile: Add rules to build and run bug-strstr1.
62565 2010-10-05  Eric Blake  <eblake@redhat.com>
62567         [BZ #12092]
62568         * string/str-two-way.h (two_way_long_needle): Always clear memory
62569         when skipping input due to the shift table.
62571 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62573         [BZ #12005]
62574         * malloc/mcheck.c: Handle large requests.
62576         [BZ #12077]
62577         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62578         for strncmp and strncasecmp.
62579         * string/stratcliff.c: Add tests for strcmp and strncmp.
62580         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62582 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62584         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62585         __set_fpscr.
62587 2010-09-30  Andreas Jaeger  <aj@suse.de>
62589         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62590         (CGROUP_SUPER_MAGIC): Define.
62591         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62592         Handle btrfs and cgroup file systems.
62593         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62594         Likewise.
62596 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62598         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62599         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62601 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62603         [BZ #12067]
62604         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62605         trying to locate the ELF header.
62607 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62609         [BZ #11611]
62610         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62611         Mask out sign-bit copies when constructing f_fsid.
62613 2010-09-24  Petr Baudis <pasky@suse.cz>
62615         * debug/stack_chk_fail_local.c: Add missing licence exception.
62616         * debug/warning-nop.c: Likewise.
62618 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62620         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62621         implementing getdents64 using getdents syscall, set d_type if
62622         __ASSUME_GETDENTS32_D_TYPE.
62624 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62626         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62627         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62629 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62631         [BZ #12037]
62632         * posix/unistd.h: Undo change of feature selection for ftruncate from
62633         2010-01-11.
62635 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62637         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62638         detection.
62640 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62642         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62643         fanotify_mark.
62644         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62646 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62648         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62649         variables after CHECK_SP call.
62650         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62652 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62653             Ulrich Drepper  <drepper@redhat.com>
62655         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62656         re-relocationg ld.so.
62657         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62658         _dl_init_paths call.
62659         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62660         here anymore.
62662 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62664         * resolv/res_init.c (__res_vinit): Count the default server we added.
62666 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62667             Ulrich Drepper  <drepper@redhat.com>
62669         [BZ #11968]
62670         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62671         (____longjmp_chk): Use %ebx for saving value across system call.
62672         Add unwind info.
62674 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62676         * manual/Makefile: Don't mix pattern rules with normal rules.
62678 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62680         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62681         operation.
62682         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62683         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62684         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62685         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62687         Likewise.
62689 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62691         [BZ #11979]
62692         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62693         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62695 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62697         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62698         * sysdeps/x86_64/addmul_1.S: Likewise.
62699         * sysdeps/x86_64/lshift.S: Likewise.
62700         * sysdeps/x86_64/mul_1.S: Likewise.
62701         * sysdeps/x86_64/rshift.S: Likewise.
62702         * sysdeps/x86_64/sub_n.S: Likewise.
62703         * sysdeps/x86_64/submul_1.S: Likewise.
62705 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62707         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62708         Define __sched_param instead of SCHED_* and sched_param when
62709         <bits/sched.h> is included with __need_schedparam defined.
62710         * bits/sched.h [__need_schedparam]
62711         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62712         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62713         (__defined_schedparam): Define to 1.
62714         (__sched_param): New structure, identical to sched_param.
62715         (__need_schedparam): Undefine.
62717 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62719         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62720         (epoll_create1): Declare.
62722         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62724 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62726         [BZ #7066]
62727         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62728         shifting retval into place.
62730 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62732         * nis/rpcsvc/nis.h: Update copyright notice.
62733         * nis/rpcsvc/nis.x: Likewise.
62734         * nis/rpcsvc/nis_callback.h: Likewise.
62735         * nis/rpcsvc/nis_callback.x: Likewise.
62736         * nis/rpcsvc/nis_object.x: Likewise.
62737         * nis/rpcsvc/nis_tags.h: Likewise.
62738         * nis/rpcsvc/yp.h: Likewise.
62739         * nis/rpcsvc/yp.x: Likewise.
62740         * nis/rpcsvc/ypupd.h: Likewise.
62741         * nis/yp_xdr.c: Likewise.
62742         * nis/ypupdate_xdr.c: Likewise.
62744         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62745         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62746         (pmap_getport): Use __libc_rpc_getport.
62747         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62748         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62749         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62751 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62754         fanotify_mark.
62756 2010-08-27  Roland McGrath  <roland@redhat.com>
62758         * sysdeps/i386/i686/multiarch/Makefile
62759         (CFLAGS-varshift.c): New variable.
62761 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62763         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62764         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62766         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62768         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62770 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62772         * sysdeps/x86_64/strlen.S: Unroll the loop.
62773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62774         strlen-sse2 strlen-sse2-bsf.
62775         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62776         __strlen_no_bsf if bit_Slow_BSF is set.
62777         (__strlen_sse42): Removed.
62778         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62779         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62781 2010-08-25  Roland McGrath  <roland@redhat.com>
62783         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62784         * sysdeps/x86_64/multiarch/varshift.c: New file.
62785         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62786         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62787         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62788         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62790 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62792         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62793         strlen-sse2 strlen-sse2-bsf.
62794         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62795         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62796         (__strlen_sse2): Removed.
62797         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62798         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62800         bit_Slow_BSF for Atom.
62801         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62802         (index_Slow_BSF): Define.
62803         (HAS_SLOW_BSF): Define.
62805 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62807         [BZ #10851]
62808         * resolv/res_init.c (__res_vinit): When no server address at all
62809         is given default to loopback.
62811 2010-08-24  Roland McGrath  <roland@redhat.com>
62813         * configure.in: Remove config-name.h generation.
62814         * configure: Regenerated.
62815         * config-name.in: File removed.
62816         * scripts/config-uname.sh: New file.
62817         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62818         ($(objdir)config-name.h): New target.
62820         * sunrpc/rpc_parse.h: Avoid nested comment.
62822 2010-08-24  Richard Henderson  <rth@redhat.com>
62823             Ulrich Drepper  <drepper@redhat.com>
62824             H.J. Lu  <hongjiu.lu@intel.com>
62826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62828         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62829         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62830         _mm_alignr_epi8 with _mm_loadu_si128.
62831         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62832         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62833         (__m128i_shift_right): Removed.
62834         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62835         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62836         * sysdeps/x86_64/multiarch/varshift.h: New file.
62837         * sysdeps/x86_64/multiarch/varshift.S: New file.
62839 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62841         * configure.in: Move assembler checks to before sysdep dir checking.
62843 2010-08-20  Petr Baudis  <pasky@suse.cz>
62845         * LICENSES: Sync the sunrpc license.
62847 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62849         * sunrpc/auth_des.c: Update copyright notice once again.
62850         * sunrpc/auth_none.c: Likewise.
62851         * sunrpc/auth_unix.c: Likewise.
62852         * sunrpc/authdes_prot.c: Likewise.
62853         * sunrpc/authuxprot.c: Likewise.
62854         * sunrpc/bindrsvprt.c: Likewise.
62855         * sunrpc/clnt_gen.c: Likewise.
62856         * sunrpc/clnt_perr.c: Likewise.
62857         * sunrpc/clnt_raw.c: Likewise.
62858         * sunrpc/clnt_simp.c: Likewise.
62859         * sunrpc/clnt_tcp.c: Likewise.
62860         * sunrpc/clnt_udp.c: Likewise.
62861         * sunrpc/clnt_unix.c: Likewise.
62862         * sunrpc/des_crypt.c: Likewise.
62863         * sunrpc/des_soft.c: Likewise.
62864         * sunrpc/get_myaddr.c: Likewise.
62865         * sunrpc/getrpcport.c: Likewise.
62866         * sunrpc/key_call.c: Likewise.
62867         * sunrpc/key_prot.c: Likewise.
62868         * sunrpc/openchild.c: Likewise.
62869         * sunrpc/pm_getmaps.c: Likewise.
62870         * sunrpc/pm_getport.c: Likewise.
62871         * sunrpc/pmap_clnt.c: Likewise.
62872         * sunrpc/pmap_prot.c: Likewise.
62873         * sunrpc/pmap_prot2.c: Likewise.
62874         * sunrpc/pmap_rmt.c: Likewise.
62875         * sunrpc/rpc/auth.h: Likewise.
62876         * sunrpc/rpc/auth_unix.h: Likewise.
62877         * sunrpc/rpc/clnt.h: Likewise.
62878         * sunrpc/rpc/des_crypt.h: Likewise.
62879         * sunrpc/rpc/key_prot.h: Likewise.
62880         * sunrpc/rpc/netdb.h: Likewise.
62881         * sunrpc/rpc/pmap_clnt.h: Likewise.
62882         * sunrpc/rpc/pmap_prot.h: Likewise.
62883         * sunrpc/rpc/pmap_rmt.h: Likewise.
62884         * sunrpc/rpc/rpc.h: Likewise.
62885         * sunrpc/rpc/rpc_des.h: Likewise.
62886         * sunrpc/rpc/rpc_msg.h: Likewise.
62887         * sunrpc/rpc/svc.h: Likewise.
62888         * sunrpc/rpc/svc_auth.h: Likewise.
62889         * sunrpc/rpc/types.h: Likewise.
62890         * sunrpc/rpc/xdr.h: Likewise.
62891         * sunrpc/rpc_clntout.c: Likewise.
62892         * sunrpc/rpc_cmsg.c: Likewise.
62893         * sunrpc/rpc_common.c: Likewise.
62894         * sunrpc/rpc_cout.c: Likewise.
62895         * sunrpc/rpc_dtable.c: Likewise.
62896         * sunrpc/rpc_hout.c: Likewise.
62897         * sunrpc/rpc_main.c: Likewise.
62898         * sunrpc/rpc_parse.c: Likewise.
62899         * sunrpc/rpc_parse.h: Likewise.
62900         * sunrpc/rpc_prot.c: Likewise.
62901         * sunrpc/rpc_sample.c: Likewise.
62902         * sunrpc/rpc_scan.c: Likewise.
62903         * sunrpc/rpc_scan.h: Likewise.
62904         * sunrpc/rpc_svcout.c: Likewise.
62905         * sunrpc/rpc_tblout.c: Likewise.
62906         * sunrpc/rpc_util.c: Likewise.
62907         * sunrpc/rpc_util.h: Likewise.
62908         * sunrpc/rpcinfo.c: Likewise.
62909         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62910         * sunrpc/rpcsvc/key_prot.x: Likewise.
62911         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62912         * sunrpc/rpcsvc/mount.x: Likewise.
62913         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62914         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62915         * sunrpc/rpcsvc/rex.x: Likewise.
62916         * sunrpc/rpcsvc/rstat.x: Likewise.
62917         * sunrpc/rpcsvc/rusers.x: Likewise.
62918         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62919         * sunrpc/rpcsvc/spray.x: Likewise.
62920         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62921         * sunrpc/rtime.c: Likewise.
62922         * sunrpc/svc.c: Likewise.
62923         * sunrpc/svc_auth.c: Likewise.
62924         * sunrpc/svc_authux.c: Likewise.
62925         * sunrpc/svc_raw.c: Likewise.
62926         * sunrpc/svc_run.c: Likewise.
62927         * sunrpc/svc_simple.c: Likewise.
62928         * sunrpc/svc_tcp.c: Likewise.
62929         * sunrpc/svc_udp.c: Likewise.
62930         * sunrpc/svc_unix.c: Likewise.
62931         * sunrpc/svcauth_des.c: Likewise.
62932         * sunrpc/xcrypt.c: Likewise.
62933         * sunrpc/xdr.c: Likewise.
62934         * sunrpc/xdr_array.c: Likewise.
62935         * sunrpc/xdr_float.c: Likewise.
62936         * sunrpc/xdr_mem.c: Likewise.
62937         * sunrpc/xdr_rec.c: Likewise.
62938         * sunrpc/xdr_ref.c: Likewise.
62939         * sunrpc/xdr_sizeof.c: Likewise.
62940         * sunrpc/xdr_stdio.c: Likewise.
62942         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62943         handling.
62945 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62947         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62949 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62951         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62952         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62953         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62954         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62955         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62956         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62957         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62958         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62959         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62960         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62961         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62962         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62963         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62964         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62966 2010-07-26  Anton Blanchard  <anton@samba.org>
62968         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62969         * malloc/arena.c (heap_trim): Likewise.
62971 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62973         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62974         here.  Not...
62975         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62976         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62978 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62980         * sysdeps/i386/elf/Makefile: New file.
62982 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62984         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62985         from fanotify_init.
62986         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62987         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62989 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62991         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62992         of strncasecmp_l.
62993         * sysdeps/multiarch/strcmp.S: Likewise.
62995 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62997         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62998         strncase_l-nonascii.
62999         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63000         Add strncase_l-ssse3.
63001         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63002         * sysdeps/x86_64/strcmp.S: Likewise.
63003         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63004         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63005         * sysdeps/x86_64/strncase.S: New file.
63006         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63007         * sysdeps/x86_64/strncase_l.S: New file.
63008         * string/Makefile (strop-tests): Add strncasecmp.
63009         * string/test-strncasecmp.c: New file.
63011         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63012         warning.
63014         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63015         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63017 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63019         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63021 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63023         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63024         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63025         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63027 2010-05-01  Alan Modra  <amodra@gmail.com>
63029         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63030         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63031         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63032         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63033         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63034         tidying.  Don't tail-call __sigjmp_save for static lib.
63035         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63036         save location.
63037         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63038         (CALL_MCOUNT): Add eh info, and nop after bl.
63039         (TAIL_CALL_SYSCALL_ERROR): New macro.
63040         (PSEUDO_RET): Use it.
63041         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63042         Correct save location of integer regs and cr.
63043         (_dl_profile_resolve): Correct cr save location.  Delete nops
63044         after bl when SHARED.  Reduce cfi size a little by better
63045         placement of cfi directives.
63046         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63047         make a stack frame.  Instead use parm save area as a temp.
63048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63049         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63051         Don't make a stack frame for parent, use parm save area.
63052         Increase child stack frame to 112 bytes.  Don't save unused reg,
63053         and adjust reg usage.  Set up cfi on error recovery and
63054         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63056         (__makecontext): Add dummy nop after jump to exit.
63057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63058         Use correct parm save area and cr save, reduce stack frame.
63059         Correct cfi for possible PSEUDO_RET frame setup.
63060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63061         Branch to local label emitted by PSEUDO_RET rather than
63062         __syscall_error.
63064 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63066         [BZ #11904]
63067         * locale/programs/locale.c (print_assignment): New function.
63068         (show_locale_vars): Use it.
63070 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63072         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63073         field.
63074         (struct statfs64): Likewise.
63075         (_STATFS_F_FLAGS): Define.
63076         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63077         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63078         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63079         (ST_VALID): Define locally.
63080         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63081         __statvfs_getflags, use the provided value.
63082         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63083         __ASSUME_STATFS_F_FLAGS.
63085         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63087         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63088         Add sys/fanotify.h.
63089         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63090         fanotify_mask for GLIBC_2.13.
63091         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63092         fanotify_init and fanotify_mark.
63093         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63094         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63096         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63097         Add prlimit.
63098         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63099         prlimit64 for GLIBC_2.13.
63100         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63101         prlimit64.
63102         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63103         syscall.
63104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63105         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63106         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63107         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63108         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63109         add prlimit alias.
63110         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63112         [BZ #11903]
63113         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63114         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63116         * nss/Makefile: Add rules to build and run tst-nss-test1.
63117         * shlib-versions: Add entry for libnss_test1.
63118         * nss/nss_test1.c: New file.
63119         * nss/tst-nss-test1.c: New file.
63121         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63122         (__nss_configure_lookup): Set appropriate entry in
63123         __nss_configure_lookup to true.
63124         * nss/nsswitch.h: Define enum with indeces of databases in
63125         databases and __nss_database_custom arrays.  Declare
63126         __nss_database_custom.
63127         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63128         to avoid using nscd when custom rules are installed.
63129         * nss/getXXbyYY_r.c: Likewise.
63130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63132         * nss/nss_files/files-parse.c: Whitespace fixes.
63134 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63136         [BZ #11883]
63137         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63138         * posix/fnmatch_loop.c: Likewise.
63140 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63142         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63143         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63144         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63145         * Versions.def [GLIBC_2.13]: Add.
63147 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63149         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63150         Also fail if tpwd after pwuid call is NULL.
63152 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63154         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63155         when converting to ms.
63157 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63159         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63160         EOPNOTSUPP errors with ENOTTY.
63161         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63162         EOPNOTSUPP errors with ENOTTY.
63164 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63166         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63167         Add strcasecmp_l-ssse3.
63168         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63169         strcasecmp.
63170         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63171         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63172         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63174 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63176         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63178         * string/Makefile (strop-tests): Add strcasecmp.
63179         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63180         strcasecmp_l-nonascii.
63181         (gen-as-const-headers): Add locale-defines.sym.
63182         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63183         * sysdeps/x86_64/strcasecmp.S: New file.
63184         * sysdeps/x86_64/strcasecmp_l.S: New file.
63185         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63186         * sysdeps/x86_64/locale-defines.sym: New file.
63187         * string/test-strcasecmp.c: New file.
63189         * string/test-strcasestr.c: Test both ends of the range of characters.
63190         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63192 2010-07-29  Roland McGrath  <roland@redhat.com>
63194         [BZ #11856]
63195         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63197 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63199         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63200         for ld.so.
63202 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63204         * manual/memory.texi (Malloc Tunable Parameters): Document
63205         M_PERTURB.
63207 2010-07-26  Roland McGrath  <roland@redhat.com>
63209         [BZ #11840]
63210         * configure.in (-fgnu89-inline check): Set and substitute
63211         gnu89_inline, not libc_cv_gnu89_inline.
63212         * configure: Regenerated.
63213         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63215 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63217         * string/test-strnlen.c: New file.
63218         * string/Makefile (strop-tests): Add strnlen.
63219         * string/tester.c (test_strnlen): Add a few more test cases.
63220         * string/tst-strlen.c: Better error reporting.
63222         * sysdeps/x86_64/strnlen.S: New file.
63224 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63226         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63227         lower-latency instructions.
63229 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63231         * string/test-strcasestr.c: New file.
63232         * string/test-strstr.c: New file.
63233         * string/Makefile (strop-tests): Add strstr and strcasestr.
63234         * string/str-two-way.h: Don't undefine MAX.
63235         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63237 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63239         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63240         strcasestr-nonascii.
63241         (CFLAGS-strcasestr-nonascii.c): Define.
63242         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63243         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63244         Remove unused attribute.
63246 2010-07-20  Roland McGrath  <roland@redhat.com>
63248         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63249         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63250         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63251         like LD_HWCAP_MASK can disable hwcaps.
63253 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63255         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63257 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63259         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63260         call in strcasestr.
63261         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63262         __strcasestr_sse42_nonascii.
63263         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63264         strcasestr-nonascii.c.
63265         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63267 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63269         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63270         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63271         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63272         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63274 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63276         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63277         fcntl.
63279 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63281         [BZ #11577]
63282         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63283         dl_signal_cerror.
63285 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63287         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63288         _PC_PIPE_BUF using F_GETPIPE_SZ.
63290 2010-07-05  Roland McGrath  <roland@redhat.com>
63292         * manual/arith.texi (Rounding Functions): Fix rint description
63293         implicit in round description.
63295 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63297         * elf/Makefile: Fix linking for a few tests to make recent linker
63298         happy.
63300 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63302         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63303         $(common-objpfx)libc_nonshared.a.
63305 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63307         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63308         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63309         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63310         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63311         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63312         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63313         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63314         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63329         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63330         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63331         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63332         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63333         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63334         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63335         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63336         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63337         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63338         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63339         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63340         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63356 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63358         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63359         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63360         * string/memmove.c (memmove): Renamed to ...
63361         (MEMMOVE): ...this.  Default to memmove.
63362         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63363         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63364         (END_CHK): Define.
63365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63366         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63367         mempcpy-ssse3-back memmove-ssse3-back.
63368         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63369         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63370         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63371         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63372         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63373         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63374         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63375         * sysdeps/x86_64/multiarch/memmove.c: New file.
63376         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63377         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63378         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63379         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63380         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63381         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63382         Define.
63383         (index_Fast_Copy_Backward): Define.
63384         (HAS_ARCH_FEATURE): Define.
63385         (HAS_FAST_REP_STRING): Define.
63386         (HAS_FAST_COPY_BACKWARD): Define.
63388 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63390         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63391         Restore proper fallback handling.
63393 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63395         [BZ #11701]
63396         * posix/group_member.c (__group_member): Correct checking loop.
63398         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63399         OOM in getpwuid_r correctly.  Return error number when the caller
63400         should return, otherwise -1.
63401         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63402         call returning > 0 value.
63403         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63405 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63407         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63408         libc_nonshared.a from targets in modules-names.
63410 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63412         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63413         requires it.
63415 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63417         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63418         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63419         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63420         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63422 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63424         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63426 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63428         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63429         and F_GETPIPE_SZ.
63430         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63431         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63432         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63433         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63434         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63435         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63437 2010-06-14  Roland McGrath  <roland@redhat.com>
63439         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63441 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63443         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63444         __REDIRECT followed by __THROW.
63445         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63446         * posix/getopt.h (getopt): Likewise.
63448 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63450         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63451         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63452         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63453         in AT_FLAGS.
63454         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63455         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63457 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63459         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63461 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63463         [BZ #11640]
63464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63465         Properly check family and model.
63467 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63469         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63471 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63473         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63475 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63477         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63478         symbol reference.
63480 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63482         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63483         symbol reference.
63485 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63487         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63488         and internal_recvmmsg.
63489         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63490         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63491         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63492         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63494         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63495         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63496         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63498 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63500         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63502 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63504         POWER7 optimizations.
63505         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63506         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63508 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63510         * version.h: Update for 2.13 development version.
63512 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63514         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63515         exceptions.  Return 0.
63517 2010-05-07  Roland McGrath  <roland@redhat.com>
63519         * elf/ldconfig.c (main): Add a const.
63521 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63523         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63524         (args_options): Add no-idn option.
63525         (ahosts_keys_int): Add idn_flags to ai_flags.
63526         (parse_option): Handle 'i' option to clear idn_flags.
63528         * malloc/malloc.c (_int_free): Possible race in the most recently
63529         added check.  Only act on the data if no current modification
63530         happened.
63532 See ChangeLog.17 for earlier changes.